From: Laurent G. <lau...@am...> - 2010-03-25 08:09:08
|
David Brownell wrote: > On Wednesday 24 March 2010, Laurent Gauch wrote: > >>> We really don't want to need JTAG and SWD versions of every config >>> script and event handler based on what transport is in use... >>> >>> >> We do not need to write specific scipt versions for JTAG or SWD serial >> port, but we will have to give in the target script what is the maximum >> specific frequency of each serial port : >> >> 'target_jtag_max_tck_frequency_khz' >> 'target_swd_max_tck_frequency_khz' >> or removing TCK >> 'target_jtag_max_frequency_khz' >> 'target_swd_max_frequency_khz' >> > > If the adapter needs different settings for each ... it will > know which one to apply, based on the transport which has been > enabled. > > True regarding the dongle (adapter) but NOT true regarding target . Again, having adapter_khz in the target scripts is really confusing. The mechanism provided by adapter_khz is right, but the command should be renamed. > > >> then >> >> 'target_spi_max_frequency_khz' >> 'target_i2c_max_frequency_khz' >> > > > Laurent http://www.amontec.com |