]> git.sur5r.net Git - openocd/blobdiff - tcl/target/hi3798.cfg
arm_cti: add cti command group
[openocd] / tcl / target / hi3798.cfg
index 9eda15035a74d8f4dedb735e48a18ec8edcae4ea..b6c3edabd11afdaf724a58e1f6a807196bb06278 100644 (file)
@@ -30,6 +30,8 @@ set $_TARGETNAME.cti(3) 0x80320000
 set _cores 4
 for { set _core 0 } { $_core < $_cores } { incr _core 1 } {
 
+    cti create cti$_core -dap $_CHIPNAME.dap -ctibase [set $_TARGETNAME.cti($_core)] -ap-num 0
+
     set _command "target create ${_TARGETNAME}$_core aarch64 \
                          -chain-position $_CHIPNAME.dap -coreid $_core -ctibase [set $_TARGETNAME.cti($_core)]"