Archive

For the Hardware category

How to restore the Arduino Bootloader?

No Comments

It can be easily done using Linux. This procedure is for the 328p processor. It can easily be adapted for a 168 processor. You will need an ICSP. First, make sure that avrdude is installed. It can be installed by issuing the command:

sudo apt-get install avrdude

You will need to retrieve the bootloader. It can be found in the hardware/arduino/bootloaders/atmega directory in the 1.0.5 Arduino IDE download. It is named ATmegaBOOT_168_atmega328.hex.

  1. Put the chip on an Arduino board.
  2. Connect the ICSP to the Arduino board.
  3. Power the Arduino with an external source.
  4. Connect the ICSP to the computer. Find its serial port. Most of the time, it is listed in the system log. The command ‘dmesg’ can be used to find it out. Look at the last lines.
  5. Open a command line window.
  6. Issue the following commands. Replace /dev/ttyACM0 by the proper ICSP port.
    /usr/bin/avrdude -c avrispv2 -p m328p -P /dev/ttyACM0 -e

    /usr/bin/avrdude -c avrispv2 -p m328p -P /dev/ttyACM0 -U flash:w:ATmegaBOOT_168_atmega328.hex

  7. Unplug the ICSP and reset the Arduino board.

USB Flash Drives comparison

1 Comment
Manufacturer Model Capacity Read speed
(MB/s)
Write speed
(MB/s)
Patriot Xporter XT Rage 32 GB 27 25
Corsair Voyager GTR 32 GB 34 28
Lexar Echo MX 32 GB 30 17
Kingston DTR 500 32 GB 30 20
Kingston DTIG3/32GBZ 32 GB 10 5
Kingston DT102/32GBZ 32 GB 10 5
Transcend Jet Flash 700 32 GB 70 30
Transcend Jet Flash 600/620 32 GB 32 12
Blue Taste Theme created by Jabox