1 .TH "OPENOCD" "1" "November 24, 2009"
3 openocd \- A free and open on\-chip debugging, in\-system programming and
4 boundary\-scan testing tool for ARM and MIPS systems
6 .B openocd \fR[\fB\-fsdlcphv\fR] [\fB\-\-file\fR <filename>] [\fB\-\-search\fR <dirname>] [\fB\-\-debug\fR <debuglevel>] [\fB\-\-log_output\fR <filename>] [\fB\-\-command\fR <cmd>] [\fB\-\-pipe\fR] [\fB\-\-help\fR] [\fB\-\-version\fR]
9 is an on\-chip debugging, in\-system programming and boundary\-scan
10 testing tool for various ARM and MIPS systems.
12 The debugger uses an IEEE 1149\-1 compliant JTAG TAP bus master to access
13 on\-chip debug functionality available on ARM based microcontrollers or
14 system-on-chip solutions. For MIPS systems the EJTAG interface is supported.
16 User interaction is realized through a telnet command line interface,
17 a gdb (the GNU debugger) remote protocol server, and a simplified RPC
18 connection that can be used to interface with OpenOCD's Jim Tcl engine.
20 OpenOCD supports various different types of JTAG interfaces/programmers,
21 please check the \fIopenocd\fR info page for the complete list.
24 .B "\-f, \-\-file <filename>"
25 This is a shortcut for a \fB\-c "[script \fI<filename>\fB]"\fR
26 command, using a search path to load the configuration file
28 In order to specify multiple config files, you can use multiple
30 arguments. If no such \fB\-c\fR
31 options are included, the first config file
33 in the search path will be used.
35 .B "\-s, \-\-search <dirname>"
38 to the search path used for config files and scripts.
39 The search path begins with the current directory,
40 then includes these additional directories before other
41 components such as the standard OpenOCD script libraries.
43 .B "\-d, \-\-debug <debuglevel>"
44 Set debug level. Possible values are:
46 .RB " * " 0 " (errors)"
48 .RB " * " 1 " (warnings)"
50 .RB " * " 2 " (informational messages)"
52 .RB " * " 3 " (debug messages)"
57 .B "\-l, \-\-log_output <filename>"
58 Redirect log output to the file
60 Per default the log output is printed on
63 .B "\-c, \-\-command <cmd>"
66 to a list of commands executed on server startup.
67 Note that you will need to explicitly invoke
69 if the command requires access to a target or flash.
72 Use pipes when talking to gdb.
75 Show a help text and exit.
78 Show version information and exit.
80 Please report any bugs on the mailing list at
81 .BR openocd\-devel@lists.sourceforge.net .
84 is covered by the GNU General Public License (GPL), version 2 or later.
88 The full documentation for
90 is maintained as a Texinfo manual. If the
96 programs are properly installed at your site, the command
98 should give you access to the complete manual.
100 Please see the file AUTHORS.
102 This manual page was written by Uwe Hermann <uwe@hermann\-uwe.de>.
103 It is licensed under the terms of the GNU GPL (version 2 or later).