What is OpenOCD?
The Open On-Chip Debugger (OpenOCD) is aims to provide debugging, in-system programming and boundary-scan testing for embedded target systems. 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).
JTAG: OpenOCD uses a "hardware- interface dongle" to communicate with the JTAG (IEEE 1149.1) compliant TAPs on your target board. A TAP is a "Test Access Port", a module which process special instructions and data. TAPs are daisy-chained within and between chips and boards.
Dongles: OpenOCD currently suppports many types of hardware dongles: USB based, parallel port based, and other standalone boxes that run OpenOCD internally.
OpenOCD supports the following cores:
|CORE TYPE||EXAMPLE PROCESSORS|
|ARM926EJS||S3C2412, STN8811, STN8815|
|ARM11||S3C6400, OMAP2420, MSM7200|
|CORTEX-M3||LM3S series, STM32 series|
|XSCALE||PXA255, PXA270, IXP42X|
|MARVEL||FEROCEON CPU CORE|
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).
|| Compiling OpenOCD |
|| OpenOCD Ubuntu Package |
|| OpenOCD Config Files |
|| OpenOCD Config File Paths |
|| Running OpenOCD on Linux |
|| Running OpenOCD on Windows |
|| Accessing Devices without sudo |
|| Configuring Windows 7 for OpenOCD |
|| OpenOCD Troubleshooting |
- OpenOCD v0.8.0 source
- OpenOCD Linux Binary with cedt adapter support (x86 32-bit)
- OpenOCD website: http://openocd.sourceforge.net/
- Browse OpenOCD files: http://sourceforge.net/projects/openocd/files/openocd/