SparkFun Forums 

Where electronics enthusiasts find answers.

Open source ARM Debugger
By mangokid
I am currently trying to use the ARM-USB-TINY and the ARM-JTAG-SWD adapter to program some STM32 chips. In particular the F0, F1, and F4. The STM32F1 and F4 work fine with openocd when using JTAG. When i try and use SWD to program the STM32F0 or other variants it gets stuck on 'init'. I have used this hardware setup to program lpc11xx without any issues before. I have started spending time getting a better understanding of scripts in openocd to resolve this issue but at the moment I'm stuck.

*If i use the SWD interface from the STM Nucleo or Discovery boards it works fine with openocd.
Code: Select all
openocd -f interface/ftdi/olimex-arm-usb-tiny-h.cfg -f interface/ftdi/olimex-arm-jtag-swd.cfg -f target/stm32f4x.cfg       
Open On-Chip Debugger 0.9.0-dev-00346-g3e1dfdc (2015-03-10-16:17)
Licensed under GNU GPL v2
For bug reports, read
Info : FTDI SWD mode enabled
adapter speed: 2000 kHz
adapter_nsrst_delay: 100
none separate
cortex_m reset_config sysresetreq
Info : clock speed 2000 kHz
in procedure 'init' 
in procedure 'ocd_bouncer' 
in procedure 'transport'
in procedure 'init'

Thanks all
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? [...]