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 cpu -expected-id $_DAP_TAPID -irlen 4
21 set _TARGETNAME0 $_CHIPNAME.cpu0
22 set _TARGETNAME1 $_CHIPNAME.cpu1
24 dap create $_CHIPNAME.dap -chain-position $_CHIPNAME.cpu
26 target create $_TARGETNAME0 cortex_a -dap $_CHIPNAME.dap -coreid 0 -dbgbase 0x3fe10000
27 target create $_TARGETNAME1 cortex_a -dap $_CHIPNAME.dap -coreid 1 -dbgbase 0x3fe12000
28 target smp $_TARGETNAME0 $_TARGETNAME1