macOS
brew install open-ocdlocal Homebrew formula metadata
sudo port install openocdMacPorts ports tree · cross/openocd/Portfile · 来源: api.github.com
安装
brew install open-ocdlocal Homebrew formula metadata
sudo port install openocdMacPorts ports tree · cross/openocd/Portfile · 来源: api.github.com
sudo apk add openocdAlpine Linux edge package indexes · openocd · 来源: dl-cdn.alpinelinux.org
sudo apt install openocdDebian stable package indexes · openocd · 来源: deb.debian.org
sudo dnf install openocdFedora Rawhide package metadata · openocd · 来源: dl.fedoraproject.org
nix profile install nixpkgs#openocdnixpkgs package indexes · pkgs/by-name/op/openocd/package.nix · 来源: api.github.com
sudo pacman -S openocdArch Linux sync databases · openocd · 来源: geo.mirror.pkgbuild.com
sudo zypper install openocdopenSUSE Tumbleweed package metadata · openocd · 来源: download.opensuse.org
scoop install main/openocdScoop official bucket manifest trees · bucket/openocd.json · 来源: api.github.com
概览
On-chip debugging, in-system programming and boundary-scan testing
历史
OpenOCD, the Open On-Chip Debugger, is a command-line server and toolset for embedded debugging, in-system flash programming, and boundary-scan work. It sits between host debuggers such as GDB and hardware debug adapters that speak transports such as JTAG or SWD.
OpenOCD was created by Dominic Rath as part of a 2005 diploma thesis at the University of Applied Sciences Augsburg. Its documentation describes the project as having grown from that thesis into an open-source project supported by software and hardware developers around the world.
The project's scope expanded from JTAG-centered on-chip debugging into a practical embedded bring-up tool: it handles debug adapters, target configuration scripts, CPU cores, flash chips, FPGA/PLD loading paths, and server interfaces for GDB, Telnet, and RPC clients.
OpenOCD became a common tool in embedded development because it gives open tooling a shared place to encode adapter and board knowledge. The user guide documents bundled script libraries for interfaces, boards, targets, and site-specific configuration, which is why many vendor and community board workflows invoke openocd with one or two -f script arguments.
Distribution packaging spread it broadly across embedded Linux and desktop development environments. Homebrew, Debian, Fedora, Arch, Nix, Scoop, and other package managers expose the same openocd executable, making it a portable default for projects that want to document one debugger command.
A typical OpenOCD session names an adapter script and a board or target script, starts the OpenOCD server, waits for a JTAG or SWD target to be detected, and then connects GDB to the server for breakpoints, stepping, register access, and memory inspection.
For production and lab work, OpenOCD is also used for flash programming and boundary-scan tasks. The documentation covers NOR and NAND flash support, PLD/FPGA loading commands, and SVF/XSVF execution for JTAG test patterns.
OpenOCD is package-nerd significant because its executable is only half the package. The script library, USB permissions, adapter driver choices, Tcl integration, and packaged target definitions are what turn the binary into a usable hardware tool.
It also shows why embedded packages are unusually sensitive to version and build options: support for a specific probe, chip, flash driver, or board script can decide whether a firmware workflow works at all.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
openocd.cfg$(INSTALLDIR)/scripts可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
openocd | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:open-ocd |
|---|---|
| 版本 | 0.12.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/open-ocd |
| 主页 | https://openocd.org/ |
| 仓库 | https://github.com/openocd-org/openocd |
| 上游文档 | https://openocd.org/doc/html/index.html |
| 许可证 | GPL-2.0-or-later |
| 源码归档 | https://downloads.sourceforge.net/project/openocd/openocd/0.12.0/openocd-0.12.0.tar.bz2 |
| 依赖 | capstone, hidapi, libftdi, libusb |
| 构建依赖 | pkgconf |
| Bottle | 可用 (于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | open-ocd |
| Aliases |
|
| Version Scheme | 0 |
| Revision | 1 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
openocd
sudo port install openocdopenocd 0.12.0-3+b2
Open on-chip JTAG/SWD debug solution for embedded target devices
http://openocd.sourceforge.net/
sudo apt install openocdopenocd
nix profile install nixpkgs#openocdopenocd 0.12.0-1build2
Open on-chip JTAG/SWD debug solution for embedded target devices
http://openocd.sourceforge.net/
sudo apt install openocdopenocd 0.12.0-r7
Free and Open On-Chip Debugging, In-System Programming and Boundary-Scan Testing
sudo apk add openocdopenocd-dev 0.12.0-r7
Free and Open On-Chip Debugging, In-System Programming and Boundary-Scan Testing (development files)
sudo apk add openocd-devopenocd-doc 0.12.0-r7
Free and Open On-Chip Debugging, In-System Programming and Boundary-Scan Testing (documentation)
sudo apk add openocd-docopenocd-udev 0.12.0-r7
udev rules for openocd
sudo apk add openocd-udevopenocd 0.12.0-3.fc42.5
Debugging, in-system programming and boundary-scan testing for embedded devices
https://sourceforge.net/projects/openocd
sudo dnf install openocdopenocd 1:0.12.0-5
Debugging, in-system programming and boundary-scan testing for embedded target devices
sudo pacman -S openocdopenocd 0.12.0-2.11
Debugging, in-system programming and boundary-scan testing for embedded devices
http://openocd.sourceforge.net/
sudo zypper install openocdopenocd-data 0.12.0-2.11
Hardware Scripts for OpenOCD
http://openocd.sourceforge.net/
sudo zypper install openocd-datamain/openocd
scoop install main/openocd来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.