Inside AVR32 Studio I’ll create a new project (File -> New -> AVR32 Example). As I’m going to use the EVK1101 as my base development it may be a good idea to build my first app over a test program like “an example project”. I have choosen the USART Example, which includes the necessary startup files for the MCU plus a small echo client, and modified it to only show “Hello World”.
The good thing about developing over the AVR32 Software Framework is that is fully documented and you will find comments everywhere, what makes the learning curve smooth.
After building this project, you can deploy it either by using an AVR32 Target configured inside AVR32Studio, or by calling the external tool BatchISP which cames with FLIP.
This is a call to BatchISP for programming the “Hello World” example:
Running batchisp 1.2.4 on Mon Mar 29 22:56:02 2010
AT32UC3B0256 - USB - USB/DFU
Device selection....................... PASS
Hardware selection..................... PASS
Opening port........................... PASS
Reading Bootloader version............. PASS 1.0.2
Erasing................................ PASS
Selecting FLASH........................ PASS
Blank checking......................... PASS 0x00000 0x3ffff
Parsing ELF file....................... PASS HelloWorld.elf
Programming memory..................... PASS 0x00000 0x02e9f
Verifying memory....................... PASS 0x00000 0x02e9f
Starting Application................... PASS RESET 0
Summary: Total 11 Passed 11 Failed 0