75 lines
2.4 KiB
Groff
75 lines
2.4 KiB
Groff
.\"
|
|
.\" Copyright © 2009 Keith Packard <keithp@keithp.com>
|
|
.\"
|
|
.\" This program is free software; you can redistribute it and/or modify
|
|
.\" it under the terms of the GNU General Public License as published by
|
|
.\" the Free Software Foundation; either version 2 of the License, or
|
|
.\" (at your option) any later version.
|
|
.\"
|
|
.\" This program is distributed in the hope that it will be useful, but
|
|
.\" WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
.\" General Public License for more details.
|
|
.\"
|
|
.\" You should have received a copy of the GNU General Public License along
|
|
.\" with this program; if not, write to the Free Software Foundation, Inc.,
|
|
.\" 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
|
|
.\"
|
|
.\"
|
|
.TH AO-LOAD 1 "ao-cal-freq" ""
|
|
.SH NAME
|
|
ao-cal-freq \- Calibrate AltOS flight computer frequency
|
|
.SH SYNOPSIS
|
|
.B "ao-cal-freq"
|
|
[\-T \fItty-device\fP]
|
|
[\--tty \fItty-device\fP]
|
|
[\-D \fIaltos-device\fP]
|
|
[\--device \fIaltos-device\fP]
|
|
[\-v] [\--verbose]
|
|
[\-n] [\--nosave]
|
|
[\-o \fIcal-value-output-file\fP]
|
|
[\--output \fIcal-value-output-file\fP]
|
|
.SH DESCRIPTION
|
|
.I ao-cal-freq
|
|
drives the frequency calibration process and saves the result.
|
|
.SH OPTIONS
|
|
.TP
|
|
\-T tty-device | --tty tty-device
|
|
This selects which tty device the debugger uses to communicate with
|
|
the target device. The special name 'BITBANG' directs ao-dbg to use
|
|
the cp2103 connection, otherwise this should be a usb serial port
|
|
connected to a suitable cc1111 debug node.
|
|
.TP
|
|
\-D AltOS-device | --device AltOS-device
|
|
Search for a connected device. This requires an argument of one of the
|
|
following forms:
|
|
.IP
|
|
TeleMega:2
|
|
.br
|
|
TeleMega
|
|
.br
|
|
2
|
|
.IP
|
|
Leaving out the product name will cause the tool to select a suitable
|
|
product, leaving out the serial number will cause the tool to match
|
|
one of the available devices.
|
|
.TP
|
|
\-o cal-value-output-file | --output cal-value-output-file
|
|
Writes the resulting calibration value to the specified file.
|
|
.TP
|
|
\-n | --nosave
|
|
Inhibits saving the calibration value on the device. Necessary for
|
|
devices which don't have on-board configuration storage.
|
|
.TP
|
|
\-v | --verbose
|
|
Makes
|
|
.I ao-cal-freq
|
|
chatty about communication with the target device.
|
|
.SH USAGE
|
|
.I ao-cal-freq
|
|
opens the target device, interactively calibrates the frequency, then
|
|
shows the resulting calibration values and (optionally) saves them to
|
|
configuration memory and/or a file.
|
|
.SH AUTHOR
|
|
Keith Packard
|