I am having trouble running the debugger on a STM32F205ZG using µVision4 and the ULINK2. I keep getting the error message "Could not stop Cortex-M device! Please check the JTAG cable." I am using the SW port. Any help with this would be greatly appreciated.
Thanks Phil, I will remember this if the problem repeats itself.
I remembered a bit more now, I was generating an exception which was not handled causing the default handler to be called, this is simply a branch back to itself which seems to hang the bus. I modified the default handler to have a small loop with nop instructions instead of a branch back to itself so that the debugger can gain access.
since then I haven't needed to use the LPCXpresso .
regards
Phil.
Good post you guys! Thanks for the info. I'm sure I'll need it in the future.
Bradford