Skip to content

Commit

Permalink
#103 update CIAA-NXP.cfg for OpenOCD, fixed for linux
Browse files Browse the repository at this point in the history
  • Loading branch information
jcecconi committed Aug 8, 2014
1 parent 1cbaf83 commit 2cc8732
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions modules/tools/openocd/cfg/ciaa-nxp.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -109,11 +109,9 @@ set _M4_JTAG_TAPID 0x4ba00477
# M0 TAP
set _M0_JTAG_TAPID 0x0ba01477

jtag newtap $_CHIPNAME m4 -irlen 4 -ircapture 0x1 -irmask 0xf \
-expected-id $_M4_JTAG_TAPID
jtag newtap $_CHIPNAME m4 -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_M4_JTAG_TAPID

jtag newtap $_CHIPNAME m0 -irlen 4 -ircapture 0x1 -irmask 0xf \
-expected-id $_M0_JTAG_TAPID
jtag newtap $_CHIPNAME m0 -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_M0_JTAG_TAPID

################################################################
# Creo los 2 targets lpc4337.m4 y lpc4337.m0
Expand All @@ -134,8 +132,7 @@ $_CHIPNAME.m4 configure -work-area-phys 0x10000000 -work-area-size $_WORKAREASIZ
# flash bank <name> lpc2000 <base> <size> 0 0 <target#> <variant> <clock> [calc checksum]
################################################################
set _FLASHNAME $_CHIPNAME.flash
flash bank $_FLASHNAME lpc2000 0x1a000000 0x80000 0 0 $_CHIPNAME.m4 \
lpc4300 96000 calc_checksum
flash bank $_FLASHNAME lpc2000 0x1a000000 0x80000 0 0 $_CHIPNAME.m4 lpc4300 96000 calc_checksum

################################################################
# TRST (TAP Reset) y SRST (System Reset) no están conectados más allá del Buffer
Expand Down

0 comments on commit 2cc8732

Please sign in to comment.