Wednesday, 15 January 2014

Connect/Run Arduino uno r3 whit ATMEGA8A-PU from ebay.com (doflye.net) version

After 2 days i finally have successfully run this uno r3 whit old atmega8 chip, just follow this guide:

1. Get an Arduino board and USB cable
2. Download the Arduino environment
- (windows) from www.arduino.cc
- (linux ubuntu) in Software Center or from www.arduino.cc
3. Connect the board
4. Install drivers for UNO, you can find more info on google or arduino web site
- (linux ubuntu 12.10+)
sudo apt-get update && sudo apt-get install arduino arduino-core
- (windows) arduino web site

5.1 Open file /boards.txt
- (windows) C:/Program Files/arduino/hardware/arduino/boards.txt
- (linux) usr/share/arduino/hardware/arduino/boards.txt
- - (ubuntu) use "gksudo nautilus" or "gksudo gedit" in terminal to open protected file
5.2 Insert code below AT THE END of /boards.txt and save it.
6. Launch the Arduino application
7. Select your board "Arduino Optiboot8"
- (Tools>Board>Arduino Optiboot8)
8. Select your serial port. If there is no USB option on serial port or serial port is not available, you have problem whit your board driver.
- (Tools>Serial Port>USB)
9. Upload the program

Tested on Windows 7 and Ubuntu 13.10. This code was found in http://www.doflye.net forum whit the BIG help of translate.google.com :)
##############################################################
# Custom board "Arduino Optiboot8"
# Arduino uno r3 ATMEGA8A-PU

opti8.name = Arduino Optiboot8

opti8.upload.protocol = Arduino
opti8.upload.maximum_size = 7680
opti8.upload.speed = 115200

opti8.bootloader.low_fuses = 0xBF
opti8.bootloader.high_fuses = 0xcc
opti8.bootloader.path = optiboot
opti8.bootloader.file = optiboot_atmega8.hex
opti8.bootloader.unlock_bits = 0x3F
opti8.bootloader.lock_bits = 0x0F

opti8.build.mcu = atmega8
opti8.build.f_cpu = 16000000L
opti8.build.core = arduino
opti8.build.variant = standard