Debug LPC22xx FreeRTOS with ULINK

Hello, I have problems to get the FreeRTOS to run on a LPC2229 with external RAM for debug purpose with the ULINK debugger. Code download is OK, but debug cause problem.

Debug LPC22xx FreeRTOS with ULINK

Can you provide more information? Which compiler are you using? What is the problem exactly? What have you changed to get external RAM working? ???

Debug LPC22xx FreeRTOS with ULINK

oh sorry, yes.. The uVision3 IDE + ULINK and using the Keil ARM tools (DKARM V1.5) I’ve modified  the settings for debuging from external RAM e.g CODE org ..and size, also for RAM. I’m use a initialization file (XRAM.ini) with some settings for the debug session. Also a modified startup.s. this normaly works with other projects. If I start the debug session with FreeRTOS port, the code is downloaded normaly to RAM via the ULINK. program runs until main and wait. stepping through the code (TaskCreate) makes nonsense and caused a total crash. any idea ?? maybe a right startup.s ?? Thank’s

Debug LPC22xx FreeRTOS with ULINK

Problem solve, PABCAKE = problem exist between chair and keyboard ! the size of code and data space should never exeed the physical size of the used RAM for debug ! thank’s