Newbie question about WinAVR

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

I've always used ICCAVR but I'm going to be evaluating XMEGA via the XMEGA Xplained board, and its code examples are all in IAR/GCC-AVR, so I'm familiarizing myself with WinAVR, since I run Windows and not Linux.

On SourceForge (http://sourceforge.net/projects/winavr/), the latest download for WinAVR is dated 1/20/10, which seems like a long time for something like this to go without an update, though the page was last updated on 7/7/11. Is this truly the latest build?

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

Yes 1/20/2010 is the most recent WinAVR. An update is in the works and should be out within a couple of months.

"I may make you feel but I can't make you think" - Jethro Tull - Thick As A Brick

"void transmigratus(void) {transmigratus();} // recursio infinitus" - larryvc

"It's much more practical to rely on the processing powers of the real debugger, i.e. the one between the keyboard and chair." - JW wek3

"When you arise in the morning think of what a privilege it is to be alive: to breathe, to think, to enjoy, to love." -  Marcus Aurelius

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

AVR Studio5 is build with recent WinAVR.

P.Ashok Kumar

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

Thanks, I thought that Atmel built their own GCC toolchain for AS5. I had to select WinAVR as an alternate toolchain in one of the settings panes. Are you absolutely sure about AS5 using WinAVR now as a default toolchain?

larryspost:

"I may make you feel but I can't make you think" - Jethro Tull - Thick As A Brick

"void transmigratus(void) {transmigratus();} // recursio infinitus" - larryvc

"It's much more practical to rely on the processing powers of the real debugger, i.e. the one between the keyboard and chair." - JW wek3

"When you arise in the morning think of what a privilege it is to be alive: to breathe, to think, to enjoy, to love." -  Marcus Aurelius

Last Edited: Fri. Jul 29, 2011 - 04:45 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Quote:

Thanks, I thought that Atmel built their own GCC toolchain for AS5.

They do, and call it "AVR Toolchain". This is not the same as WinAVR.

The confusion probably stems from both "AVR Toolchain" and WinAVR being a package containing avr-gcc, avrlibc, several binutils etc.

"AVR Toolchain" and WinAVR are similar, but not the same. They do not contain the exact same set of utilities (but a large overlap, yes). They are built at different times (and thus contain different sets of patches). Etc, etc..

It's not easy keeping order among all these names and things, but we should do our best to avoid the un-necessary confusion.

As of January 15, 2018, Site fix-up work has begun! Now do your part and report any bugs or deficiencies here

No guarantees, but if we don't report problems they won't get much of  a chance to be fixed! Details/discussions at link given just above.

 

"Some questions have no answers."[C Baird] "There comes a point where the spoon-feeding has to stop and the independent thinking has to start." [C Lawson] "There are always ways to disagree, without being disagreeable."[E Weddington] "Words represent concepts. Use the wrong words, communicate the wrong concept." [J Morin] "Persistence only goes so far if you set yourself up for failure." [Kartman]

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

Good morning Johan, and I Absolut thank you for the clarification.

"I may make you feel but I can't make you think" - Jethro Tull - Thick As A Brick

"void transmigratus(void) {transmigratus();} // recursio infinitus" - larryvc

"It's much more practical to rely on the processing powers of the real debugger, i.e. the one between the keyboard and chair." - JW wek3

"When you arise in the morning think of what a privilege it is to be alive: to breathe, to think, to enjoy, to love." -  Marcus Aurelius

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

Quote:

AVR Studio5 is build with recent WinAVR.

Don't let this become an urban myth. WinAVR is a slick build of avr-gcc done with understanding and is virtually faultless with a plethora of useful utilities included in the package. AVR Toolchain within AS5 is not. It may be a later version but even people using AS5 are switching it internally to use a copy of (the old) WinAVR installed alongside.