The TinyUSBboard can be used as an AVR programmer.
We need to upload the programmer.hex to the board and after that it can be used as USBasp for programming.
Download the programming .hex file from the Matrixstorm website:
(and safe it as rev3_usbaspprogrammer.hex
)
Browse in the terminal to rev3_usbaspprogrammer.hex.
avrdude -c usbasp -p m8
Avrdude will show that the device is ready
(if not press the program button ... and while pressing the program button click on the reset button)
avrdude -c usbasp -p m8 -F -u -U flash:w:rev3_usbaspprogrammer.hex
Now the TinyUSBboard is ready to be used as USBasp programmer (with both Avrdude and the Arduino IDE)
(programming an ATmega328-PU)
see also:
more programming with the TinyUSBboard as USBasp
and
Labels: TinyUSBboard