Add a schematic provided by Joerg Wunch and also update the manual

page (also updated by Joerg) to reference the schematic.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@63 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
Brian S. Dean 2001-04-25 22:35:14 +00:00
parent d7345c439f
commit 7c72f57373
3 changed files with 43 additions and 2 deletions

BIN
avrdude/AVRprog.pdf Normal file

Binary file not shown.

View File

@ -10,6 +10,9 @@ PREFIX ?= /usr/local
BINDIR = ${PREFIX}/bin BINDIR = ${PREFIX}/bin
MANDIR = ${PREFIX}/man/man1 MANDIR = ${PREFIX}/man/man1
MANUAL = avrprog.1 MANUAL = avrprog.1
DOCDIR = ${PREFIX}/share/doc/avrprog
DIRS = ${BINDIR} ${MANDIR} ${DOCDIR}
INSTALL = /usr/bin/install -c -o root -g wheel INSTALL = /usr/bin/install -c -o root -g wheel
@ -36,7 +39,16 @@ ${TARGET} : ${OBJS}
clean : clean :
rm -f *~ *.core ${TARGET} *.o rm -f *~ *.core ${TARGET} *.o
install : ${BINDIR}/${TARGET} ${MANDIR}/${MANUAL} install : dirs ${BINDIR}/${TARGET} ${MANDIR}/${MANUAL} ${DOCDIR}/AVRprog.pdf
dirs :
@for dir in ${DIRS}; do \
if [ ! -d $$dir ]; then \
echo "creating directory $$dir"; \
mkdir -p $$dir; \
fi \
done
${BINDIR}/${TARGET} : ${TARGET} ${BINDIR}/${TARGET} : ${TARGET}
${INSTALL_PROGRAM} ${TARGET} ${BINDIR} ${INSTALL_PROGRAM} ${TARGET} ${BINDIR}
@ -44,3 +56,6 @@ ${BINDIR}/${TARGET} : ${TARGET}
${MANDIR}/${MANUAL} : ${MANUAL} ${MANDIR}/${MANUAL} : ${MANUAL}
${INSTALL_MANUAL} ${MANUAL} ${MANDIR} ${INSTALL_MANUAL} ${MANUAL} ${MANDIR}
${DOCDIR}/AVRprog.pdf : AVRprog.pdf
${INSTALL_DATA} AVRprog.pdf ${DOCDIR}/AVRprog.pdf

View File

@ -65,6 +65,15 @@ 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 for
the MCU part, so it is also possible to construct a passive standalone the MCU part, so it is also possible to construct a passive standalone
programming device. programming device.
Some status LEDs indicating the current operating state of the
programmer can be connected, and a signal is available to control a
buffer/driver IC 74LS367 (or 74HCT367). The latter can be useful to
decouple the parallel port from the MCU when in-system programming is
used.
.Pp
See the file
.Pa ${PREFIX}/share/doc/avrprog/AVRprog.pdf
for a schematic of the programming hardware.
.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
@ -270,6 +279,22 @@ Give a short on-line summary of the available commands.
Leave terminal mode and thus Leave terminal mode and thus
.Nm avrprog . .Nm avrprog .
.El .El
.Ss Parallel port pin connections
.TS
ll.
\fBPin number\fP \fBFunction\fP
1 LED (write or verify error)
2-5 Vcc (optional power supply to MCU)
6 /ENABLE (optional for '367 buffer/driver)
7 /RESET (to MCU)
8 SCK (to MCU)
9 MOSI (to MCU)
10 MISO (from MCU)
14 LED (ready)
16 LED (programming)
17 LED (verifying)
18-25 GND
.TE
.Sh FILES .Sh FILES
.Bl -tag -offset indent -width /dev/ppi0XXX .Bl -tag -offset indent -width /dev/ppi0XXX
.It Pa /dev/ppi0 .It Pa /dev/ppi0
@ -279,6 +304,8 @@ hardware
Initialization file for the Initialization file for the
.Xr readline 3 .Xr readline 3
library library
.It Pa ${PREFIX}/share/doc/avrprog/AVRprog.pdf
Schematic of programming hardware
.El .El
.\" .Sh EXAMPLES .\" .Sh EXAMPLES
.\" .Sh DIAGNOSTICS .\" .Sh DIAGNOSTICS
@ -301,4 +328,3 @@ This man page by
.el Joerg Wunsch. .el Joerg Wunsch.
.Sh BUGS .Sh BUGS
Motorola S-record files are not yet implemented. Motorola S-record files are not yet implemented.