Skip to end of banner
Go to start of banner

Why are software breakpoints not supported for netX 90?

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

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

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 but has not been released yet:
http://openocd.zylin.com/#/c/4429/

When the next version of OpenOCD is released, it will be integrated into netX Studio and software breakpoints for netX 90 will be supported.

  • No labels