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


Flashing and debugging of externally compiled program

Tunisia

>> The rest of type string is not interesting in my opinion because describes mcu package. It is not related to debug configuration:)
The complete part number should be specified

I have tried using STM32F429I-DISC1 (ST-Link V2-1) and STM32F3Discovery (ST-Link V2) and it works

Just a comment:
to use STLink V2-1 you should include this in your custom.cfg
source [find interface/stlink-v2-1.cfg]

Note: When creating a board, you can specify ST-Link version, After that SystemWorkbech will create the custom.cfg for you :-)



This kind of message can appear if

  • You have multiple running debug instance and both of them are listening to the same port number (3333)
  • You device flash memory is protected


Genarally it is the first case, so try to close the running debug session and try again (from Debug view : Terminate/Disconnect All).
Also restarting SystemWorkbench will do the Job too.