Home › Forums › Mastering STM32 book support forum › Trouble with Openocd & Windows 7
Tagged: openocd, ST-LINK V2, STM32f103c8t6
- This topic has 3 replies, 2 voices, and was last updated 8 years, 8 months ago by
Carmine Noviello.
-
AuthorPosts
-
January 25, 2017 at 5:52 pm #5796
Skalibur
ParticipantHello, first of all congratulations for the excelent book.
I have trouble with openocd + windows7 + stlink v2 + stm32f103c8t6 board.
Im on chapter 5.1.1.1, when i try to connect with OPENOCD and CMD terminal i have this:
12345678910111213141516171819{d:STM32Toolchainopenocdbin>openocd.exe -f board/st_nucleo_f103rb.cfgGNU ARM Eclipse 32-bits Open On-Chip Debugger 0.10.0-dev-00498-gbbfb673 (2016-10-28-16:47)Licensed under GNU GPL v2For bug reports, read<a href="http://openocd.org/doc/doxygen/bugs.html" rel="nofollow">http://openocd.org/doc/doxygen/bugs.html</a>Info : The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWDadapter speed: 1000 kHzadapter_nsrst_delay: 100none separatesrst_only separate srst_nogate srst_open_drain connect_deassert_srstInfo : Unable to match requested speed 1000 kHz, using 950 kHzInfo : Unable to match requested speed 1000 kHz, using 950 kHzInfo : clock speed 950 kHzError: open failedin procedure ‘init’in procedure ‘ocd_bouncer’}I do not know if I typed the commands wrong or I’m not selecting the correct card.
Trouble 2:
When update my drivers of STlink V2 with Zadig utility, ST-Utility cants acces to my ST-Link V2, I had to go back to the previous driver.In either case the cmd terminal send me the same message.
———————–
My Board
http://www.ebay.com/itm/STM32F103C8T6-ARM-STM32-Minimum-System-Development-Board-Module-For-Arduino-DHUS-/321569700934?hash=item4adf0c3c46:g:Q7AAAOSw0kNXhGr~Attachments:
You must be logged in to view attached files.January 29, 2017 at 12:38 pm #5829Carmine Noviello
KeymasterUnfortunately I don’t have experience with those counterfeit ST-LINK clones. I suspect an issue related with drivers.
January 31, 2017 at 6:48 pm #5918Skalibur
ParticipantSOLVED
open with notepad or any text editor
MY_DRIVE:\\STM32Toolchain\openocd\scripts\board\st_nucleo_f103rb.cfg
and edit:
source [find interface/stlink-v2-1.cfg]
to source [find interface/stlink-v2.cfg]
for chinese ST-LINK v2
February 2, 2017 at 8:26 am #5966Carmine Noviello
KeymasterThank you for sharing 😉
-
AuthorPosts
- You must be logged in to reply to this topic.
