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


Error in final launch sequence

Austria

hello,

installed System Workbench for STM32 on Windows 10 and imported a project built with STM32CubeMX into my workspace

created a new Debug Configuration (Ac6 STM32 Debugging) and only changed the Sript section to Manual spec, Debug device = ST-LinkV2-1 and Debug interface = SWD

unfortunately if i start this Debug config it fails
Problem Occured
‘Launching IAP driver Debug’ has encountered a problem.
Error in final launch sequence
Failed to execute MI command:
-target-select remote localhost:3333

Error message from debugger back end:
localhost:3333: The system tried to join a drive to a directory on a joined drive.

its the very first time i use System Workbench for STM32
did i miss a configuration ?

br
Andre

I have exactly the same problem:

Win10, STM32CubeMX project imported, stm32nucleo -F410RE board used, ST-LinkV2-1 and SWD selected:

Problem Occurred:

Error in final launch sequence
Failed to execute MI command:
-target-select remote localhost:3333

Error message from debugger back end:
Remote communication error. Target disconnected.: No error.
Remote communication error. Target disconnected.: No error.

What to do?

br
Christian


Lots of things can cause this.

1. Check if you have ST-LinkV2-1 or ST-LinkV2 (mine was ST-LinkV2).
- There is a .cfg file in your project directory which says what it is
(can’t remember where its set).

2. The reset pin needs pull up of 10K. If not fitted or connected, then
change reset line in file .cfg to read reset_config none separate
This sends reset command through swd interface.

There are probably a lot of other things that can cause similar issue.
Just hope you find these helpful.