Skip to content
Snippets Groups Projects
Commit 7e11f08a authored by zwelch's avatar zwelch
Browse files

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
parent 045362d7
No related branches found
No related tags found
No related merge requests found
...@@ -21,6 +21,10 @@ if { [info exists CPUTAPID ] } { ...@@ -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]
......
...@@ -22,7 +22,11 @@ if { [info exists CPUTAPID ] } { ...@@ -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
......
...@@ -23,6 +23,11 @@ if { [info exists CPUTAPID ] } { ...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment