Skip to content

Commit 2cc8732

Browse files
committed
#103 update CIAA-NXP.cfg for OpenOCD, fixed for linux
1 parent 1cbaf83 commit 2cc8732

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

modules/tools/openocd/cfg/ciaa-nxp.cfg

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -109,11 +109,9 @@ set _M4_JTAG_TAPID 0x4ba00477
109109
# M0 TAP
110110
set _M0_JTAG_TAPID 0x0ba01477
111111

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

115-
jtag newtap $_CHIPNAME m0 -irlen 4 -ircapture 0x1 -irmask 0xf \
116-
-expected-id $_M0_JTAG_TAPID
114+
jtag newtap $_CHIPNAME m0 -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_M0_JTAG_TAPID
117115

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

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

0 commit comments

Comments
 (0)