






How to use NanoBoardAG as an Arduino
You can use NanoBoardAG as an Arduino by the following steps.
1. Download and install newest stable version of Arduino IDE (1.0.3).
http://arduino.cc/en/Main/Software
2. Add the following lines to \hardware\arduino\boards.txt
##############################################################
atmega8o8.name=[Optiboot] ATmega8 8MHz
atmega8o8.upload.protocol=arduino
atmega8o8.upload.maximum_size=7680
atmega8o8.upload.speed=115200
atmega8o8.bootloader.low_fuses=0x94
atmega8o8.bootloader.high_fuses=0xDC
atmega8o8.bootloader.path=optiboot
atmega8o8.bootloader.file=optiboot_atmega8-8m.hex
atmega8o8.bootloader.unlock_bits=0x3F
atmega8o8.bootloader.lock_bits=0x0F
atmega8o8.build.mcu=atmega8
atmega8o8.build.f_cpu=8000000L
atmega8o8.build.core=arduino
atmega8o8.build.variant=standard
##############################################################
3. Start Arduino IDE then choose "[Optiboot] ATmega8 8MHz" from "Tools" > "Board" menu.
4. Choose the specific COM port from "Serial Port" menu if needed.
5. Try any sketches! I recommend to test "Blink" from "Examples" > "01.Basic" at first.
6. You can revert default NanoBoardAG by uploading "NanoBoardAGWithMotor.pde".
Link to this Page