Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
[fw/altos] / ao-tools / ao-cal-accel / ao-cal-accel.1
1 .\"
2 .\" Copyright © 2009 Keith Packard <keithp@keithp.com>
3 .\"
4 .\" This program is free software; you can redistribute it and/or modify
5 .\" it under the terms of the GNU General Public License as published by
6 .\" the Free Software Foundation; either version 2 of the License, or
7 .\" (at your option) any later version.
8 .\"
9 .\" This program is distributed in the hope that it will be useful, but
10 .\" WITHOUT ANY WARRANTY; without even the implied warranty of
11 .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12 .\" General Public License for more details.
13 .\"
14 .\" You should have received a copy of the GNU General Public License along
15 .\" with this program; if not, write to the Free Software Foundation, Inc.,
16 .\" 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
17 .\"
18 .\"
19 .TH AO-LOAD 1 "ao-cal-accel" ""
20 .SH NAME
21 ao-cal-accel \- Calibrate AltOS flight computer accelerometers
22 .SH SYNOPSIS
23 .B "ao-cal-accel"
24 [\-T \fItty-device\fP]
25 [\--tty \fItty-device\fP]
26 [\-D \fIaltos-device\fP]
27 [\--device \fIaltos-device\fP]
28 .SH DESCRIPTION
29 .I ao-cal-accel
30 drives the built-in accelerometer calibration and validates the results.
31 .SH OPTIONS
32 .TP
33 \-T tty-device | --tty tty-device
34 This selects which tty device the debugger uses to communicate with
35 the target device. The special name 'BITBANG' directs ao-dbg to use
36 the cp2103 connection, otherwise this should be a usb serial port
37 connected to a suitable cc1111 debug node.
38 .TP
39 \-D AltOS-device | --device AltOS-device
40 Search for a connected device. This requires an argument of one of the
41 following forms:
42 .IP
43 TeleMega:2
44 .br
45 TeleMega
46 .br
47 2
48 .IP
49 Leaving out the product name will cause the tool to select a suitable
50 product, leaving out the serial number will cause the tool to match
51 one of the available devices.
52 .SH USAGE
53 .I ao-cal-accel
54 opens the target device, executes the accelerometer calibration
55 command, verifies that it executed correctly, then shows the resulting
56 calibration values and saves them to configuration memory.
57 .SH AUTHOR
58 Keith Packard