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


Connect to target without reset to debug already-running FW

Tunisia

Hello jimfred,

Yes it is possible biggrin

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

I have created a custom board config

custom.cfg
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

Hotplug

Best Regards,
Tarek