X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=tcl%2Ftarget%2Freadme.txt;h=deec5b544eefa3ad46362e3bfa76ebd866964c3c;hb=e6505b04892ccacf75603c3d173616f5d92809e7;hp=f028b11c732325343af0cd41aba00a617282164f;hpb=96f9790279f74f39b35fc3ad09340fd03123180c;p=fw%2Fopenocd diff --git a/tcl/target/readme.txt b/tcl/target/readme.txt index f028b11c7..deec5b544 100644 --- a/tcl/target/readme.txt +++ b/tcl/target/readme.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: GPL-2.0-or-later + Prerequisites: The users of OpenOCD as well as computer programs interacting with OpenOCD are expecting that certain commands do the same thing across all the targets. @@ -26,16 +28,15 @@ assumed that all write-protect mechanisms should be disabled. flash write_image [file] verify_image [file] -4. adapter_khz sets the maximum speed (or alternatively RCLK). If invoked +4. adapter speed sets the maximum speed (or alternatively RCLK). If invoked multiple times only the last setting is used. interface/xxx.cfg files are always executed *before* target/xxx.cfg -files, so any adapter_khz in interface/xxx.cfg will be overridden by -target/xxx.cfg. adapter_khz in interface/xxx.cfg would then, effectively, +files, so any adapter speed in interface/xxx.cfg will be overridden by +target/xxx.cfg. adapter speed in interface/xxx.cfg would then, effectively, set the default JTAG speed. Note that a target/xxx.cfg file can invoke another target/yyy.cfg file, so one can create target subtype configurations where e.g. only amount of DRAM, oscillator speeds differ and having a single config file for the default/common settings. -