Version 0.10.0-14 is a maintenance release; it updates to the latest upstream master and adds support for running on Arm platforms, like Raspberry Pi.

The xPack OpenOCD is the xPack distribution of OpenOCD.

There are separate binaries for Windows, macOS and GNU/Linux, 32/64-bit.

Starting with this version, support for 32/64-bit Arm GNU/Linux platforms, like Raspberry Pi, was added.

Download

The binary files are available from GitHub releases.

Install

The full details of installing the xPack OpenOCD on various platforms are presented in the separate Install page.

Easy install

The easiest way to install OpenOCD is with xpm by using the binary xPack, available as @xpack-dev-tools/openocd from the npmjs.com registry.

To install the latest version available, use:

$ xpm install --global @xpack-dev-tools/openocd@latest

To install this specific version, use:

$ xpm install --global @xpack-dev-tools/openocd@0.10.0-14.3

Compliance

The xPack OpenOCD generally follows the official OpenOCD releases.

The current version is based on:

  • OpenOCD version 0.10.0, the development commit e5be992df from June 23, 2020

To get a list of changes since the previous release, use git log in the xpack-dev-tools/openocd project

git log --pretty='%cd * %h %s' --date=short 'v0.10.0-13'..'v0.10.0-14'

Changes

There are no functional changes.

Compared to the upstream, the following changes were applied:

  • a configure option was added to configure branding (--enable-branding)
  • the src/openocd.c file was edited to display the branding string
  • the contrib/60-openocd.rules file was simplified to avoid protection related issues.

Known problems

  • none

Documentation

The original documentation is available in the share/doc folder.

Supported platforms

Binaries for Windows, macOS and Intel/Arm GNU/Linux are provided.

The binaries were built using the xPack Build Box (XBB), a set of build environments based on slightly older distributions, that should be compatible with most recent systems.

  • Intel GNU/Linux: all binaries were built with GCC 9.3, running in an Ubuntu 12 Docker container
  • Arm GNU/Linux: all binaries were built with GCC 9.3, running in an Ubuntu 16 Docker container (added in mid-2020)
  • Windows: all binaries were built with mingw-w64 GCC 9.3, running in an Ubuntu 12 Docker container
  • macOS: all binaries were built with GCC 9.3, running in a separate folder on macOS 10.10.5.

Build

The scripts used to build this distribution are in:

  • distro-info/scripts

For the prerequisites and more details on the build procedure, please see the How to build page.

Travis tests

The first set of tests were performed on Travis, by running a simple script to check if the binaries start on a wide range of platforms and distributions:

Tests

The binaries were testes on Windows 10 Pro 32/64-bit, Intel Ubuntu 18 LTS 64-bit, Intel Xubuntu 18 LTS 32-bit and macOS 10.15.

The tests consist in programming and debugging a simple blinky application on the STM32F4DISCOVERY board. The binaries were those generated by simple Eclipse projects available in the xPack GNU Arm Embedded GCC project.

On Arm platforms, where Eclipse is not yet available, the binaries were tested on Raspberry Pi OS 10 (buster) 32/64-bit only to identify the STM32F4DISCOVERY board.

.../xpack-openocd-0.10.0-14/bin/openocd -f board/stm32f4discovery.cfg

In all cases, install the archive in Downloads and configure the path in Eclipse or run manually from there.

Checksums

The SHA-256 hashes for the files are:

30917a5c6f60fcd7df82b41dcec8ab7d86f0cea3caeaf98b965b901c10a60b39  
xpack-openocd-0.10.0-14-darwin-x64.tar.gz

97a188ca8ba32498c80b1ca3c8831cbbaf01c6f935fb5bcb66144f1fbd432106  
xpack-openocd-0.10.0-14-linux-arm64.tar.gz

8a8025cfb07dbf203d9434179e84b748f8381213df6d53272e5c580fbe113896  
xpack-openocd-0.10.0-14-linux-arm.tar.gz

bd4a7e88d86d216b738a096ffa8bfe5ec4035ad17801d5595e45779363ff5974  
xpack-openocd-0.10.0-14-linux-x32.tar.gz

185c070f9729cf38dca08686c2905561c07a63c563e5bc7a70e045f2a1865c11  
xpack-openocd-0.10.0-14-linux-x64.tar.gz

633e46b2f4d2d38c683df2414b9f464d7250c336d010c84010bbaff9d3d29c7c  
xpack-openocd-0.10.0-14-win32-x32.zip

1fb26bbcfd65dbabe747ce3c8467a1f1cece7253bde4a95de13c2267d422ed8b  
xpack-openocd-0.10.0-14-win32-x64.zip

Download analytics

Credit to Shields IO for the badges and to Somsubhra/github-release-stats for the individual file counters.