Mention STK500 support.

git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@166 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
Brian S. Dean 2002-12-03 03:54:32 +00:00
parent 9b3fc75405
commit 3e44abacfd
1 changed files with 28 additions and 18 deletions

View File

@ -53,34 +53,42 @@
.Op Fl Y .Op Fl Y
.Sh DESCRIPTION .Sh DESCRIPTION
.Nm Avrprog .Nm Avrprog
is a driver program for a simple programming hardware that allows one is a program for downloading code and data to Atmel AVR
to program Atmel AVR microcontrollers, where the programmer is microcontrollers.
connected directly to a .Nm Avrprog
supports Atmel's STK500 programmer as well as a simple hard-wired
programmer connected directly to a
.Xr ppi 4 .Xr ppi 4
parallel port. In the simplest case, the hardware consists just of a parallel port. In the simplest case, the hardware consists just of a
cable, connecting the respective AVR signal lines to the parallel port. cable connecting the respective AVR signal lines to the parallel port.
.Pp .Pp
The MCU is programmed in The MCU is programmed in
.Em serial programming mode , .Em serial programming mode ,
so the MCU signals so, for the
.Xr ppi 4
based programmer, the MCU signals
.Ql /RESET , .Ql /RESET ,
.Ql SCK , .Ql SCK ,
.Ql MISO .Ql MISO
and and
.Ql MOSI .Ql MOSI
need to be connected to the parallel port. Optionally, some otherwise need to be connected to the parallel port. Optionally, some otherwise
unused output pins of the parallel port can be used to supply power for unused output pins of the parallel port can be used to supply power
the MCU part, so it is also possible to construct a passive standalone for the MCU part, so it is also possible to construct a passive
programming device. standalone programming device. Some status LEDs indicating the
Some status LEDs indicating the current operating state of the current operating state of the programmer can be connected, and a
programmer can be connected, and a signal is available to control a signal is available to control a buffer/driver IC 74LS367 (or
buffer/driver IC 74LS367 (or 74HCT367). The latter can be useful to 74HCT367). The latter can be useful to decouple the parallel port
decouple the parallel port from the MCU when in-system programming is from the MCU when in-system programming is used.
used.
.Pp .Pp
See the file See the file
.Pa ${PREFIX}/share/doc/avrprog/avrprog.pdf .Pa ${PREFIX}/share/doc/avrprog/avrprog.pdf
for a schematic of the programming hardware. for a schematic of the
.Xr ppi 4
based programming hardware.
.Pp
Atmel's STK500 programmer is also supported and connects to a serial
port.
.Pp .Pp
Input files can be provided, and output files can be written in Input files can be provided, and output files can be written in
different file formats, such as raw binary files containing the data different file formats, such as raw binary files containing the data
@ -287,13 +295,15 @@ memory area to be read from the MCU. Can be specified as
.Ql \&- .Ql \&-
to write to to write to
.Em stdout . .Em stdout .
.It Fl P Ar parallel .It Fl P Ar port
Use Use
.Ar parallel .Ar port
as the as the
.Xr ppi 4 .Xr ppi 4
device to communicate with, instead of the default device to communicate with, instead of the default
.Pa /dev/ppi0 . .Pa /dev/ppi0 .
If you are using the STK500 programmer, use this option to specify
which serial port to use.
.It Fl t .It Fl t
Tells Tells
.Nm .Nm
@ -399,9 +409,9 @@ ll.
default device to be used for communication with the programming default device to be used for communication with the programming
hardware hardware
.It Pa ${PREFIX}/etc/avrprog.conf.sample .It Pa ${PREFIX}/etc/avrprog.conf.sample
sample pin configuration file sample programmer and parts configuration file
.It Pa ${PREFIX}/etc/avrprog.conf .It Pa ${PREFIX}/etc/avrprog.conf
default pin configuration file default programmer and parts configuration file
.It Pa ~/.inputrc .It Pa ~/.inputrc
Initialization file for the Initialization file for the
.Xr readline 3 .Xr readline 3