This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Can't debug

My target has an LPC2468 with 8MB external SDRAM. I'm using uVision 3.60 and RL-ARM/MDK 3.20. My application is about 250K in size. When I load my application it runs fine except for the bugs I am hunting down. However when I debug the system the following happens:

1. When I run (without break points) the target crashes.
2. Strangely the GPIO port 0 (LEDs on the target) go on.
3. Setting, clearing or changing direction on these ports using the peripheral window (fast or slow), they even stay on under a hard reset (switch).
4. When I reset and try to re-run, the application does not start.
5. When I stop the code and check its location it has crashed at a memory location which has changed to 0's.
6. When we go out and back into debugging (after very long object code loading time 1min:30sec) the application runs again without being re-loaded (code memory OK again).

This behaviour is not consistent. I have recently upgraded my system to the latest version from 3.15. Also the uLink will not communicate above 100Khz. All other things have been checked including hardware, PSU, changing uLink etc.

Does anyone have any ideas, I've been using the uVision/uLink system for 2 years and never seen this before.

Parents Reply Children