cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F3Discovery fails to program

aidos
Associate
Posted on August 08, 2015 at 15:02

When I try to program my board using OpenOCD 0.8.0, I've get:

Open On-Chip Debugger 0.8.0 (2014-10-25-15:24)

Licensed under GNU GPL v2

For bug reports, read

http://openocd.sourceforge.net/doc/doxygen/bugs.html

srst_only separate srst_nogate srst_open_drain connect_deassert_srst

Info : This adapter doesn't support configurable speed

Error: open failed

in procedure 'transport'

Runtime Error: extra/stm32f3-openocd.cfg:5: 

in procedure 'script' 

at file ''embedded:startup.tcl'', line 58

in procedure 'init' called at file ''extra/stm32f3-openocd.cfg'', line 5

More detailed report of the command

'strace openocd -f board/stm32f3discovery.cfg -f extra/stm32f3-openocd.cfg -c ''stm_flash `pwd`/main.bin'' -c shutdown' is 

http://pastebin.ru/PFNTJuZP

.

Here is my 

https://github.com/mblythe86/stm32f3-discovery-basic-template/blob/master/extra/stm32f3-openocd.cfg

 .

How to do total hard reset?

#openocd #c-programming
1 REPLY 1
Posted on August 10, 2015 at 17:08

Hi diakonov.igor,

1-Could you check your ST-Link driver?

2-What do you mean exactly by ''How to do total hard reset?'' ? if I understand your question, the reset buttom is dedicated to this issue.

-Shahrzad-