On 2010-03-24 15:40, Øyvind Harboe wrote:
I was wondering if target configuration should *fail* if no
adapter_khz has been specified so as to *force* the target/board
to have some maximum adapter_khz statement. Is that better
or worse than the situation today?
This seems reasonable for me, but I don't know whether that's a right way.
A board config script would override the setting of a target, which
makes sense. No board could go *faster* than the target, could it? :-)
This seems very fine, but:
1. (for example) STM32 can officially run up to 72MHz. However there are
reports of ppl overclocking them to as much as 125MHz.
2. How would OpenOCD know whether this one is a board script and this
one is not? Will it analyze the path of the files used?
Anyway - for me every it could be even extended - even if the target or
board can run faster, the final word belongs to the adapter, which also
has some maximum frequency. Maybe picking up the lowest value found in
the config files would be enough? (with the possibility to override that
somehow)
4\/3!!
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development