Linux on AVR

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

Hi all,
I am new to this forum.. I wanted to know if I can program my Atmega 16 AVR with a Linux OS..How can I do it? are there any links or info on this?
Any help appreciated..

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

As this will involve using GCC I'll move this to the appropriate forum where you need to read Bingo600's sticky thread at the top of the forum.

By the way I presume the thread title meant "AVR on Linux" and not "Linux on AVR" (the latter not technically possible until you trade up to the AVR32 series of CPUs)

Cliff

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

thanks,clawson.. wasnt sure if I was in the right forum..

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

Also, when you get to the point of wanting to compile that program for the AVR under Linux, try reading the thread Script for building AVR-GCC 4.2.2 on Linux

Stu

Engineering seems to boil down to: Cheap. Fast. Good. Choose two. Sometimes choose only one.

Newbie? Be sure to read the thread Newbie? Start here!

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

thanks guys, thats great to get started..

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

Check your distribution for avr-gcc, so you won't have to compile GCC on your own.
For a programmer also check avrdude. It is a really great tool.

But I'm puzzled about the thread title: if you are trying to run Linux on AVR, then good luck! ;-)

pycrc -- a free CRC calculator and C source code generator

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

Quote:

Check your distribution for avr-gcc, so you won't have to compile GCC on your own.

Except that most of the repository packages are way out of date or don't have some of the more important patches applied. That's why Bingo's scripts offer a fairly fool proof way to get/build things to deliver a fairly up to date solution that works well and is built with the most minimal fuss (about 10 steps listed in his first post). The only downside of building is that it gobbles space but the final script cleans all the intermediate stuff anyway.

Cliff

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

For programmer in Linux, I'm recommend AVR8_Burn-O-Mat

http://avr8-burn-o-mat.aaabbb.de/avr8_burn_o_mat_avrdude_gui_en.html

Micro4you,