Dear all,
I am working on MCB1768/keil uVision with my students for 2 years now, and we use ULINK2 to programm the board. Sometimes, a student (accidentally) push the reset button of a board while the programm is loading in the target. After that, it is no more possible to load anything, and the debug is also no more possible. The error message is "Could not stop Cortex-M device, Please check the Jtag cable". I know that the problem is with the board (not the ulink probe or the cable), as the problem is still here when I try to download the code with other probes or cable... even with Ulink-ME. I have tried different solutions found on the net (change clock, JTAG/SW mode...) but nothing seems to work. As I have now 5 boards with such problem, I ask you if you have an idea to make the boards work again... Thank you. Best regards,
-> Try starting the boards in ISP mode. I.e., Press INT0 button and press reset. Release the INT0 button after reset has been released. Make sure the INT0 jumper is populated. This should initialize the boards in ISP mode which should allow the debugger to go in and reprogram the device.
Is there a way to see if I am in ISP mode? I have tried your proposition, but the error message is still the same :/ (reset and Int0 jumpers are present)
-> You could also program the boards via serial port ISP using Flash Magic. If you use Flash Magic make sure the ISP and RST jumpers are also populated.
I have never done that. I will download Flash magic and try to understand how it works.
Thank you.