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]
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 <transport>'. 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