File: avrp.txt

package info (click to toggle)
avrp 1.0beta3-1
  • links: PTS
  • area: main
  • in suites: slink
  • size: 204 kB
  • ctags: 193
  • sloc: ansic: 2,462; makefile: 41; perl: 6
file content (162 lines) | stat: -rw-r--r-- 5,862 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
NAME
       avrp  - Atmel AVR programming software to use with Atmel's
       serial-port programmers

SYNOPSIS
       avrp [-s <serial port>] [-a <chip type>] [-prv] [-f <file-
       name>]   [-e  <filename>]  [-d  <deffile>] [-l <lockmode>]
       [--enable <fuse>] [--disable <fuse>] [--version]  [--help]
       [-qIh]

DESCRIPTION
       avrp  works  on  serial-port programmers which use Atmel's
       communication protocol for serial-port programmers.  These
       programmers  can  program  AVR  (and  other) chips both in
       serial and parallel mode.

       These programmers are known:
           AVR ICP - Atmel In-circuit programmer
           AVR PPR - Atmel parallel programmer
           AVR DEV - Atmel development board
           AVR A.G - Parallel mode programmer by Adrian Godwin

       Adrian Godwin's programmer can be found on http://www.fan-
       gorn.demon.co.uk

       Instruction  on how to build Atmel's in-circuit programmer
       can be found on Atmel's  homepage  (http://www.atmel.com).
       Look for application note avr910

       avrp is currently supporting these systems:
           Linux
           FreeBSD
           AmigaOS
           win32 (windows 95++ and NT)

       The  source-code  part  of Atmel's application note AVR910
       was used to determine how to communicate with  these  pro-
       grammers.

OPTIONS
       Several  option  can  be  given  after  one '-', but if an
       option requires an argument; the argument  must  be  given
       after that option.

       -s <serial port>
              Specifies  which serial port to talk through.  This
              option can be avoided if you  set  the  environment
              variable AVRP_SERIALPORT

       -a <chip type>
              Specifies  what  kind  of chip to talk to.  Use '-a
              list' for chip type to  get  a  list  of  supported
              devices.    You   can  use  the  shortest  possible
              abbreviation to identify a chip.  This  option  can
              be  avoided  if  you  set  the environment variable
              AVRP_AVRTYPE

       -p     Program a chip -f <filename> and/or  -e  <filename>
              must  be specified to determine which files to read
              from.  (-f specifes flash, and -e eeprom)

       -r     Read a chip -f <filename> and/or -e <filename> must
              be  specified to determine which files to write to.
              (-f specifes flash, and -e eeprom)

       -v     Verify.  Performs a standalone verify.   (The  pro-
              gram  function  will  always do a inline verify) -f
              <filename> and/or -e <filename> must  be  specified
              to   determine  which  files  to  read  from.   (-f
              specifes flash, and -e eeprom)

       -f <filename>
              Specifies which  flash-file  to  read/write.   Sup-
              portet  formats  are  Intel HEX and Atmel's generic
              fileformat.

       -e <filename>
              Specifies which eeprom-file  to  read/write.   Sup-
              portet  formats  are  Intel HEX and Atmel's generic
              fileformat.

       -l <lockmode>
              Specifies lockmode to progam into the chip. Use '-l
              list' to get a list of possible lockmodes.

       -q     Quiet.  Don't write any progress information.  Will
              speed up programming.

       -d <deffile>
              Specifies the path  and  filename  of  avrp.def  if
              default  location is not possible.  Can also be set
              with the environment variable AVRP_DEFFILE

       -I     Ignores the signature in the  chip.  This  is  very
              useful  if  the  signature  in  the  chip have been
              destroyed in some way.

       --enable <fuses>
              Enables specified fuses.

       --disable <fuses>
              Disables specified fuses.

       --autoinc
              You can use this to speed up programming  on  newer
              programmer firmware.
       --version
              Print out version information.

       --help -h
              Print out a short help text.

FILES
       /usr/local/etc/avrp.def
              Definition file

ENVIRONMENT
       AVRP_SERIALPORT
              Specifies which serial port to use.

       AVRP_AVRTYPE
              Specifies chip to talk to.

       AVRP_DEFFILE
              Specifies the location of avrp.def

EXAMPLES
       Print out information on the programmer:
          avrp -s /dev/ttyS1

       Same  as  above, but also give information on the inserted
       chip:
          avrp -s /dev/ttyS1 -a AT90S1200-D/E/F

       Program a chip  (flash  only,  and  using  a  short  chip-
       descriptor):
          avrp -s /dev/ttyS1 -a 1200-d -p -f avr910.rom

       Read a chip (flash and eeprom, AVRP_SERIALPORT is set):
          avrp -a 8515 -rf test.hex -e test.eep.hex

COPYRIGHT
       Copyright (C) 1997-1998 Jon Anders Haugum

       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; see the file COPYING.  If
       not,  write to the Free Software Foundation, Inc., 59 Tem-
       ple Place - Suite 330, Boston, MA 02111-1307, USA.
AUTHOR
       Jon Anders Haugum <jonah@colargol.tihlde.hist.no>