Page 2 of 2
Re: why i wasn't able to debug the demo code while i can only flash it?
Posted: Tue Jul 16, 2019 6:08 pm
by Giovanni
It should just work, not being able to set the breakpoint is an effect not a cause.
Giovanni
Re: why i wasn't able to debug the demo code while i can only flash it?
Posted: Tue Jul 16, 2019 6:11 pm
by RoccoMarco
Hi,
which version of OpenOCD are you using? You can pick the version from the first string printed out on the start up of OpenOCD.
Re: why i wasn't able to debug the demo code while i can only flash it?
Posted: Thu Jul 18, 2019 7:03 am
by Vimal
Hi.
Open On-Chip Debugger 0.10.0+dev-00746-g8f518d359 (2019-03-14-17:18) this is what i'm using.
I have not kept any breakpoint .It is causing error when i entering debug mode and also when i tried to run i'm getting the same.
Thanks
Re: why i wasn't able to debug the demo code while i can only flash it?
Posted: Thu Jul 18, 2019 8:42 am
by RoccoMarco
Could you please update openocd downloading it from playembedded.org
There is a bugfix that should solve the issue.
Re: why i wasn't able to debug the demo code while i can only flash it?
Posted: Thu Jul 18, 2019 10:08 am
by Vimal
Hi,
updated the new openocd still it is not working,I'm getting same.
i see two config files one inside openocd\scripts\board and another inside openocd\scripts\target.
when i use cfg file inside target folder i'm not getting that error.why it is not working for one inside board file??
Thanks