Try to follow this tutorial:http://pdp11.byethost12.com/AVR/ArduinoAsProgrammer.htmIt allows you to program any target AVR directely with any code you want, ex. "blink a led". You do not really need to write a bootloader on the chip, first.