why i wasn't able to debug the demo code while i can only flash it?

ChibiOS public support forum for all topics not covered by a specific support forum.

Moderators: RoccoMarco, lbednarz, tfAteba

User avatar
Giovanni
Site Admin
Posts: 14893
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: why i wasn't able to debug the demo code while i can only flash it?

Post by Giovanni »

It should just work, not being able to set the breakpoint is an effect not a cause.

Giovanni
User avatar
RoccoMarco
Posts: 655
Joined: Wed Apr 24, 2013 4:11 pm
Has thanked: 83 times
Been thanked: 67 times

Re: why i wasn't able to debug the demo code while i can only flash it?

Post 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.
Vimal
Posts: 10
Joined: Tue Jul 09, 2019 10:44 am

Re: why i wasn't able to debug the demo code while i can only flash it?

Post 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
User avatar
RoccoMarco
Posts: 655
Joined: Wed Apr 24, 2013 4:11 pm
Has thanked: 83 times
Been thanked: 67 times

Re: why i wasn't able to debug the demo code while i can only flash it?

Post by RoccoMarco »

Could you please update openocd downloading it from playembedded.org
There is a bugfix that should solve the issue.
Vimal
Posts: 10
Joined: Tue Jul 09, 2019 10:44 am

Re: why i wasn't able to debug the demo code while i can only flash it?

Post 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
Post Reply