diff options
author | Freddie Chopin <freddie_chopin@op.pl> | 2010-12-04 15:45:40 +0100 |
---|---|---|
committer | Øyvind Harboe <oyvind.harboe@zylin.com> | 2010-12-09 22:54:31 +0100 |
commit | 4bd2b30d5bae59b751f8eb30815cf330faae2a6f (patch) | |
tree | 4e4bdb25cdf700647362bf80611754efa887740d /tcl | |
parent | fa4680548150b51083239e3a5181a2ecd86a0da9 (diff) | |
download | openocd_libswd-4bd2b30d5bae59b751f8eb30815cf330faae2a6f.tar.gz openocd_libswd-4bd2b30d5bae59b751f8eb30815cf330faae2a6f.tar.bz2 openocd_libswd-4bd2b30d5bae59b751f8eb30815cf330faae2a6f.tar.xz openocd_libswd-4bd2b30d5bae59b751f8eb30815cf330faae2a6f.zip |
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>
Diffstat (limited to 'tcl')
-rw-r--r-- | tcl/target/lpc2103.cfg | 3 | ||||
-rw-r--r-- | tcl/target/lpc2124.cfg | 3 | ||||
-rw-r--r-- | tcl/target/lpc2129.cfg | 3 | ||||
-rw-r--r-- | tcl/target/lpc2294.cfg | 3 | ||||
-rw-r--r-- | tcl/target/lpc2378.cfg | 3 | ||||
-rw-r--r-- | tcl/target/lpc2478.cfg | 3 |
6 files changed, 6 insertions, 12 deletions
diff --git a/tcl/target/lpc2103.cfg b/tcl/target/lpc2103.cfg index 714267f6..7f14555c 100644 --- a/tcl/target/lpc2103.cfg +++ b/tcl/target/lpc2103.cfg @@ -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 diff --git a/tcl/target/lpc2124.cfg b/tcl/target/lpc2124.cfg index c5115893..df71bdde 100644 --- a/tcl/target/lpc2124.cfg +++ b/tcl/target/lpc2124.cfg @@ -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 diff --git a/tcl/target/lpc2129.cfg b/tcl/target/lpc2129.cfg index 103f18ef..2587bf72 100644 --- a/tcl/target/lpc2129.cfg +++ b/tcl/target/lpc2129.cfg @@ -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 diff --git a/tcl/target/lpc2294.cfg b/tcl/target/lpc2294.cfg index 6f341717..ecf05998 100644 --- a/tcl/target/lpc2294.cfg +++ b/tcl/target/lpc2294.cfg @@ -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 diff --git a/tcl/target/lpc2378.cfg b/tcl/target/lpc2378.cfg index 65b554c7..21fdd1b4 100644 --- a/tcl/target/lpc2378.cfg +++ b/tcl/target/lpc2378.cfg @@ -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 diff --git a/tcl/target/lpc2478.cfg b/tcl/target/lpc2478.cfg index 1e11d9e8..3b14c87d 100644 --- a/tcl/target/lpc2478.cfg +++ b/tcl/target/lpc2478.cfg @@ -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 |