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
kscharf
PostPosted: Jul 06, 2012 - 09:53 PM
Posting Freak


Joined: Aug 04, 2004
Posts: 1822
Location: Davie, FL

Where is the latest tool chain (to run on Linux) that supports the latest xmega avr's (XxxxA3U and A3UB)??

Do I have to download from Atmel?
 
 View user's profile Send private message  
Reply with quote Back to top
clawson
PostPosted: Jul 07, 2012 - 12:44 PM
10k+ Postman


Joined: Jul 18, 2005
Posts: 62922
Location: (using avr-gcc in) Finchingfield, Essex, England

You need Atmel's 4.6.2

It's included in AS6 but for Linux you'll need to get the patch sets for GCC and binutils and build your own 4.6.2 from source.

Eventually I imagine Bingo will do a 4.6.2 using those patches for you.

_________________
 
 View user's profile Send private message  
Reply with quote Back to top
abcminiuser
PostPosted: Jul 07, 2012 - 03:24 PM
Moderator


Joined: Jan 23, 2004
Posts: 9878
Location: Trondheim, Norway

Quote:

It's included in AS6 but for Linux you'll need to get the patch sets for GCC and binutils and build your own 4.6.2 from source.


Or just download the Linux version of the toolchain here:

http://www.atmel.com/tools/ATMELAVRTOOL ... LINUX.aspx

- Dean Twisted Evil

_________________
Atmel Studio 6.1 is now released, grab it here.
Report AS6/ASF bugs here.
 
 View user's profile Send private message Send e-mail Visit poster's website 
Reply with quote Back to top
snigelen
PostPosted: Jul 07, 2012 - 04:39 PM
Posting Freak


Joined: Jan 08, 2009
Posts: 1198
Location: Lund, Sweden

Hm. Strange way to announce the existence of that Wink.
Seems to work Very Happy
Here's the supported xmega*u-devices:
Code:
$ avr-gcc --target-help -mlist-devices |grep 'xmega.*u'
atxmega16a4u        __AVR_ATxmega16A4U__
atxmega32a4u        __AVR_ATxmega32A4U__
atxmega64a3u        __AVR_ATxmega64A3U__
atxmega64a4u        __AVR_ATxmega64A4U__
atxmega64a1u        __AVR_ATxmega64A1U__
atxmega128a3u       __AVR_ATxmega128A3U__
atxmega192a3u       __AVR_ATxmega192A3U__
atxmega256a3u       __AVR_ATxmega256A3U__
atxmega256a3bu      __AVR_ATxmega256A3BU__
atxmega128a1u       __AVR_ATxmega128A1U__
atxmega128a4u       __AVR_ATxmega128A4U__
 
 View user's profile Send private message  
Reply with quote Back to top
clawson
PostPosted: Jul 07, 2012 - 04:52 PM
10k+ Postman


Joined: Jul 18, 2005
Posts: 62922
Location: (using avr-gcc in) Finchingfield, Essex, England

snigelen wrote:
Hm. Strange way to announce the existence of that Wink.

Indeed. Doesn't the existence of this at least deserve a mention on the front page of Freaks if not the front of atmel.com after the way Atmel have previously shafted Linux, users?

_________________
 
 View user's profile Send private message  
Reply with quote Back to top
abcminiuser
PostPosted: Jul 07, 2012 - 04:55 PM
Moderator


Joined: Jan 23, 2004
Posts: 9878
Location: Trondheim, Norway

Quote:

Doesn't the existence of this at least deserve a mention on the front page of Freaks if not the front of atmel.com after the way Atmel have previously shafted Linux, users?


The page was renamed, but there's been Linux versions of the toolchain available from the Atmel site for least a year or two now.

- Dean Twisted Evil

_________________
Atmel Studio 6.1 is now released, grab it here.
Report AS6/ASF bugs here.
 
 View user's profile Send private message Send e-mail Visit poster's website 
Reply with quote Back to top
clawson
PostPosted: Jul 07, 2012 - 04:57 PM
10k+ Postman


Joined: Jul 18, 2005
Posts: 62922
Location: (using avr-gcc in) Finchingfield, Essex, England

Then when there have been threads here from Linux users looking for latest device support why in the name of God has someone from Atmel not mentioned this??

_________________
 
 View user's profile Send private message  
Reply with quote Back to top
abcminiuser
PostPosted: Jul 07, 2012 - 05:50 PM
Moderator


Joined: Jan 23, 2004
Posts: 9878
Location: Trondheim, Norway

Sorry, no idea and no idea Razz. I do know it's been around a long time, I remember seeing it some time last year on the Atmel site.

- Dean Twisted Evil

_________________
Atmel Studio 6.1 is now released, grab it here.
Report AS6/ASF bugs here.
 
 View user's profile Send private message Send e-mail Visit poster's website 
Reply with quote Back to top
ka7ehk
PostPosted: Jul 07, 2012 - 09:32 PM
10k+ Postman


Joined: Nov 22, 2002
Posts: 12192
Location: Tangent, OR, USA

How about making that top message of Dean's a sticky?

Jim

_________________
Jim Wagner
Oregon Research Electronics, Consulting Div.
Tangent, OR, USA

"The only thing standing between us and victory is defeat" P.G.Wodhouse in Wooster & Jeeves series
 
 View user's profile Send private message  
Reply with quote Back to top
condemned
PostPosted: Jul 07, 2012 - 11:43 PM
Hangaround


Joined: Sep 04, 2007
Posts: 356
Location: Oxford (England)

I'm currently using the latest wrightflyer package. It works very nicely (but does lack support for the more recent XMegas).

Should I trust Atmel's toolchain, or should I hold-off until there's a more recent wrightflyer package?
 
 View user's profile Send private message Visit poster's website 
Reply with quote Back to top
wek
PostPosted: Jul 08, 2012 - 08:25 AM
Raving lunatic


Joined: Dec 16, 2005
Posts: 3094
Location: Bratislava, Slovakia

http://www.atmel.com/tools/ATMELAVRTOOL ... NDOWS.aspx

Doesn't SprinterSB's 4.7.1 bundle support the abovementioned xmegas too?

JW
 
 View user's profile Send private message Visit poster's website 
Reply with quote Back to top
snigelen
PostPosted: Jul 08, 2012 - 09:16 AM
Posting Freak


Joined: Jan 08, 2009
Posts: 1198
Location: Lund, Sweden

That's for windows. But you can run it in wine. The following xmega-U devices is supported: atxmega128a1u, atxmega256a3bu and atxmega64a1u. It's the same devices as in, for example, Bingos latest 4.5.1 package and in the 4.3.4 that comes with Ubuntu 10.04.
 
 View user's profile Send private message  
Reply with quote Back to top
wek
PostPosted: Jul 08, 2012 - 09:22 AM
Raving lunatic


Joined: Dec 16, 2005
Posts: 3094
Location: Bratislava, Slovakia

snigelen wrote:
for windows
I know, but Johann's build should be fairly "mainstream" as he rejects Atmel's (or any other "proprietary") patches AFAIK. In other words, it should be quite straightforward to arrive to a similar *nux binary by building the stock gcc/binutils/avr-libc; and it's undoubtedly the latest and greatest (with all the flash support and stuff).

JW
 
 View user's profile Send private message Visit poster's website 
Reply with quote Back to top
abcminiuser
PostPosted: Jul 08, 2012 - 10:33 AM
Moderator


Joined: Jan 23, 2004
Posts: 9878
Location: Trondheim, Norway

I'm using the Atmel toolchains in both Windows (development) and Linux (build test/validation) with no trouble. Proprietary patches or not - and I suspect not, since the patches are included in the toolchain - it's the most up-to-date toolchain for the devices available and seems to work fine.

- Dean Twisted Evil

_________________
Atmel Studio 6.1 is now released, grab it here.
Report AS6/ASF bugs here.
 
 View user's profile Send private message Send e-mail Visit poster's website 
Reply with quote Back to top
clawson
PostPosted: Jul 08, 2012 - 11:03 AM
10k+ Postman


Joined: Jul 18, 2005
Posts: 62922
Location: (using avr-gcc in) Finchingfield, Essex, England

As the package Dean linked to appears to be the same 4.6.2 in AS6 then, yes, I'd say it can be trusted as well as packages on www.wrightflyer.co.uk/avr-gcc/ and is, of course, a later version.

I'll update my web page to add a note to give a link to the "hidden" Atmel packages,

_________________
 
 View user's profile Send private message  
Reply with quote Back to top
Bingo600
PostPosted: Jul 08, 2012 - 07:43 PM
Raving lunatic


Joined: Apr 25, 2004
Posts: 3817
Location: Denmark

abcminiuser wrote:
Quote:

It's included in AS6 but for Linux you'll need to get the patch sets for GCC and binutils and build your own 4.6.2 from source.


Or just download the Linux version of the toolchain here:

http://www.atmel.com/tools/ATMELAVRTOOL ... LINUX.aspx

- Dean Twisted Evil


Wuttt ....

Now i'm unemployed Smile

Dean .. Thanx for the link.
Now would be a good time to reteach us how we avoid the dreaded register , once again Cool

/Bingo
 
 View user's profile Send private message  
Reply with quote Back to top
abcminiuser
PostPosted: Jul 08, 2012 - 07:58 PM
Moderator


Joined: Jan 23, 2004
Posts: 9878
Location: Trondheim, Norway

Genuinely surprised that everyone's surprised about this - like I said I've seen it on the Atmel site months and months and months ago, along with the regular standalone Windows builds. I always thought everyone went for the alternative builds because they thought they were better or something.

Quote:

Now would be a good time to reteach us how we avoid the dreaded register , once again Cool


On the page requesting registration, replace "System/BaseForm" with "forms/software-download".

- Dean Twisted Evil

_________________
Atmel Studio 6.1 is now released, grab it here.
Report AS6/ASF bugs here.
 
 View user's profile Send private message Send e-mail Visit poster's website 
Reply with quote Back to top
Bingo600
PostPosted: Jul 08, 2012 - 08:46 PM
Raving lunatic


Joined: Apr 25, 2004
Posts: 3817
Location: Denmark

Hmmm ....

No makefile or the likes ....
Well this can be fixed Smile


No GDB in the Linux TC ... Strange

Wonder how they make the new headerfiles ?
There's no patches to avr-libc 1.80

Else nice work ATMEL


/Bingo
 
 View user's profile Send private message  
Reply with quote Back to top
clawson
PostPosted: Jul 09, 2012 - 09:47 AM
10k+ Postman


Joined: Jul 18, 2005
Posts: 62922
Location: (using avr-gcc in) Finchingfield, Essex, England

Dean

As we have your attention here can you comment on SprinterSB's post here:

http://www.avrfreaks.net/index.php?name ... 008#973008

Not being able to do integer multiplication is pertty fundamental! That bug was raised against Atmel's 4.5.1 which was known to be a real dog's breakfast but can you give absolute confirmation that it is fixed in their 4.6.2 release.

As in the sticky above I would recommend people just use Atmel's AVR Toolchain now but there's no way it can be recommended if integer multiplication does not work.

_________________
 
 View user's profile Send private message  
Reply with quote Back to top
kscharf
PostPosted: Jul 09, 2012 - 01:34 PM
Posting Freak


Joined: Aug 04, 2004
Posts: 1822
Location: Davie, FL

abcminiuser wrote:
Quote:

It's included in AS6 but for Linux you'll need to get the patch sets for GCC and binutils and build your own 4.6.2 from source.


Or just download the Linux version of the toolchain here:

http://www.atmel.com/tools/ATMELAVRTOOL ... LINUX.aspx

- Dean Twisted Evil

Two problems Dean,
1: the webpage lists it as version 3.4.0 (maybe that's Atmel's version).
2: I'm asked to register and I NEVER get an email back!
 
 View user's profile Send private message  
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