cancel
Showing results for 
Search instead for 
Did you mean: 

Openocd error ,this adapter does not support variable speed

blastofftopluto
Associate II

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

5 REPLIES 5
crt2
Associate II
Posted on August 23, 2013 at 14:44

Maybe you need to use

adapter_khz 1000

? Hard to know without your openocd.cfg and which board, jtag, etc. you're using...

Posted on August 23, 2013 at 15:16

STM32F3-Discovery, externalized ST-LINK, per previous interactions.

Tips, buy me a coffee, or three.. PayPal Venmo Up vote any posts that you find helpful, it shows what's working..
blastofftopluto
Associate II
Posted on August 23, 2013 at 18:33

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.

 

blastofftopluto
Associate II
Posted on August 23, 2013 at 18:38

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.cfg

 

I 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)

crt2
Associate II
Posted on August 26, 2013 at 14:40

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.