I’m trying get debugging up and running on this board.
I have a SDCard breakout board and an olimex arm-usb-tiny with an olimex swd converter
I’m using openocd with this script
adapter speed 1000
set _CHIPNAME rk3399
set _TARGETNAME $_CHIPNAME.t
set _ENDIAN little
dap create $_CHIPNAME.dap -chain-position $_CHIPNAME.cpu
cti create cti0 -dap $_CHIPNAME.dap -ap-num 6 -ctibase 0xfe438000
target create ${_TARGETNAME}0 aarch64 -dap $_CHIPNAME.dap \
-coreid 0 -dbgbase 0xfe43000 -cti cti0 -gdb-port 3333
${_TARGETNAME}0 configure -event reset-assert-post "aarch64 dbginit"
targets ${_TARGETNAME}0
and executing openocd as follows:
openocd -f tcl/interface/ftdi/olimex-arm-usb-tiny-h.cfg -f tcl/interface/ftdi/olimex-arm-jtag-swd.cfg -f tcl/target/rk3399.cfg
Is there something else I’m missing?