On Mon, Sep 9, 2013 at 3:23 PM, Tony Duell <ard at p850ug1.demon.co.uk> wrote:
100 lines of C
on an ATMEL AVR. It installs between the drives and the
But to built the AVR solution you need the C compiler
avr-gcc
something that can run the C compiler
I don't know the specific minimum specs for what can run avr-gcc, but
it's entirely within the ability of a Raspberry Pi, so an 800MHz 32-bit
CPU with 512MB of RAM is "enough". Don't know how far down (or
old) you can take it.
the AVR programmer (or JTAG cable, perhaps),
something
to run the software for that, etc.
You can build an ICSP cable that attaches to a PC parallel port,
or a different one (PonyProg) that attaches to a serial port, with
the right connector (DB25 or DE9) and some passives, or you
can spend $22 (plus some shipping), U.S. cost, for a USBtinyISP
that can also be used to load bootloaders or do bare-metal
programming on dozens of models of AVR MCU. The machine
that can run the C compiler can also run avrdude, so you don't
need a special machine or specific OS.
Rather more than just a soldering iron.
(which you need anyway to built the board with the AVR on it).
If you can read this message, it's likely that you already have
a computer that has a text editor to edit code and enough
resources to run the C compiler and the programmer. It's
*possible* to read this message without that, but it's
unlikely.
Anything can be made more difficult than it has to be. My
strawman can set fire to your strawman.
-ethan