summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-05-24 00:16:04 +0000
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-05-24 00:16:04 +0000
commit7e11f08a77f986f68625589088d4ffd971264ace (patch)
treeb3e2837208df03a6e9ad13d434e73c19edd2eed8
parent045362d74a4450efe0943e8adb6a6397028780ae (diff)
downloadopenocd+libswd-7e11f08a77f986f68625589088d4ffd971264ace.tar.gz
openocd+libswd-7e11f08a77f986f68625589088d4ffd971264ace.tar.bz2
openocd+libswd-7e11f08a77f986f68625589088d4ffd971264ace.tar.xz
openocd+libswd-7e11f08a77f986f68625589088d4ffd971264ace.zip
Freddie Chopin <freddie_chopin@op.pl>:
- add reset delay settings for LPC2103, LPC2124, and LPC2129. git-svn-id: svn://svn.berlios.de/openocd/trunk@1899 b42882b7-edfa-0310-969c-e2dbd0fdcd60
-rw-r--r--src/target/target/lpc2103.cfg4
-rw-r--r--src/target/target/lpc2124.cfg6
-rw-r--r--src/target/target/lpc2129.cfg5
3 files changed, 14 insertions, 1 deletions
diff --git a/src/target/target/lpc2103.cfg b/src/target/target/lpc2103.cfg
index 0e03c51f..cccc16d7 100644
--- a/src/target/target/lpc2103.cfg
+++ b/src/target/target/lpc2103.cfg
@@ -21,6 +21,10 @@ if { [info exists CPUTAPID ] } {
# LPC2000 -> SRST causes TRST
reset_config trst_and_srst srst_pulls_trst
+# reset delays
+jtag_nsrst_delay 100
+jtag_ntrst_delay 100
+
jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID
set _TARGETNAME [format "%s.cpu" $_CHIPNAME]
diff --git a/src/target/target/lpc2124.cfg b/src/target/target/lpc2124.cfg
index c780664d..4cdbc02c 100644
--- a/src/target/target/lpc2124.cfg
+++ b/src/target/target/lpc2124.cfg
@@ -22,7 +22,11 @@ if { [info exists CPUTAPID ] } {
#use combined on interfaces or targets that can't set TRST/SRST separately
reset_config trst_and_srst srst_pulls_trst
-jtag_nsrst_delay 10
+
+# reset delays
+jtag_nsrst_delay 100
+jtag_ntrst_delay 100
+
jtag_khz 1000
#jtag scan chain
diff --git a/src/target/target/lpc2129.cfg b/src/target/target/lpc2129.cfg
index a93d4992..b224c044 100644
--- a/src/target/target/lpc2129.cfg
+++ b/src/target/target/lpc2129.cfg
@@ -23,6 +23,11 @@ if { [info exists CPUTAPID ] } {
#use combined on interfaces or targets that can't set TRST/SRST separately
reset_config trst_and_srst srst_pulls_trst
+
+# reset delays
+jtag_nsrst_delay 100
+jtag_ntrst_delay 100
+
#jtag scan chain
jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID