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


localhost:3333 error message in trying to debug NUCLEO-F401RE

I am trying to flash and debug an NUCLEO-F401RE board.

i have installed offical drivers from
c:\Ac6\SystemWorkbench\STLinkUSBDriver\

i have this systematic error :
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.

i have tried to reinstall the drivers
change the USB Port .. still the same issue
Do you have an idea how to solve my issue ?

Best Regards

Erwan


I too had this error. The problem turned out to be the target processor was powered down. Turning on power solved it.

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

The problem for me was that openocd wasnt starting at all. It seemed to need access to ports 4444 and ports 6666.
So do a netstart -an | grep LISTEN and see if they are already being used by other systems.

Hi Spirail,

Concerning the ports with openocd:

  • 3333 is the default value for gdb
  • 4444: the default value for telnet connection and
  • 6666: the default value for tcl


In the SW4STM32, the telnet and tcl port values are set in function of the gdb port value. This means that if you use the default value for gdb then default values will be used for tcl and telnet. And for example, if you set 3334 for gdb (default value + 1) then a +1 will also applied for tcl and telnet.

Regards,
Elliot


 

Newest Forum Posts

  1. Last day: drone bonus by Danielrug, 2025-04-19 16:55
  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. Insightful Perspectives on This Subject by davidsycle, 2025-03-04 05:45
  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