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


Some (beginners) problems with OpenSTM32

Ok, now I’m totaly confused!
My debugger “run by acceident”
I’ve forgotten to stop my manualy started openocd in an xterm.
That prevents openstm to start another openocd because the network-port is already occupied.
In this setup debugging works!

If eclipse starts the openocd, debugging don’t work, and I think, I’ve discored why:

The debug-script generated by OpenSTM looks like this:


  1. This is an test1 board with a single STM32F103C8Tx chip.
  2. Generated by System Workbench for STM32


source find interface/stlink-v2.cfg

set WORKAREASIZE 0x5000
transport select “hla_swd”


source find target/stm32f1x_stlink.cfg

  1. use hardware reset, connect under reset

reset_config srst_only srst_nogate



The problem in this setup are the 2 lines “transport select” and reset_config.
If I comment out this lines, and start openocd manualy with this script, everything works like expected, but as soon, as I try to debug from eclipse this file ist overwritten with it’s old content.
I than tried to use a custom debug-script (the above content with the 2 lines commented out), but eclipse seems to ignore this script.

Is there a template that i can change, or at which place do I find the srew to adjust this behavior?

Harry