2008-02-28 13:04:49 +00:00
|
|
|
.TH "OPENOCD" "1" "February 28, 2008"
|
2007-06-14 09:47:00 +00:00
|
|
|
.SH "NAME"
|
|
|
|
openocd \- A free and open on\-chip debugging, in\-system programming and
|
2008-02-28 13:04:49 +00:00
|
|
|
boundary\-scan testing tool for ARM systems
|
2007-06-14 09:47:00 +00:00
|
|
|
.SH "SYNOPSIS"
|
2008-02-28 13:04:49 +00:00
|
|
|
.B openocd \fR[\fB\-fdlh\fR] [\fB\-\-file\fR <filename>] [\fB\-\-debug\fR <debuglevel>] [\fB\-\-log_output\fR <filename>] [\fB\-\-help\fR]
|
2007-06-14 09:47:00 +00:00
|
|
|
.SH "DESCRIPTION"
|
|
|
|
.B OpenOCD
|
|
|
|
is an on\-chip debugging, in\-system programming and boundary\-scan
|
|
|
|
testing tool for ARM systems.
|
|
|
|
.PP
|
|
|
|
The debugger uses an IEEE 1149\-1 compliant JTAG TAP bus master to access
|
2008-02-28 13:04:49 +00:00
|
|
|
on\-chip debug functionality available on ARM7/9, XScale, Cortex-M3, and
|
|
|
|
Marvell Feroceon (as found in the Orion SoC family) based
|
2007-06-14 09:47:00 +00:00
|
|
|
microcontrollers / system\-on\-chip solutions.
|
|
|
|
.PP
|
|
|
|
User interaction is realized through a telnet command line interface and
|
|
|
|
a gdb (the GNU debugger) remote protocol server.
|
|
|
|
.PP
|
2008-02-28 13:04:49 +00:00
|
|
|
OpenOCD supports various different types of JTAG interfaces/programmers,
|
|
|
|
please check the README for the complete list.
|
2007-06-14 09:47:00 +00:00
|
|
|
.SH "OPTIONS"
|
|
|
|
.TP
|
|
|
|
.B "\-f, \-\-file <filename>"
|
|
|
|
Use configuration file
|
|
|
|
.BR <filename> .
|
|
|
|
If this option is omitted, the config file
|
|
|
|
.B openocd.cfg
|
|
|
|
in the current working directory will be used.
|
|
|
|
.TP
|
|
|
|
.B "\-d, \-\-debug <debuglevel>"
|
|
|
|
Set debug level. Possible values are:
|
|
|
|
.br
|
|
|
|
.RB " * " 0 " (errors)"
|
|
|
|
.br
|
|
|
|
.RB " * " 1 " (warnings)"
|
|
|
|
.br
|
|
|
|
.RB " * " 2 " (informational messages)"
|
|
|
|
.br
|
|
|
|
.RB " * " 3 " (debug messages)"
|
|
|
|
.br
|
|
|
|
The default level is
|
|
|
|
.BR 2 .
|
|
|
|
.TP
|
|
|
|
.B "\-l, \-\-log_output <filename>"
|
|
|
|
Redirect log output to the file
|
|
|
|
.BR <filename> .
|
|
|
|
Per default the log output is printed on
|
|
|
|
.BR stderr .
|
|
|
|
.TP
|
|
|
|
.B "\-h, \-\-help"
|
|
|
|
Show a help text and exit.
|
|
|
|
.\".TP
|
|
|
|
.\".B "\-v, \-\-version"
|
|
|
|
.\"Show version information and exit.
|
|
|
|
.SH "BUGS"
|
|
|
|
Please report any bugs at
|
|
|
|
.B http://developer.berlios.de/bugs/?group_id=4148
|
|
|
|
or on the mailing list
|
|
|
|
.BR openocd\-development@lists.berlios.de .
|
|
|
|
.SH "LICENCE"
|
|
|
|
.B OpenOCD
|
|
|
|
is covered by the GNU General Public License (GPL), version 2 or later.
|
|
|
|
.SH "SEE ALSO"
|
2007-07-26 09:34:49 +00:00
|
|
|
.BR jtag (1)
|
2007-06-14 09:47:00 +00:00
|
|
|
.SH "AUTHORS"
|
2008-02-28 13:04:49 +00:00
|
|
|
Please see the file AUTHORS.
|
2007-06-14 09:47:00 +00:00
|
|
|
.PP
|
|
|
|
This manual page was written by Uwe Hermann <uwe@hermann\-uwe.de>.
|
2008-02-28 13:04:49 +00:00
|
|
|
It is licensed under the terms of the GNU GPL (version 2 or later).
|