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


STM32L476G-EVAL and ST-LINK/V2 Connection Problem

The cfg file is ok.

Then, i just got the error you have because i forgot to put the jumper on PSU (it was on STLINK as i use the internal STLink normally).
So, check again the jumpers on Eval board: PSU ON, PWR_EXT ON
And no USB cable on STLink v2-1 USB port of course.

Then, it was not so simple to remove the error, i had to quit and restart and replug the board supply.

I retried, reproducing the error with the jumper.
To recover, i had to put back jumper on PSU, unplug power AND STlink v2 usb.
No need to restart SW4STM32.
Replug Power and STlink v2.
Then i could debug again.

Also don’t forget to remove all terminated launches or restart SW4STM32 to be sure.


For the Breakpoints, OpenOcd only says you can set 6 hardware breakpoints on this target.
It doesn’t say you have set them.

Rgds,
Laurent