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>
This commit is contained in:
@@ -17,7 +17,7 @@ if { [info exists CPUTAPID] } {
|
||||
set _CPUTAPID 0x3f0f0f0f
|
||||
}
|
||||
|
||||
jtag_nsrst_delay 200
|
||||
adapter_nsrst_delay 200
|
||||
jtag_ntrst_delay 200
|
||||
|
||||
## JTAG scan chain
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# Atheros AR71xx MIPS 24Kc SoC.
|
||||
# tested on PB44 refererence board
|
||||
|
||||
jtag_nsrst_delay 100
|
||||
adapter_nsrst_delay 100
|
||||
jtag_ntrst_delay 100
|
||||
|
||||
reset_config trst_and_srst
|
||||
|
||||
@@ -26,7 +26,7 @@ reset_config trst_and_srst separate trst_push_pull srst_open_drain
|
||||
#
|
||||
jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID
|
||||
|
||||
jtag_nsrst_delay 300
|
||||
adapter_nsrst_delay 300
|
||||
jtag_ntrst_delay 200
|
||||
|
||||
jtag_rclk 3
|
||||
|
||||
@@ -30,7 +30,7 @@ if { [info exists CPUTAPID ] } {
|
||||
reset_config trst_and_srst
|
||||
|
||||
|
||||
jtag_nsrst_delay 200
|
||||
adapter_nsrst_delay 200
|
||||
jtag_ntrst_delay 200
|
||||
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ reset_config trst_and_srst separate trst_push_pull srst_open_drain
|
||||
#
|
||||
jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID
|
||||
|
||||
jtag_nsrst_delay 300
|
||||
adapter_nsrst_delay 300
|
||||
jtag_ntrst_delay 200
|
||||
|
||||
jtag_rclk 3
|
||||
|
||||
@@ -26,6 +26,6 @@ set _TARGETNAME $_CHIPNAME.cpu
|
||||
target create $_TARGETNAME dragonite -endian $_ENDIAN -chain-position $_TARGETNAME
|
||||
|
||||
reset_config trst_and_srst
|
||||
jtag_nsrst_delay 200
|
||||
adapter_nsrst_delay 200
|
||||
jtag_ntrst_delay 200
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@ if { [info exists CPUTAPID ] } {
|
||||
}
|
||||
|
||||
jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID
|
||||
jtag_nsrst_delay 100
|
||||
adapter_nsrst_delay 100
|
||||
jtag_ntrst_delay 100
|
||||
|
||||
set _TARGETNAME $_CHIPNAME.cpu
|
||||
|
||||
@@ -26,6 +26,6 @@ set _TARGETNAME $_CHIPNAME.cpu
|
||||
target create $_TARGETNAME feroceon -endian $_ENDIAN -chain-position $_TARGETNAME
|
||||
|
||||
reset_config trst_and_srst
|
||||
jtag_nsrst_delay 200
|
||||
adapter_nsrst_delay 200
|
||||
jtag_ntrst_delay 200
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
reset_config trst_and_srst srst_gates_jtag
|
||||
|
||||
jtag_nsrst_delay 5
|
||||
adapter_nsrst_delay 5
|
||||
|
||||
if { [info exists CHIPNAME] } {
|
||||
set _CHIPNAME $CHIPNAME
|
||||
|
||||
@@ -15,7 +15,7 @@ if { [info exists CPUTAPID ] } {
|
||||
# jtag speed
|
||||
adapter_khz 500
|
||||
|
||||
jtag_nsrst_delay 100
|
||||
adapter_nsrst_delay 100
|
||||
jtag_ntrst_delay 100
|
||||
|
||||
#LM3S6965 Evaluation Board has only srst
|
||||
|
||||
@@ -25,7 +25,7 @@ if { [info exists CPUTAPID ] } {
|
||||
}
|
||||
|
||||
#delays on reset lines
|
||||
jtag_nsrst_delay 200
|
||||
adapter_nsrst_delay 200
|
||||
jtag_ntrst_delay 200
|
||||
|
||||
# LPC2000 & LPC1700 -> SRST causes TRST
|
||||
|
||||
@@ -22,7 +22,7 @@ if { [info exists CPUTAPID ] } {
|
||||
reset_config trst_and_srst srst_pulls_trst
|
||||
|
||||
# reset delays
|
||||
jtag_nsrst_delay 100
|
||||
adapter_nsrst_delay 100
|
||||
jtag_ntrst_delay 100
|
||||
|
||||
jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID
|
||||
|
||||
@@ -24,7 +24,7 @@ if { [info exists CPUTAPID ] } {
|
||||
reset_config trst_and_srst srst_pulls_trst
|
||||
|
||||
# reset delays
|
||||
jtag_nsrst_delay 100
|
||||
adapter_nsrst_delay 100
|
||||
jtag_ntrst_delay 100
|
||||
|
||||
adapter_khz 1000
|
||||
|
||||
@@ -25,7 +25,7 @@ if { [info exists CPUTAPID ] } {
|
||||
reset_config trst_and_srst srst_pulls_trst
|
||||
|
||||
# reset delays
|
||||
jtag_nsrst_delay 100
|
||||
adapter_nsrst_delay 100
|
||||
jtag_ntrst_delay 100
|
||||
|
||||
#jtag scan chain
|
||||
|
||||
@@ -21,7 +21,7 @@ if { [info exists CPUTAPID ] } {
|
||||
set _CPUTAPID 0x4f1f0f0f
|
||||
}
|
||||
|
||||
jtag_nsrst_delay 200
|
||||
adapter_nsrst_delay 200
|
||||
jtag_ntrst_delay 200
|
||||
|
||||
# NOTE!!! LPCs need reset pulled while RTCK is low. 0 to activate
|
||||
|
||||
@@ -17,7 +17,7 @@ if { [info exists CPUTAPID ] } {
|
||||
set _CPUTAPID 0xffffffff
|
||||
}
|
||||
|
||||
jtag_nsrst_delay 200
|
||||
adapter_nsrst_delay 200
|
||||
jtag_ntrst_delay 200
|
||||
|
||||
#use combined on interfaces or targets that can't set TRST/SRST separately
|
||||
|
||||
@@ -19,7 +19,7 @@ if { [info exists CPUTAPID ] } {
|
||||
}
|
||||
|
||||
#delays on reset lines
|
||||
jtag_nsrst_delay 200
|
||||
adapter_nsrst_delay 200
|
||||
jtag_ntrst_delay 200
|
||||
|
||||
# LPC2000 -> SRST causes TRST
|
||||
|
||||
@@ -19,7 +19,7 @@ if { [info exists CPUTAPID ] } {
|
||||
}
|
||||
|
||||
#delays on reset lines
|
||||
jtag_nsrst_delay 100
|
||||
adapter_nsrst_delay 100
|
||||
jtag_ntrst_delay 100
|
||||
|
||||
# LPC2000 -> SRST causes TRST
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
adapter_khz 4500
|
||||
|
||||
reset_config srst_only
|
||||
jtag_nsrst_delay 100
|
||||
adapter_nsrst_delay 100
|
||||
|
||||
#jtag scan chain
|
||||
if { [info exists CPUTAPID ] } {
|
||||
|
||||
@@ -20,7 +20,7 @@ if { [info exists CPUTAPID ] } {
|
||||
|
||||
# FIXME most reset config belongs in board code
|
||||
reset_config trst_and_srst
|
||||
jtag_nsrst_delay 100
|
||||
adapter_nsrst_delay 100
|
||||
jtag_ntrst_delay 100
|
||||
|
||||
# jtag scan chain
|
||||
|
||||
@@ -14,7 +14,7 @@ if { [info exists CPUTAPID ] } {
|
||||
set _CPUTAPID 0x0692602f
|
||||
}
|
||||
|
||||
jtag_nsrst_delay 100
|
||||
adapter_nsrst_delay 100
|
||||
|
||||
# NOTE: presumes irlen 38 is the C55x DSP, matching BSDL for
|
||||
# its standalone siblings (like TMS320VC5502) of the same era
|
||||
|
||||
@@ -26,7 +26,7 @@ if { [info exists WORKAREASIZE] } {
|
||||
}
|
||||
|
||||
|
||||
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
|
||||
|
||||
@@ -28,9 +28,9 @@ if { [info exists CPUTAPID2 ] } {
|
||||
}
|
||||
|
||||
|
||||
# set jtag_nsrst_delay to the delay introduced by your reset circuit
|
||||
# set adapter_nsrst_delay to the delay introduced by your reset circuit
|
||||
# the rest of the needed delays are built into the openocd program
|
||||
jtag_nsrst_delay 260
|
||||
adapter_nsrst_delay 260
|
||||
# set the jtag_ntrst_delay to the delay introduced by a reset circuit
|
||||
# the rest of the needed delays are built into the openocd program
|
||||
jtag_ntrst_delay 250
|
||||
|
||||
@@ -59,9 +59,9 @@ if { [info exists CPUTAPID_PXA32X_C0 ] } {
|
||||
set _CPUTAPID_PXA32X_C0 0x7E642013
|
||||
}
|
||||
|
||||
# set jtag_nsrst_delay to the delay introduced by your reset circuit
|
||||
# set adapter_nsrst_delay to the delay introduced by your reset circuit
|
||||
# the rest of the needed delays are built into the openocd program
|
||||
jtag_nsrst_delay 260
|
||||
adapter_nsrst_delay 260
|
||||
|
||||
# set the jtag_ntrst_delay to the delay introduced by a reset circuit
|
||||
# the rest of the needed delays are built into the openocd program
|
||||
|
||||
@@ -42,7 +42,7 @@ jtag newtap $_CHIPNAME cpu -irlen 5 -ircapture 0x1 -irmask 0x1f -expected-id
|
||||
set _TARGETNAME $_CHIPNAME.cpu
|
||||
target create $_TARGETNAME arm11 -endian $_ENDIAN -chain-position $_TARGETNAME -variant arm1176
|
||||
|
||||
jtag_nsrst_delay 500
|
||||
adapter_nsrst_delay 500
|
||||
jtag_ntrst_delay 500
|
||||
|
||||
#reset configuration
|
||||
|
||||
@@ -19,7 +19,7 @@ if { [info exists CPUTAPID ] } {
|
||||
set _CPUTAPID 0x08630001
|
||||
}
|
||||
|
||||
jtag_nsrst_delay 100
|
||||
adapter_nsrst_delay 100
|
||||
jtag_ntrst_delay 100
|
||||
|
||||
reset_config trst_and_srst separate
|
||||
|
||||
@@ -23,7 +23,7 @@ if { [info exists WORKAREASIZE] } {
|
||||
# JTAG speed should be <= F_CPU/6. F_CPU after reset is 8MHz, so use F_JTAG = 1MHz
|
||||
adapter_khz 1000
|
||||
|
||||
jtag_nsrst_delay 100
|
||||
adapter_nsrst_delay 100
|
||||
jtag_ntrst_delay 100
|
||||
|
||||
#jtag scan chain
|
||||
|
||||
@@ -27,7 +27,7 @@ reset_config trst_and_srst srst_pulls_trst
|
||||
jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0x0f -expected-id $_CPUTAPID
|
||||
|
||||
#jtag nTRST and nSRST delay
|
||||
jtag_nsrst_delay 500
|
||||
adapter_nsrst_delay 500
|
||||
jtag_ntrst_delay 500
|
||||
|
||||
set _TARGETNAME $_CHIPNAME.cpu
|
||||
|
||||
@@ -29,7 +29,7 @@ reset_config trst_and_srst srst_pulls_trst
|
||||
jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0x0f -expected-id $_CPUTAPID
|
||||
|
||||
#jtag nTRST and nSRST delay
|
||||
jtag_nsrst_delay 500
|
||||
adapter_nsrst_delay 500
|
||||
jtag_ntrst_delay 500
|
||||
|
||||
set _TARGETNAME $_CHIPNAME.cpu
|
||||
|
||||
@@ -15,7 +15,7 @@ if { [info exists ENDIAN] } {
|
||||
# jtag speed. We need to stick to 16kHz until we've finished reset.
|
||||
jtag_rclk 16
|
||||
|
||||
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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@ jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CP
|
||||
|
||||
#use combined on interfaces or targets that can't set TRST/SRST separately
|
||||
reset_config trst_and_srst
|
||||
jtag_nsrst_delay 20
|
||||
adapter_nsrst_delay 20
|
||||
jtag_ntrst_delay 20
|
||||
|
||||
######################
|
||||
|
||||
@@ -32,7 +32,7 @@ jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CP
|
||||
|
||||
#use combined on interfaces or targets that can't set TRST/SRST separately
|
||||
reset_config trst_and_srst
|
||||
jtag_nsrst_delay 20
|
||||
adapter_nsrst_delay 20
|
||||
jtag_ntrst_delay 20
|
||||
|
||||
######################
|
||||
|
||||
@@ -22,7 +22,7 @@ if { [info exists CPUTAPID ] } {
|
||||
|
||||
reset_config trst_and_srst separate
|
||||
|
||||
jtag_nsrst_delay 100
|
||||
adapter_nsrst_delay 100
|
||||
jtag_ntrst_delay 100
|
||||
|
||||
#jtag scan chain
|
||||
|
||||
Reference in New Issue
Block a user