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


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,


 

Newest Forum Posts

  1. SPI on Nucleo_STMH533RE by royjamil, 2025-05-04 20:13
  2. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-25 07:37
  3. SPI on Nucleo_STMH533RE by royjamil, 2025-03-23 11:31
  4. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-23 09:33
  5. Configuring DMA for ADC in SW? by sam.hodgson, 2025-03-04 12:58
  6. Build a project in "release" mode by info@creosrl.it, 2025-02-20 18:12
  7. Build a project in "release" mode by info@creosrl.it, 2025-02-20 17:05
  8. Build a project in "release" mode by tang, 2025-02-20 10:36
  9. Build a project in "release" mode by info@creosrl.it, 2025-02-19 17:35
  10. Fail to debug in Win 11 C/C++ by mortenlund, 2024-12-26 20:27

Last-Modified Blogs