- ramble a bit about programming various arduino devices with avrdude
prompted by a mail from mark peoples ok ckuethe@ (MAINTAINER)
This commit is contained in:
parent
1552f48bdc
commit
d8a6a9ff88
@ -1,9 +1,10 @@
|
||||
# $OpenBSD: Makefile,v 1.13 2010/11/15 19:45:56 espie Exp $
|
||||
# $OpenBSD: Makefile,v 1.14 2010/12/12 20:20:56 jasper Exp $
|
||||
|
||||
COMMENT= AVR microcontroller hardware in-system programmer
|
||||
|
||||
V= 5.10
|
||||
DISTNAME= avrdude-${V}
|
||||
REVISION= 0
|
||||
DISTFILES+= avrdude-${V}.tar.gz avrdude-doc-${V}.pdf
|
||||
CATEGORIES= devel
|
||||
|
||||
|
@ -3,9 +3,4 @@ CPU's. It can program the Flash and EEPROM, and where supported by the
|
||||
serial programming protocol, it can program fuse and lock bits. AVRDUDE
|
||||
also supplies a direct instruction mode allowing one to issue any
|
||||
programming instruction to the AVR chip regardless of whether AVRDUDE
|
||||
implements that specific feature of a particular chip.
|
||||
|
||||
If you're planning on programming *duino devices with avrdude, you'll want
|
||||
to invoke it something like this:
|
||||
|
||||
avrdude -b19200 -P /dev/cuaU0 -c arduino -p atmega168 -U flash:w:blink.hex
|
||||
implements that specific feature of a particular chip.
|
||||
|
@ -1,8 +1,9 @@
|
||||
@comment $OpenBSD: PLIST,v 1.5 2010/06/27 20:39:33 ckuethe Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.6 2010/12/12 20:20:56 jasper Exp $
|
||||
@bin bin/avrdude
|
||||
@man man/man1/avrdude.1
|
||||
share/doc/avrdude/
|
||||
share/doc/avrdude/avrdude-doc-5.10.pdf
|
||||
share/doc/pkg-readmes/${FULLPKGNAME}
|
||||
share/examples/avrdude/
|
||||
share/examples/avrdude/avrdude.conf
|
||||
@sample ${SYSCONFDIR}/avrdude.conf
|
||||
|
17
devel/avrdude/pkg/README
Normal file
17
devel/avrdude/pkg/README
Normal file
@ -0,0 +1,17 @@
|
||||
$OpenBSD: README,v 1.1 2010/12/12 20:20:56 jasper Exp $
|
||||
|
||||
Running AVRDUDE on OpenBSD
|
||||
==========================
|
||||
|
||||
Programming Arduio devices:
|
||||
---------------------------
|
||||
If you're planning on programming *duino devices (with an FTDI chip)
|
||||
using avrdude, you'll want to invoke it something like this:
|
||||
|
||||
avrdude -b19200 -P /dev/cuaU0 -c arduino -p m328p -U flash:w:blink.hex
|
||||
|
||||
Or replace 'm328p' if your board doesn't have an ATmega328p chip, but an
|
||||
ATmega168 chip (which is the case with Diecimila boards).
|
||||
|
||||
For the Uno and newer boards, a baudrate of 115200 needs to be used to
|
||||
program the device.
|
Loading…
x
Reference in New Issue
Block a user