Flashing Arduino Uno Firmware

1 comment

To flash a new firmware for the Arduino you need the avrdude program and a firmware file (.hex file). If you’re looking for the original Arduino firmware you can find it in the directory you installed the Arduino software into.

[arduino install]/hardware/arduino/firmwares/atmegaxxu2/Arduino-COMBINED-dfu-usbserial-atmega16u2-Uno-Rev3.hex

Install avrdude:
sudo apt-get install avrdude

Flash firmware (Arduino Uno R3):
sudo avrdude -F -p atmega328p -P /dev/ttyACM0 -c arduino -b 115200 -U flash:w:Arduino-COMBINED-dfu-usbserial-atmega16u2-Uno-Rev3.hex

If you have a different device you can find the correct parameters in the boards.txt file. You will also need to change the .hex file and possibly the serial port to something other than /dev/ttyACM0.

[arduino install]/hardware/arduino/boards.txt

##############################################################

uno.name=Arduino Uno
uno.upload.protocol=arduino
uno.upload.maximum_size=32256
uno.upload.speed=115200
uno.bootloader.low_fuses=0xff
uno.bootloader.high_fuses=0xde
uno.bootloader.extended_fuses=0x05
uno.bootloader.path=optiboot
uno.bootloader.file=optiboot_atmega328.hex
uno.bootloader.unlock_bits=0x3F
uno.bootloader.lock_bits=0x0F
uno.build.mcu=atmega328p
uno.build.f_cpu=16000000L
uno.build.core=arduino
uno.build.variant=standard

##############################################################

{ 1 comment… read it below or add one }

harsha July 13, 2014 at 10:36 AM

I need more infomation regarding arduino uno micro board…. price, how to upload programme

Reply

Leave a Comment

Previous post:

Next post: