remove srst_pulls_trst from LPC2xxx target scripts
LPC2xxx do not require reset_config srst_pulls_trst. This can cause various "strange" problems when flashing the chip, because "reset halt" actually allows the chip to run for some short period of time and execute some code. Signed-off-by: Freddie Chopin <freddie_chopin@op.pl>
This commit is contained in:
parent
fa46805481
commit
4bd2b30d5b
|
@ -12,8 +12,7 @@ if { [info exists CPUTAPID ] } {
|
|||
set _CPUTAPID 0x4f1f0f0f
|
||||
}
|
||||
|
||||
# LPC2000 -> SRST causes TRST
|
||||
reset_config trst_and_srst srst_pulls_trst
|
||||
reset_config trst_and_srst
|
||||
|
||||
# reset delays
|
||||
adapter_nsrst_delay 100
|
||||
|
|
|
@ -12,8 +12,7 @@ if { [info exists CPUTAPID ] } {
|
|||
set _CPUTAPID 0x4f1f0f0f
|
||||
}
|
||||
|
||||
#use combined on interfaces or targets that can't set TRST/SRST separately
|
||||
reset_config trst_and_srst srst_pulls_trst
|
||||
reset_config trst_and_srst
|
||||
|
||||
# reset delays
|
||||
adapter_nsrst_delay 100
|
||||
|
|
|
@ -12,8 +12,7 @@ if { [info exists CPUTAPID ] } {
|
|||
set _CPUTAPID 0xcf1f0f0f
|
||||
}
|
||||
|
||||
#use combined on interfaces or targets that can't set TRST/SRST separately
|
||||
reset_config trst_and_srst srst_pulls_trst
|
||||
reset_config trst_and_srst
|
||||
|
||||
# reset delays
|
||||
adapter_nsrst_delay 100
|
||||
|
|
|
@ -14,8 +14,7 @@ if { [info exists CPUTAPID ] } {
|
|||
adapter_nsrst_delay 200
|
||||
jtag_ntrst_delay 200
|
||||
|
||||
#use combined on interfaces or targets that can't set TRST/SRST separately
|
||||
reset_config trst_and_srst srst_pulls_trst
|
||||
reset_config trst_and_srst
|
||||
|
||||
#jtag scan chain
|
||||
jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID
|
||||
|
|
|
@ -16,8 +16,7 @@ if { [info exists CPUTAPID ] } {
|
|||
adapter_nsrst_delay 200
|
||||
jtag_ntrst_delay 200
|
||||
|
||||
# LPC2000 -> SRST causes TRST
|
||||
reset_config trst_and_srst srst_pulls_trst
|
||||
reset_config trst_and_srst
|
||||
|
||||
jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID
|
||||
|
||||
|
|
|
@ -22,8 +22,7 @@ if { [info exists CCLK ] } {
|
|||
adapter_nsrst_delay 100
|
||||
jtag_ntrst_delay 100
|
||||
|
||||
# LPC2000 -> SRST causes TRST
|
||||
reset_config trst_and_srst srst_pulls_trst
|
||||
reset_config trst_and_srst
|
||||
|
||||
jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID
|
||||
|
||||
|
|
Loading…
Reference in New Issue