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" when debugging with OpenOCD

I am trying to debug a STM32F4 code in Eclipse but I get the following error:

Error in final launch sequence
Failed to execute MI command:
-target-select remote localhost:3333
Error message from debugger back end:
localhost:3333: No connection could be made because the target machine actively refused it.
Failed to execute MI command:
-target-select remote localhost:3333
Error message from debugger back end:
localhost:3333: No connection could be made because the target machine actively refused it.
localhost:3333: No connection could be made because the target machine actively refused it.

Any ideas on what could it be? Thanks.

Hi TimeFlashes,

Check that it is not your firewall that blocks the connection on port 3333.

BR,
Elliot

Hi Elliot,

Thanks for your reply. Unfortunately I don’t see any problem in Windows Firewall :-( The Any other reason you might think of?

Hi,

Do you have the same behavior if you change the port number (for example with 3334) in the debugger tab in your debug configuration?

Elliot

Yes, I get the same error with the new port number.

Hmm,

Which version of Eclipse are you using? And also which version of mcu ide plugin do you have?
Personally, I never seen this error message and I confess I bet everything on the firewall. redface

Elliot

I deactivated Firewall for every type of connection and I am still getting the error. I have Eclipse Oxygen (December 2017, Version: Oxygen.2 Release (4.7.2) Build id: 20171218-0600) and GNU MCU Eclipse 4.3.2.

Thanks.

Hello,

I notice that you said GNU MCU Eclipse 4.3.2.
So I wondering which plugins you use: GNU Arm or Ac6. The type of your debug configuration is an “Ac6 STM32 Debugging” or a “GDB OpenOCD Debugging”?

If it is an Ac6 STM32 Debugging then which version of ac6 mcu ide plugin do you have?
See the following screenshot:
Ac6 Ide Version

BR,
Elliot

Ok so you use the Gnu Arm plugins.
This forum is dedicated to the Ac6 MCU plugins, I suggest you to expose your issue in their forumQuestion because if the pb is related to their code we can not help you here. confused

BR,
Elliot

Ok, I’ll do that. Thank you so much for the help!

Hi,
I have same problem,
with “Ac6 STM32 Debugging” v2.4.0.2018011212207 and i test it with my firewall deactivated .


 

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