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


STlink-v2 - debug interface was not found (ft2232) - with Ubuntu and Openocd

Hi,

I worked on Eclipse Helios version to program an STM32F103xxx. To do this, I use Openocd 0.10.0 with the STlink-V2 debugger.

I can build my program but I can’t flash it !

When I want to Flash, I received this error message :

Open On-Chip Debugger 0.10.0-dev-00325-g12e4a2a (2016-07-11-17:18)
Licensed under GNU GPL v2
Error: The specified debug interface was not found (ft2232)
The following debug interfaces are available:
1: ftdi
2: usb_blaster
3: usbprog
4: jlink
5: vsllink
6: rlink
7: ulink
8: arm-jtag-ew
9: hla
10: osbdm
11: opendous
12: aice

I don’t understand because when I check my openocd folder, I find the “ft2232.c” in jtag drivers.

My computer find the Stlink-v2 component.

Do you have any idea to fix my problem ?

Thanks,

Hi, finally the problem came from the jtag.cfg(stlink-v2.cfg), now OpenOCD find the debug interface .

But I have another problem now :

Open On-Chip Debugger 0.9.0 (2016-07-14-10:34)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
adapter speed: 1000 kHz
adapter_nsrst_delay: 100
adapter_nsrst_delay: 100
Info : auto-selecting first available session transport “hla_swd”. To override use ‘transport select ‘.
embedded:startup.tcl:162: Error: session transport is “hla_swd” but your config requires JTAG
in procedure ‘script’
at file “embedded:startup.tcl”, line 60
in procedure ‘jtag’ called at file “stm32.cfg”, line 37
in procedure ‘default_to_jtag’ called at file “embedded:startup.tcl”, line 167
at file “embedded:startup.tcl”, line 162


Do you have any Ideas ?

I don’t know how I can fix the auto-selecting....

thanks,