OpenOCD 0.3.1 unknown command arm7_9 sw_bkpts

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,

GDB will know which type of breakpoint it should use, so just don’t use that command.

4/3!!

I had the same problem with OpenOCD 0.4.0

You have to replace the:

monitor arm7_9 sw_bkpts enable

with:

monitor gdb_breakpoint_override hard
monitor arm7_9 dbgrq enable

for RAM debugging it would be probably:

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