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


SW4STM32 and STM32CubeMX debug problem

Hello,

I generated the code in STM32CubeMX and I imported it to SW4STM32.
An error occurs while debugging the program:

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Open On-Chip Debugger 0.10.0-dev-00019-g5352c55 (2019-02-14-15:31)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
Warn : Could not determine executable path, using configured BINDIR.
srst_only separate srst_nogate srst_open_drain connect_deassert_srst
Info : The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD
adapter speed: 8000 kHz
adapter_nsrst_delay: 100
Info : clock speed 8000 kHz
Info : STLINK v2.1 JTAG v32 API v2 M22 VID 0x0483 PID 0x374B
Info : using stlink api v2
Info : Target voltage: 3.249836
Error: init mode failed (unable to connect to the target)
in procedure ‘init’
in procedure ‘ocd_bouncer’
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

On the forum I found similar problems but no solution to my.
Thank you in advance for any help.