Arduino Uno or Pro Micro as an AVR ISP Programmer
Gadget Reboot
I used an Arduino Uno and a Pro Micro with the ArduinoISP sketch to read and program other Arduinos and individual Atmel chips on a breadboard. This is useful when needing to recover an Arduino that needs a bootloader, or when using separate chips with AVRDude.
I seemed to need the Uno 10uF reset capacitor when using the Arduino IDE but not when using AVRDude from the command prompt.
AVRDude commands used on a Mac terminal - syntax of path names, COM ports etc may be different on other OS'. Refer to AVRDude usage guide for specifics:
General command structure: avrdude avrdude-config-file -P COMPORT -b 19200 -c avrisp -p CHIPNAME [FUSE READ COMMAND SAME FOR ALL]
Read high and low fuses from ATMega8515: /Volumes/GR_ROOT/avrdude -C /Volumes/GR_ROOT/avrdude.conf -P /dev/cu.wchusbserialfd1220 -b 19200 -c avrisp -p atmega8515 -U lfuse:r:-:i -U hfuse:r:-:i
Read high and low fuses from ATTiny26: /Volumes/GR_ROOT/avrdude -C /Volumes/GR_ROOT/avrdude.conf -P /dev/cu.wchusbserialfd1220 -b 19200 -c avrisp -p attiny26 -U lfuse:r:-:i -U hfuse:r:-:i
Read high and low fuses from ATMega328P on an Uno target: /Volumes/GR_ROOT/avrdude -C /Volumes/GR_ROOT/avrdude.conf -P /dev/cu.wchusbserialfd1220 -b 19200 -c avrisp -p atmega328p -U lfuse:r:-:i -U hfuse:r:-:i
Arduino as ISP programmer details https://www.arduino.cc/en/Tutorial/ArduinoISP
Fritzing ProMicro component https://github.com/htho/fritzing-parts/tree/master/sparkfun-promicro
AVRDude install and usage info http://www.ladyada.net/learn/avr/avrdude.html https://forum.arduino.cc/index.php?topic=553993.0
Patreon: https://www.patreon.com/gadgetreboot Pinterest: https://www.pinterest.ca/GadgetReboot Twitter: @GadgetReboot https://twitter.com/gadgetreboot ... https://www.youtube.com/watch?v=7Rz9A9VbDx4
42029736 Bytes