Freddie Chopin <freddie_chopin@op.pl>:
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Sun, 24 May 2009 00:16:04 +0000 (00:16 +0000)
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Sun, 24 May 2009 00:16:04 +0000 (00:16 +0000)
- add reset delay settings for LPC2103, LPC2124, and LPC2129.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1899 b42882b7-edfa-0310-969c-e2dbd0fdcd60

src/target/target/lpc2103.cfg
src/target/target/lpc2124.cfg
src/target/target/lpc2129.cfg

index 0e03c51f91665dd10a0420ad9162ed84ff91d22c..cccc16d73f9b6e56a3ce49fbaa8b25906c77f8ea 100644 (file)
@@ -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]
index c780664d25cbfa56088cd7e60a2f56323f18d769..4cdbc02cbc3e817b97188e54c7caaf06e87e676a 100644 (file)
@@ -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
index a93d4992ffb683366f367075b052de3e0fef376d..b224c044321e3b81d41fe340985f74462eeefd4a 100644 (file)
@@ -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