Society of Robots - Robot Forum

Software => Software => Topic started by: MarkBrown on September 01, 2008, 06:48:33 PM

Title: AVR programming in Linux using C and C++
Post by: MarkBrown on September 01, 2008, 06:48:33 PM
Since finding this site, I have setup a laptop dedicated to robotics.  Over the weeekend, I decided to put Linux on it as a dual boot.  I have read that it is difficult to setup a Linux machine to do AVR programming and I wanted to find out for myself.  It has actually gone really well, and has been alot easier than I could have anticipated.  I plan to write up a tutorial on it in order to help anyone else wanting to do the same.

More to the point of the post though, I currently have both C and C++ code compiling for AVR in Linux.  I am currently working on the programming of the chip now, both the ATmega8 and the ATmega640.  I am using the AVRISP mkII programmer and will be using AVRDUDE to write to the chip.  Does anyone have experience using AVRDUDE that could save me some time in reading all the documentation?

Thanks,

Mark
Title: Re: AVR programming in Linux using C and C++
Post by: MarkBrown on September 01, 2008, 11:54:35 PM
Nevermind.  The manual for AVRDUDE was smaller than I thought.  I got the answers that I need and have verified it works.  I will work on putting together a tutorial soon for any who is interested.

Mark
Title: Re: AVR programming in Linux using C and C++
Post by: javafiend on September 02, 2008, 08:17:23 AM
I program my AVR on Linux using AVRDude and CodeBlocks as my IDE.  It took a little getting used to, but I think it's worth it.

I look forward to reading about your experiences and Linux settup.
Title: Re: AVR programming in Linux using C and C++
Post by: brainwave on July 06, 2011, 10:39:12 AM
Check out the video: with codeblocks.....its simple really! Video1 (http://www.youtube.com/watch?v=Hk4PVWOfSmg#ws)