Here are the things i tried.
I downloaded both openocd 0.8 as well as openocd 0.9.
openocd 8.0 didn't work, i guess. Bcoz console window was completely blank, we i ran that.
with Openocd 0.9, i got following logs,
Code: Select all
Open On-Chip Debugger 0.9.0 (2015-05-19-12:06)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
Warn : Interface already configured, ignoring
Error: already specified hl_layout stlink
Info : The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD
adapter speed: 1000 kHz
adapter_nsrst_delay: 100
none separate
srst_only separate srst_nogate srst_open_drain connect_deassert_srst
Info : Unable to match requested speed 1000 kHz, using 950 kHz
Info : Unable to match requested speed 1000 kHz, using 950 kHz
Info : clock speed 950 kHz
Error: open failed
in procedure 'init'
in procedure 'ocd_bouncer'
It is showing error at two places.
and when i tried to flash then got same error as "Execution is suspended because od error !!!"
I m using chibistudio 17.7 and RT-STM32F103RB-NUCLEO demo.