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


You are viewing a reply to Debug 2 devices on the same PC  

Debug 2 devices on the same PC

Hi Riccardo,

You can debug several boards in parallel with the same SW4STM32 and so the same workspace.

To do that:
- two projects, one for each custom board (on the same workspace)
- two debug configuration (one for each project)

Now you need to precise for each debug configuration, what is the board concerned.
Two possibilities in the debugger tab:
- using the STLink Server if the tool is installed on your machine OR
- using the openocd option : “-c hla_serial XXXXXXX” (where XXXXX is the ST-Link SN number that you can get through ST-Link Utility or STM CubeProgrammer)

Furthermore, if you debug the two projects in parallel, you must to define a different port number in the debug configuration (debugger tab).
Example 3333 for one and 3334 for the other.

BR,
Elliot

Hello,
thank you so much. I follow your instructions and able to debug without problem.

Thanks
Riccardo

Hi Elliot,

Any idea how to do your suggestion on PlatformIO IDE? I want to use several boards and would like to manage uploading on remotely using 2 st link, howerver, I am experiencing this error when having two ST-Link connected at the same time, but works just fine when I upload with one programmer on connected on the remote device
Warn : UNEXPECTED idcode: 0x1ba01477
Error: expected 1 of 1: 0x2ba01477
in procedure ‘program’

    • OpenOCD init failed **

shutdown command invoked

Thanks and hoping for your consideration. Beginner on programming here.

BR,

Jude