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
This commit is contained in:
zwelch 2009-05-24 00:16:04 +00:00
parent 045362d74a
commit 7e11f08a77
3 changed files with 14 additions and 1 deletions

View File

@ -21,6 +21,10 @@ if { [info exists CPUTAPID ] } {
# LPC2000 -> SRST causes TRST # LPC2000 -> SRST causes TRST
reset_config trst_and_srst srst_pulls_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 jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID
set _TARGETNAME [format "%s.cpu" $_CHIPNAME] set _TARGETNAME [format "%s.cpu" $_CHIPNAME]

View File

@ -22,7 +22,11 @@ if { [info exists CPUTAPID ] } {
#use combined on interfaces or targets that can't set TRST/SRST separately #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 srst_pulls_trst
jtag_nsrst_delay 10
# reset delays
jtag_nsrst_delay 100
jtag_ntrst_delay 100
jtag_khz 1000 jtag_khz 1000
#jtag scan chain #jtag scan chain

View File

@ -23,6 +23,11 @@ if { [info exists CPUTAPID ] } {
#use combined on interfaces or targets that can't set TRST/SRST separately #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 srst_pulls_trst
# reset delays
jtag_nsrst_delay 100
jtag_ntrst_delay 100
#jtag scan chain #jtag scan chain
jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID