Using the TinyUSBboard as AVR programmer

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 software

Download the programming .hex file from the Matrixstorm website:

rev3_usbaspprogrammer.hex

(and safe it as rev3_usbaspprogrammer.hex)

Connect TinyUSBboard (rev.3 and the SMT rev.4) to usb

Browse in the terminal to rev3_usbaspprogrammer.hex.

Check with avrdude if the board is ready

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)

Load the programmer software

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)

Breadboard setup

(programming an ATmega328-PU)

2014-12-07 11.37.40.jpg


see also:

more programming with the TinyUSBboard as USBasp

and

program base board

Labels: TinyUSBboard

This page was last edited by BauweBijl on 2015/06/25 14:40:58.

Built with BGAEWiki by BauweBijl