Got error in openOCD F401RE Topic is solved

ChibiOS public support forum for topics related to the STMicroelectronics STM32 family of micro-controllers.

Moderator: RoccoMarco

Post Reply
ep.hobbyiest
Posts: 94
Joined: Sun Jun 26, 2016 5:22 pm
Has thanked: 4 times
Been thanked: 1 time

Got error in openOCD F401RE

Post 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.
User avatar
Giovanni
Site Admin
Posts: 14893
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: Got error in openOCD F401RE

Post by Giovanni »

Hi,

Does it work with other boards or other STM32s?

Giovanni
ep.hobbyiest
Posts: 94
Joined: Sun Jun 26, 2016 5:22 pm
Has thanked: 4 times
Been thanked: 1 time

Re: Got error in openOCD F401RE

Post 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.
User avatar
Giovanni
Site Admin
Posts: 14893
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: Got error in openOCD F401RE

Post by Giovanni »

Try selecting target/stm32f4x_stlink.cfg

Giovanni
ep.hobbyiest
Posts: 94
Joined: Sun Jun 26, 2016 5:22 pm
Has thanked: 4 times
Been thanked: 1 time

Re: Got error in openOCD F401RE

Post 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?
User avatar
Giovanni
Site Admin
Posts: 14893
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: Got error in openOCD F401RE

Post by Giovanni »

If it is able to flash it then it is OK.

Giovanni
Post Reply