peter-san wrote on Sunday, January 22, 2012:
Hey,
since weeks I am trying to get freeRTOS to work on a NXP LPC1768 Cortex M3 with CodeSourcery G++ Lite Compiler (using Eclipse IDE).
I have tried an altered CMSIS startupfile (with interrupt vector table adapted to freeRTOS handlers) and the included startup-file of the codeRed demo-project. Neither of them is working.
The university I am attending gave me the evaluation board where the cortex m3 is placed onto, so it is not a commercial version. However nobody at university can tell me what the problem is, or why it is not working.
Within the main() function I just create one simple Task which is supposed to toggle a LED, but already the creation of the task fails and the programm does not even come to start the scheduler.
Here is my eclipse project (with both startup and linker files). The startup-file from freeRTOS itself is named cr_startup_lpc17.c and is supposed to be used with linker script named Linker\rtosdemo_rdb1768_Debug.ld. The code sourcery startup file which is adapted tot the freeRTOS handlers is called startup_LPC17xx_1.asm and supposed to be used with linkerscript named Linker\ldscipt_rom_gnu.ld
I hope that somebody can help me.
Maybe somebody has a working hardware of the lpc1768 and can test the project, or somebody can tell me just by looking at the code where the problem is.
Would really appreciate any kind of help.
Best regards,
peter