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.
uVision 3... I try to stop the debugger to see why my application is crashing. But then I get "Could not stop ARM device! Please check the JTAG cable." I then have to cycle power to be able to run my application again.
Any idea what could be causing this? It's hard to debug my software when the debugger does this.
Thanks,
Mike
when I stated "run my application again" I meant run with the debugger, i.e. I cannot start the debugger again without cycling power.
Perhaps your code disables JTAG.
What microcontroller are you using?
Ya its your code. i guess you tried to debug your code with your hardware. So if any error occurs in your hardware because of your software, then there might be some current overflow to your USB. Then you have to reset your board.
Hello Dhanraj, yes this application crashes during USB data transfer. Thank you for the tip.
Milorad, thanks for your reply. I am using STR912FAZ44. I don't disable JTAG in my code.
Hi Michael,
what debugger are you using? what code are you using (startup from Keil or something else)?
Hi Milorad,
I'm using ULINK2 ARM debugger, with firmware version 1.36. I have JTAG clock set to 500kHz.
I am using the startup code from Keil (STR91x.s) but I have made some mods to it, for example stack sizes. I can post all of the startup code if need be.
Thanks for your reply.
Hi Mike,
can you check if you experience the same problems with Blinky example from MDK?