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


 

Newest Forum Posts

  1. reservation car service Seattle by Jamesprede, 2025-05-01 10:06
  2. Last day: drone bonus by Danielrug, 2025-04-19 16:55
  3. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-25 07:37
  4. SPI on Nucleo_STMH533RE by royjamil, 2025-03-23 11:31
  5. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-23 09:33
  6. Configuring DMA for ADC in SW? by sam.hodgson, 2025-03-04 12:58
  7. Insightful Perspectives on This Subject by davidsycle, 2025-03-04 05:45
  8. Build a project in "release" mode by info@creosrl.it, 2025-02-20 18:12
  9. Build a project in "release" mode by info@creosrl.it, 2025-02-20 17:05
  10. Build a project in "release" mode by tang, 2025-02-20 10:36

Last-Modified Blogs