Getting Started - maierma/avr-netino GitHub Wiki

##Introduction Here you find instructions to get avr-netino working. Avr-Netino is a port of the arduino avr software to program the AVR-Net-IO board (Art.Nr. 810 058 or 810 073) from Pollin with the arduino ide. The hardware of the optional Add-on for AVR-Net-IO (Art.Nr. 810 112) is supported by additional libraries.

##Contents

  • What you need
  • Installation
  • burning bootloader
  • running sketches

##What you need

  • An AVR-Net-IO board with ATmega32/ATmega644(p) and auto reset feature.

See AddAutoReset for instructions to add this to your board.

  • an AVR isp programmer, or an other arduino board
  • The Arduino software version 0022 or later.
  • the zip-file with avr-netino
  • optional: Add-on for AVR-Net-IO

##Installation

  1. Install arduino software.
  2. Unpack the avr-netino-*.zip file in the arduino installation directory. This will add avrnetio under hardware and patch SD lib in libraries. Libraries for the Add-on hardware are installed too.
  3. If you install from the mercurial repository, you have to compile the bootloader and to create the boards.txt file in hardware/avrnetio/.

##burning bootloader

  1. connect your board with your isp programmer
  2. start arduino ide
  3. select avrnetio w/ your ATmega from Tools->Board
  4. select Tools->Programmer->your programmer
  5. select Tools->Burn Bootloader

##running sketches

  1. connect your board via RS232 (a USB to RS232 cable will be ok)
  2. start arduino ide
  3. write a sketch or load an example - look at WhatYouGet for differences to arduino boards
  4. select avrnetio w/ your ATmega from Tools->Board
  5. hit upload button

Have fun.