AVR Eclipse Plug-in on Ubuntu 8.04

Go To Last Post
5 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

From i tested, it work very prefect. I captured a video how to setting. Hope can help someone, want to developing program on Ubuntu

1. Install AVR Tools on Ubuntu 8.04 (binutils-avr, gcc-avr, avr-libc, avrdude, libusb). can use Synaptic Package Manager.

2. Install Eclipse 3.3 or later http://www.friendlyarm.com/install-eclipse-33-on-ubuntu-804/

3. Install Eclipse CDT4 (I recommend download CDT file to your computer before) http://www.vimeo.com/1216507

CDT4 can download from http://www.eclipse.org/downloads...

4. Install AVR Eclipse plug-in (can install by online software update) http://www.vimeo.com/1216553

5. Test developing program http://www.vimeo.com/1248523

6. Test Download by use AVRDUDE http://www.vimeo.com/1213811

Micro4you,
 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Thanks for posting this walkthrough with screen captures, it was very helpful. I wasn't aware that there was an AVR plug-in for Eclipse, so this was a nice surprise for someone who has been doing it manually in Ubuntu Hardy. The only problem that I ran into was Eclipse getting hung up waiting for the sudo password when trying to run avrdude. This had me stumped for a while, until I did a little research and found out how to get non-root access to the USBtinyISP. Now I don't have to run avrdude as root and everything seems to work beautifully. Eclipse seems to be a very nice IDE for AVR development; so far it has exceeded my expectations.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

For sudo password. I solved by edit /etc/sudoers

Use command : export EDITOR=gedit && sudo visudo

and change system_username ALL=(ALL) ALL => system_username ALL=(ALL) NOPASSWD: ALL

sample

# /etc/sudoers
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the man page for details on how to write a sudoers file.
#

Defaults	env_reset

# Uncomment to allow members of group sudo to not need a password
%sudo ALL=NOPASSWD: ALL

# Host alias specification

# User alias specification

# Cmnd alias specification

# User privilege specification
root	ALL=(ALL) NOPASSWD: ALL

# Members of the admin group may gain root privileges
%admin ALL=(ALL) NOPASSWD: ALL 

Micro4you,
 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi!

How would this instruction translate into ubuntu 11.04?
I've been trying to get the Eclipse UI for avr-gcc working for a long time, but something always goes wrong on the setup process.

And some further guestions about the eclipse plugin:
Does it support AVR Dragon and 32-bit controllers?
Does it have graphical UI for fuse bits etc?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

E_forge wrote:
Does it have graphical UI for fuse bits etc?

It does yes, right click on your project, then Properties->AVRDude->Fuses. It's not the most intuitive screen, but if you select "direct hex values" then the various buttons are enabled..