Page 1 of 1

Got error in openOCD F401RE

Posted: Sat Oct 08, 2016 6:32 am
by ep.hobbyiest
Hi,

i am using NucleoF401 and chibi studio. I got error while opening configuration using openOCD.

i took stm32f4discover.cfg file. and i got following error.

Code: Select all

Open On-Chip Debugger 0.10.0-dev-00325-g12e4a2a (2016-07-14-11:32)
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: 2000 kHz
adapter_nsrst_delay: 100
none separate
srst_only separate srst_nogate srst_open_drain connect_deassert_srst
Info : Unable to match requested speed 2000 kHz, using 1800 kHz
Info : Unable to match requested speed 2000 kHz, using 1800 kHz
Info : clock speed 1800 kHz
Error: open failed
in procedure 'init'
in procedure 'ocd_bouncer'


Is it problem with board or configuration file.

Re: Got error in openOCD F401RE

Posted: Sat Oct 08, 2016 6:46 am
by Giovanni
Hi,

Does it work with other boards or other STM32s?

Giovanni

Re: Got error in openOCD F401RE

Posted: Sat Oct 08, 2016 1:21 pm
by ep.hobbyiest
for other board i select other configuration file and it is working. like stm32f103 and stm32f303xx.

but for NucleoF401RE only i m facing problem. I tried other board too, but same problem.

Might be issue with configuration file.

Re: Got error in openOCD F401RE

Posted: Sat Oct 08, 2016 1:27 pm
by Giovanni
Try selecting target/stm32f4x_stlink.cfg

Giovanni

Re: Got error in openOCD F401RE

Posted: Sat Oct 08, 2016 2:11 pm
by ep.hobbyiest
Hi,

i tried stm32f429discovery.cfg, not working. but stm32f429disc1.cfg is working.

Is it ok, if i m using stm32f401xx processor and config file is different?

Re: Got error in openOCD F401RE

Posted: Sat Oct 08, 2016 2:13 pm
by Giovanni
If it is able to flash it then it is OK.

Giovanni