From EdWiki
Jump to: navigation, search

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
ARM7TDMI LPC2148, AT91SAM7
ARM720T LH79520, EP7312
ARM9TDMI
ARM920T S3C2410, S3C2440
ARM922T
ARM926EJS S3C2412, STN8811, STN8815
ARM966E STR91XF
ARM11 S3C6400, OMAP2420, MSM7200
ARM1136
ARM1156
ARM1176
CORTEX-M3 LM3S series, STM32 series
CORTEX-A8 OMAP3530 BeagleBoard
CORTEX-A8 DM3730 BeagleBoard-xM
CORTEX-A9 OMAP4430 PandaBoard
XSCALE PXA255, PXA270, IXP42X
MARVEL FEROCEON CPU CORE
MIPS M4K


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).

Installing OpenOCD

1
Compiling OpenOCD
2
OpenOCD Ubuntu Package
3
OpenOCD Config Files
4
OpenOCD Config File Paths








Running OpenOCD

1
Running OpenOCD on Linux
2
Running OpenOCD on Windows
3
Accessing Devices without sudo
4
Configuring Windows 7 for OpenOCD
5
OpenOCD Troubleshooting









User's Guide

OpenOCD User's Guide

See Also

  1. OpenOCD v0.8.0 source
  2. openocd-0.5.0-with-CEDT-SW-JTAG-support.patch
  3. OpenOCD Linux Binary with cedt adapter support (x86 32-bit)

External Links

  1. OpenOCD website: http://openocd.sourceforge.net/
  2. Browse OpenOCD files: http://sourceforge.net/projects/openocd/files/openocd/