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 two short videos (registration required) highlighting:

System Workbench for STM32

missing 'Ac6 STM32 Debugging' Debug configuration in Debug perspective


Hi Giangiacomo, try at first to open debugger and report errors you experience:
get focus on project explorer then
point project name and click right button
select DebugAs-> Debug Configurations

When window pane open press Debug button on bottom then report what is on both problem pop up and console output too.
check picture, in this case error is fine, wrong CPU.

Also try the commands stlink-server and openocd at terminal, see if they where installed and executable too.
If they fail maybe execution right or USB access is not set.

Best regards

... and this is Debug Configuration panel in System Workbench for STM32 that I’ve just installed on Linux box.

Here I can Debug with no effrort.

I’ll make do having both eclipse and System Workbench for STM32 and target debugging with System Workbench for STM32 only.

Not much of a problem here.



Hi Giangiacomo, this is fine but two more detail are expected from your side:
Debug tab configuration, check “software reset” and not “connect under reset”.
What happen when you press DEBUG button, as shown by me. Console output can be of help to pinpoint where it can fail debug process.
Check snapshot

Ciao Roberto,
I’ve did as You said, see attached image,
still I cannot have printf in ‘Console’ of System Workbench for STM32 via ITM.

I defined __io_putchar function, overwriting weak definition, like this:

FENCEif !defined ( BSP_LCD_USE )
int __io_putchar (const char ch)
uint32_t ch_ = (uint32_t)ch;

return (int) ITM_SendChar ( ch_ );

since my STM32F746-DISCOVERY board has an LCD, with LCD I don’t need it.

What can be done next to have debug printf on System Workbench for STM32 Console ?


Hi GianGiacomo, from your last word seems you solved first debug issue. (Access to debug hardware)

Second one, aka “ITM_Send_Char”, sorry I never used it on STM32, I plan to buy soon an LCD board like your then I can test how it work.
In cases close to your, I prefer UDP send than using SWO. I plan to start some test on LCD board near end of January.

Hi Roberto,
You’re right, I can debug on Linux/Lubuntu 64-bit and I can go further.
Thank You,