Difference between revisions of "OpenOCD"

From eLinux.org
Jump to: navigation, search
m (Installing OpenOCD)
(15 intermediate revisions by 5 users not shown)
Line 4: Line 4:
 
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 (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:
 
OpenOCD supports the following cores:
  
Line 68: Line 70:
 
|}
 
|}
  
 
+
== Technical Support ==
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).
+
* [http://openocd.sourceforge.net/ OpenOCD website]
 +
* [https://lists.sourceforge.net/lists/listinfo/openocd-user OpenOCD User Support mailing list]
 +
* [https://lists.sourceforge.net/lists/listinfo/openocd-devel OpenOCD Development mailing list]
 +
* [http://forum.sparkfun.com/viewforum.php?f=18 Sparkfun.com OpenOCD forum]
 +
* [[OpenOCD User Guide]] local to this wiki.
 +
* [http://openocd.sourceforge.net/doc/html/index.html OpenOCD User's Guide]
 +
* #openocd channel on irc.freenode.net
  
 
==Installing OpenOCD==
 
==Installing OpenOCD==
Line 78: Line 86:
 
* [[OpenOCD Config Files]]
 
* [[OpenOCD Config Files]]
 
* [[Libftdi_vs_FTD2XX|libFDTI vs. libFTD2xx]] license and performance comparison
 
* [[Libftdi_vs_FTD2XX|libFDTI vs. libFTD2xx]] license and performance comparison
 +
* [http://gnuarmeclipse.livius.net/blog/openocd/ The GNU ARM Eclipse OpenOCD] - new OpenOCD distribution, with better Eclipse integration
  
 
==Running OpenOCD==
 
==Running OpenOCD==
Line 85: Line 94:
 
* [[Running OpenOCD on Windows]]
 
* [[Running OpenOCD on Windows]]
 
* [[OpenOCD Troubleshooting]]
 
* [[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 ====
 
==== Board Specific Instructions ====
 
* [[Running_OpenOCD_on_Linux_with_the_Beagleboard|BeagleBoard]]
 
* [[Running_OpenOCD_on_Linux_with_the_Beagleboard|BeagleBoard]]
 +
* [[Running_OpenOCD_on_Linux_with_the_Beagleboard_xM|Beagleboard xM]]
 +
* [[Running_OpenOCD_on_Linux_with_the_Beaglebone|BeagleBone]]
 
* [[OpenOCD_PandaBoard|PandaBoard]]
 
* [[OpenOCD_PandaBoard|PandaBoard]]
 
* [[OpenOCD_Snowball|Snowball]]
 
* [[OpenOCD_Snowball|Snowball]]

Revision as of 16:24, 20 January 2015

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:

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

Technical Support

Installing OpenOCD

Running OpenOCD

General Instructions

OpenOCD Configuration Files

Board Specific Instructions

External Links

OpenOCD project.

OpenOCD source