From eLinux.org
Jump to: navigation, search

Installing OpenOCD

OpenOCD (Open On-Chip Debugger) is open-source software that interfaces with the {{{{{1}}}_DEVICENAME}}. OpenOCD provides debugging and in-system programming for embedded target devices. You will need to install OpenOCD, either from Ubuntu's packaging tool or by compiling it yourself.

The easiest way to get OpenOCD is to install it with apt-get. To install OpenOCD with apt-get, follow these instructions:

OpenOCD Ubuntu Package

To compile OpenOCD yourself, follow one of these guides:

Compiling OpenOCD Linux

Compiling OpenOCD Linux D2XX

The first set of instructions uses libFTDI, an open-source driver library for FTDI devices. The second set uses FTD2XX, a closed-source driver library from Future Technology Devices International.