Loading...
 

Zephyr project on STM32

   Zephyr Workbench, a VSCode extension to manage Zephyr on STM32.
It enables users to easily create, develop, and debug Zephyr applications.
Main features:
  • Install host dependencies.
  • Import toolchain and SDK.
  • Create, configure, build and manage apps.
  • Debug STM32.
You can directly download it from the VSCode marketplace
For more details, visit the Zephyr Workbench

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!!