blog: Arduino Uno as AVR ISP

Flash Arduino Uno with ArduinoISP

Make sure you have a recent Arduino IDE, then…

  1. Open Arduino IDE
  2. Select Tools > Board and Port
  3. Open File > Examples > ArduinoISP
  4. Upload

Connect Arduino Pins to ISP-Header on target

PIN on ArduinoISP Function PIN on target, standard 2x3 header
D12 MISO 1 (upper right)
5V 5V 2 (lower right)
D13 SCK 3 (upper mid)
D11 MOSI 4 (lower mid)
D10 Reset 5 (upper left)
GND GND 6 (lower left)

Flash your hex image to target

avrdude -p m88 -P /dev/ttyACM0 -c stk500v1 -b 19200  -U flash:w:YOURIMAGE.hex

Replace m88 (ATmega 88) with your target processor and /dev/ttyACM0 with whatever your ArduinoISP appears as.

Posted in arduino programming
2022-10-24 07:22 UTC