facing problem with openOCD for F401RE

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

facing problem with openOCD for F401RE

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

Re: facing problem with openOCD for F401RE

Post 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
ep.hobbyiest
Posts: 94
Joined: Sun Jun 26, 2016 5:22 pm
Has thanked: 4 times
Been thanked: 1 time

Re: facing problem with openOCD for F401RE

Post by ep.hobbyiest »

Thanks.
Problem is solved now I tried with different ocd.
demant
Posts: 8
Joined: Tue Nov 01, 2016 2:09 pm
Has thanked: 1 time

Re: facing problem with openOCD for F401RE

Post 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
ep.hobbyiest
Posts: 94
Joined: Sun Jun 26, 2016 5:22 pm
Has thanked: 4 times
Been thanked: 1 time

Re: facing problem with openOCD for F401RE

Post by ep.hobbyiest »

I have downloaded the open OCD from following linkhttp://www.chibios.com/forum/viewto ... =13&t=3457
User avatar
RoccoMarco
Posts: 655
Joined: Wed Apr 24, 2013 4:11 pm
Has thanked: 83 times
Been thanked: 67 times

Re: facing problem with openOCD for F401RE

Post 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?
demant
Posts: 8
Joined: Tue Nov 01, 2016 2:09 pm
Has thanked: 1 time

Re: facing problem with openOCD for F401RE

Post 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.
User avatar
RoccoMarco
Posts: 655
Joined: Wed Apr 24, 2013 4:11 pm
Has thanked: 83 times
Been thanked: 67 times

Re: facing problem with openOCD for F401RE

Post by RoccoMarco »

As said here, try to make a full chip erase with ST Link Utility.
Ciao
Post Reply