Archive for the ‘News’ Category

Mailing List Issues

Tuesday, November 29th, 2011

We are currently having issues with our mailing lists hosted on SF:

For some reason they have been deleted, SF are looking into it and hopefully we will be back online soon.

new helpers

Tuesday, November 8th, 2011

We have two new helpers to the OpenOCD team – Gerrit and Jenkins.

Gerrit is a web based review system that makes reviewing patches simpler for all – especially project devs.
Here is the link for our Gerrit server

Jenkins is a continuous integration server, and is being used to test any patches uploaded to Gerrit. This again makes our life simpler as some of the trivial tasks are now automated.
Here is the link for our Jenkins server.

The server has been kindly donated by the kind folks at Zylin.

In the long term this will hopefully mean a more stable OpenOCD.


mailing lists

Tuesday, November 8th, 2011

All mailing lists have now moved over to sourceforge, update any spam filters asap.
Users that were subscribed to the Berlios lists have been migrated over, so you should have nothing todo.


Wednesday, October 5th, 2011

Seems Berlios is closing on the 31/12/2011 :-(

This means the website (this) and the mailing lists will be moving to sourceforge – stay tuned for details.

OpenOCD v0.5.0 released

Tuesday, August 9th, 2011

It has been a while since an official OpenOCD release, but it is finally here !!

Many thanks to all that helped get this release out the door – in the future we are planning to release on a more regular schedule.

Here is the NEWS file relating to this release:

This file includes highlights of the changes made in the OpenOCD 0.5.0 source archive release.  See the repository history for details about what changed, including bugfixes and other issues not mentioned here.

JTAG Layer:

  • New driver for “Bus Pirate”
  • Rename various commands so they’re not JTAG-specific

There are migration procedures for most of these, but you should convert your scripts to the new names, since those procedures will not be around forever.
- jtag jinterface … is now adapter_name …
- jtag_khz … is now adapter_khz …
- jtag_nsrst_delay … is now adapter_nsrst_delay …
- jtag_nsrst_assert_width … is now adapter_nsrst_assert_width …

  • Support Voipac VPACLink JTAG Adapter.

Boundary Scan:

Transport framework core … supporting future work for SWD, SPI, and other non-JTAG ways to debug targets or program flash.

Target Layer:

  • ARM:
    - basic semihosting support for ARMv7M.
    - renamed “armv7m” command prefix as “arm”
  • MIPS:
    - “ejtag_srst” variant removed. The same functionality is obtained by using “reset_config none”.
    - added PIC32MX software reset support, this means srst is not required to be connected anymore.
  • OTHER:
    - preliminary AVR32 AP7000 support.

Flash Layer:

  • New “stellaris recover” command, implements the procedure to recover locked devices (restoring non-volatile state to the factory defaults, including erasing the flash and its protection bits, and possibly re-enabling hardware debugging).
  • PIC32MX now uses algorithm for flash programming, this has increased the performance by approx 96%.
  • New ‘pic32mx unlock’ cmd to remove readout protection.
  • New STM32 Value Line Support.
  • New ‘virtual’ flash driver, used to associate other addresses with a flash bank. See pic32mx.cfg for usage.
  • New iMX27 NAND flash controller driver.

Board, Target, and Interface Configuration Scripts:

  • Support IAR LPC1768 kickstart board (by Olimex)
  • Support Voipac PXA270/PXA270M module.
  • New $PARPORTADDR tcl variable used to change default parallel port address used.
  • Remove lm3s811.cfg; use “stellaris.cfg” instead

Core Jim/TCL Scripting:

  • New “add_script_search_dir” command, behaviour is the same as the “-s” cmd line option.



Build and Release:


For more details about what has changed since the last release, see the git repository history.  With gitweb, you can browse that in various levels of detail.

For older NEWS, see the NEWS files associated with each release (i.e. NEWS-<version>).

For more information about contributing test reports, bug fixes, or new features and device support, please read the new Developer Manual (or the BUGS and PATCHES.txt files in the source archive).

OpenOCD v0.4.0 released

Monday, February 22nd, 2010

v0.4.0 highlights, taken from NEWS:

JTAG Layer:

  • Support KT-Link JTAG adapter.
  • Support USB-JTAG, Altera USB-Blaster and compatibles.

Target Layer:

  • General
    • Removed commands which have been obsolete for at least a year (from both documentation and, sometimes, code).
    • new “reset-assert” event, for systems without SRST
  • ARM
    • supports “reset-assert” event (except on Cortex-M3)
    • renamed “armv4_5″ command prefix as “arm”
    • recognizes TrustZone “Secure Monitor” mode
    • “arm regs” command output changed
    • register names use “sp” not “r13″
    • add top-level “mcr” and “mrc” commands, replacing various core-specific operations
    • basic semihosting support (ARM7/ARM9 only, for now)
  • ARM11 should act much more like other ARM cores:
    • Preliminary ETM and ETB hookup
    • accelerated “flash erase_check”
    • accelerated GDB memory checksum
    • support “arm regs” command
    • can access all core modes and registers
    • watchpoint support
    • Shares some core debug code with Cortex-A8
  • Cortex-A8 should act much more like other ARM cores:
    • support “arm regs” command
    • can access all core modes and registers
    • watchpoint support
    • Shares some core debug code with ARM11
  • Cortex-M3
    • - Exposed DWT registers like cycle counter
    • vector_catch settings not clobbered by resets
    • no longer interferes with firmware’s fault handling
  • ETM, ETB
    • “trigger_percent” command moved from ETM to ETB
    • “etm trigger_debug” command added
  • MIPS now uses fastdata writes Freescale
  • DSP563xx cores (partial support)

Flash Layer:

  • ‘flash bank’ and ‘nand device’ take <bank_name> as first argument.
    With this, flash/NAND commands allow referencing banks by name:
    • <bank_name>: reference the bank with its defined name
    • <driver_name>[.N]: reference the driver’s Nth bank
  • New ‘nand verify’ command to check bank against an image file.
  • The “flash erase_address” command now rejects partial sectors;
    previously it would silently erase extra data.  If you
    want to erase the rest of the first and/or last sectors
    instead of failing, you must pass an explicit “pad” flag.
  • New at91sam9 NAND controller driver.
  • New s3c64xx NAND controller driver.

Board, Target, and Interface Configuration Scripts:

  • ARM9 … ETM and ETB hookup for iMX2* targets
  • Add $HOME/.openocd to the search path.
  • Handle Rev C of LM3S811 eval boards. … use “luminary-lm3s811.cfg” only for older boards, use “luminary.cfg” for RevC and newer

Core Jim/TCL Scripting:

  • New ‘usage’ command to provide terse command help.
  • Improved command ‘help’ command output (sorted and indented).
  • Improved command handling:
    • Most boolean settings now accept any of the following:
      on/off, enable/disable, true/false, yes/no, 1/0
    • More error checking and reporting.

New built-in command development documentation and primer.

Build and Release:
Use –enable-doxygen-pdf to build PDF developer documentation.
Consider upgrading to libftdi 0.17 if you use that library; it
includes bugfixes which improve FT2232H support.

Simplified OpenOCD Infrastructure

Friday, October 9th, 2009

The OpenOCD project has retired those BerliOS web site services that received insufficient attention from developers:

  • Bug Tracker and Bug Dependency List, Support, Forums, Patch Manager, and Feature Requests: post to the mailing list
  • Screenshots: such content can be moved to our web pages
  • Doc Manager: we provide access to our Doxygen HTML
  • Donations: this appears to be a “WONT FIX” with BerliOS

These steps simplify the OpenOCD infrastructure considerably, leaving the following services hosted on their systems:

  • Mailing Lists
  • File Releases
  • WordPress (you are here)
  • Subversion (legacy only)

The mailing list is the most reliable medium for reporting bug and feature requests to the project developers and maintainers, so we hope this action will improve the experience for all members of our community.

OpenOCD Switches from BerliOS SVN to GIT

Thursday, October 8th, 2009

After a recent BerliOS service outage, the OpenOCD maintainers decided to switch the project version control system from Subversion to GIT.  Development now proceeds in the GIT tree on, which was created initially for the purpose of mirroring the Subversion tree. This change was made effective around 6:00pm PST on Oct 07, 2009, and this move should improve the availability of our repository. In addition to the main GIT tree on, we have created an official mirror on for users behind firewalls.

The site now also provides copies of the source archives through their mirror network. Additional services may be deployed there in the future, so stay tuned for more news.

OpenOCD 0.2.0 Released

Wednesday, July 15th, 2009

The OpenOCD Project has produced its 0.2.0 source code release. The summary of changes since the last release may be found in the NEWS file. You may download the source archives from the BerliOS website.

Beyond some new features and numerous bug fixes, this release reflects significant work by the community to clean up the code, documentation, and processes. Significantly, the 0.2.0 release served to test a nearly automated release process. That tool will help project maintainers deliver improvements and fixes to the user community more frequently and robustly.

Because the project will be producing regular releases, the maintainers hope that most users will avoid the potential build problems and instabilities that can be associated with the Subversion repository trunk. A regular cycle should encourage packaging of OpenOCD releases on more platforms and distributions, providing binaries for users on all supported systems.

Finally, the OpenOCD project will no longer distribute binary packages or installers. The OpenOCD 0.1.0 installer was removed due to licensing violations that were exposed while improving the documentation for the 0.2.0 release. These issues were discussed in depth on the mailing list, and the Software Freedom Law Center provided guidance and support for the OpenOCD community. Future GPL violations should be reported to the developer mailing list, the maintainers, or the SFLC.

OpenOCD 0.1.0 Released

Friday, February 13th, 2009

We have finally got around to making our first release.

The src and binaries for this release can be found at the following url: