Welcome to OpenOCD! =================== 1. preinstall sudo apt update sudo apt install libftdi-dev sudo apt install libusb-1.0-0-dev sudo apt install texinfo sudo apt install automake autoconf libtool pkg-config 2. sudo aclocal sudo libtoolize --force sudo automake --add-missing sudo autoreconf ./configure --prefix=/opt/openocd --enable-maintainer-mode --enable-ftdi --enable-target64 make && make install 3. openocd 0.12.0 code base: https://git.code.sf.net/p/openocd/code jimtcl: https://github.com/msteveb/jimtcl libjaylink: http://repo.or.cz/r/libjaylink.git 4. OpenOcd need to receive 64 bits address from gdb on aarch64: a. normal https://www.mediafire.com/file/fi4mstilpruspkv/build_aarch64_gdb.sh b. lzma section read https://www.mediafire.com/file/a1xeyw0l3nvhrid/build_aarch64_lzma_gdb.sh c. gdbserver with compiler shared libs run in target https://www.mediafire.com/file/l5bh2knh0lu4ix2/build_aarch64_gdbserver.sh 5. After configure and make, remove directory .git Import OpenOcd peoject in eclipse. Search all "Makefile" and change -O2, -O3 to -O0 make clean && make Now you can debug and set breakpoint in OpenOcd source. 6. How to use OpenOcd in eclipse http://fatalfeel.blogspot.com/2015/12/openocd-with-eclipse-debug-kernel-of.html 7. bus blaster v3c v4.1a jtag to swd & swd to jtag https://fatalfeel.blogspot.com/2013/09/bus-blaster-flash-to-swd-mode-in-openocd.html 8. The script help you always hook even target power reset https://www.mediafire.com/file/tfhu2mxr0mvjp34/ocd_service.sh