From 7e11f08a77f986f68625589088d4ffd971264ace Mon Sep 17 00:00:00 2001 From: zwelch Date: Sun, 24 May 2009 00:16:04 +0000 Subject: Freddie Chopin : - 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 | 4 ++++ src/target/target/lpc2124.cfg | 6 +++++- src/target/target/lpc2129.cfg | 5 +++++ 3 files changed, 14 insertions(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3