Open On-Chip Debugger
OpenFacts, the Open Source Knowledge Database
About
The Open On-Chip Debugger (openocd) aims to provide debugging, in-system programming and boundary-scan testing for embedded target devices. The targets are interfaced using JTAG (IEEE 1149.1) compliant hardware, but this may be extended to other connection types in the future.
Openocd currently supports Wiggler (clones), FTDI FT2232 based JTAG interfaces, the Amontec JTAG Accelerator, and the Gateworks GW1602. It allows ARM7 (ARM7TDMI and ARM720t), ARM9 (ARM920t, ARM922t, ARM926ej-s, ARM966e-s), XScale (PXA25x, IXP42x) and Cortex-M3 (Luminary Stellaris LM3 and ST STM32) based cores to be debugged.
Flash writing is supported for external CFI compatible flashes (Intel and AMD/Spansion command set) and several internal flashes (LPC2000, AT91SAM7, STR7x, STR9x, LM3 and STM32x). Preliminary support for using the LPC3180's NAND flash controller is included.
This OpenFacts entry will try to document openocd's current state, and provide general information about the technology involved.
Developers
Openocd has been created by Dominic Rath as part of a diploma thesis written at the University of Applied Sciences Augsburg (http://www.fh-augsburg.de). Others interested in improving the state of free and open debug and testing technology are welcome to participate.
Other developers have contributed support for additional targets and flashes as well as numerous bugfixes and enhancements. See the AUTHORS file for regular contributors.
Resources @ OpenFacts
Usage notes
- Building OpenOCD (getting latest sources, and compiling instructions)
- Running OpenOCD
- OpenOCD configuration (configuration file syntax)
- OpenOCD commands (user accessible commands)
- OpenOCD scripts (collection of example scripts)
Generic information
- JTAG (generic JTAG information)
Obsolete information (available for historical purposes)
![[Main Page]](http://openfacts.berlios.de/images/berliOS_small_logo.png)