bodenwelle wrote on Saturday, October 15, 2011:
I already searched the forum for some information but I can’t get the information I need…
I have a Development Kit DK-LM3S9B96 (Texas Instruments) and want to run the newest version of FreeRTOS and lwIP on it. I work with eclipse indigo.
This project is running on my board: (but that is a to old version of freeRTOS)
http://code.google.com/p/lumweb/
then I tried a freeRTOS Demo from here:
http://sourceforge.net/projects/freertos/files/FreeRTOS/V7.0.2/
this is the one I tried: (it comes with the false ip Stack but for the beginning it would be ok)
FreeRTOSv7.0.2\Demo\CORTEX_LM3Sxxxx_Eclipse
I can build it without an error, but every time I write it into the flash from my board and reboot the board, my board is “damaged”. it reacts on nothing, the jtag interface doesn’t work and the reset button doesn’t work. The only way to reset the board is the TI flash programmer. With it I can reconfigure the jtag port to be a jtag port.
So I think there is a basic hardware configuration failure. I am wondering why the demo is called CORTEX_LM3Sxxxx. Where can I tell the application that I have a LM3S9B96? Or should it run on every CORTEX_LM3S… processor without a special hardware configuration?
I tryed to compare some of the configuratoin files like FreeRTOSConfig.h, hw_gpio.h, rom.h, hw_flash.h, cpu.h with the lumweb project (which is running). It wasn’t that easy because the strukture of the lumweb projekt is verry drfferent to the RTOSDemo and also it is another version. So I can’t find something helpful.
Can someone tell me in which files I have to make changes to configure the RTOS for my specific hardware? The only change I made was in FreeRTOSconfig.h
#define configCPU_CLOCK_HZ ( ( unsigned long ) 50000000 )
I changed the 50000000 to 80000000.
Thanks for your help!
Adrian