Skip to content
debaal edited this page Feb 9, 2015 · 3 revisions

To program the SolderingIron you will need a programmer. We use the open source programmer usbasp by Thomas Fischl. On the Software side we base on the Linux tool chain. (If your running an other Operating System you could work from a Live-Image like KNOPPIX.)

Software Setup

TODO

  • git
  • make
  • avrdude

Initial Setup

When programming the AVR the very first time you have to flash the correct FUSE-Bits to set the CPU-Clock to 8 MHz. Therefore set the Jumper/Switch on your Programmer to Slow programming. Open a Terminal Window and change the working directory to a place were you want to store the code. After that run the following commands.

git clone https://github.com/debaal/SolderingIron.git
cd Firmware/build/
make fuses

If a message appears which asks you whether you want to change FUSES back - select no! It worked all right if you continue with the next section and no error appears.

Programming

As your AVR now runs at 8 MHz you can change your programmer back to Fast programming.

make program

Unit-Tests

If you like to run one of our software tests (eg. test-display.c) you could do so with

TARGET=tests/test-display make program
Clone this wiki locally