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


How to reset target MCU during debugging

The v2.x branch of SW4STM32 -does- provide a reset button, although it’s not immediately obvious.

It’s a new button just to the left of the double-X clear-terminated-tasks button that is part of the task list dialog (the upper left hand window in the debug view).

With the v1 branch of SW4STM32, I was able to make the “monitor reset halt” trick mentioned by others in this thread work some of the time - it would seem to work correctly if I did a ‘manual’ break (clicking the pause-icon button when the app was running in real time), but was much more hit-or-miss if I tried to do it after stopping due to a breakpoint. It definitely DOES NOT work at all if your app is in the normal run state.

It seems as the input console interface to GDB (which is where the ‘monitor reset halt’ directive is getting sent to) does not function at all in SW4STM32 v2.x. Fortunately, the new ‘reset button’ works pretty reliably.