| Author |
Message |
|
|
Posted: Jul 06, 2012 - 09:53 PM |
|


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? |
|
|
| |
|
|
|
|
|
Posted: Jul 07, 2012 - 12:44 PM |
|


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. |
_________________
|
| |
|
|
|
|
|
Posted: Jul 07, 2012 - 03:24 PM |
|


Joined: Jan 23, 2004
Posts: 9878
Location: Trondheim, Norway
|
|
|
|
|
|
|
Posted: Jul 07, 2012 - 04:39 PM |
|


Joined: Jan 08, 2009
Posts: 1198
Location: Lund, Sweden
|
|
Hm. Strange way to announce the existence of that .
Seems to work
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__
|
|
|
| |
|
|
|
|
|
Posted: Jul 07, 2012 - 04:52 PM |
|


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  .
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? |
_________________
|
| |
|
|
|
|
|
Posted: Jul 07, 2012 - 04:55 PM |
|


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  |
_________________ Atmel Studio 6.1 is now released, grab it here.
Report AS6/ASF bugs here.
|
| |
|
|
|
|
|
Posted: Jul 07, 2012 - 04:57 PM |
|


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?? |
_________________
|
| |
|
|
|
|
|
Posted: Jul 07, 2012 - 05:50 PM |
|


Joined: Jan 23, 2004
Posts: 9878
Location: Trondheim, Norway
|
|
Sorry, no idea and no idea . I do know it's been around a long time, I remember seeing it some time last year on the Atmel site.
- Dean  |
_________________ Atmel Studio 6.1 is now released, grab it here.
Report AS6/ASF bugs here.
|
| |
|
|
|
|
|
Posted: Jul 07, 2012 - 09:32 PM |
|


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
|
| |
|
|
|
|
|
Posted: Jul 07, 2012 - 11:43 PM |
|


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? |
|
|
| |
|
|
|
|
|
Posted: Jul 08, 2012 - 08:25 AM |
|

Joined: Dec 16, 2005
Posts: 3094
Location: Bratislava, Slovakia
|
|
|
|
|
|
|
Posted: Jul 08, 2012 - 09:16 AM |
|


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. |
|
|
| |
|
|
|
|
|
Posted: Jul 08, 2012 - 09:22 AM |
|

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 |
|
|
| |
|
|
|
|
|
Posted: Jul 08, 2012 - 10:33 AM |
|


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  |
_________________ Atmel Studio 6.1 is now released, grab it here.
Report AS6/ASF bugs here.
|
| |
|
|
|
|
|
Posted: Jul 08, 2012 - 11:03 AM |
|


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, |
_________________
|
| |
|
|
|
|
|
Posted: Jul 08, 2012 - 07:43 PM |
|


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
Wuttt ....
Now i'm unemployed
Dean .. Thanx for the link.
Now would be a good time to reteach us how we avoid the dreaded register , once again
/Bingo |
|
|
| |
|
|
|
|
|
Posted: Jul 08, 2012 - 07:58 PM |
|


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  |
_________________ Atmel Studio 6.1 is now released, grab it here.
Report AS6/ASF bugs here.
|
| |
|
|
|
|
|
Posted: Jul 08, 2012 - 08:46 PM |
|


Joined: Apr 25, 2004
Posts: 3817
Location: Denmark
|
|
Hmmm ....
No makefile or the likes ....
Well this can be fixed
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 |
|
|
| |
|
|
|
|
|
Posted: Jul 09, 2012 - 09:47 AM |
|


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. |
_________________
|
| |
|
|
|
|
|
Posted: Jul 09, 2012 - 01:34 PM |
|


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
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! |
|
|
| |
|
|
|
|
|