OpenOCD

Introduction
This page builds on content from the main OpenOCD project site.

OpenOCD (Open On-Chip Debugger) is open-source software that interfaces with a hardware debugger's JTAG port. OpenOCD provides debugging and in-system programming for embedded target devices. OpenOCD provides the ability to flash NAND and NOR FLASH memory devices that are attached to the processor on the target system. Flash programming is supported for external CFI compatible flashes (Intel and AMD/Spansion command set) and several internal flashes (LPC2000, AT91SAM7, STR7x, STR9x, LM3 and STM32x).

OpenOCD was originally developed by Dominic Rath at the University of Applied Sciences Augsburg. The OpenOCD source code is now available through the GNU General Public License (GPL).

Supported Cores Types
OpenOCD supports the following cores:

Technical Support

 * OpenOCD website
 * OpenOCD User Support mailing list
 * OpenOCD Development mailing list
 * Sparkfun.com OpenOCD forum
 * OpenOCD User Guide local to this wiki.
 * OpenOCD User's Guide
 * #openocd channel on irc.freenode.net

Installing OpenOCD

 * Compiling OpenOCD
 * OpenOCD Ubuntu Package
 * OpenOCD Patches
 * OpenOCD Config Files
 * libFDTI vs. libFTD2xx license and performance comparison

General Instructions

 * Running OpenOCD
 * Running OpenOCD on Linux
 * Running OpenOCD on Windows
 * OpenOCD Troubleshooting

OpenOCD Configuration Files

 * OpenOCD Configuration Files Overview
 * How To Write an Interface Configuration Script
 * How To Write a Board Configuration Script
 * How To Write a Target Configuration Script

Board Specific Instructions

 * BeagleBoard
 * BeagleBone
 * PandaBoard
 * Snowball