X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=tcl%2Ftarget%2Fbcm281xx.cfg;h=0715d82d8114c79bcbba67938b5fa3c0be6473db;hb=385eedfc6f0b82c5d6715c740ee40bdce983ef04;hp=c05682f8795e446dd104c8bd6b35899a5481a1c2;hpb=f91390f538f22678a790f77320ec78cce76b0ebb;p=fw%2Fopenocd diff --git a/tcl/target/bcm281xx.cfg b/tcl/target/bcm281xx.cfg index c05682f87..0715d82d8 100644 --- a/tcl/target/bcm281xx.cfg +++ b/tcl/target/bcm281xx.cfg @@ -14,20 +14,15 @@ if { [info exists DAP_TAPID] } { 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 A9s +# 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