ATEVK1100 Atmel, ATEVK1100 Datasheet
![KIT DEV/EVAL FOR AVR32 AT32UC3A](/photos/9/20/92034/mfg_atevk1100_sml.jpg)
ATEVK1100
Specifications of ATEVK1100
Available stocks
Related parts for ATEVK1100
ATEVK1100 Summary of contents
Page 1
AVR ONE! .................................................................................................................... Quick-start Guide ® EVK1100 + Windows 32103C–AVR ONE!–02/10 ...
Page 2
Section 1 Introduction................................................................................................................. 1-1 1.1 General .............................................................................................................................. 1-1 1.2 Requirements..................................................................................................................... 1-1 Section 2 Quick-start guide (short version) ................................................................................ 2-1 2.1 Install Hardware and software ........................................................................................... 2-1 2.2 Create a demonstration project ......................................................................................... 2-1 2.3 Configure target MCU for a debug ...
Page 3
Start the trace debug session .......................................................................................... 6-23 6.7 Modify the code and restart the debug session ............................................................... 6-26 Section 7 Firmware Upgrade...................................................................................................... 7-1 7.1 Firmware upgrade overview............................................................................................... 7-1 7.2 Firmware version test and upgrade ................................................................................... 7-1 7.3 Adapter ...
Page 4
... AVR32 Studio. In addition to the AVR ONE! debugger, you need the following items: – AVR32 Studio 2.5 software – AVR32 GNU Toolchain 2.4 – EVK110x Evaluation board Software and documents can be found at www.atmel.com/avrone 1.2 Requirements This example was created running Microsoft Windows, the behaviour when installing software and drivers may be slightly different ...
Page 5
Install Hardware and software Install the MICTOR38 connector on the EVK1100 board. Download and install avr32-gnu-toolchain-2.4.x and AVR32Studio-2.5.x. Connect AVR ONE! to power and USB and turn it on. Install AVR ONE! USB driver. Connect AVR ONE! to the ...
Page 6
Select Debugger tab and tick Stop on startup at: main. 2.4 Start the debug session and configure AVR32 Studio 2.5 for trace Click the Debug-button. Now the program will be loaded into the target, and run until main(). When the ...
Page 7
... To be able to connect to the evaluation board AUX port, you need to solder a connector to the board. The AVR ONE! Kit contains one MICTOR38 connector for this purpose. If you need more connectors for other kits, or your own designs, you can buy more connectors from Atmel, or Tyco Electronics/AMP. The Tyco Electronics/AMP Part number is 2-5767004-2. ...
Page 8
Unpack the Mictor38 connector and remove the pick-and-place pad Figure 3-2. Remove the pick-and-place pad Place the connector onto the footprint on the evaluation board. Make sure that the guide tab beneath the connector fits into the guide hole in ...
Page 9
Make sure that the connector is firmly seated on the footprint, and start by soldering the corners. Figure 3-4. Soldering the corners When all corners are soldered, check that connector is still firmly seated still possible to push ...
Page 10
Solder the remaining pins. Figure 3-6. Continuing with the remaining pins After soldering, you should make sure that there are no shorts circuits between pins. Figure 3-7. All pins finished AVR ONE! Quick-start Guide Hardware preparation 3-4 32103C–AVR ONE!–02/10 ...
Page 11
Turn the board and apply flux on the ground pins. Figure 3-8. Apply flux on ground pins Solder the five ground pins. Figure 3-9. Solder ground pins AVR ONE! Quick-start Guide Hardware preparation 3-5 32103C–AVR ONE!–02/10 ...
Page 12
Download the software To use the AVR ONE!, you must download and install two software packages: avr32-gnu-toolchain-2.4.x.exe AVR32Studio-2.5.x.exe The AVR32 Toolchain is a collection of tools that are required to be able to work with the AVR ONE! It ...
Page 13
... Download the two installation files to your disk. The installation files can be found at this location: www.atmel.com/avrone 4.3 Install AVR32 GNU Toolchain If you have any AVR tools connected to the USB hub, turn them off now. Otherwise the USB driver installation may fail. ...
Page 14
Figure 4-3. AVR32 GNU Toolchain License Agreement form Select I accept the terms of the licence agreement, then click Next. Figure 4-4. AVR32 GNU Toolchain installation folder select Check that the installation folder is correct and click Next. AVR ONE! ...
Page 15
Figure 4-5. AVR32 GNU Toolchain installer configuration finished Click Install. Figure 4-6. AVR32 GNU Toolchain installation progress indicator The AVR32 GNU Toolchain is now being installed part of the installation process, USB drivers for all supported programming and ...
Page 16
Figure 4-7. USB Drivers installation start Figure 4-8. USB Driver installer welcome Click Next. AVR ONE! Quick-start Guide Software Installation 4-5 32103C–AVR ONE!–02/10 ...
Page 17
Figure 4-9. USB Drivers licence agreement form Select I accept the terms of the licence agreement, then click Next. Figure 4-10. USB drivers installer configuration finished Click Install. AVR ONE! Quick-start Guide Software Installation 4-6 32103C–AVR ONE!–02/10 ...
Page 18
Figure 4-11. USB Drivers installation progress indicator Figure 4-12. USB Drivers installation complete Click Finish. AVR ONE! Quick-start Guide Software Installation 4-7 32103C–AVR ONE!–02/10 ...
Page 19
Figure 4-13. AVR32 GNU Toolchain installation complete Click Finish to complete the AVR32 Toolchain installation process. 4.4 Install AVR32 Studio 2.5 Double-click on the AVR32Studio-2.5.x.exe file to start the installation process. Figure 4-14. AVR32 Studio 2.5 installer welcome Click Next. ...
Page 20
Figure 4-15. AVR32 Studio installation folder select Check that the installation folder is correct and click Next. Figure 4-16. AVR32 Studio installer configuration finished Click Install to start the installation. AVR ONE! Quick-start Guide Software Installation 4-9 32103C–AVR ONE!–02/10 ...
Page 21
Figure 4-17. AVR32 Studio installation progress indicator Wait for the installation process to complete suitable Java™ runtime is not installed, a Java installer wizard will guide you through the installation procedure. Figure 4-18. AVR32 Studio installation process complete ...
Page 22
Connect the AVR ONE! to power and USB host Connect the AVR ONE! to power using the supplied power supply. Connect the AVR ONE! to the USB host (PC) using the supplied USB cable Turn on the AVR ONE! ...
Page 23
... AVR ONE! is connected to the PC, even if the driver is the same as for all other AVR ONE!s that have been connected previously. This is a property of the operating system, and is not controlled by any Atmel software installed. Figure 4-20. “New hardware” notification pop-up Figure 4-21 ...
Page 24
Figure 4-22. Hardware installation wizard configuration Select Install the software automatically and click Next. Figure 4-23. Hardware installation in progress Wait for the installation process to complete. AVR ONE! Quick-start Guide Software Installation 4-13 32103C–AVR ONE!–02/10 ...
Page 25
Figure 4-24. Hardware installation wizard complete Click Finish. AVR ONE! Quick-start Guide Software Installation 4-14 32103C–AVR ONE!–02/10 ...
Page 26
Connect the AVR ONE! to the EVK1100 Connect the AVR ONE! debugger to the EVK1100 evaluation board using the MICTOR38 connector. Figure 5-1. AVR ONE! connected to the EVK1100 AVR ONE! Quick-start Guide Section 5 5-1 32103C–AVR ONE!–02/10 ...
Page 27
Connect the EVK1100 to power Connect the EVK1100 to power and turn it on. The easiest way to provide power is to use the supplied USB cable. Switch setting the power switch to USB. Figure 5-2. ...
Page 28
Start AVR32 Studio Start AVR32 Studio. Start-up may take a while (because of all the Java libraries being loaded). Figure 6-1. AVR32 Studio splash screen Figure 6-2. AVR32 Studio workspace selection Select a suitable workspace folder for your project ...
Page 29
Figure 6-3. AVR32 Studio Welcome view Exit from the welcome screen to the workbench by clicking on the Close Page icon (Arrow). 6.2 Configure adapter and target Before you can use the AVR ONE! and the EVK1100, you have to ...
Page 30
Add and configure the adapter (AVR ONE!) Figure 6-4. Scan Targets Right-click in the AVR32 Target-view and select Scan Targets. Figure 6-5. Available targets Select the AVR ONE! Figure 6-6. AVR ONE! Selected AVR ONE! Quick-start Guide Create demo ...
Page 31
Figure 6-7. Selecting the properties view Click on the Properties tab. Figure 6-8. Properties view If you have several adapters connected at the same time, this is the place where you can give them unique names. Just type the name ...
Page 32
Configure target board and MCU Select the Details tab. Figure 6-9. Setting the board and device type Set MCU to UC3A0512 or UC3A0512ES, depending on what MCU is installed on your EVK1100. Figure 6-10. MCU Markings To check which ...
Page 33
Set MCU Clock source to Crystal. Adjust the JTAG Clock to a suitable value (Usually 33MHz or less. Max speed depends on target board signal quality). Click Apply. The target and adapter configuration process is now complete. AVR ONE! Quick-start ...
Page 34
Target MCU Chip erase If the EVK1100 evaluation board is brand new still contains the original demo application (Control Panel Demo), the FLASH lock-bits need to be cleared. Right-click on the AVR ONE! In the AVR32 ...
Page 35
Create a demonstration project Figure 6-12. Create new project Create a new project by clicking File>New>AVR32 Example Project. Figure 6-13. Select project example Select EVK1100 – Components - DIP204 example, then Next AVR ONE! Quick-start Guide Create demo application ...
Page 36
Figure 6-14. New project name Enter a name for the project, and click Finish. AVR ONE! Quick-start Guide Create demo application 6-9 32103C–AVR ONE!–02/10 ...
Page 37
Figure 6-15. Build project Right-click on the project in Project Explorer-view and select Build Project (or press CTRL+B). Figure 6-16. Project build progress Wait for the project build process to finish. AVR ONE! Quick-start Guide Create demo application 6-10 32103C–AVR ...
Page 38
Figure 6-17. Console view The console shows output from the compiler. Make sure that this ends with a “Build complete ...” mes- sage (Except for the “Time consumed” message). If something is not working, you will see error messages in ...
Page 39
Create a new debug launch configuration In the Debug Configurations view, select AVR32 Application and right click and select New. A new launch configuration will be created and default values will be filled into all applicable fields. Select the ...
Page 40
Configure the target trace module for program trace Figure 6-20. Debug configurations, Trace tab Select the Trace tab and click Enable Trace. AVR ONE! Quick-start Guide Create demo application 6-13 32103C–AVR ONE!–02/10 ...
Page 41
Figure 6-21. Preferred Trace method Select the preferred trace method. In this case we want Buffered AUX Trace. AVR ONE! Quick-start Guide Create demo application 6-14 32103C–AVR ONE!–02/10 ...
Page 42
Figure 6-22. Trace buffer size Select Buffer Size. We select 16kB for a quick test. Figure 6-23. Buffer full action Selected the preferred action when buffer is full. In this case we choose Break, read out and halt. AVR ONE! ...
Page 43
Configure the target trace module for data trace We would like to keep an eye on one of our variables this, we configure a data trace range. In our case, we want a trace message each time ...
Page 44
Figure 6-27. Configured data trace range 6.5 Start a debug session and configure the debugger for trace Figure 6-28. Starting a debug session Click the Debug button. Now the program will be loaded into the target, and run until main(). ...
Page 45
Figure 6-29. Switching perspective When the debug session starts, AVR32 Studio 2.5 will change to the Debug perspective (desktop layout designed for use during debug sessions). You should click Yes. To avoid being asked every time you start a debug ...
Page 46
Add start and stop trace-points Figure 6-31. Source code editor Scroll down to and select line 356 in the file DIP204_Example.c and then select Run>Toggle Trace Point. AVR ONE! Quick-start Guide Create demo application 6-19 32103C–AVR ONE!–02/10 ...
Page 47
Figure 6-32. Tracepoint (Start) Set Tracepoint Configuration values: – Set Trigger Event to Program Counter – Set Trace Operation to Start Trace – Set Tracepoint type to both Program trace and Data trace – Click OK This will create a ...
Page 48
Figure 6-33. Tracepoint (Stop) Set Tracepoint Configuration values: – Set Trigger Event to Program Counter – Set Trace Operation to Stop Trace – Set Tracepoint type to both Program trace and Data trace – Click OK This will create a ...
Page 49
Figure 6-34. Source editor with tracepoint indicators The source editor now has two tracepoint indicators next to the respective code lines. Figure 6-35. Trace data view (empty) Click on the Trace Data tab to bring the trace data view to ...
Page 50
Start the trace debug session Figure 6-36. Resume debug session Make sure that the main() process is still selected in the Debug view before pressing the Resume button. Figure 6-37. LCD Display showing original message The display should look ...
Page 51
Figure 6-38. Target stopped because trace buffer full Figure 6-39. Trace data view (not empty) Have a look at the trace data collected by clicking on a trace frame. Figure 6-40. Changing trace view format Change the format of the ...
Page 52
Figure 6-41. Set trace view format to Mixed source and Disassembly Figure 6-42. Viewing Mixed source and disassembly trace data Double-click on a trace frame to highlight source code in the source editor. AVR ONE! Quick-start Guide Create demo application ...
Page 53
Figure 6-43. Trace frame highlighting source code in the editor 6.7 Modify the code and restart the debug session If we want to make changes to our code, we must stop the debug session, edit, rebuild and start the debug ...
Page 54
Edit the source code. This example changes the cursor position in line 342 from (6,3) to (1,3), then the text in line 343. Figure 6-45. Editing source code line 343 AVR ONE! Quick-start Guide Create demo application 6-27 32103C–AVR ONE!–02/10 ...
Page 55
Figure 6-46. Source code edit finished Start a new debug session. AVR32 Studio uses the previous Launch Configuration if you just press the Debug button. Figure 6-47. The Debug button Figure 6-48. Save edited source code dialog Confirm saving the ...
Page 56
Figure 6-49. Resume button Click “Resume” to start the application. Figure 6-50. LCD Display showing edited message The LCD display should now contain the edited message. Congratulations! You have now created your first AVR32 application and collected real time trace ...
Page 57
Firmware upgrade overview The tools (adapters) used to provide the physical connection between PC and target MCU contains firm- ware. This firmware needs to be compatible with the gnu toolchain and AVR32 Studio installed on the PC. When AVR32 ...
Page 58
Firmware upgrade progress can be monitored by activating the Progress view. Figure 7-3. Firmware upgrade progress A firmware upgrade report can be found in the Console view. Figure 7-4. Firmware upgrade report 7.3 Adapter in use The firmware version test ...
Page 59
... Disclaimer: The information in this document is provided in connection with Atmel products. No license, express or implied, by estoppel or otherwise, to any intellectual property right is granted by this document or in connection with the sale of Atmel products. EXCEPT AS SET FORTH IN ATMEL’S TERMS AND CONDI- TIONS OF SALE LOCATED ON ATMEL’S WEB SITE, ATMEL ASSUMES NO LIABILITY WHATSOEVER AND DISCLAIMS ANY EXPRESS, IMPLIED OR STATUTORY WARRANTY RELATING TO ITS PRODUCTS INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT ...