Page 1 of 1

facing problem with openOCD for F401RE

Posted: Fri Nov 04, 2016 6:19 pm
by ep.hobbyiest
I am using Nucleo401RE and chibi studio.
My OS version is Windows 10 - 64bit.
open ocd is giving following error.

Code: Select all

Open On-Chip Debugger 0.10.0-dev-00107-ge4848fe (2015-11-13-11:49)
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'


I tried all .cfg file related to stm32f4xxx.cfg but not working.
Is this problem with chibi studio or open ocd or something else.

Re: facing problem with openOCD for F401RE

Posted: Fri Nov 04, 2016 7:17 pm
by Giovanni
Hi,

There are similar reports from other W10 users: viewtopic.php?f=13&t=3655

I don't have W10 but I know for sure OpenOCD should work, others used it.

Giovanni

Re: facing problem with openOCD for F401RE

Posted: Sat Nov 05, 2016 11:15 am
by ep.hobbyiest
Thanks.
Problem is solved now I tried with different ocd.

Re: facing problem with openOCD for F401RE

Posted: Fri Nov 18, 2016 12:50 am
by demant
Hello, Can I Know Which openOCD you used to solve the problem? I tried with all available openOCD but I have not solved

Re: facing problem with openOCD for F401RE

Posted: Fri Nov 18, 2016 3:03 am
by ep.hobbyiest
I have downloaded the open OCD from following linkhttp://www.chibios.com/forum/viewto ... =13&t=3457

Re: facing problem with openOCD for F401RE

Posted: Fri Nov 18, 2016 10:04 am
by RoccoMarco
Hi,
this is the latest version of OpenOCD I have built
http://www.playembedded.org/blog/wp-content/uploads/2016/07/openocd.zip
can you give us a feedback after using it?

Re: facing problem with openOCD for F401RE

Posted: Sun Nov 20, 2016 2:42 am
by demant
I tried the openocd provided by RoccoMarco but the problem persists while the link provided by ep.hobbyiest leads me to a blank page. However my problem might be different even though the message shown by Chibistudio is the same, because I can not connect even by ST-Link tool. My problem is described in more detail in this topic viewtopic.php?f=13&t=3655 . Thanks for support.

Re: facing problem with openOCD for F401RE

Posted: Sun Nov 20, 2016 12:57 pm
by RoccoMarco
As said here, try to make a full chip erase with ST Link Utility.
Ciao