> I just want to have in the target file the possibility to have something
> like :
>
> target_jtag_max_frequency_khz 40000
> target_swd_max_frequency_khz 12000
> target_spi_max_frequency_khz 50000
> target_i2c_max_frequency_khz 480

I think I see what you mean.

A hypothetical target might be able to communicate *really fast*
on SWD, but have a *slow* JTAG fallback mode for instance(or
vice versa).

W.r.t. naming or syntax, then perhaps a layer of indirection could
be a way to go?

targetspeed jtag rclk 6000
targetspeed swd 1000

Where "targetspeed" is a tcl proc that redirects to the "low level"
syntax whatever that turns out to be..
-- 
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