Society of Robots - Robot Forum

General Misc => Misc => Topic started by: LXE on October 05, 2010, 05:34:28 AM

Title: AVR GCC - Questions
Post by: LXE on October 05, 2010, 05:34:28 AM
I have a few questions about AVR GCC and the AVR chips -

Title: Re: AVR GCC - Questions
Post by: Webbot on October 05, 2010, 12:51:26 PM
The avr-gcc toolchain covers the ATTiny, ATMega and ATXMega chips - not the ARM.

As for programmers then thats nothing to do with a compiler. The programmer just uploads a file - it doesn't care what compiler you used to create the file.

Title: Re: AVR GCC - Questions
Post by: amando96 on October 05, 2010, 01:04:10 PM
I'm using the arduino to program an attiny26 right now, it acts as an stk500v1 and works perfectly, should program all the AVRs.

>Go here (http://hlt.media.mit.edu/wiki/pmwiki.php?n=Main.AVRProgrammingAdvanced) for more, you would have to change some things depending on what chip you have, but avr dude's error messages tend to be clear.

The arduino itself is really powerful, which can be overkill for some projects, so it's not a bad idea to have a few attinys around, the arduino can be a programmer one minute  and a prototyping platform in the next  ;D