summaryrefslogtreecommitdiff
path: root/tcl
diff options
context:
space:
mode:
authorPeter Stuge <peter@stuge.se>2010-08-01 03:26:47 +0200
committerØyvind Harboe <oyvind.harboe@zylin.com>2010-08-01 09:10:47 +0200
commit8772355bbd507f4cd191d589d7ab5060b97c1818 (patch)
treee9d9f52ff4540eab25292af5bd683ba0a9b4243e /tcl
parenta84112f47168d85942787b769bc4642c5953a4b4 (diff)
downloadopenocd+libswd-8772355bbd507f4cd191d589d7ab5060b97c1818.tar.gz
openocd+libswd-8772355bbd507f4cd191d589d7ab5060b97c1818.tar.bz2
openocd+libswd-8772355bbd507f4cd191d589d7ab5060b97c1818.tar.xz
openocd+libswd-8772355bbd507f4cd191d589d7ab5060b97c1818.zip
Remove srst_pulls_trst from LPC2148 target
srst_pulls_trst is only true on some (broken) LPC2148 boards, a fact which is already documented in doc/openocd.texi, so it shouldn't be set unconditionally in the target tcl. This patch was needed to reflash when an Abort exception occured very early after reset, before OpenOCD tried to halt the CPU.
Diffstat (limited to 'tcl')
-rw-r--r--tcl/target/lpc2148.cfg2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcl/target/lpc2148.cfg b/tcl/target/lpc2148.cfg
index cbf30582..8062cdde 100644
--- a/tcl/target/lpc2148.cfg
+++ b/tcl/target/lpc2148.cfg
@@ -22,7 +22,7 @@ jtag_ntrst_delay 200
# JTAG, power-on reset is not enough, i.e. you need to perform a
# reset before being able to talk to the LPC2148, attach is not possible.
-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