diff options
author | David Brownell <dbrownell@users.sourceforge.net> | 2010-03-15 08:41:30 -0700 |
---|---|---|
committer | David Brownell <dbrownell@users.sourceforge.net> | 2010-03-15 08:41:30 -0700 |
commit | b559b273b526b3077b3ca219eecc8df9f86efac0 (patch) | |
tree | 5848552f09431e065550e60e8106029e01db3136 /tcl/board | |
parent | 96f9790279f74f39b35fc3ad09340fd03123180c (diff) | |
download | openocd_libswd-b559b273b526b3077b3ca219eecc8df9f86efac0.tar.gz openocd_libswd-b559b273b526b3077b3ca219eecc8df9f86efac0.tar.bz2 openocd_libswd-b559b273b526b3077b3ca219eecc8df9f86efac0.tar.xz openocd_libswd-b559b273b526b3077b3ca219eecc8df9f86efac0.zip |
rename jtag_nsrst_delay as adapter_nsrst_delay
Globally rename "jtag_nsrst_delay" as "adapter_nsrst_delay", and move it
out of the "jtag" command group ... it needs to be used with non-JTAG
transports
Includes a migration aid (in jtag/startup.tcl) so that old user scripts
won't break. That aid should Sunset in about a year.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'tcl/board')
-rw-r--r-- | tcl/board/at91sam9g20-ek.cfg | 2 | ||||
-rw-r--r-- | tcl/board/crossbow_tech_imote2.cfg | 2 | ||||
-rw-r--r-- | tcl/board/csb732.cfg | 2 | ||||
-rw-r--r-- | tcl/board/digi_connectcore_wi-9c.cfg | 2 | ||||
-rw-r--r-- | tcl/board/ek-lm3s1968.cfg | 2 | ||||
-rw-r--r-- | tcl/board/ek-lm3s811.cfg | 2 | ||||
-rw-r--r-- | tcl/board/ek-lm3s9b9x.cfg | 2 | ||||
-rw-r--r-- | tcl/board/ethernut3.cfg | 2 | ||||
-rw-r--r-- | tcl/board/hitex_lpc2929.cfg | 2 | ||||
-rw-r--r-- | tcl/board/hitex_str9-comstick.cfg | 2 | ||||
-rw-r--r-- | tcl/board/lubbock.cfg | 2 | ||||
-rw-r--r-- | tcl/board/mini2440.cfg | 4 | ||||
-rw-r--r-- | tcl/board/phytec_lpc3250.cfg | 2 | ||||
-rw-r--r-- | tcl/board/pxa255_sst.cfg | 2 | ||||
-rw-r--r-- | tcl/board/telo.cfg | 2 |
15 files changed, 16 insertions, 16 deletions
diff --git a/tcl/board/at91sam9g20-ek.cfg b/tcl/board/at91sam9g20-ek.cfg index f24f1a13..c3eb952c 100644 --- a/tcl/board/at91sam9g20-ek.cfg +++ b/tcl/board/at91sam9g20-ek.cfg @@ -32,7 +32,7 @@ jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CP # affected by the board and type of JTAG adapter. A value of 200 ms seems # to work reliably for the configuration listed in the file header above. -jtag_nsrst_delay 200 +adapter_nsrst_delay 200 jtag_ntrst_delay 200 # Set fallback clock to 1/6 of worst-case clock speed (which would be the 32.768 kHz slow clock). diff --git a/tcl/board/crossbow_tech_imote2.cfg b/tcl/board/crossbow_tech_imote2.cfg index 88d4aa72..002b5372 100644 --- a/tcl/board/crossbow_tech_imote2.cfg +++ b/tcl/board/crossbow_tech_imote2.cfg @@ -4,7 +4,7 @@ set CHIPNAME imote2 source [find target/pxa270.cfg] # longer-than-normal reset delay -jtag_nsrst_delay 800 +adapter_nsrst_delay 800 reset_config trst_and_srst separate diff --git a/tcl/board/csb732.cfg b/tcl/board/csb732.cfg index cad38e2e..4d6f0e48 100644 --- a/tcl/board/csb732.cfg +++ b/tcl/board/csb732.cfg @@ -3,7 +3,7 @@ source [find target/imx35.cfg] # Determined by trial and error reset_config trst_and_srst combined -jtag_nsrst_delay 200 +adapter_nsrst_delay 200 jtag_ntrst_delay 200 $_TARGETNAME configure -event gdb-attach { reset init } diff --git a/tcl/board/digi_connectcore_wi-9c.cfg b/tcl/board/digi_connectcore_wi-9c.cfg index 2d823766..ad40d537 100644 --- a/tcl/board/digi_connectcore_wi-9c.cfg +++ b/tcl/board/digi_connectcore_wi-9c.cfg @@ -36,7 +36,7 @@ if { [info exists CPUTAPID ] } { set _TARGETNAME $_CHIPNAME.cpu jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID -jtag_nsrst_delay 200 +adapter_nsrst_delay 200 jtag_ntrst_delay 0 diff --git a/tcl/board/ek-lm3s1968.cfg b/tcl/board/ek-lm3s1968.cfg index 6ce7f7fa..28066f3f 100644 --- a/tcl/board/ek-lm3s1968.cfg +++ b/tcl/board/ek-lm3s1968.cfg @@ -16,7 +16,7 @@ source [find target/lm3s1968.cfg] # jtag speed adapter_khz 3000 -jtag_nsrst_delay 100 +adapter_nsrst_delay 100 #LM3S1968 Evaluation Board has only srst reset_config srst_only diff --git a/tcl/board/ek-lm3s811.cfg b/tcl/board/ek-lm3s811.cfg index 078cae1f..7d3f2ce3 100644 --- a/tcl/board/ek-lm3s811.cfg +++ b/tcl/board/ek-lm3s811.cfg @@ -12,7 +12,7 @@ source [find target/lm3s811.cfg] # jtag speed adapter_khz 500 -jtag_nsrst_delay 100 +adapter_nsrst_delay 100 #LM3S811 Evaluation Board has only srst reset_config srst_only diff --git a/tcl/board/ek-lm3s9b9x.cfg b/tcl/board/ek-lm3s9b9x.cfg index b8be88b8..fb6272af 100644 --- a/tcl/board/ek-lm3s9b9x.cfg +++ b/tcl/board/ek-lm3s9b9x.cfg @@ -11,7 +11,7 @@ source [find target/lm3s9b9x.cfg] # jtag speed adapter_khz 500 -jtag_nsrst_delay 100 +adapter_nsrst_delay 100 #LM3S9B9x Evaluation Board has only srst reset_config srst_only diff --git a/tcl/board/ethernut3.cfg b/tcl/board/ethernut3.cfg index 359cb0bf..34e9b72d 100644 --- a/tcl/board/ethernut3.cfg +++ b/tcl/board/ethernut3.cfg @@ -20,7 +20,7 @@ flash bank $_FLASHNAME cfi 0x10000000 0x400000 2 2 $_TARGETNAME # Micrel MIC2775-29YM5 Supervisor # Reset output will remain active for 280ms (maximum) # -jtag_nsrst_delay 300 +adapter_nsrst_delay 300 jtag_ntrst_delay 300 diff --git a/tcl/board/hitex_lpc2929.cfg b/tcl/board/hitex_lpc2929.cfg index 35cc7d0b..d9ca1109 100644 --- a/tcl/board/hitex_lpc2929.cfg +++ b/tcl/board/hitex_lpc2929.cfg @@ -2,7 +2,7 @@ # http://www.hitex.com/ # Delays on reset lines -jtag_nsrst_delay 50 +adapter_nsrst_delay 50 jtag_ntrst_delay 1 # Maximum of 1/8 of clock frequency (XTAL = 16 MHz). diff --git a/tcl/board/hitex_str9-comstick.cfg b/tcl/board/hitex_str9-comstick.cfg index ade24f62..4d1bb2e4 100644 --- a/tcl/board/hitex_str9-comstick.cfg +++ b/tcl/board/hitex_str9-comstick.cfg @@ -7,7 +7,7 @@ source [find interface/hitex_str9-comstick.cfg] # set jtag speed adapter_khz 3000 -jtag_nsrst_delay 100 +adapter_nsrst_delay 100 jtag_ntrst_delay 100 #use combined on interfaces or targets that can't set TRST/SRST separately reset_config trst_and_srst diff --git a/tcl/board/lubbock.cfg b/tcl/board/lubbock.cfg index 32af386e..095c60aa 100644 --- a/tcl/board/lubbock.cfg +++ b/tcl/board/lubbock.cfg @@ -4,7 +4,7 @@ source [find target/pxa255.cfg] -jtag_nsrst_delay 250 +adapter_nsrst_delay 250 jtag_ntrst_delay 250 # NOTE: until after pinmux and such are set up, only CS0 is diff --git a/tcl/board/mini2440.cfg b/tcl/board/mini2440.cfg index b053c225..16889654 100644 --- a/tcl/board/mini2440.cfg +++ b/tcl/board/mini2440.cfg @@ -112,7 +112,7 @@ target create $_TARGETNAME arm920t -endian $_ENDIAN -chain-position $_TARGETNAME $_TARGETNAME configure -work-area-phys 0x40000000 -work-area-size 0x4000 -work-area-backup 1 #reset configuration -jtag_nsrst_delay 100 +adapter_nsrst_delay 100 jtag_ntrst_delay 100 reset_config trst_and_srst @@ -141,7 +141,7 @@ reset_config trst_and_srst nand device s3c2440 0 - jtag_nsrst_delay 100 + adapter_nsrst_delay 100 jtag_ntrst_delay 100 reset_config trst_and_srst init diff --git a/tcl/board/phytec_lpc3250.cfg b/tcl/board/phytec_lpc3250.cfg index 51622ef1..6a7e8e92 100644 --- a/tcl/board/phytec_lpc3250.cfg +++ b/tcl/board/phytec_lpc3250.cfg @@ -1,6 +1,6 @@ source [find target/lpc3250.cfg] -jtag_nsrst_delay 200 +adapter_nsrst_delay 200 jtag_ntrst_delay 1 adapter_khz 200 reset_config trst_and_srst separate diff --git a/tcl/board/pxa255_sst.cfg b/tcl/board/pxa255_sst.cfg index ce903871..44f34ca1 100644 --- a/tcl/board/pxa255_sst.cfg +++ b/tcl/board/pxa255_sst.cfg @@ -93,7 +93,7 @@ $_TARGETNAME configure -event reset-init {pxa255_sst_init} reset_config trst_and_srst -jtag_nsrst_delay 200 +adapter_nsrst_delay 200 jtag_ntrst_delay 200 #xscale debug_handler 0 0xFFFF0800 # debug handler base address diff --git a/tcl/board/telo.cfg b/tcl/board/telo.cfg index cb4bc2a3..80040b14 100644 --- a/tcl/board/telo.cfg +++ b/tcl/board/telo.cfg @@ -16,7 +16,7 @@ source [find target/c100helper.tcl] jtag_nsrst_assert_width 100 jtag_ntrst_assert_width 100 # don't talk to JTAG after reset for: [ms] -jtag_nsrst_delay 100 +adapter_nsrst_delay 100 jtag_ntrst_delay 100 reset_config trst_and_srst separate |