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


You are viewing a reply to Debugging more than one board  

Debugging more than one board

Hi,
Are you using Ubuntu or Mac?
Warning : The fllowing tip is not functional on Ubuntu. It could be fixed in the next version of SW4STM32.

For all the boards and Debug Configurations :
1 - Find the ST-LINK SN : Launch from a terminal window :
cd C:\Program Files (x86)\STMicroelectronics\STM32 ST-LINK Utility\ST-LINK Utility
ST-LINK_CLI.exe -c SWD
For example, the result is : ST-LINK SN : 0674FF485452785087212707
Then in all Debug Configurations, in the Debugger tab, update the OpenOCD Options field with :
“-c hla_serial 0674FF485452785087212707”

For only one Board/Debug Configuration :
2 - Change the port number in only one Debug configuration, for example Port Number = 3334 (instead of 3333)