Loading...
 
Skip to main content

System Workbench for STM32


Connect to target without reset to debug already-running FW

Tunisia

Hello jimfred,

Yes it is possible 😀

I have done some tests with STM32F429I-DISC1 and finally it works !

I have created a custom board config

custom.cfg
Copy to clipboard
source [find interface/stlink-v2-1.cfg] transport select "hla_swd" source [find stm32f4x.cfg] reset_config none


and modifed the stm32f4x.cfg, I have removed all reset parts (see atached file)

I have placed these files within project folder (beside the .cproject)

and finally I have created an Ac6 debug configuration as following
- Debugger TAB : use local script : custom.cfg
- Startup TAB :
- unchecked the "Reset and Delay" checkbox
- unchecked the "Halt" checkbox
- unchecked the "Load image" checkbox
- unchecked the "set breakpoint at" checkbox
- unchecked the "Resume" checkbox
- used the following initialization commands : monitor halt, stepi

Image

Best Regards,
Tarek