SparkFun Forums 

Where electronics enthusiasts find answers.

Open source ARM Debugger
#190686
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 :
Code: Select all
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]
finally the problem came from the jtag.cfg, now OpenOCD find the debug interface .

But I have another problem now :
Code: Select all
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 idea to fix my problem ?

Thanks,
long long title how many chars? lets see 123 ok more? yes 60

We have created lots of YouTube videos just so you can achieve [...]

Another post test yes yes yes or no, maybe ni? :-/

The best flat phpBB theme around. Period. Fine craftmanship and [...]

Do you need a super MOD? Well here it is. chew on this

All you need is right here. Content tag, SEO, listing, Pizza and spaghetti [...]

Lasagna on me this time ok? I got plenty of cash

this should be fantastic. but what about links,images, bbcodes etc etc? [...]