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


Linux + stm32f429i-DISC0 failed to debug

Hi all,

I am developing with stm32F429i-DISC0 with sw4stm32
All was fine with windows 8
I have moved to linux ubuntu 15.10(64 bits) then i am facing an issue to load the board.

Starting with the blink example : /home/dev/workspace/stm32/STM32Cube_FW_F4_V1.11.0/Projects/STM32F429I-Discovery/Examples/GPIO/GPIO_EXTI/SW4STM32/STM32F429I-Discovery

Build is OK

Now : debug configurations to create a new Ac6 stm32 Debugging.
All the settings remain the same.
I get this error when I start debug :

Error in final launch sequence
Failed to execute MI command:
-target-select remote localhost:3333

Error message from debugger back end:
localhost:3333: timed out
localhost:3333: timed out

I have tried to set device ST-LinkV2 / SWD instead of « use default script » unsuccessfully

As linux is a bit new for me this error could be trivial for you guys.

Do you have an idea ? All the posts about localhost:3333 errors are not helping.

Cheers,
Antony

Hello, I really do not know, who is responsible for this bug, and maybe something was wrong during the installation... Anyway, I got the same issue and it is caused due to udev rules - your user have not permissions to work with usb device with this ID (st-link). You need to add udev rules for you device.
What you need to do:

$sudo cp /path_to_your_SystemWorkbench/plugins/fr.ac6.mcu.externaltools.openocd.linux64_1.7.0.201602121841/tools/openocd/share/openocd/contrib/99-openocd.rules /etc/udev/rules.d/
$sudo udevadm control --reload-rules

Hope, this will help


Yessss !!!
thanks a lot artsin, you make my day :-)

This rocks !!!

Cheers,
Antony


It also helped for me. Debugging stopped working after upgrade to Ac6 1.8. Reinstallation didnt help.
Thanks artsin!!