I get the 'could not stop cortex-M device' message when trying to download or debug my application with Keil/J-Link/JTAG. I don't even know where to look for solving this problem. There is a possibility that the PCB design is at fault. However I wasn't able to find any information on how to correctly wire the JTAG port of my LPC1754. Do I need pull-ups/downs, what values, etc.
So my questions is:
1. Is there app notes or specification or reference design on how to actually wire and connect the JTAG port to be used by J-link
2. Did anybody else ever had this 'can't stop cpu' issue and found a way to resolve it.
I seem to be lacking serious documentation. I don't even know what the difference is between all those reset modes offered by J-link (HW reset, vector reset, sysreqreset). Where is all that documented?
I'd appreciate any help.
So my questions is:
1. Is there app notes or specification or reference design on how to actually wire and connect the JTAG port to be used by J-link
2. Did anybody else ever had this 'can't stop cpu' issue and found a way to resolve it.
I seem to be lacking serious documentation. I don't even know what the difference is between all those reset modes offered by J-link (HW reset, vector reset, sysreqreset). Where is all that documented?
I'd appreciate any help.