AVR ISP Programmer
Program classic AVR microcontrollers (ATtiny, ATmega, AT90, 175 types) over their ISP header with a USBasp or a USBtinyISP. Write BIN and HEX files, erase the chip and set fuses and lock bits, with every fuse field explained.
Firmware
Choose Flash firmware and select the programmer. The chip is erased, the firmware written and verified, as avrdude -U flash:w does.
Fuses and lock bits
Read the chip info first; the fields of its fuses then appear here.
Change a field or type a hex value. Settings that disable the reset pin, turn on debugWIRE, select an external clock or lock the chip ask for confirmation: after them, ISP may need a high-voltage programmer, the external clock, or a chip erase.
Chip
Detects the chip by its signature and reads fuses, lock bits and calibration. Changes nothing.
Erases flash and EEPROM (unless EESAVE is set) and removes the lock bits. Fuses stay.
Wiring
Connect the programmer's ISP cable to the chip (pin 1 is marked on the plug):
6-pin ISP 10-pin ISP (USBasp)
MISO 1 ● ● 2 VCC MOSI 1 ● ● 2 VCC
SCK 3 ● ● 4 MOSI 3 ● ● 4 GND
RST 5 ● ● 6 GND RST 5 ● ● 6 GND
SCK 7 ● ● 8 GND
MISO 9 ● ● 10 GND
The programmer can power the chip through its power jumper; many USBasp clones also select 5 V or 3.3 V with a jumper. The ISP clock (SCK) must be below a quarter of the chip's clock: new chips run at 1 MHz, so the default clocks work; for chips running at 128 kHz choose a slow SCK under More options (USBasp with old firmware: close the slow-clock jumper JP3).