SparkFun Forums 

Where electronics enthusiasts find answers.

Open source ARM Debugger
By s123parkfun
#87113
Hi,
I used arm7_9 sw_bkpts command for mini2440 board with older version of openocd to set breakpoints and it worked well.

But recently I installed OpenOCD 0.3.1 and it shows "unknown command" for the command arm7_9 sw_bkpts.

So, could someone please tell me the equivalent procedure (or commands) to set breakpoints in OpenOCD 0.3.1?

Thanks a million.

Paul,
By Freddie Chopin
#87569
GDB will know which type of breakpoint it should use, so just don't use that command.

4\/3!!
By afinko
#106965
I had the same problem with OpenOCD 0.4.0

You have to replace the:
Code: Select all
monitor arm7_9 sw_bkpts enable
with:
Code: Select all
monitor gdb_breakpoint_override hard
monitor arm7_9 dbgrq enable
for RAM debugging it would be probably:
Code: Select all
monitor gdb_breakpoint_override soft
There is more info about not supported commands in new versions of OpenOCD:
http://www.amontec.com/openocd/doc/Upgrading.html