Debug LPC22xx FreeRTOS with ULINK

nobody wrote on Tuesday, March 22, 2005:


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.

nobody wrote on Wednesday, March 23, 2005:

Can you provide more information?

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


nobody wrote on Wednesday, March 23, 2005:

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 ??


nobody wrote on Thursday, March 24, 2005:

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 !