Archive for the ‘News’ Category

OpenOCD 0.8.0 in major repositories

Friday, May 16th, 2014

A quick update on distro adoption status:

Debian unstable, Gentoo, Fedora devel and Arch GNU/Linux distributions provide their users with an up-to-date 0.8.0 package.

OS X users are covered as well: with Gentoo Prefix you can easily have either 0.8.0 or the current git version (-9999); same about Homebrew: just update and brew install [--HEAD] openocd (where the optional –HEAD parameter tells it to build the current git version).

Thanks to everybody involved!

OpenOCD 0.8.0 release

Sunday, April 27th, 2014

Today I’m happy to announce the availability of OpenOCD 0.8.0 release.

It’s been almost a year since v0.7.0, and the amount of changes is impressive. The project gained 458 commits from 78 contributors all around the world; added to that countless hours that were spent on reviewing, discussing, testing and bug-reporting. I’d like to take this opportunity to say “thank you” to everybody involved, your participation is sincerely appreciated.

Of specific interest here were contributions directly from hardware manufacturers. During this development cycle OpenOCD received support from Andes Technology Corporation and Intel Corporation, and in both cases it was a fine collaboration following the best practices as established in the free software world. To help other manufacturers join the trend I propose we all start demanding out-of-the-box OpenOCD support from the vendors, educating them about Intel’s experience.

Please find the updated sources in the git repository and on the download area:

Freddie Chopin has kindly provided windows binaries on his website: > Download > Software > OpenOCD, see for details.

Good luck, and happy hacking!

The release highlights are listed below:

JTAG Layer:

  • New CMSIS-DAP driver.
  • Andes AICE debug adapter support.
  • New OpenJTAG driver.
  • New BCM2835 (RaspberryPi) driver.
  • JTAG VPI client driver (for OpenRISC Reference Platform SoC).
  • Xilinx BSCAN_* for OpenRISC support.
  • ST-LINKv2-1 support.
  • ST-LINKv2 SWO tracing support (UART emulation).
  • JLink-OB (onboard) support.
  • Altera USB Blaster driver rewrite, initial Blaster II support.
  • ULINK driver ported to libusb-1.0, OpenULINK build fixes.
  • Support up to 64 bit IR lengths.
  • SVF playback (FPGA programming) fixes.
  • “ftdi” interface driver got extensive testing and is now recommended over the old ft2232 implementation.

Boundary Scan:

Target Layer:

  • New target: Andes nds32.
  • New target: OpenRISC OR1K.
  • New target: Intel Quark X10xx.
  • MIPS EJTAG 1.5/2.0 support.
  • MIPS speed improvements.
  • Cortex-M, Cortex-A (MEM-AP, APB-AP) targets working with BE hosts now.
  • XScale vector_catch support, reset fixes.
  • dsp563xx ad-hoc breakpoint/watchpoint support.
  • RTOS support for embKernel.
  • Target profiling improvements.
  • Memory access functions testbench.

Flash Layer:

  • STM32 family sync with reference manuals, other bugfixes.
  • STM32F401, STM32F07x support.
  • Atmel SAM4L, SAMG5x support.
  • Atmel AT91SAM3SD8[a,b], AT91SAM3S8[a,b,c], AT91SAM4S, AT91SAM3N0[a,b,0a,0b] support, bugfixes.
  • Atmel SAMD support.
  • Milandr 1986ВЕ* support.
  • Kinetis KL, K21 support.
  • Nuvoton NuMicro MINI5{1,2,4} support.
  • Nuvoton NUC910 series support.
  • NXP LPC43xx, LPC2000 fixes.
  • NXP LPC800, LPC810 support.
  • More ATmega parts supported.
  • Fujitsu MB9Ax family support.
  • EFM32 Wonder Gecko family support.
  • Nordic nRF51 support.

Board, Target, and Interface Configuration Scripts:

  • STM32W108xx generic target config.
  • STM32F429 discovery board config.
  • STM32 Nucleo boards configs.
  • DENX M53EVK board config.
  • Altera Cyclone V SoC, SoCkit config.
  • New TI Launchpads board configs.
  • TI am43xx devices, AM437x GP EVM, AM438x ePOS EVM board configs.
  • Marvell Armada 370 family initial support.
  • TI TMDX570LS31USB (TMS570, Cortex-R4) support scripts.
  • Freescale FRDM-KL25Z, KL46Z board configs.
  • Digilent Zedboard config.
  • Asus RT-N16, Linksys WRT54GL, BT HomeHub board configs.
  • Atmel Xplained initial support.
  • Broadcom bcm28155_ap board config.
  • TUMPA, TUMPA Lite interface configs.
  • Digilent JTAG-SMT2 interface config.
  • New RAM testing functions.
  • Easy-to-use firmware recovery helpers targeting ordinary users with common equipment.

Server Layer:

  • Auto-generation of GDB target description for ARMv7-M (XML support in GDB is mandatory for this architecture now), ARM4, nds32, OR1K, Quark.
  • GDB File-I/O Remote Protocol extension support.
  • Default GDB flashing events handlers to initialise and reset the target automatically when “load” is used.


  • Extensive README* changes.
  • The official User’s Guide was proofread.
  • Example cross-build script.
  • RTOS documentation improvements.
  • Tcl RPC documentation and examples added.

Build and Release:

  • *BSD, OS X, clang, ARM, windows build fixes.
  • New pkg-config support changes the way libusb (and other dependencies) are handled. Many adapter drivers are now selected automatically during the configure stage.

PS: A next-release teaser: I know many people would like to see SWD support for FTDI-based adapters. It’s already working really good but not yet ready for merging, the patches are available from Gerrit and it’s likely they’ll be ready by the next release.

OpenOCD 0.8.0-rc1 release candidate is out

Monday, March 31st, 2014

We are pleased to announce the first release candidate of the upcoming OpenOCD version.

The source archives and release notes are available from the usual SF download locations.

Windows binary of OpenOCD 0.8.0-rc1 is kindly provided by Freddie Chopin and is available for download from his website:

Please post all your feedback to the openocd-devel mailing list.

OpenOCD and GDB for OpenRISC – ORCONF 2013

Thursday, January 16th, 2014

A talk by Franck Jullien on using OpenOCD and GDB for OpenRISC.

OpenOCD 0.7.0 released

Sunday, May 5th, 2013

After almost 7 months since previous 0.6.1 version, new 0.7.0 release is out! Source packages are available to download from SourceForge. If you use Windows and don’t want to build the executable yourself, Freddie Chopin provides binaries on his personal website.

Here is the NEWS file for this release, which highlights the most important changes:

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

JTAG Layer:

  • New TI ICDI adapter support.
  • Support Latest OSBDM firmware.
  • Improved MIPS EJTAG Support.

Boundary Scan:

Target Layer:

  • New ARMv7R and Cortex-R4 support.
  • Added ChibiOS/RT support.

Flash Layer:

  • New NXP LPC1850 support.
  • New NXP LPC4300 support.
  • New NXP SPIFI support.
  • New Energy Micro EFM32 support.
  • New ST STM32W support.
  • New ST STM32f2 write protection and lock/unlock support.
  • Ability to override STM32 flash bank size.

Board, Target, and Interface Configuration Scripts:

  • Support Freescale i.MX6 series targets.


  • New MIPS debugging info.

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: Hardware Debugging and More – ELCE 2012

Monday, January 28th, 2013

A talk from Peter Stuge on using OpenOCD to debug embedded systems.

OpenOCD 0.6.1 bugfix release

Sunday, October 7th, 2012

Today OpenOCD 0.6.1 bugfix release was published on project’s download area on SourceForge. Appropriate changes were also committed to GIT repository.

This release addresses serious regression in 0.6.0 and 0.6.0-rc2 releases which caused some functionalities to work correctly only on the first run – all following operations would fail until OpenOCD would be restarted. Some of affected modules:

  • lpc2000 flash driver (for LPC2xxx and LPC17xx chips),
  • mips_m4k fast data (for MIPS M4k chips),
  • feroceon DCC,
  • arm_io NAND flash driver,
  • arm7_9 DCC.

Last unaffected release (of course excluding 0.6.1) is 0.6.0-rc1. All users of affected releases are encouraged to update their version of OpenOCD.

Additionally this release includes following fixes:

  • fix of handling Hi-Z state in direct connections in new ftdi driver,
  • fix of handling RCLK in new ftdi driver,
  • improvements to config files using new ftdi driver,
  • fix for sector erase for AT91SAM4S chips,
  • fix of TAPID in STM32F3 config script,
  • support for STM32F3 Rev 2 flash,
  • support for STM32F3-DISCOVERY board.

As usual, Freddie Chopin has provided Window’s binaries on his site.

hackaday – ARM On-Chip Debugging demonstration

Tuesday, October 2nd, 2012

Full article here –

Final OpenOCD-0.6.0 is out!

Friday, September 7th, 2012

It took 13 months without 2 days this time, but here it is! Packages with sourcecode of new stable release of OpenOCD – 0.6.0 – are available for you to download from sourceforge’s Download area. If you’re using Windows, you may check out Freddie Chopin’s website to download binaries for this system.

Here is the NEWS file for this release, which highlights most important changes:

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

JTAG Layer:
New STLINK V1/V2 JTAG/SWD adapter support.
New OSJTAG adapter support.
New Tincantools Flyswatter2 support.
Improved ULINK driver.
Improved RLINK driver.
Support for adapters based on FT232H chips.
New experimental driver for FTDI based adapters, using libusb-1.0 in asynchronous mode.

Boundary Scan:

Target Layer:
New Cortex-M0 support.
New Cortex-M4 support.
Improved Working area algorithm.
New RTOS support. Currently linux, FreeRTOS, ThreadX and eCos.
Connecting under reset to Cortex-Mx and MIPS chips.

Flash Layer:
New SST39WF1601 support.
New EN29LV800BB support.
New async algorithm support for selected targets, stm32, stellaris and pic32.
New Atmel SAM3S, SAM3N support.
New ST STM32L support.
New Microchip PIC32MX1xx/2xx support.
New Freescale Kinetis K40 support.

Board, Target, and Interface Configuration Scripts:
Support Dangerous Prototypes Bus Blaster.
Support ST SPEAr Family.
Support Gumstix Verdex boards.
Support TI Beaglebone.

Improved HACKING info for submitting patches.
Fixed numerous broken links.

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.6.0-rc2 released

Wednesday, August 29th, 2012

Second release candidate for version 0.6.0 of OpenOCD was just released. Repository was updated and archives with source code uploaded for you to sourceforge. As usually Windows users can find a suitable binary on Freddie Chopin’s website.

Final 0.6.0 is scheduled to be released on 6th of September 2012 – if no problems with -rc2 will be found. In case a need of extending this period appears, the final release would be possible after 23rd of September.

Happy debugging! Remember to post info on potential problems to mailing list!