Hello,
Thanks for your reply SimonQian.
It could connect with OpenOCD, in IAR KS ver.5.11, & programmed the chip also.
But it could NOT debug, because it could not write at some location,
& the message was “…SWJ-DP sticky error…”.
The part of the dump is as follows…
Error: dcb_dhcsr 0x30003, nvic_shcsr 0x20000, nvic_cfsr 0x1, nvic_bfar 0xe000edf8
Warn : BUG: keep_alive() was not invoked in the 1000ms timelimit. GDB alive packet not sent! (13000)
Error: SWJ-DP STICKY ERROR
Error: dcb_dhcsr 0x30003, nvic_shcsr 0x20000, nvic_cfsr 0x1, nvic_bfar 0xe000edf8
Warn : Block write error address 0x8000a28, wcount 0x32
Error: unexpected error -107
Warn : negative reply, retrying
Warn : negative reply, retrying
Warn : negative reply, retrying
Info : dropped ‘gdb’ connection - error -400
This may be because i have NOT updated as indicated by you on your web page, Step 1.
The ST’s website has the update for ver.5.20, i could not find for ver.5.11.
Can you tell me the exact link or share that update with me, if you have.
Thank for your prompt help.
Regards.