Of Bootloaders and Nanos
Restoring a Nano to a default Nano To use a Nano with default bootloader: Select "Arduino Nano" in the Arduino IDE and click "Burn Bootloader" under Tools (I'm using the USBtiny ISP). Alternatively use avrdude: Write ATmegaBOOT_168_atmega328.hex (found in Arduino/hardware/arduino/avr/bootloaders/atmega) with an ISP, i.e. avrdude -p m328p -c usbtiny -e -U flash:w:ATmegaBOOT_168_atmega328.hex Optiboot bootloader with a Nano To use the Optiboot which comes with the Arduino IDE (version 1.6.5) Add this to the boards.txt file in Arduino/hardware/arduino/avr ############################################################## atmega328o.name=[Optiboot] Arduino Duemilanove or Nano w/ ATmega328 atmega328o.upload.tool=avrdude atmega328o.upload.protocol=arduino atmega328o.upload.maximum_size=32256 atmega328o.upload.speed=115200 atmega328o.bootloader.tool=avrdude atmega328o.bootloader.low_fuses=0xff atmega328o.bootloader.high_fuses=0xde atmega328o