Hello.I am trying to load my code into a LPC2129 with ULINK2 and appears an error message saying: "Could not stop ARM device! Please check the JTAG cable". I tried to change the JTAG clock to 100 kHz and did not work. I tried with another ULINK2 but nothing changes.How can I solve the problem?Best regards,Alessandro
So a relatively old ARM7 design. Your design? Some other vendor? Board of known functionality?
The JTAG pins might be incorrect and not actually functional. All pins? JTDI, JTDO..
Absent NRST/NRESET to actually control the core? Check NRST state, check supplies and BOR/POR thresholding devices on board, or on chip.
Pins getting reconfigured, or powered down. Watch for low power modes, or disabling the interface, or clocking/settings of pins.
Thank you for using the Keil tools for ARM.
Sorry to hear about the "Could not stop ARM device" For context, from the : ULINK2 User Guide, "Error Messages" section:
"The debugger tries to stop the target. This attempt can be made after initializing the connection, or while resetting the target, or through a stop/step command while debugging. In some cases, the target's debug block not functioning properly raises this error."
I saw you tried to lower the JTAG Speed, as mentioned in KB article MCB2103: ULINK - CANNOT STOP ARM DEVICE!
Other things you could try:
Hopefully, you will be able to connect to your device. Good Luck.
View all questions in Keil forum