Arduino UNO
Arduino UNO
Arduino UNO
● Sequence:
○ Hold the 1st wire on the top left 8U2 ICSP pad
○ Hold the 2nd wire on the left side of the capacitor below the RX LED
○ Remove both wires
● Be careful with the second wire as the capacitor is quite near a 5v track. Try using a low-
value resistor instead of a wire.
● To get back to normal mode, hold the 1st wire place as mentioned above, press the Reset
button and then remove the 1st wire; or just unplug the USB cable and plug it back in.
● Reflash the AT90USB82 serial-usb chip with the following commands:
○ sudo dfu-programmer at90usb82 erase
○ sudo dfu-programmer at90usb82 flash --debug 1 Arduino-usbserial-uno.hex
○ sudo dfu-programmer at90usb82 reset
● Disconnect the USB lead and reconnect to reset the device back to normal mode.
References:
● http://www.strangeparty.com/2010/12/13/fix-your-arduino-uno-for-linux/
● http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1286088093/34#34
● http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1285962838/10#10
● http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1286088093/38#38
● Install the compiler (gcc-avr) and the libraries (avr-libc) packages: sudo apt-get install gcc-avr avr-
libc
● Other possible requirements: Java Runtime (openjdk-6-jre or sun-java6-jre), RXTX
Java Communication library (librxtx-java) and for uploading programs (avrdude): sudo
apt-get install openjdk-6-jre/sun-java6-jre librxtx-java avrdude
● If you use the USB port to dialog, you should add yourself to the group 'dialout' in order to have
write permissions on that port: sudo usermod -aG dialout <myuser>
○ Other possible required permissions: to send/receive data from a command prompt in
a terminal session user must be member of the uucp group: sudo usermod -aG uucp
<myuser>
● In case you have more than one such device then some udev rules may help avoid confusion:
create a etc/udev/rules.d/09-local.rules file with this entries to creates two softlinks, one called
arduino and one called arduino_$SERIAL where $SERIAL is the serial number of the FT232R.
○ SUBSYSTEMS=="usb", ATTRS{product}=="FT232R USB UART", ATTRS{idProduct}
=="6001", ATTRS{idVendor}=="0403", SYMLINK+="arduino arduino_$attr{serial}"
○ SUBSYSTEMS=="usb", ATTRS{product}=="ARDUINO UNO", ATTRS{idProduct}
=="6001", ATTRS{idVendor}=="0403", SYMLINK+="arduino arduino_uno_$attr{serial}"
● If you have brltty installed (the default on recent versions of Ubuntu), you'll need to remove it: sudo
apt-get remove brltty
● Download the latest Arduino Linux distribution from: http://www.arduino.cc/en/Main/Software. Copy/
extract these files to a directory (or your desktop) and Run the "arduino" script.
References:
● http://www.arduino.cc/playground/Linux/Ubuntu
● http://www.arduino.cc/playground/Learning/Linux
● http://www.arduino.cc/playground/Linux/Udev
● http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1215915613