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

Hello,

I can’t see anything on your pdf screenshot (too small) but anyway, check the board configuration script cfg produced, it should have:

  1. This is an L476_test board with a single STM32L476ZGTx chip.
  2. Generated by System Workbench for STM32


source find interface/stlink-v2.cfg

set WORKAREASIZE 0x18000
transport select “hla_swd”


source find target/stm32l4.cfg

  1. use hardware reset, connect under reset

reset_config srst_only srst_nogate


Then, maybe the jumpers on the eval board are at the wrong place.
Check that pwr_ext jumper is on.
That the jumper is on PSU for power supply and that the board has the external 5V supplied connected.
Check that no debug session are still running or openocd.exe task running.
And quit the stlink utility (or at least disconnect the session).

If this is still not working, what you can try also is to right click on the project name and do a Target->Erase chip before debug.


And why don’t you use the STLink V2-1 on the eval board to debug ?

Rgds,
Laurent

 

Newest Forum Posts

  1. Монтаж камина с грилем в Москве - установка и барбекю by KpddomErorb, 2025-05-10 18:28
  2. SPI on Nucleo_STMH533RE by royjamil, 2025-05-04 20:13
  3. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-25 07:37
  4. SPI on Nucleo_STMH533RE by royjamil, 2025-03-23 11:31
  5. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-23 09:33
  6. Configuring DMA for ADC in SW? by sam.hodgson, 2025-03-04 12:58
  7. Build a project in "release" mode by info@creosrl.it, 2025-02-20 18:12
  8. Build a project in "release" mode by info@creosrl.it, 2025-02-20 17:05
  9. Build a project in "release" mode by tang, 2025-02-20 10:36
  10. Build a project in "release" mode by info@creosrl.it, 2025-02-19 17:35

Last-Modified Blogs