Most settings and Z32U cross-compilation environment configuration similar
Windows environment
Step two: driver installation and mkII lite V2 of toolchain
Installation and operation avr32-gnu-toolchain-2.0.3.exe, prompted by the installation, insert mkII lite After installation, the drive automatically search
Step three: Install the Integrated Development Environment
Run AVR32Studio-2.0.2-Setup.exe, to ensure that the installation is complete and the cygwin toolchain path PATH environment variable, i.e. PATH path is such that at least
C:\Program Files\Atmel\AVR Tools\AVR32 Toolchain\bin;C:\Program Files\Atmel\AVR Tools\AVR32 Toolchain\avr32\bin;C:\Program Files\Atmel\AVR Tools\AVR32 Toolchain\libexec\gcc\avr32\4.2.2;
Use the following command to confirm the correct path configuration
ld –version
as –version
cc1 –version
If you are atmel version, that is correct
Press the "Software Operation Manual 1.1.pdf" instructions to complete the configuration of the development environment
Step four (Optional): a drive mounted DFU
Installation Flip_Installer_3_3_2.exe, which contains a driving DFU
linux installation
Linux the installation is relatively simple, the following operating steps
Installation xerces-c
yum install xerces-c
Expand avr32_gnu_toolchain_fedora_8.zip, install all rpm
rpm -i avr32-binutils-2.17.atmel.1.2.6-1.fc8.i386.rpm avr32-gcc-newlib-4.2.2-atmel.1.0.8_1.fc8.i386.rpm avr32-gdb-6.7.1.atmel.1.0.3-1.fc8.i386.rpm avr32gdbproxy-3.0.11-1.fc8.i386.rpm avr32headers-1.9.11-1.fc8.noarch.rpm avr32-linux-binutils-2.17.atmel.1.2.6-1.fc8.i386.rpm avr32-linux-gcc-4.2.2-atmel.1.0.8_1.fc8.i386.rpm avr32-linux-gdb-6.7.1.atmel.1.0.3-1.fc8.i386.rpm avr32parts-1.9.9-1.fc8.noarch.rpm avr32program-3.0.4-1.fc8.i386.rpm avr32trace-2.0.3-1.fc8.i386.rpm avrfwupgrade-1.0.3-1.fc8.i386.rpm libavr32ocd-3.0.8-1.fc8.i386.rpm libavr32sim-0.2.1-1.fc8.i386.rpm libavrtools-3.0.9-1.fc8.i386.rpm libelfdwarfparser-2.0.5-1.fc8.i386.rpm
Expand avr32studio-ide-R2.0.2-linux.gtk.x86.zip run directly avr32studio
Autotools support under linux, according to the installation instructions to install autotools pligin follows http://sourceware.org/eclipse/autotools/
Sourceware Eclipse update site: http://sourceware.org/eclipse/update
To install the update, go to: Help -> Software Updates -> Find and install… There, click on “Search for new features to install” and hit next If you don’t already have the Sourceware Eclipse site set up, hit “New Remote Site…” and put in the URL given above. Check off the new site you added and then hit “Finish” Choose to install autotools and hit Finish
The debugger can be used in the mode autotools
Common Commands
View information avr32program -l -v writer
Erase flash
avr32program chiperase
Writing dfu bootloader,
avr32program chiperase
avr32program program -finternal @ 0 × 80000000,512Kb -cxtal -e -v -O0 × 80000000 -Fbin at32uc3a-isp-1.0.0.bin
avr32program program -finternal @ 0 × 80000000,512Kb -cxtal -e -v × -O0 808001FC -Fbin at32uc3a-isp_cfg-1.0.1.bin
Use batch isp programming application
batchisp -device at32uc3b0256 -hardware usb -operation erase f memory flash blankcheck loadbuffer myapp.elf program verify start reset 0