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


You are viewing a reply to Debugger does nothing  

Debugger does nothing

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.
localhost:3333: The system tried to join a drive to a directory on a joined drive.

Of course I created a debug configuration of the Ac6 STM Debugging type. I’m not sure what you mean about targeting a board. You target a processor; the IDE isn’t going to know anything about our proprietary board.

I have created a debug configuration in STM32CubeIDE and have been using that to connect to the target and load the image built in SystemWorkbench.

France

When you create a SW4STM32 project you have to specify a target board; when using a proprietary board you can create a custom board and will thn have to specify the exact SoC that is included on the board (and of course the board-specific initializations and definitions will have to be provided by your code, instead of being predefined by the firmware).

The errors you have seem to indicate that you have source paths in your imported project that reference locations on your vendor build system; that’s why it is usually better to create a new project, although you may have to manually translate compilation options. If you keep the existing project you should probably check in project properties >> C/C++ General >> Paths and Symbols that all paths in Includes, Library Paths and Source Location are workspace-relative paths or are based on Eclipse variables, for example ${ProjDirPath}, and only name existing paths on your system.

You should also check on C/C++ Build >> Settings that all settings are valid and check paths in the debug configuration, especially in the Source tab.

Bernard (Ac6)


 

Newest Forum Posts

  1. SPI on Nucleo_STMH533RE by royjamil, 2025-05-04 20:13
  2. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-25 07:37
  3. SPI on Nucleo_STMH533RE by royjamil, 2025-03-23 11:31
  4. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-23 09:33
  5. Configuring DMA for ADC in SW? by sam.hodgson, 2025-03-04 12:58
  6. Build a project in "release" mode by info@creosrl.it, 2025-02-20 18:12
  7. Build a project in "release" mode by info@creosrl.it, 2025-02-20 17:05
  8. Build a project in "release" mode by tang, 2025-02-20 10:36
  9. Build a project in "release" mode by info@creosrl.it, 2025-02-19 17:35
  10. Fail to debug in Win 11 C/C++ by mortenlund, 2024-12-26 20:27

Last-Modified Blogs