Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Real time embedded FreeRTOS mailing list 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem TCP & FAT Training




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 ]    [ Sitemap ]    [ ]




Copyright (C) 2004-2010 Richard Barry. Copyright (C) 2010-2016 Real Time Engineers Ltd.
Any and all data, files, source code, html content and documentation included in the FreeRTOSTM distribution or available on this site are the exclusive property of Real Time Engineers Ltd.. See the files license.txt (included in the distribution) and this copyright notice for more information. FreeRTOSTM and FreeRTOS.orgTM are trade marks of Real Time Engineers Ltd.

Latest News:

FreeRTOS V9.0.0 is now available for download.


Free TCP/IP and file system demos for the RTOS


Sponsored Links

⇓ Now With No Code Size Limit! ⇓
⇑ Free Download Without Registering ⇑


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Renesas Electronics Gold Alliance RTOS Partner.jpg

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Atmel RTOS partner supporting ARM Cortex-M3 and AVR32 microcontrollers

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

Xilinx Microblaze and Zynq partner

Silicon Labs low power RTOS partner

Altera RTOS partner for Nios II and Cortex-A9 SoC

Freescale Alliance RTOS Member supporting ARM and ColdFire microcontrollers

Infineon ARM Cortex-M microcontrollers

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

Cypress RTOS partner supporting ARM Cortex-M3

Fujitsu RTOS partner supporting ARM Cortex-M3 and FM3

Microsemi (previously Actel) RTOS partner supporting ARM Cortex-M3

Atollic Partner

IAR Partner

Keil ARM Partner

Embedded Artists