AVR-Programmieradapter: Difference between revisions

From Chaosdorf Wiki
m (moved AVR programmers to AVR-Programmieradapter: aus Gründen)
(pics)
Line 1: Line 1:
[[File:r0ket flash spi.jpg|right|thumb|Flashing a Fnordlicht SMD via ISP]]
[[File:r0ket flash spi adap.jpg|right|thumb|r0ket <-> ISP adapter]]
[[File:r0ket flash avr.jpg|right|thumb|r0ket <-> ATTiny2313 adapter]]
  m0dul A6 -> RST
  m0dul A6 -> RST
  m0dul A8 -> SCK
  m0dul A8 -> SCK
Line 8: Line 12:
See [https://github.com/penma/r0ket/commit/6630ac49 firmware and avrdude patch] by penma.
See [https://github.com/penma/r0ket/commit/6630ac49 firmware and avrdude patch] by penma.


== Patch für avrdude ==
== Patch for avrdude ==


Works for avrdude 5.11.1. For example:
Works for avrdude 5.11.1. For example:
Line 23: Line 27:


  ./avrdude -P /dev/ttyACM0 -c r0ket ''usual options''
  ./avrdude -P /dev/ttyACM0 -c r0ket ''usual options''
== Adapters ==
So far we have r0ket <-> 10pin ISP and r0ket <-> ATtiny2313. They are stored on the Mikrofoo stack next to the soldering iron.


[[Category:Mikrofoo]]
[[Category:Mikrofoo]]

Revision as of 01:47, 3 March 2012

Flashing a Fnordlicht SMD via ISP
r0ket <-> ISP adapter
r0ket <-> ATTiny2313 adapter
m0dul A6 -> RST
m0dul A8 -> SCK
m0dul B6 -> MOSI
m0dul B8 -> MISO
m0dul A5/B5 -> GND
m0dul A12/B12 -> VCC

See firmware and avrdude patch by penma.

Patch for avrdude

Works for avrdude 5.11.1. For example:

apt-get source avrdude
cd avrdude-5.11.1
patch -p1 < .../avrdude-r0ket.diff
autoreconf
./configure
make
sudo make install # or set config file when invoking avrdude

Usage

./avrdude -P /dev/ttyACM0 -c r0ket usual options

Adapters

So far we have r0ket <-> 10pin ISP and r0ket <-> ATtiny2313. They are stored on the Mikrofoo stack next to the soldering iron.