FreeRTOS Support Archive
The FreeRTOS support forum is used to obtain active support directly from Real
Time Engineers Ltd. In return for using our top quality software and services for
free, we request you play fair and do your bit to help others too! Sign up
to receive notifications of new support topics then help where you can.
This is a read only archive of threads posted to the FreeRTOS support forum.
The archive is updated every week, so will not always contain the very latest posts.
Use these archive pages to search previous posts. Use the Live FreeRTOS Forum
link to reply to a post, or start a new support thread.
[FreeRTOS Home] [Live FreeRTOS Forum] [FAQ] [Archive Top] [August 2009 Threads] Porting LM3S8962 demo to LM3S9B92Posted by Tim on August 23, 2009 Im currently trying to port the Luminary 8962 demo to work with the new 9B92 dev boards. I know there are differences in clocking and io, and no LCD but so far it wont even make it to main. Ive changed all the paths to point to the newest driverlib files and changed the target device in keil but so far no luck. Stepping through in debug i notice that it loops for a long time in the top of "vPortSVCHandler" with R0 counting up and up. Finally it gets stuck at 0x00000106 shown below.
__scatterload_rt2_thumb_only: 0x00000104 E7FE B __scatterload_rt2_thumb_only (0x00000104) 0x00000106 E7FE B 0x00000106
Anything else i should be changing?
RE: Porting LM3S8962 demo to LM3S9B92Posted by Tim on August 23, 2009 I'm using FreeRTOS V5.4.2
RE: Porting LM3S8962 demo to LM3S9B92Posted by MEdwards on August 23, 2009 It does not sound like your problem is FreeRTOS related if you are not even getting as far as main(). FreeRTOS does not require any special code in the startup, but it does require the vector table to be populated with the FreeRTOS SVC, PendSVC and SysTick interrupt handler.
I presume you have some example code for the 9B92 from TI? Can you use the start up code from that?
RE: Porting LM3S8962 demo to LM3S9B92Posted by Tim on August 24, 2009 I had always though luminary kept the vector tables the same will all their micros but I will have to check as this new device has a lot more features.
RE: Porting LM3S8962 demo to LM3S9B92Posted by Tim on August 24, 2009 The example 9B92 startup files have a few extra vectors at the bottom of the table for the new peripherals. I'm guessig this could be making the difference. I'll give it a try at a more reasonable hour....
RE: Porting LM3S8962 demo to LM3S9B92Posted by Tim on August 25, 2009 Yep, the new 9000 series have a longer vector table than all the 1000-8000 parts which needs copying in. This fixed the issue. I swapped a few IO definitions and now I have most of the demo working!
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|