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, utzig, tfAteba, barthess

User avatar
Giovanni
Site Admin
Posts: 14455
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1076 times
Been thanked: 922 times
Contact:

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

Postby Giovanni » Tue Jul 16, 2019 6:08 pm

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
Location: Munich (Germany)
Has thanked: 83 times
Been thanked: 67 times
Contact:

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

Postby RoccoMarco » Tue Jul 16, 2019 6:11 pm

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.
Ciao,
RM

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?

Postby Vimal » Thu Jul 18, 2019 7:03 am

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
Location: Munich (Germany)
Has thanked: 83 times
Been thanked: 67 times
Contact:

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

Postby RoccoMarco » Thu Jul 18, 2019 8:42 am

Could you please update openocd downloading it from playembedded.org
There is a bugfix that should solve the issue.
Ciao,
RM

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?

Postby Vimal » Thu Jul 18, 2019 10:08 am

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


Return to “General Support”

Who is online

Users browsing this forum: No registered users and 17 guests