How to get started with AVR32 and EVK1100

Post image of How to get started with AVR32 and EVK1100

This is meant to be a straight forward guide for how to set up your EVK1100, connect it to your PC (with Windows operating system), create a project from an example and finally put the compiled program on to the microcontroller. How to make your own simple programs might be covered in another document in the future. Well, here we go:

First, download and install the latest version of AVR32 Studio, which is 2.2 when I’m writing this. You can find it here: http://www.atmel.com/dyn/products/tools_card.asp?tool_id=4116

Then download and install AVR32 GNU Toolchain that you find here: http://www.atmel.com/dyn/products/tools_card.asp?tool_id=4118
The last thing you need to download is FLIP (FLexible In-system Programmer). This is to get the driver you need for the Board: http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3886 It is sensible to install this to the standard location given so it will be easy to find the driver location later.

When you have installed the AVR32 Studio, the toolchain and FLIP then it’s time to connect the board to your PC. Make sure the power switch is in the position USB so you will get the power from the USB.
After connected you need to reboot the device in to programming mode. This is done by holding down the joysick button while pressing and releasing the reset button. The joystick is found in the lower right corner of the board and the reset button is found in the lower left corner above the Atmel logo.
If you have done it correctly the display should go dark 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\Atmel\Flip 3.3.4\usb” if you installed it at it’s standard path.

Note: If you run Windows 7 you might encounter problems installing the driver, if that is the case I reccomend you install a virtual machine with Windows xp.

Now it’s time to open up AVR32 Studio. You will first come to a welcome screen that you can minimize or close. You should now see the standard programming interface.
In 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:
Debugger/programmer: USB DFU
Microcontroller: UC3A0512
Clock source: Internal RC oscillator
Board: EVK1100

Now all settings should be done and it’s time to compile a sample program to test that everything works.
Do as follows:
In the upper menu: File -> New -> Project…
We now want to select a example project to test our board with. Use the example:

Examples –> EVK1100 – UC3A Software Framework –> EVK1100 – COMPONENTS – DIP204 example

This is an example that will use the display so it’s a good way to quickly see if it works.

Click next, choose a Project Name and click finish.
Now, build the project to create the file you need to put in your microcontroller. In the upper menu: Project -> Build Project
Niceley done! Just one step left. That is to transfer your new example program to the board. This is done by right clicking on your target in the AVR32 Targets veiw and select Program…
In options here make sure to select all checkboxes, they should somewhat speak for themselves.
Now just navigate to your workspace and your example program, go to the sub directory “Debug“, there you should find a file with an .elf ending to it, in my case: “Tutorial_DEBUG.elf”.
Before you click OK make sure your programer is in it’s programming mode, ones again you will get it there by holding the joystick button while pressing and releasing the reset button.
Click OK and it should transfer the program nice and smoth. If you also checked the four check boxes it should reset and execute the program.
Well now, have fun programming your microcontrollers!

Feel free to make a comment! I’m open for suggestions or corrections.

Posted by Vincent Skerved   @   11 November 2009

27 Comments

Comments
Jan 8, 2010
21:32
#1 Andrés :

Hi, I just got the EVK1100 and build the dip204. c example but when I send it to the module the bicolor leds turn orange the and LCD backligt turns on without any stirng on it. I send the GPIO example and it works well. Do you have any idea why this could be happening.Thank you.

Jan 31, 2010
00:06
#2 lefix :

Hi, thanks for the tutorial. I have the same problem like Andrés. Flashing the controller works fine but when executing the example there is just a cursor visible on the LCD. No reaction when pressing the keys. For a solution I would be very thankful :-)

Nov 24, 2010
01:49
#3 Kamran :

Hey!

What if I cant install VIrtual Machine on my computer as in Windows 7 Home edition you cannot install Virtual Machine. Is there any other way around it.

Kami

Apr 13, 2011
17:21
#4 baum :

@lefix and Andrés: i had the same problem when i sent the Program in the AVR32 targets in the studio, but when i started batchisp in the command prompt (cmd) it worked. I used following code:

batchisp -device at32uc3a0512 -hardware usb -operation erase f memory flash blankcheck loadbuffer DIP204_EXAMPLE.elf program verify start reset 0

May 22, 2011
22:13
#5 weightloss :

An attention-grabbing discussion is value comment. I believe that it’s best to write extra on this matter, it won’t be a taboo topic but typically individuals are not sufficient to talk on such topics. To the next. Cheers

Aug 21, 2011
12:37

Thanks bro for writing this very informative article.

Aug 22, 2011
00:36

This site won’t render correctly on my iphone – you might want to try and repair that

Sep 2, 2011
17:57

Hello there! Useful blog! I have been a usual website visitor (whole lot like addict :P ) of the website even though I had a question. I’m just never absolutely certain whether it is the right place to ask, but you’ve got no spam comments. I get comments similar to that of meJjvbProgramy do pobraniaRZwRizx ortry SLZDKjHosting zdjęćrqxDjof on a regular basis. Could you assist me? Thanks for the tips.

Sep 29, 2011
05:51

This is a great blogpost! Looking forward to more of your future blogposts :)

Feb 1, 2012
15:21

Thank you! Lifesaver! Any chance you went to Miduniversity in Sundsvall?

Feb 1, 2012
15:27
#11 Vincent :

@ Christian: Yes, I am still studying there! This site is kind of dead tho. :P

Mar 8, 2013
09:23

Thanks for authoring skerved.se – How to get started with AVR32 and EVK1100.
I’m certainly honestly motivated that somebody would information something like this. This reminds me personally a bit of gems that is a different narrative thoroughly. Have a wonderful day!

May 22, 2013
22:16
#13 Ashwin :

This blog was very helpful. thanks a ton :) but!!!! this is just an example problem.. tell us how to program a normal code… like from new–> C program … not an example program :) thank you :)

Sep 20, 2013
21:45
Oct 13, 2013
21:55
#15 Mike :

Hej, Can you teach me how to use EVK1100, I am in Sundsvall.

Oct 13, 2013
21:56
#16 Mike :

Hej,
Can you teach me how to use EVK1100? I am in Sundsvall now.

Sep 23, 2014
04:56

Hello colleagues, good piece of writing and good arguments commented at
this place, I am truly enjoying by these.

Sep 26, 2014
18:26

Do you mind if I quote a couple of your posts as long as I provide credit and sources back to your blog?
My blog site is in the exact same niche as yours and
my visitors would truly benefit from some of the information you
provide here. Please let me know if this alright
with you. Thanks a lot!

Oct 26, 2014
12:28
#19 Kareem :

That is a great tip particularly to those fresh to the blogosphere.

Brief but very accurate info… Thank you for sharing this
one. A must read article!

Aug 15, 2015
09:20

Currently it looks like Drupal is the top blogging platform available right now.
(from what I’ve read) Is that what you are using on your blog?

Feb 13, 2016
02:23

In order ffor you one thinbg more advanced, contemplate
the gdgt Should-have Fitbit Ultra – or look ahead too the Fitbit One , due out next month.

Jul 19, 2017
01:19
#22 Shani :

Ich abe wurde Surfen Onlline mehr als drei Stunden heute, aber ich niee eiben interessanten Artikel wie dass Ihre zu finden. Es ist Es ist ziemlich
werrt genug für mich. Meiner Meinung, wenn alle Website-Bsitzer und Blogger machte gute Inhalte, wie Sie
taten, die web werden a viel mehr nützlich alss je zuvor.

Aug 15, 2017
04:24

Hllo Hätten Siie etwas dagegen Angtabe die Blog-Plattform Siee mit?
Ich bin auf der Suche werde, meine eigene Blog zu
starten in naher Zukkunft aber ich habe eine
harte schwierig Auswaqhl zwischen Blogengine / WordPress / B2evolution und Drupal.
Der Grnd warum ich frage ist, weil Ihr Design und Stiil
scheint anders als den eisten Blogs und ich interessiere mich für
etwas einzigartig. PS Entschuldigung für bekommen off-topic, aber ich hatte zu fragen!

Trackbacks to this post.
Leave a Comment

Name

Email

Website

Powered by Wordpress   |   Lunated designed by ZenVerse