-
Notifications
You must be signed in to change notification settings - Fork 12
Programming
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.)
TODO
- git
- make
- avrdude
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.
As your AVR now runs at 8 MHz you can change your programmer back to Fast programming.
make program
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