Está en la página 1de 2

Programming EVK1100 with AVR32

Step 1 : Download and install the AVR32 Studio version 2.6.0


You can find it on shared folder: :\\192.168.1.7\ShareFolder\Softwares\EmbeddedSystems
with name avr32studio-ide-2.6.0.753-installer.

Step 2: Download and install the Flip 3.4.5 to get usb drivers for your board.
You can find it on shared folder: :\\192.168.1.7\ShareFolder\Softwares\EmbeddedSystems
with name Flip Installer - 3.4.5.106.
Step 3: Installing drivers for EVK1100
When you have installed the AVR32 Studio and FLIP, connect the board to your PC. Put power
switch at the USB position so it gets power from the USB.
After connecting you need to put the device in programming mode. This can be done by holding
down the joysick button while pressing and releasing the reset button. The joystick is located at
the lower right corner of the board and the reset button is located at lower left corner above the
Atmel logo.
If done correctly the lcd display will go off and a message about installing the driver should
pop up on your computer screen. You will need to install the driver manually, i.e. you will
need to browse for the file on your harddrive. The file should be located in C:\Program
Files(x86)\Atmel\Flip 3.4.5\usb if you have installed FLIP at its default path.
Step 4: Make new Target for EVK1100
Open AVR32 Studio. You will first come to a welcome screen that you can minimize or close.
You should now see the standard programming interface like eclipse.
At the lower right corner you should have a View called AVR32 Targets, if not, you can
open it up by selecting Window -> Show View -> AVR32 Targets in the upper menu.
You will need to create a new target, so click on the button right to the mimimize button in the
AVR32 Targets View. Right click and select Properties. Choose a name, i.e. EVK1100 Click
Details and choose/fill in the following data fields:
Debugger/programmer: USB DFU
Microcontroller: AT32UC3A0512
Clock source: Internal RC oscillator
Board: EVK1100
Step 5: Create Project
Now all settings should be done and you need to build a sample program to test the board
In the upper menu: File -> New -> Project
Select an example project to test the board with. Use the example:

AVR Examples projects > AT32UC3A0512 > EVK1100 COMPONENTS DIP204 example

This is an example that will use the lcd display.


Click next, choose a Project Name and click finish.
Now, build the project to create the (.elf )file you need to put in your microcontroller. In the
upper menu: Project -> Build Project.
Step 6: Transfer your new example program to the board.
Right click on your target in the AVR32 Targets veiw and select Program.
Under options , make sure to select all checkboxes. Give path to your workspace and your
example program, go to the sub directory Debug, there you should find a file with
<your_project_name>.elf name.
Click OK and it should transfer the program to the board. If you also checked all check boxes it
should reset and execute the program with lcd displaying the following :
ATMEL
EVK1100
AVR32 UC3
AT32UC3A series

Note : Repeat step 5 to 6 for further programming.

También podría gustarte