BSD Ports

devel/openocd 0.12.0_5 DragonFly

Open On-Chip Debugger

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
GPLv2
Categories
devel
Package size
1539.5 KiB, 5327.8 KiB installed

Description

The Open On-Chip Debugger (OpenOCD) aims to provide debugging, in-system programming and boundary-scan testing for embedded target devices. OpenOCD uses a "hardware interface dongle" to communicate with the JTAG (IEEE 1149.1) compliant taps on your target board. OpenOCD currently supports many types of hardware dongles: USB based, parallel port based, and other standalone boxes that run OpenOCD internally. It allows MIPS, ARM7, ARM9, XScale and Cortex based cores to be debugged via the GDB protocol. Flash writing is supported for external CFI compatible NOR flashes, NAND and several internal flashes.

In the other systems

SystemPortVersion
DragonFlydevel/openocd0.12.0_5
FreeBSDdevel/openocd0.12.0_5
OpenBSDdevel/openocd0.12.0
NetBSDdevel/openocd0.12.0nb1

Install

Binary package:

pkg install openocd

From DPorts:

cd /usr/dports/devel/openocd && make install clean

Dependencies

Run dependencies 3

No port depends on this one.

Configuration

No options to configure.

Service scripts
none

Message after installing

OpenOCD is now installed, this software can damage your hardware, enjoy!

User's guide is at:
 http://openocd.sourceforge.net/documentation/online-docs/
Developer's guide is at:
 http://openocd.sourceforge.net/documentation/openocd-reference-manual/

FreeBSD USB NOTE:
 To allow an ordinary user to acces any of the the hotplug USB interface
 add him/her to the operator group  (pw groupmod operator -m username), then
 setup the devfs subsystem by adding these lines to the following files:

 ***/etc/devfs.rules:
 [localrules=10]
        add path 'ugen*' mode 0660 group operator
        add path 'usb/*'  mode 0660 group operator
        add path 'usb' mode 0770 group operator

 ***/etc/rc.conf:
	devfs_system_ruleset="localrules"