Open OCD installs on Ubuntu 20.04

  1. Clone the Open OCD git
$ git clone https://github.com/openocd-org/openocd.gitCode language: PHP (php)

2. install dependency program

$ sudo apt install libusb-1.0-0-dev
$ sudo apt-get install libhidapi-devCode language: JavaScript (javascript)

4. build the openocd

$ ./bootstrap
$ ./configure --enable-cmsis-dap
$ make
$ sudo make install