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


Unable to debug on custom STM32 board

Fix it in software! :-D

Before you can debug, the IDE has to send the binary image to the MCU’s flash memory (or SRAM, if you’ve set it up for that). Before it can write the new image, it has to erase the existing image, if any. That’s where you’re getting the error message - at the very beginning of the process.

Your present configuration is telling OpenOCD that there is a reset wire attached from the ST-Link to your target board. That is in addition to the SWCLK and SWDIO lines, ground and Vtarget. OpenOCD is trying to use the reset line to undeniably get the MCU’s attention. This is not necessary.

Change your reset configuration from “reset_config srst_only srst_nogate” to “reset_config none”. I just added a “#” in front of the line, which causes it to be considered as a comment, so I can go back when I need to later.

  1. use hardware reset, connect under reset
  2. reset_config srst_only srst_nogate

reset_config none

PS: someone explain to me in words I can understand how to properly format code in this forum. Please! The “Help” button has a bad link to the Wiki syntax help page. The actual page gives terse examples that I can’t seem to follow.

I hope this helps.


Dale