|
|
AVR32, PIC32, MIPS and ARM Embedded Software |
|
|
If you think that any of those
programs are of some use to you, please take a few minutes to make a
small donation.
Give whatever you think is appropriate for the time it saved you. This button will provide you with a secure connection to paypal. If you need to reach me by Email for any reason add an @ after my name in mcatudalcomcast.net to get my Email address. AVR32
Software
Debugging
AVR32 software under Linux has become a bit tricky nowadays since Atmel
has decided to stop supporting Eclipse under Linux. They still provide
new binaries for linux assembler, compiler and debugger but no new ones
for the utilities avr32gdbproxy and avr32program. The last working
avr32gdbproxy dates
from dec 2010 and does not work with the latest linux distributions. According to Atmel AVR32Studio 2.6 is working on Fedora 12 and 13, Redhat Enterprise 4 and 5, Ubuntu 8.04 or 10.04 and SuSE 11.1 and 11.2. Note that anything that works for RedHat Enterprise Linux will work with Centos and Scientific Linux. I found that binaries for Fedora 12 work on Centos 6.0 as well as Scientific Linux 6.1. On Gentoo the version from Fedora 12 works but I was not able to debug with AVR32Studio. Perhaps a solution on Gentoo would be to forget about AVR32Studio and use ddd or codeblocks. To get avr32gdbproxy from Fedora 12 to work on the latest Fedora or Mageia you will need to add some older libraries in a similar fashion to what I did for Gentoo I found a way to get avr32proxy to work on gentoo. I used Fedora 12 files from Atmel and the needed libraries from Scientific Linux. If your system is 32 bits the procedure would be similar but using 32 bits binaries. I used rpm2tgz to convert those files avr32gdbproxy-4.1.0-1.fc12.x86_64.rpm libavr32ocd-4.1.0-1.fc12.x86_64.rpm avr32program-4.1.0-1.fc12.x86_64.rpm libavr32sim-0.3.0-1.fc12.x86_64.rpm avrfwupgrade-2.0.0-1.fc12.x86_64.rpm libavrtools-4.1.0-1.fc12.x86_64.rpm boost-filesystem-1.41.0-11.el6_1.2.x86_64.rpm libelfdwarfparser-3.0.3-1.fc12.x86_64.rpm boost-system-1.41.0-11.el6_1.2.x86_64.rpm mpfr-2.4.1-6.el6.x86_64.rpm boost-thread-1.41.0-11.el6_1.2.x86_64.rpm xerces-c-2.8.0-5.fc12.x86_64.rpm gmp-4.3.1-7.el6.x86_64.rpm avr32trace-2.2.0-1.fc12.x86_64.rpm I then copied all the libs and bin with "cp -pPR" to /usr/local/lib64 and /usr/local/bin I have to copy the xml parts to /usr/share/avr32 That can be either the ones from the windows program or the one from Fedora 12 avr32parts-2.4.0-1.fc12.noarch.rpm The easiest approach is obviously to upgrade to Scientific Linux 6.1 since the binaries from AVR32Studio 2.6 work fine. Another good reason to upgrade to Scientific Linux is that unlike many other Linux distributions, they haven't downgraded gnome to version 3 yet. AVR32Studio 2.6 was the last version that was tested by Atmel. If you want the very latest binaries, use mine. The Linux binaries from Atmel are slightly older than the windows binaries. If you want to see the differences, check the patches from a windows install and those from a Linux installation. My assembler, compiler and debugger were created with the official GNU files patched with the patches from Atmel. You will need to copy the latest headers which you can get from Atmel's web site, they are included in the lastest framework. I cannot provide a package for you because Atmel forbids redistribution of non GPL code. Using my spec file you can create your own package. My binaries have been created on Scientific Linux 6.1, they should work fine on Enterprise Linux 6.0 from Redhat as well as Centos 6.0 and perhaps Fedora 12. For other distributions you will need to recompile the binaries. I provide locales but do not install the locales if you allready have the locales of binutils or gcc installed. The locale for those will be used. The avr32 pascal compiler is based on the latest released code with patches added to support some AVR32 processors uc3b, uc3c and uc3l. This code is at a very early alpha mode so don't expect it to be fully functional. If you wish to contribute to the development or debugging just get in touch with me. I have no plan to support Linux on the AVR32 as Atmel is no longer working on the AVR32 devices where you can run Linux. If you decide that you want to recompile this code you will need to create a link for the avr32 assembler since the fpc code expects avr32-embedded-as while the real assembler is called avr32-as. At this time I am only concentrating on the uc3c0512crevc and uc2b0256es devices. I will eventually add other processors to the list.
Updated pascal compiler (AMD64)
ARM
Software
My binaries have been created on
Scientific Linux 6.1. These binaries can install on Enterprise Linux
from Redhat, Centos and possibly Fedora 12. For all other systems you
need to recompile the source. Do not install the locales if you
allready have binutils or gcc
installed. The locale for those will be used.
Those are for the most part
librairies provided by the
manufacturers and are slightly modified by me and some other people to
work
with the free compilers. Most of them are not GPL which means that you
cannot take this code or
any portion and release it as GPL.
MIPS Software
My binaries have been created on
Scientific Linux 6.1. These binaries can install on Enterprise Linux
from Redhat, Centos and possibly Fedora 12. For all other systems you
need to recompile the source. Do not install the locales if you
allready have binutils or gcc
installed. The locale for those will be used.
PIC32 Software
My binaries have been created on
Scientific Linux 6.1. These binaries can install on Enterprise Linux
from Redhat, Centos and possibly Fedora 12. For all other systems you
need to recompile the source. Do not install the locales if you
allready have binutils or gcc
installed. The locale for those will be used.
This code is based on the source that has been made public by Microchip. The name has been changed so it will not violate any patent or registered trademark. This code has only GPL code which means that it doesn't include any proprietary software like the Microchip libraries. It also means that you need to write your own functions or get the libraries from Microchip. This compiler is similar to Microchip's version 2.01 expect for the fact that optimization is not disabled and this compiler comes free of charge. If you make any fixes or modifications make sure that you let me know about them. Take note that it uses the mpfr, gmp and mpc from Scientific Linux 6. This compiler like the one from Microchip doesn't support C++.
|
|
|
|
|
|
|
|
This page has been hit times.
Copyright 2012 Michel Catudal