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 launching openOCD debugger in Eclipse

I am setting up openOCD and Eclipse on a new operating system, using a Nucleo F030R8 board that debugs fine on another system. I can run the debugger in terminal with ./openocd -f board/st_nucleo_f0.cfg and get:

GNU ARM Eclipse 64-bits Open On-Chip Debugger 0.9.0-00073-gdd34716 (2015-05-19-12:55)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.htmlQuestion
Info : The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD
adapter speed: 1000 kHz
adapter_nsrst_delay: 100
none separate
srst_only separate srst_nogate srst_open_drain connect_deassert_srst
Info : Unable to match requested speed 1000 kHz, using 950 kHz
Info : Unable to match requested speed 1000 kHz, using 950 kHz
Info : clock speed 950 kHz
Info : STLINK v2 JTAG v25 API v2 SWIM v13 VID 0x0483 PID 0x374B
Info : using stlink api v2
Info : Target voltage: 3.257369
Info : stm32f0x.cpu: hardware has 4 breakpoints, 2 watchpoints’’



and the LED LD1 blinks alternatively green and red. However, when I run the debugger in Eclipse I also get the “error in final launch sequence”:



Error in final launch sequence
Failed to execute MI command:
-target-select remote localhost:3333
Error message from debugger back end:
localhost:3333: No such file or directory.
Failed to execute MI command:
-target-select remote localhost:3333
Error message from debugger back end:
localhost:3333: No such file or directory.
localhost:3333: No such file or directory.


Similarly, I can run External Tools in Eclipse just fine, but this doesn’t open the debugger. So it seems like I’m close, but something isn’t quite right. Let me know if you need any other details of my system.


Using:

Eclipse Mars.2 (4.5.2)
Mac 10.12.1
OpenOCD 0.10.0-201601101000-dev
GNU Tools gcc-arm-none-eabi-5_4-2016q3

France

Hi,

Which version of System Workbench for STM32 are you running? Did you do a “Help >> Check for updates...” recently?

Did you try to lauch the debugger by “Debug As >> Ac6 STM32 C/C++ Appliocation”?

Bernard (Ac6)



Hi Vetch,

No, I’m running GDB OpenOCD debugging. I have this working on a different (new) computer, but can’t get it working on my main one (which has been in use for 3 years). I just figured something was conflicting.


I have similar error, had anyone solve it?
Just that my LED LD1 is not blinking.

I am using
eclipse: Version: Neon.3 Release (4.6.3)
openocd: 0.10.0-1-20170607-2132-dev


my debug log as attached.