AVR32 Studio 2.6 Beta is available

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

Beta builds of AVR32 Studio 2.6 are now available at http://www.atmel.no/beta_ware We still don't have a 32-bit Linux package but that should happen pretty soon. 32/64-bit Windows and 64-bit Linux packages are available.

A summary of the highlights:
As of this release what used to be AVR32 Toolchain; AVR Utilities + AVR Toolchains is now included in AVR32 Studio. These are packaged as optional features that are installed per default (meaning they can be uninstalled). There should be no need to install these packages separately. The plug-ins are different for Windows, 32-bit Linux and 64-bit Linux.

Linux binaries are built statically so that we can include one set of binaries suitable for most Linux distros. The Eclipse provisioning mechanisms will of course work out which plug-ins to download depending on the running operating system.

The Jungo USB drivers are also included on the Windows builds. A detection mechanism will attempt to figure out of these are already installed and if not call for action. These drivers can also be installed from "Help > Install AVR USB Drivers". The same command exists for the Linux builds but that will install a suitable set of udev rules instead.

The packaging of AVR32 Studio has been fined tuned so that it's now possible to install directly from a repository or using the new Eclipse Marketplace Client (http://www.eclipse.org/mpc/). This means that you can install AVR32 Studio including toolchains and utilties into any Eclipse 3.5 (or 3.6) based product. Testing has been done ensuring that our code will work with Eclipse 3.6 (aka Helios) that has just been released.

QT600 support is in place and we also have included the UC3 software framework version 1.7.

See more in the release notes. http://distribute.atmel.no/tools...

Last Edited: Thu. Jul 1, 2010 - 05:59 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Your first link doesn't work (you have a '.' at the end).

Regards,
Steve A.

The Board helps those that help themselves.

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

Koshchi wrote:
Your first link doesn't work (you have a '.' at the end).

Thanks for letting me know :-) Fixed.

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

I think you did a very good job to integrate the toolchain and all necessary utilities in the AVR32 Studio. It is a very good idea to link the Linux binaries statically to get rid of the dependency problems with different Linux distributions.

At least one problem seems to be left. The gcc compiler seems to depend on glibc 2.11. Trying to use the gcc compiler on Opensuse 11.2 (stays with glibc 2.10) the following error is shown:
Executing /home/harry/software/to_test/as4e-ide/plugins/com.atmel.avr.toolchains.linux.x86_64_3.0.0.201007011157/os/linux/x86_64/bin/avr32-g++ --version (WAIT)
/home/harry/software/to_test/as4e-ide/plugins/com.atmel.avr.toolchains.linux.x86_64_3.0.0.201007011157/os/linux/x86_64/bin/avr32-g++: /lib64/libc.so.6: version `GLIBC_2.11' not found (required by /home/harry/software/to_test/as4e-ide/plugins/com.atmel.avr.toolchains.linux.x86_64_3.0.0.201007011157/os/linux/x86_64/bin/avr32-g++)

Waiting for Opensuse 11.3 (with glibc 2.11), i've tried to compile the toolchain from source (version 2.4.2) but failed with an internal compiler error in libgcc2.c at line 1855.
Is it possible to create the gcc without dependency to local glibc? Or is there a library path missing in my local configuration?

Any help would be greatly appreciated.

Regards
Harald

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

Actually it is impossible to install from eclipse either way.
http://distribute.atmel.no/tools... is not accessible and has not been for quite a while. None of the yum repositories for the current version are accessibles and obviously not for the new. It may work in house at Atmel but it doesn't work for the rest of the world.
The yum repositories have been made unaccessible since the last release. We get a message of access denied.

With marketplace 2 items are found with the search. The AVR32 Studio version which happens to be available is said to be 2.5.0 and not 2.6.0 and the install button is grayed.

As for the static version working for most people, good luck with that one. I have tried it on a few Linux distributions with no luck.
On SuSE 11.2 it bombs out because the GLIBC version required is too recent. Seeing that I tried it on Fedora 13 and everything worked fine until I tried to debug. The board used is the EVK1103.

avr32gdbproxy gives a core dump. Compiling works fine and even programming.

I installed Ubuntu 10.04, luckily I had a bit of space after removing my old SuSE 11.0 which I haven't used in a while. It works fine on that one, debugging and all. I haven't tried the hard float yet, hope it works.

Please fix this, I do not like ubuntu and would rather work with Mandriva or SuSE.

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

harrym wrote:
I think you did a very good job to integrate the toolchain and all necessary utilities in the AVR32 Studio. It is a very good idea to link the Linux binaries statically to get rid of the dependency problems with different Linux distributions.

Not really, if you compile with the latest and greatest than you have a glibc error for eveyone else. avr32gdbproxy core dumps on Fedora 13 and may do it on other. I still prefer the per distribution option for the binaries. What Atmel should do is involve some of us in the creation of the binaries.

harrym wrote:

Waiting for Opensuse 11.3 (with glibc 2.11), i've tried to compile the toolchain from source (version 2.4.2) but failed with an internal compiler error in libgcc2.c at line 1855.
Is it possible to create the gcc without dependency to local glibc? Or is there a library path missing in my local configuration?

Any help would be greatly appreciated.

Regards
Harald

It is a simple fix. If you need help just write to me and I will explain. I wrote you a personal note.
What I have done is compile the previous version. The source of the new beta version is not available yet. I was told that the new one has hard float support. It will be interesting to see how they compare with IAR on this.

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

harrym wrote:
I think you did a very good job to integrate the toolchain and all necessary utilities in the AVR32 Studio. It is a very good idea to link the Linux binaries statically to get rid of the dependency problems with different Linux distributions.

Thanks :-)

harrym wrote:

Is it possible to create the gcc without dependency to local glibc? Or is there a library path missing in my local configuration?

Any help would be greatly appreciated.


The problem is not on your side. This has been fixed and the integrated toolchain now works nicely also on OpenSUSE 11.2. Mandriva is not on the list of distros to test, but it should work OK. (We no longer depend on the local glibc.) It will be released as soon as we have a few other issues worked out.

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

minou_ wrote:
Actually it is impossible to install from eclipse either way.
http://distribute.atmel.no/tools... is not accessible and has not been for quite a while. None of the yum repositories for the current version are accessibles and obviously not for the new. It may work in house at Atmel but it doesn't work for the rest of the world.
The yum repositories have been made unaccessible since the last release. We get a message of access denied.

The repository will be made available as soon as the release is ready. We don't want anyone to automatically upgrade to something that does not work.

I'll have someone take a look at the 403 for the yum repos. Note that these repositories will probably not be ready at the same time as the IDE.

minou_ wrote:
With marketplace 2 items are found with the search. The AVR32 Studio version which happens to be available is said to be 2.5.0 and not 2.6.0 and the install button is grayed.

Same thing here. The marketplace repository will be made available when everything is ready.

minou_ wrote:
As for the static version working for most people, good luck with that one. I have tried it on a few Linux distributions with no luck.
On SuSE 11.2 it bombs out because the GLIBC version required is too recent. Seeing that I tried it on Fedora 13 and everything worked fine until I tried to debug. The board used is the EVK1103.

It's in the works. A release candidate will have this fixed.

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

torkildr wrote:

The repository will be made available as soon as the release is ready. We don't want anyone to automatically upgrade to something that does not work.

Good!

torkildr wrote:

I'll have someone take a look at the 403 for the yum repos. Note that these repositories will probably not be ready at the same time as the IDE.

Here is the message :

Forbidden

You don't have permission to access /tools/avr32/release/fedora/12/i386/ on this server.
Apache/2.2.0 (Fedora) Server at distribute.atmel.no Port 80

We get similar messages for SuSE, Ubuntu or RHEL and it doesn't work at all with yum for Fedora. It worked before your last update. Also one of the IDE files for Linux on the Atmel server could not be downloaded, luckily I found the same one on the beta site.

torkildr wrote:

minou_ wrote:
As for the static version working for most people, good luck with that one. I have tried it on a few Linux distributions with no luck.
On SuSE 11.2 it bombs out because the GLIBC version required is too recent. Seeing that I tried it on Fedora 13 and everything worked fine until I tried to debug. The board used is the EVK1103.

It's in the works. A release candidate will have this fixed.

Will you release the source code as well at that time?
Are we talking about when the release to the public for the UC3C or before that?

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

I downloaded the zip file and extracted to a folder. Is this everything required to run the software? I didn't see any installer. When I execute avr32studio.exe, I click Help->AVR32 Studio->Check Environment. I get this output:

The built in distribution of "AVR Toolchain" is being used.
avr32-gdb: Found version 6.7.1.atmel.1.0.4
avr32-g++: Found version 4.3.3
avr32-gcc: Found version 4.3.3
avr32-as: Found version 2.20.1.20100303
avr32-nm: Found version 2.20.1.20100303
The built in version of "AVR Utilities" is being used.
avr32program: (Need version 4.2 or newer)
avr32gdbproxy: (Need version 4.2 or newer)
avrfwupgrade: (Need version 2.1 or newer)

You are using the MinGW version of the AVR Utilities and AVR Toolchains.

There are multiple problems with dependent executables or path settings. Please make sure the AVR Utilities and Toolchains are installed. See the release notes for further details.

The actual search path used is: (my path)

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

Hello, I'm trying to find the source used to build the binutils/gcc for the AVR32 2.6 compiler/linker and am unable to do so. I'm able to get the binary version, but I'd like to get the source so I can build/patch gcc manually.

I tried looking through the various Eclipse screens, but I found no link to the source. Can you post a URL somewhere?

Thanks

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

I think you'll need to ask avr32@atmel.com directly, AFAIK there is a patch set for this release, not just a big blob as it used to be.

Hans-Christian