3 if { [info exists CHIPNAME] } {
4 set _CHIPNAME $CHIPNAME
11 if { [info exists DAP_TAPID] } {
12 set _DAP_TAPID $DAP_TAPID
14 set _DAP_TAPID 0x4ba00477
17 jtag newtap $_CHIPNAME dap -expected-id $_DAP_TAPID -irlen 4
21 set _TARGETNAME0 $_CHIPNAME.cpu0
22 set _TARGETNAME1 $_CHIPNAME.cpu1
24 target create $_TARGETNAME0 cortex_a -chain-position $_CHIPNAME.dap -coreid 0 -dbgbase 0x3fe10000
25 target create $_TARGETNAME1 cortex_a -chain-position $_CHIPNAME.dap -coreid 1 -dbgbase 0x3fe12000
26 target smp $_TARGETNAME0 $_TARGETNAME1
28 $_TARGETNAME0 configure -event gdb-attach {
31 $_TARGETNAME1 configure -event gdb-attach {