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


OpenOCD where to set SWD speed?

Hello All,
I have a custom board with a STM32F030R8T6 processor, I am debugging using a ST-Link V2-1 on a nucleo board. For some reason I am only able to connec to my board at speeds up to 480 KHz using the ST-Link app. OpenOCD appears to always attempt to connect at 950 KHz and therefore always fails to connect. How do I go about requesting it connect at a lower speed?
Thanks!
Jason

Tunisia

Hello Jason,

You can use nucleo_f030r8.cfg placed in C:\Ac6\SystemWorkbench\plugins\fr.ac6.mcu.debug_1.6.0.xxxxxx\resources\openocd\scripts\st_board

and add the following command
adapter_khz 480
after this line
source [find target/stm32f0x_stlink.cfg]

Regards,
TarekB