From e2ebed86bf2aff904d9b89765771e03bd8e74433 Mon Sep 17 00:00:00 2001 From: oharboe Date: Mon, 19 May 2008 08:03:17 +0000 Subject: updated guidelines. git-svn-id: svn://svn.berlios.de/openocd/trunk@662 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- src/target/target/readme.txt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'src/target/target/readme.txt') diff --git a/src/target/target/readme.txt b/src/target/target/readme.txt index a0fd5031..f38fb376 100644 --- a/src/target/target/readme.txt +++ b/src/target/target/readme.txt @@ -22,3 +22,17 @@ assumed that all write-protect mechanisms should be disabled. flash write_image [file] verify_image [file] + +4. jtag_khz 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 jtag_khz in interface/xxx.cfg will be overridden by +target/xxx.cfg. jtag_khz 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, oscilator speeds differ and having a single +config file for the default/common settings. + -- cgit v1.2.3