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


STLINK v2 reset not working, unable to program/debug

Thank you for your reply. I noticed that the changes in the CGF file where overwritten when i changed something in the debug configuration. I made a sepperate file like like you suggested, sadly it didn’t work.

The custom cgf file contains these lines:

””“”“”“”

  1. This is an test board with a single STM32F103C8Tx chip.
  2. Generated by System Workbench for STM32


source find interface/stlink-v2.cfg

set WORKAREASIZE 0x5000
transport select “hla_swd”


source find target/stm32f1x_stlink.cfg

  1. use hardware reset, connect under reset

reset_config srst_nogate
””“”“”“”
I also added a screenshot of my debug configuration

I still haven’t figured out how to make it worksad