This is an old revision of the document!


Table of Contents

OpenOCD

OpenOCD is used to program and debug various devices with GDB.

Install

Install prerequisites.

sudo apt install build-essential libhidapi-dev libcapstone-dev

Install into /usr/local

git clone https://git.code.sf.net/p/openocd/code openocd
cd openocd
./bootstrap
./configure --enable-ftdi --enable-sysfsgpio --enable-bcm2835gpio --enable-picoprobe --enable-jlink --enable-ft232r --enable-cmsis-dap --enable-cmsis-dap-v2 --with-capstone
make
sudo make install
This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies