Install AVR Plugin For Eclipse

[Purpose]

Install Eclipse c/c++ with AVR Plugin in Opensuse 12.1

AVR Plugin: http://avr-eclipse.sourceforge.net

[Preinstallation]

Before AVR Plugin installation you need to install following Page From
http://download.opensuse.org/repositories/CrossToolchain:/avr/openSUSE_12.1/
http://download.opensuse.org/repositories/CrossToolchain:/avr/openSUSE_Factory (delta updates)

avr-gcc-47-20111105
avr-libc
avr-binutils
gdb
avrdude
(optional simulavr)

Installation (from within Eclipse)

  •  Help | Install New Software… | Add…
  •  http://avr-eclipse.sourceforge.net/updatesite

Documentation

Create project

  • File | New | Project… | C/C++ | C Project | AVR Cross Target

Application

After Creating the C Project use property to make advanced settings to specify target processor

AVR Eclipse Plugin – Advanced Settings

Open the Property of your C project in Eclipse
In AVR-> Target Hardware:  Specify target microcontroller in

  • MCU Type: ATtiny45 (later will also use ATmega8)
  • MCU Clock Frequency: typical values are 1 MHz (internal),
    8 MHz (external quartz) , 16 MHz (external quartz)

In AVR->AVRDude: Install program on microcontroller

  • Programmer->Programmer configuration->New->Name: mySmartUSB light
  • Programme Hardware: Atmel STK500 Version 2.x firmware
  • Override default port: /dev/tty.usbserial-A100OXPZ

more details ist dokumented in the following Webblog:
http://www.greguhn.de/programmierung/opensuse-avr-mikrocontroller/

Have fun!

[Using myAVR Programmer]

http://savannah.nongnu.org/projects/uisp (this package could be interessting)

there is no need to install the driver for myAVP Programmer, die Port
/dev/ttyUSB0
should be detacted automatically.

One more Link for Experiences with Eclipse AVR.

http://www.instructables.com/id/How-to-get-started-with-Eclipse-and-AVR/

Advertisements

About yingding wang
i am looking forward to innovation in IT and Robotics

Comments are closed.

%d bloggers like this: