From: Laurent G. <lau...@am...> - 2010-03-25 08:02:49
|
Øyvind Harboe wrote: >> 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 > Good solution for me ! We should go in this way. > Where "targetspeed" is a tcl proc that redirects to the "low level" > syntax whatever that turns out to be.. > Laurent http://www.amontec.com |