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


Problem Debugging: Nucleo-F410RB

OS: Windows 10

I am trying to run a project I generated using STM32CubeMX for the STM32F410RBTx processor. I am getting the following output when trying to run it. I am using the STLink V2-1 debugger integrated with the Nucleo board. I tried updating the firmware on the Nucleo board and also tried un / reinstalling the ST-Link USB driver with no luck. Previously, I was able to create and run other projects using CubeMX for the Nucleo-F302R8 board. Aside from the console output below, I also get a message box from Eclipse saying “OpenOCD child process termination. Wrong Device Detected”.

Any ideas? Thanks!



Open On-Chip Debugger 0.10.0-dev-00275-gd486ac2-dirty (2017-03-06-15:22)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
Info : The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD
adapter speed: 2000 kHz
adapter_nsrst_delay: 100
srst_only separate srst_nogate srst_open_drain connect_assert_srst
srst_only separate srst_nogate srst_open_drain connect_assert_srst
Info : Unable to match requested speed 2000 kHz, using 1800 kHz
Info : Unable to match requested speed 2000 kHz, using 1800 kHz
Info : clock speed 1800 kHz
Error: libusb_open() failed with LIBUSB_ERROR_NOT_SUPPORTED
Info : STLINK v2 JTAG v28 API v2 M v18 VID 0x0483 PID 0x374B
Info : using stlink api v2
Info : Target voltage: 3.258614
Error: init mode failed (unable to connect to the target)
in procedure ‘program’
in procedure ‘init’ called at file “embedded:startup.tcl”, line 473
in procedure ‘ocd_bouncer’

    • OpenOCD init failed **

shutdown command invoked

Hi,

The error you have “Error: libusb_open() failed with LIBUSB_ERROR_NOT_SUPPORTED” can be because of usb driver not installed.
Maybe reboot after you have reinstalled the usb driver.
Also, it can be an existing session not terminated.(although it is not the same msg, but a Libusb error too).
Or you have several STlink connected ? Is your other nucleo F302 board disconnected ?

Rgds,
Laurent

Thanks, I re-installed the USB driver a 2nd tim and rebooted for a 2nd time. That seemed to solve te problem