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

Minor problem with ULINK2

Continuing development of an embedded application for LPC2103 & LPC2106 microcontrollers I have recently migrated from uVision3 to uVision4 IDE on x64 Win7. The application runs smoothly when programmed either by Flash utility or using JTAG, however I have a small trouble debugging it. This is in no way a show stopper, but just for curiosity I'd like to understand what is going on.
For JTAG programming I'm using ULINK2 and, as mentioned before, am able to program the target. At that point I can also set breakpoints and single-step thru the program. When I stop the execution and reset the CPU via uVision the application crashes on start-up and ends up in Data Abort handler. On the second reset everything goes back to normal and I am able to debug again.
Tried to find an answer on discussion forum and came across the issue titled "Re-programming through JTAG fails the 1st try, works the 2nd try", dated back in 2007, something that looks similar to the described problem. The suspected cause was the reset logic. I am not sure if these two have the same cause or something else is in question.

0