Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem


Loading

Porting LM3S8962 demo to LM3S9B92

Posted 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 LM3S9B92

Posted by Tim on August 23, 2009
I'm using FreeRTOS V5.4.2

RE: Porting LM3S8962 demo to LM3S9B92

Posted 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 LM3S9B92

Posted 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 LM3S9B92

Posted 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 LM3S9B92

Posted 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!


[ Back to the top ]    [ About FreeRTOS ]    [ Privacy ]    [ Sitemap ]    [ ]


Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

NXP tweet showing LPC5500 (ARMv8-M Cortex-M33) running FreeRTOS.

Meet Richard Barry and learn about running FreeRTOS on RISC-V at FOSDEM 2019

Version 10.1.1 of the FreeRTOS kernel is available for immediate download. MIT licensed.

View a recording of the "OTA Update Security and Reliability" webinar, presented by TI and AWS.


Careers

FreeRTOS and other embedded software careers at AWS.



FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Espressif ESP32

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Renesas

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

OpenRTOS and SafeRTOS

Xilinx Microblaze and Zynq partner