Hello,
I have this error during downloading my code to the board
"C:\MATLAB\SupportPackages\R2014a\stm32f4discovery/openOCD_client.bat"
"C:\MATLAB\SupportPackages\R2014a\openocd-0.6.1/bin/openocd-0.6.1.exe" "-f
board/stm32f4discovery.cfg" ../stm32f4discovery_led4.hex
### Launching openOCD server
C:\MATLAB\SupportPackages\R2014a\openocd-0.6.1/bin/openocd-0.6.1.exe -f
board/stm32f4discovery.cfg:
Following error captured during invoking of openOCD server:
Open On-Chip Debugger 0.6.1 (2012-10-07-10:34)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.sourceforge.net/doc/doxygen/bugs.html
adapter speed: 1000 kHz
srst_only separate srst_nogate srst_open_drain
Info : clock speed 1000 kHz
Error: open failed
in procedure 'transport'
in procedure 'init'
but when I change the configuration file as you mentioned here, I got this
error:
Following error captured during invoking of openOCD server:
Open On-Chip Debugger 0.6.1 (2012-10-07-10:34)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.sourceforge.net/doc/doxygen/bugs.html
Runtime Error: embedded:startup.tcl:47: Can't find interface/stlink-v2-1.cfg
in procedure 'script'
at file "embedded:startup.tcl", line 58
at file "embedded:startup.tcl", line 47
could you please help me,
thanks in advance
---
** [tickets:#135] Add support for the new STM32F407G-DISC1**
**Status:** new
**Milestone:** 0.9.0
**Created:** Thu Oct 20, 2016 10:12 AM UTC by Bumsik Kim
**Last Updated:** Thu Oct 20, 2016 10:12 AM UTC
**Owner:** nobody
Hello,
I tried OpenOCD with my new STM32F4-Discovery board, but it didn't work.
Fortunately I firgured out the problem.
ST recently released a newer version of STM32F4-Discovery, namely
STM32F407G-DISC1.
The only difference from the old version seems that it uses the new stlink-v2-1
instead of stlink-v2.
So I could easily fixed the problem by replacing `find interface/stlink-v2.cfg`
with `find interface/stlink-v2-1.cfg` in `stm32f4discovery.cfg` script file.
It would be a good idea to add a new `cfg`file to distinguish between two, to
avoid confusion.
---
Sent from sourceforge.net because openocd-devel@lists.sourceforge.net is
subscribed to https://sourceforge.net/p/openocd/tickets/
To unsubscribe from further messages, a project admin can change settings at
https://sourceforge.net/p/openocd/admin/tickets/options. Or, if this is a
mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/intel
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel