We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I have been having problems with getting the Ulink2 to erase or program flash the first time after a power-on reset or when the Ulink2 is powered on when trying to interface with a custom PCB with a LPC2388. I get the "Cannot Stop ARM device" message. To get a successful cycle, I can manually reset the MCU during an erase (or download) cycle. After a few tries and good timing the selected command works. Until I power off one of the two devices (PCB or ULINK2), I can erase,download, or debug with no problems.
I've checked the JTAG signals and they seem to be in good form. I've also tried both positions on the Ulink2's VCC jumper. There doesn't seem to be any difference when setting the Max JTAG clock speed to even 5kHz. The same MDK project downloads fine into the MCB2300 dev board.
Any assistance would be greatly appreciated,
Brian O.
Maybe see the below links:
http://www.keil.com/forum/docs/thread11653.asp
http://www.keil.com/forum/docs/thread14664.asp