Loading...
 

SW4STM32 and SW4Linux fully supports the STM32MP1 asymmetric multicore Cortex/A7+M4 MPUs

   With System Workbench for Linux, Embedded Linux on the STM32MP1 family of MPUs from ST was never as simple to build and maintain, even for newcomers in the Linux world. And, if you install System Workbench for Linux in System Workbench for STM32 you can seamlessly develop and debug asymmetric applications running partly on Linux, partly on the Cortex-M4.
You can get more information from the ac6-tools website and download (registration required) various documents highlighting:

System Workbench for STM32


Phantom Breakpoint

I have a stubborn breakpoint that I cannot delete. There is no breakpoint indicator in the line where it breaks. In the Breakpoints tab I have tried the “Remove All” pop up menu item. I have commented out the code where the breakpoint is. Compiled it, and ran it. There was no breakpoint. But when the code was reinstated so was this phantom breakpoint. I have deleted the .elf file, did a clean compile, cycled target board power, put a breakpoint on that line and removed that breakpoint, and still it breaks on that line.

How can I get rid of this breakpoint?

Tunisia

It could be a temporary bkpt possibly added by your launch config (debug configuration) > Startup TAB >

  1. Initialization Commands ?
  2. Run Commands ?
  3. Runtime Options > Set breakpoint at : ?

In Run => Debug Configurations => Ac6 STM32 Debugging (tree) => Startup (tab)
in the Runtime Options group the “Set breakpoint at:” checkbox was checked and the assoicated text field set to “main”.

The Run Command field is and was blank.

Unchecking that “Set breakpoint at:” checkbox did caused it to no longer break at start up. But it still breaks at the invisible breakpoint.

I made no changes in the “Initialization Commands” group. Both the “Halt” and “Reset and Delay” checkboxes are checked here. The “Reset and Delay” associated field is set to 3 seconds. In the large text field just below this is:

monitor reset halt

Hi spflanze,

During your debug session, when your phantom breakpoint is reached.
In the console tab select the “‹Ac6 STM32 Debugging› gdb” console and type “info break” in this console.

The gdb console will show you all your breakpoints (normally even your phantom breakpoint). You can then try to remove it with : “delete ‹breakpoint_number›”