Eliminate SiRF state values from ao-view.
[fw/altos] / ao-tools / ao-load / ao-load.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-load" ""
20 .SH NAME
21 ao-load \- flash a program to a AltOS device
22 .SH SYNOPSIS
23 .B "ao-load"
24 [\-T \fItty-device\fP]
25 [\--tty \fItty-device\fP]
26 [\-D \fIaltos-device\fP]
27 [\--device \fIaltos-device\fP]
28 \fIfile.ihx\fP
29 \fIdevice serial number\fP
30 .SH DESCRIPTION
31 .I ao-load
32 loads the specified .ihx file into the target device flash memory,
33 customizing the AltOS image with the specified serial number.
34 .SH OPTIONS
35 .TP
36 \-T tty-device | --tty tty-device
37 This selects which tty device the debugger uses to communicate with
38 the target device. The special name 'BITBANG' directs ao-dbg to use
39 the cp2103 connection, otherwise this should be a usb serial port
40 connected to a suitable cc1111 debug node.
41 .TP
42 \-D AltOS-device | --device AltOS-device
43 Search for a connected device. This requires an argument of one of the
44 following forms:
45 .IP
46 TeleMetrum:2
47 .br
48 TeleMetrum
49 .br
50 2
51 .IP
52 Leaving out the product name will cause the tool to select a suitable
53 product, leaving out the serial number will cause the tool to match
54 one of the available devices.
55 .SH USAGE
56 .I ao-load
57 reads the specified .ihx file into memory, locates the matching .map
58 file and edits the image to customize it using the specified serial
59 number. It then connects to the specified target device and writes the
60 program to the target device flash memory.
61 .SH AUTHOR
62 Keith Packard