Loading...
 

SW4STM32 and SW4Linux fully supports the STM32MP1 asymmetric multicore Cortex/A7+M4 MPUs

   With System Workbench for Linux, Embedded Linux on the STM32MP1 family of MPUs from ST was never as simple to build and maintain, even for newcomers in the Linux world. And, if you install System Workbench for Linux in System Workbench for STM32 you can seamlessly develop and debug asymmetric applications running partly on Linux, partly on the Cortex-M4.
You can get more information from the ac6-tools website and download (registration required) various documents highlighting:

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 .