2013-08-22 02:25 PM - last edited on 2023-09-08 09:08 AM by Amel NASRI
Posted on August 22, 2013 at 23:25
Dear forum members,
I am using OPENOCD under Ubuntu(Linux distro).
What should i do ,to solve following error:
''This adapter does not support variable speed.''
#stm32 #linux #linux #st-link #openocd #debugger #debug-stm32-using-st-link/v2 #stm32-discovery #openocd-stlink-linux
2013-08-23 05:44 AM
Maybe you need to use
adapter_khz 1000 ? Hard to know without your openocd.cfg and which board, jtag, etc. you're using...2013-08-23 06:16 AM
STM32F3-Discovery, externalized ST-LINK, per previous interactions.
2013-08-23 09:33 AM
Dear clive1........
I am not using externalized St-link instead i am using on-board st-link present in the discovery board. Also can you help me more on pin to pin connection of Stm32f3 discovery with external st-link debugger.2013-08-23 09:38 AM
When i issue this command (after editing stm32fediscovery.conf file as you said by appending line:
adapter_khz 1000
) : sudo openocd -f /usr/local/share/openocd/scripts/board/stm32f3discovery.cfgI get following output:Open On-Chip Debugger 0.7.0 (2013-06-15-17:17)
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
adapter speed: 1000 kHz
Info : This adapter doesn't support configurable speed
Info : STLINK v2 JTAG v16 API v2 SWIM v0 VID 0x0483 PID 0x3748
Info : Target voltage: 2.909609
Info : stm32f3x.cpu: hardware has 6 breakpoints, 4 watchpoints
I am using Ubuntu 12.04 and Openoocd (latest version)
2013-08-26 05:40 AM
I do not see any error in below output. Now what seems to be the problem?
Find what is adapter speed or just make it trail and error, but it does not seem like it would not be working.