Why are software breakpoints not supported for netX 90?

Q

When I try to insert a software breakpoint, I get a message from netX Studio that software breakpoints are not supported for netX 90:

Why is that and when are they going to be supported?

A

If you see this message, you are probably using netX Studio V1.0910 or lower, so please install the latest netX Studio version where software breakpoints are already supported.

Issue background in netX Studio V1.0910 and lower

This issue is caused by a bug in the OpenOCD Cortex-M support where the requested breakpoint type is ignored and the actual breakpoint type is determined by the target memory address - hard (FPB) breakpoints are set in code memory area 0x00000000-0x1FFFFFFF, soft breakpoints are set above 0x20000000. In our case when the code is running from INTRAM (0x000B0000) or SDRAM (0x10000000) the breakpoint type is automatically set to hardware and there is no workaround for it - OpenOCD will always insert a hardware breakpoint for these address ranges.

The issue is reported and fixed in the OpenOCD master development branch and has been released (version 0.11.0):
http://openocd.zylin.com/#/c/4429/