projects
/
fw
/
openocd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
flash/nor: add support for Nuvoton NPCX series flash
[fw/openocd]
/
tcl
/
target
/
bcm281xx.cfg
diff --git
a/tcl/target/bcm281xx.cfg
b/tcl/target/bcm281xx.cfg
index 224af793333be0c97d4b89f1aa69a8b13f9da804..0715d82d8114c79bcbba67938b5fa3c0be6473db 100644
(file)
--- a/
tcl/target/bcm281xx.cfg
+++ b/
tcl/target/bcm281xx.cfg
@@
-14,20
+14,15
@@
if { [info exists DAP_TAPID] } {
set _DAP_TAPID 0x4ba00477
}
set _DAP_TAPID 0x4ba00477
}
-jtag newtap $_CHIPNAME
dap
-expected-id $_DAP_TAPID -irlen 4
+jtag newtap $_CHIPNAME
cpu
-expected-id $_DAP_TAPID -irlen 4
# Dual Cortex-A9
set _TARGETNAME0 $_CHIPNAME.cpu0
set _TARGETNAME1 $_CHIPNAME.cpu1
# Dual Cortex-A9
set _TARGETNAME0 $_CHIPNAME.cpu0
set _TARGETNAME1 $_CHIPNAME.cpu1
-target create $_TARGETNAME0 cortex_a -chain-position $_CHIPNAME.dap -coreid 0 -dbgbase 0x3fe10000
-target create $_TARGETNAME1 cortex_a -chain-position $_CHIPNAME.dap -coreid 1 -dbgbase 0x3fe12000
-target smp $_TARGETNAME0 $_TARGETNAME1
+dap create $_CHIPNAME.dap -chain-position $_CHIPNAME.cpu
-$_TARGETNAME0 configure -event gdb-attach {
- cortex_a dbginit
-}
-$_TARGETNAME1 configure -event gdb-attach {
- cortex_a dbginit
-}
+target create $_TARGETNAME0 cortex_a -dap $_CHIPNAME.dap -coreid 0 -dbgbase 0x3fe10000
+target create $_TARGETNAME1 cortex_a -dap $_CHIPNAME.dap -coreid 1 -dbgbase 0x3fe12000
+target smp $_TARGETNAME0 $_TARGETNAME1