Loading...
 
Skip to main content

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 work😑