Skip to main content
Visitor II
August 22, 2013
Question

Openocd error ,this adapter does not support variable speed

  • August 22, 2013
  • 5 replies
  • 2798 views

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

    This topic has been closed for replies.

    5 replies

    Visitor II
    August 23, 2013
    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...

    Graduate II
    August 23, 2013
    Posted on August 23, 2013 at 15:16

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

    Visitor II
    August 23, 2013
    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.

     

    Visitor II
    August 23, 2013
    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)

    Visitor II
    August 26, 2013
    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.