|
|
@@ -122,7 +122,7 @@ proc setup_a5x {core_name dbgbase ctibase num boot} { |
|
|
|
set _TARGETNAME $_CHIPNAME.$core_name.$_core |
|
|
|
set _CTINAME $_TARGETNAME.cti |
|
|
|
cti create $_CTINAME -dap $_DAPNAME -ap-num 1 \ |
|
|
|
-ctibase [lindex $ctibase $_core] |
|
|
|
-baseaddr [lindex $ctibase $_core] |
|
|
|
set _command "target create $_TARGETNAME aarch64 -dap $_DAPNAME \ |
|
|
|
-ap-num 1 -dbgbase [lindex $dbgbase $_core] -cti $_CTINAME" |
|
|
|
if { $_core == 0 && $boot == 1 } { |
|
|
@@ -140,7 +140,7 @@ proc setup_cr7 {dbgbase ctibase boot} { |
|
|
|
global _DAPNAME |
|
|
|
set _TARGETNAME $_CHIPNAME.r7 |
|
|
|
set _CTINAME $_TARGETNAME.cti |
|
|
|
cti create $_CTINAME -dap $_DAPNAME -ap-num 1 -ctibase $ctibase |
|
|
|
cti create $_CTINAME -dap $_DAPNAME -ap-num 1 -baseaddr $ctibase |
|
|
|
set _command "target create $_TARGETNAME cortex_r4 -dap $_DAPNAME \ |
|
|
|
-ap-num 1 -dbgbase $dbgbase" |
|
|
|
if { $boot == 1 } { |
|
|
|