ATUC64D3 Atmel Corporation, ATUC64D3 Datasheet
![no-image](/images/manufacturer_photos/0/0/79/atmel_corporation_sml.jpg)
ATUC64D3
Specifications of ATUC64D3
Available stocks
Related parts for ATUC64D3
ATUC64D3 Summary of contents
Page 1
Features • Pre-programmed bootloader for AVR UC3 A0, A1, A3, B0, B1 series • USB DFU Bootloaders up to version 1.0.3 • USB Protocol – Based on the USB Device Firmware Upgrade (DFU) Class – Autobaud (8-, 12- and 16-MHz ...
Page 2
Description AVR UC3 devices with the USB feature are shipped with a USB bootloader. This USB bootloader allows to perform In-System Programming (ISP) from a USB host control- ler without removing the part from the system, without a pre-programmed ...
Page 3
AVR32 UC3 Software Framework: http://www.atmel.com/dyn/products/tools.asp?family_id=682#soft • FLIP 3: http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3886 • AVR32 Studio: http://www.atmel.com/dyn/products/tools_card.asp?tool_id=4116 7745C–AVR32–05/09 3 ...
Page 4
Abbreviations • ISP: In-System Programming • BOD: Brown-Out Detector • USB: Universal Serial Bus • DFU: Device Firmware Upgrade • avr32program: AVR UC3 Part Programmer for JTAGICE mkII • FLIP: Flexible In-System Programmer 5. Bootloader Environment The bootloader manages ...
Page 5
Inner Workings 6.1 Memory Layout An AVR UC3 part having the bootloader programmed resets as any other part at 80000000h. Bootloader execution begins here. The bootloader first performs the boot process to know whether it should start the USB ...
Page 6
BOD is enabled by the bootloader and the USB DFU ISP is forced. Table 6-1. Functions of the General-Purpose Fuses General-Purpose Fuse Number 15:0 16 19:17 25:20 26 28: Flash and ISP specification 6 Name Description ...
Page 7
Note that the general-purpose fuse bits are meaningless for the MCU hardware. They are only interpreted by the bootloader and can be freely used by the application if the bootloader is removed. Table 6-2. Bootloader Area Specified ...
Page 8
Flash User Page The bootloader uses the flash User page to store the I/O conditions that determine which of the USB DFU ISP and the application to start at the end of the boot process. Table 6-4. Bootloader Flash ...
Page 9
If external events (power-on reset, external reset, OCD reset, JTAG reset or JTAG hardware reset) are among the reset causes, the boot process checks if the ISP_IO_COND_EN GP fuse bit is 1, and ...
Page 10
Figure 6-2. Boot Process Note: • The ISP_FORCE GP fuse bit is set the ISP on each ISP command received and it is set the ISP when a request to start the application is ...
Page 11
If the ISP_FORCE GP fuse bit is 0 and the user has set the ISP_IO_COND_EN GP fuse bit to 0, the ISP will no longer be reachable, except if the programmed application sets the ISP_FORCE GP fuse bit to ...
Page 12
Using the Bootloader 7.1 Reprogramming the Bootloader By default, all parts are shipped with the bootloader, so there is no need to program it, except if it has been erased with the JTAGICE mkII using a JTAG Chip Erase ...
Page 13
Once the ISP is activated, it establishes a USB connection with the connected PC. It may take a few seconds because of the autobaud that is performed using the USB starts of frames to deter- mine the frequency of the ...
Page 14
Using batchisp The bootloader must previously be programmed and activated. • For each Byte of the ISP configuration word, issue the following commands (using the computed ISP configuration word from step 4 (0x929F58D2)): batchisp -device at32uc3a0512 -hardware usb -operation ...
Page 15
On the next screen, select “Install from a list or specific location (Advanced)” and click ‘Next’: Then request to search in the click ‘Next’: 7745C–AVR32–05/09 folder of the FLIP installation directory as shown below and usb 15 ...
Page 16
Windows will then process the installation of the driver corresponding to the ISP of the con- nected part. Once completed, click ‘Finish’: This installation has to be done for each new part family to use. E.g., using an AT32UC3A0512 then ...
Page 17
Figure 7-1. Typical BatchISP Command Line For each operation, BatchISP displays the result. BatchISP main commands available on AT32UC3xxxxx are: • ASSERT { PASS | FAIL } to the expected behavior. • ONFAIL { ASK | ABORT | RETRY | ...
Page 18
BOOTLOADER format without the major version number (always 1), the ISP ID0 and the ISP ID1. • SIGNATURE ID, the product family ID, the product ID and the product revision. • USER 0x1FF. For further details about BatchISP commands, ...
Page 19
In this pane, click the ‘Create New Target’ button: A new AVR32 target will appear in this pane and its properties will be displayed in the ‘Proper- ties’ pane where it can be renamed (In General tab the ...
Page 20
Usage To issue a command to BatchISP, right-click in the ‘AVR32 Targets’ pane the AVR32 target to use and select a command: 7.6 UC3 Software Framework 7.6.1 Memory Layout All GCC and IAR projects in the AVR UC3 software ...
Page 21
Figure 7-2. Application Programming on AT32UC3A0512 with JTAGICE mkII To program an application with BatchISP, the MCU flash array must contain the bootloader. When programming, BatchISP takes into consideration the whole binary image including the trampoline and the application, but ...
Page 22
Usage To use JTAGICE mkII (without bootloader), first unprotect and erase the MCU flash array with avr32program chiperase make program run An application can be programmed and run with BatchISP (with bootloader) by issuing program run default, rebuild all ...
Page 23
This requires the generation of an Intel HEX extra output file: Once an application has been programmed using BatchISP, it can still be debugged with JTAGICE mkII in the usual way. This is especially interesting for large applications because 7745C–AVR32–05/09 ...
Page 24
BatchISP programs faster than JTAGICE mkII. Under IAR, this will require to suppress JTAGICE mkII download in the project options: In this case, if IAR project options request JTAGICE mkII download verification, an expected warning will be issued by IAR ...
Page 25
Set the program entry label to The trampoline can be removed from a GCC or IAR project to reallocate the size of the boot- loader for the application. This can be achieved by removing the file from the project ...
Page 26
Set the program entry label to To remove the bootloader binary image from a GCC or IAR project, remove the source file from the project and remove the program entry point override. Note that the bootloader binary image added ...
Page 27
Figure 7-4. Extension of the Bootloader on AT32UC3A0512 7745C–AVR32–05/09 MCU Address Space Free Flash Space Application Applicative Bootloader Application is @ 80002000h Atmel's Bootloader Reset vector is @ 80000000h 512-kB Flash Array BOOT PROT ...
Page 28
Software Information 8.1 Software Revision History 8.1.1 Version 1.0.3 - 2009/04/08 8.1.2 Version 1.0.2 - 2008/02/28 8.1.3 Version 1.0.1 - 2007/12/17 8.1.4 Version 1.0.0 - 2007/06/07 • Implements a more robust frequency detection algorithm and supports 8, 12 and ...
Page 29
... UC3 A3 revD UC3 A3 revE & higher Copyright (c) 2009 Atmel Corporation. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of con- ditions and the following disclaimer ...
Page 30
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE ...
Page 31
Frequently Asked Questions 7745C–AVR32–05/09 Q: How do I reprogram the bootloader to the original program and fuse settings ...
Page 32
User’s Guide Revision History 10.1 Rev. D 0110 10.2 Rev. C 0509 10.3 Rev. B 04/09 10.4 Rev. A 07/07 Flash and ISP specification 32 Please note that the referring page numbers in this section are referred to this ...
Page 33
... Atmel products are not suitable for, and shall not be used in, automotive applications. Atmel’s products are not intended, authorized, or warranted for use as components in applications intended to support or sustain life. © 2009 Atmel Corporation. All rights reserved. Atmel trademarks or trademarks of Atmel Corporation or its subsidiaries. Other terms and product names may be trademarks of others. International Atmel Asia Atmel Europe Unit 1-5 & ...