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


AC6 + ST-Link V2 + SWD programming

Hi Harry

I gave you the solution in April. For me it works like a charm.

When I recreate my project I do the following steps:

1. Build all
2. Right click on Debug/projectname.elf
3. DebugAs -> Ac5 STM32 c/c++ Application (let it fail)
4. Right click on Debug/projectname.elf
5. DebugAs -> Debug Configurations
6 Append ‘-Debug’ to the Name and click appy
7. Select Tab “Debugger” and use my “local script”

local.script contains:

# This is an STM32F103C8T6-mini board with a single STM32F103C8Tx chip.
# 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]

source [find target/stm32f1x.cfg]


# use hardware reset, connect under reset
#reset_config srst_only srst_nogate
reset_config srst_nogate


Dieter