Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » STlink-v2 - debug interface was not found (ft2232) - with Ubuntu and Openocd(Communication problem with STlink-V2 debugger with openocd and Ubuntu)
STlink-v2 - debug interface was not found (ft2232) - with Ubuntu and Openocd [message #1737742] Tue, 12 July 2016 12:34 Go to next message
Jean-Yves MOUSTROU is currently offline Jean-Yves MOUSTROUFriend
Messages: 2
Registered: July 2016
Junior Member
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,
Re: STlink-v2 - debug interface was not found (ft2232) - with Ubuntu and Openocd [message #1737837 is a reply to message #1737742] Wed, 13 July 2016 11:57 Go to previous messageGo to next message
Tauno Voipio is currently offline Tauno VoipioFriend
Messages: 742
Registered: August 2014
Senior Member
This is an OpenOCD problem, rather than an Eclipse problem.

My guess is that the OpenOCD configuration file is obsolete for the factory-fresh version of OpenOCD.

You may be better off in an OpenOCD forum, try this: <http://www.openstm32.org/HomePage>.

Another thing is that your Eclipse of pretty old, it will be difficult to find support for Helios because of its age.


--

Tauno Voipio
Re: STlink-v2 - debug interface was not found (ft2232) - with Ubuntu and Openocd [message #1737955 is a reply to message #1737837] Thu, 14 July 2016 11:49 Go to previous messageGo to next message
Jean-Yves MOUSTROU is currently offline Jean-Yves MOUSTROUFriend
Messages: 2
Registered: July 2016
Junior Member
Hi, finally the problem came from the jtag.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 <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


Do you have any Ideas ?
Re: STlink-v2 - debug interface was not found (ft2232) - with Ubuntu and Openocd [message #1737973 is a reply to message #1737955] Thu, 14 July 2016 14:52 Go to previous message
Tauno Voipio is currently offline Tauno VoipioFriend
Messages: 742
Registered: August 2014
Senior Member
This is still off-topic for Eclipse.

Your OpenOCD configuration needs to tell the proper transport.

Get the OpenOCD documentation, follow it using the console (outside Eclipse) and use the OpenOCD forums for help.

You can return to run the system from Eclipse after it starts cleanly from the console.



--

Tauno Voipio
Previous Topic:Non-stop mode
Next Topic:Description Resource Path Location Type fatal error: io.stream: No such file or directory greetings.
Goto Forum:
  


Current Time: Fri Apr 26 15:02:41 GMT 2024

Powered by FUDForum. Page generated in 0.03072 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top