Debian Codegraph @

avrp.1

raw ◀ ▶
Source reconstructed at patch state 0 of 2 — not the installed (fully patched) source.
2 Debian patches touch this file
1 .TH avrp 1 "28 September 1998" "Version 1.0 beta 3"
2 .SH NAME
3 avrp \- Atmel AVR programming software to use with Atmel's serial-port programmers
4 .SH SYNOPSIS
5 .B avrp
6 [\-s <serial port>] [\-a <chip type>] [\-prv] [\-f <filename>] [\-e <filename>]
7 [\-d <deffile>] [\-l <lockmode>] [\-\-enable <fuse>] [\-\-disable <fuse>]
8 [\-\-version] [\-\-help] [\-qIh]
9 .SH DESCRIPTION
10 .B avrp
11 works on serial-port programmers which use Atmel's communication protocol
12 for serial-port programmers. These programmers can program AVR (and other)
13 chips both in serial and parallel mode.
14 .PP
15 These programmers are known:
16 AVR ICP \- Atmel In-circuit programmer
17 AVR PPR \- Atmel parallel programmer
18 AVR DEV \- Atmel development board
19 AVR A.G \- Parallel mode programmer by Adrian Godwin
20 .PP
21 Adrian Godwin's programmer can be found on http://www.fangorn.demon.co.uk
22 .PP
23 Instruction on how to build Atmel's in-circuit programmer can be found on
24 Atmel's homepage (http://www.atmel.com). Look for application note avr910
25 .PP
26 avrp is currently supporting these systems:
27 Linux
28 FreeBSD
29 AmigaOS
30 win32 (windows 95++ and NT)
31 .PP
32 The source-code part of Atmel's application note AVR910 was used to determine
33 how to communicate with these programmers.
34 .PP
35 .SH OPTIONS
36 Several option can be given after one '\-', but if an option requires an
37 argument; the argument must be given after that option.
38 .IP "\-s <serial port>"
39 Specifies which serial port to talk through. This option can be avoided if you
40 set the environment variable AVRP_SERIALPORT
41 .IP "\-a <chip type>"
42 Specifies what kind of chip to talk to. Use '-a list' for chip type to get a list
43 of supported devices. You can use the shortest possible abbreviation to
44 identify a chip. This option can be avoided if you set the environment variable
45 AVRP_AVRTYPE
46 .IP \-p
47 Program a chip \-f <filename> and/or \-e <filename> must be specified to determine
48 which files to read from. (\-f specifes flash, and \-e eeprom)
49 .IP \-r
50 Read a chip \-f <filename> and/or \-e <filename> must be specified to determine
51 which files to write to. (\-f specifes flash, and \-e eeprom)
52 .IP \-v
53 Verify. Performs a standalone verify. (The program function will always do a
54 inline verify) \-f <filename> and/or \-e <filename> must be specified to determine
55 which files to read from. (\-f specifes flash, and \-e eeprom)
56 .IP "\-f <filename>"
57 Specifies which flash-file to read/write. Supportet formats are Intel HEX and
58 Atmel's generic fileformat.
59 .IP "\-e <filename>"
60 Specifies which eeprom-file to read/write. Supportet formats are Intel HEX and
61 Atmel's generic fileformat.
62 .IP "\-l <lockmode>"
63 Specifies lockmode to progam into the chip. Use '-l list' to get a list of
64 possible lockmodes.
65 .IP \-q
66 Quiet. Don't write any progress information. Will speed up programming.
67 .IP "\-d <deffile>"
68 Specifies the path and filename of avrp.def if default location is not possible.
69 Can also be set with the environment variable AVRP_DEFFILE
70 .IP \-I
71 Ignores the signature in the chip. This is very useful if the signature in the
72 chip have been destroyed in some way.
73 .IP "\-\-enable <fuses>"
74 Enables specified fuses.
75 .IP "\-\-disable <fuses>"
76 Disables specified fuses.
77 .IP "\-\-autoinc"
78 You can use this to speed up programming on newer programmer firmware.
79 .IP \-\-version
80 Print out version information.
81 .IP "\-\-help \-h"
82 Print out a short help text.
83 .SH FILES
84 .I /usr/local/etc/avrp.def
85 .RS
86 Definition file
87 .RE
88 .SH ENVIRONMENT
89 .IP AVRP_SERIALPORT
90 Specifies which serial port to use.
91 .IP AVRP_AVRTYPE
92 Specifies chip to talk to.
93 .IP AVRP_DEFFILE
94 Specifies the location of avrp.def
95 .SH EXAMPLES
96 Print out information on the programmer:
97 avrp \-s /dev/ttyS1
98
99 Same as above, but also give information on the inserted chip:
100 avrp \-s /dev/ttyS1 \-a AT90S1200-D/E/F
101
102 Program a chip (flash only, and using a short chip-descriptor):
103 avrp \-s /dev/ttyS1 \-a 1200-d \-p \-f avr910.rom
104
105 Read a chip (flash and eeprom, AVRP_SERIALPORT is set):
106 avrp \-a 8515 \-rf test.hex \-e test.eep.hex
107 .SH COPYRIGHT
108 Copyright (C) 1997-1998 Jon Anders Haugum
109
110 This program is free software; you can redistribute it and/or modify
111 it under the terms of the GNU General Public License as published by
112 the Free Software Foundation; either version 2 of the License, or
113 (at your option) any later version.
114
115 This program is distributed in the hope that it will be useful,
116 but WITHOUT ANY WARRANTY; without even the implied warranty of
117 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
118 GNU General Public License for more details.
119
120 You should have received a copy of the GNU General Public License
121 along with this program; see the file COPYING. If not, write to
122 the Free Software Foundation, Inc., 59 Temple Place \- Suite 330,
123 Boston, MA 02111-1307, USA.
124 .SH AUTHOR
125 Jon Anders Haugum <[email protected]>