Did you read:

> help adapter_khz
adapter_khz [khz]
      With an argument, change to the specified maximum jtag speed.  For
      JTAG, 0 KHz signifies adaptive  clocking. With or without argument,
      display current setting. (command valid any time)
> help jtag_rclk
jtag_rclk [fallback_speed_khz]
      With an argument, change to to use adaptive clocking if possible;
      else to use the fallback speed.  With or without argument, display
      current setting. (command valid any time)


?

The idea is that adapter_khz should set a speed equal to or lower
than the argument. If the adapter can't do as high as requested,
no problem => it will set a lower speed in the target script. If the
adapter driver is correctly implemented that is.

Target scripts without a adapter_khz should be fixed to have one,
otherwise the khz is undefined.

If a card *could* support RCLK, then use jtag_rclk instead. It will
default to rclk if the adapter supports it, otherwise use the khz
specified by the script.



-- 
Meet us in Paris at rts EMBEDDED SYSTEMS 2010 - March 30. and April 1.
http://www.zylin.com/events_rts.html

Øyvind Harboe
US toll free 1-866-980-3434 / International +47 51 63 25 00
http://www.zylin.com/zy1000.html
ARM7 ARM9 ARM11 XScale Cortex
JTAG debugger and flash programmer
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to