Forum Menu




 


Log in Problems?
New User? Sign Up!
AVR Freaks Forum Index

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
nooknikz
PostPosted: Jun 30, 2008 - 08:33 PM
Wannabe


Joined: Mar 22, 2004
Posts: 69


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/downlo ... -4.0.3.zip

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

_________________
ATMEL AVR Store,
My Electronics Blog
 
 View user's profile Send private message Send e-mail Visit poster's website 
Reply with quote Back to top
NT7S
PostPosted: Jul 07, 2008 - 11:51 AM
Newbie


Joined: Jul 17, 2004
Posts: 1


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.
 
 View user's profile Send private message  
Reply with quote Back to top
nooknikz
PostPosted: Jul 08, 2008 - 12:51 PM
Wannabe


Joined: Mar 22, 2004
Posts: 69


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

Code:
# /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

_________________
ATMEL AVR Store,
My Electronics Blog
 
 View user's profile Send private message Send e-mail Visit poster's website 
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT + 1 Hour
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2006 The PNphpBB Group
Credits