Browse Source

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
tags/v0.2.0
zwelch 15 years ago
parent
commit
7e11f08a77
3 changed files with 14 additions and 1 deletions
  1. +4
    -0
      src/target/target/lpc2103.cfg
  2. +5
    -1
      src/target/target/lpc2124.cfg
  3. +5
    -0
      src/target/target/lpc2129.cfg

+ 4
- 0
src/target/target/lpc2103.cfg 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]


+ 5
- 1
src/target/target/lpc2124.cfg 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


+ 5
- 0
src/target/target/lpc2129.cfg 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




Loading…
Cancel
Save