OpenOCD
openocd.org
- Free plan
- Windows
- macOS
- Linux
- Self-hosted
What OpenOCD is
OpenOCD is free, open-source software for debugging, in-system programming, and boundary-scan testing of embedded target devices through a debug adapter. It communicates with targets using JTAG or Serial Wire Debug (SWD), and can run as a server for GDB clients. Users can interact through Telnet or GDB; its Tcl interface is intended for machine control, and configuration files can contain commands through a documented Tcl scripting API. Listed target platforms include ARM, MIPS, RISC-V, Xtensa, ARC, AVR32, and others. Release 0.12.0 notes support for Espressif ESP32, ESP32-S2, and ESP32-S3 cores, as well as the Raspberry Pi Pico RP2040; the notes also list Zephyr and a no-RTOS option. OpenOCD supports remote debugging and exception breakpoints. It is available for Linux, macOS, Windows, and self-hosted setups, with packages in operating-system repositories and source code available. Community binary builds are identified for Windows, GNU/Linux, and macOS, but are unofficial.
Who it suits
OpenOCD suits developers working with embedded target devices and debug adapters, especially those using GDB, JTAG, or SWD workflows. It is also relevant to users who need remote debugging or Tcl-based configuration.
Good to know, and what to watch
- Supports JTAG and SWD transports.
- Can serve GDB client connections.
- Lists a wide range of target architectures.
- Supports remote debugging and exception breakpoints.
- Free and open source.
- Linux setup usually requires a udev rule.
- Windows requires driver configuration per peripheral.
- Community binary builds are unofficial.
- No security certification or compliance claim is listed.
Plans
Every plan and priceOpenOCD
Free plan
The verdict
OpenOCD provides core debugging, programming, and testing functions across many embedded target platforms. Host setup can require adapter-access rules or driver configuration, and community binary builds are explicitly unofficial.
What the maker publishes
- Command interfaces
- Users can interact with OpenOCD through Telnet or GDB, and its Tcl interface is intended as a machine interface. source
- Community
- The project describes itself as an active open-source project supported by software and hardware developers around the world. source
- Debug protocols
- The guide describes JTAG and Serial Wire Debug (SWD) adapter transports for communicating with targets. source
- GDB support
- OpenOCD can run as a server that accepts connections from GDB clients. source
- Host setup
- On Linux, running OpenOCD usually requires installing a udev rule to grant access to debug adapters; Windows requires driver configuration for each peripheral. source
- Installation
- The project says OpenOCD is packaged in popular operating-system repositories and also provides access to its source repository. source
- Purpose
- OpenOCD provides debugging, in-system programming, and boundary-scan testing for embedded target devices using a debug adapter. source
- RTOS
- The 0.12.0 release notes list support for Zephyr and a no-RTOS option. source
- Scripting
- OpenOCD configuration files can contain commands, and the guide documents a Tcl scripting API. source
- Security and compliance
- The official pages reviewed provide no security certification or compliance claim. source
- Supported targets
- The 0.12.0 release notes list support for Espressif ESP32, ESP32-S2, and ESP32-S3 cores and Raspberry Pi Pico RP2040. source
- Unofficial binaries
- The project page identifies community-provided binary builds for Windows, GNU/Linux, and macOS, and labels them unofficial. source
Checked against the maker's pages on 7 Oct 2026.