Sei sulla pagina 1di 21

Atmel Software Framework Release Notes 3.2.

Introduction

The Atmel® Software Framework (ASF, www.atmel.com/asf) is a compilation


of embedded software for Atmel flash MCUs: megaAVR®, AVR XMEGA®,
AVR UC3 and SAM devices. It has been designed to help develop and glue
together the different components of a software design. It can easily integrate
into an operating system (OS) or run as a stand-alone product. Atmel
The ASF is included in Atmel Studio® 6 (www.atmel.com/atmelstudio). A Microcontrollers
separate package is available for megaAVR, AVR XMEGA, AVR UC3 and
SAM users for IAR™, Atmel AVR Studio 4 and AVR32 Studio on
www.atmel.com/asf. Atmel Studio users do not need this package as the ASF
is integrated in Atmel Studio.
Release Notes
This document describes the supported devices, supported tools, and
changes since last ASF release (enhancements, bugs fixes and known
issues).

Device Support

This release supports the following devices:


AVR UC3 A0/A1 (revision H and later)
AVR UC3 B (revision F and later)
AVR UC3 A3/A4 (revision E and later)
AVR UC3 A3xS/A4xS (revision E and later)
AVR UC3 C (revision D and later)
AVR UC3 D
AVR UC3 L0 (revision D and later)
AVR XMEGA A1
AVR XMEGA A1U
AVR XMEGA A3
AVR XMEGA A3B
AVR XMEGA A3U
AVR XMEGA A3BU
AVR XMEGA A4U
AVR XMEGA A4
AVR XMEGA B
AVR XMEGA C
AVR XMEGA D3
AVR XMEGA D4
megaAVR: ATmega1284P
megaAVR: ATmega2560
megaAVR: ATmega48/88/168/328
megaAVR: ATmega16/32
megaAVR: ATmega169/329
megaAVR: ATmega64/128
megaAVR: ATmega324/644/1284
SAM3N
SAM3S
SAM3U
SAM3X
SAM4S
Supported Tools
Atmel Studio 6 using GCC compiler:
ARM version 4.6.1
32-bit AVR version 4.4.3 (AVR_32_bit_GNU_Toolchain_3.3.1_304)
8-bit AVR version 4.5.1 (AVR_8_bit_GNU_Toolchain_3.3.1_444)
Atmel AVR32 Studio version 2.6
Atmel AVR Studio 4.18 SP3
IAR EWAVR32 version 3.30
IAR EWAVR version 5.50 and version 6.10
IAR EWARM version 6.30
WinAVR version 20100110

Note: IAR EWAVR32 requires updated header files for the UC3 A3 and UC3 A3xS, UC3C C revision C, UC3 L series (unzip the
avr32/utils/header_files/avr32-headers.zip under /Embedded Workbench x.x/avr32/inc/). WinAVR requires updated header files (refer to
xmega/utils/header_files/readme.txt).

Note: DataFlash®, QT™, QTouch®, STK® are Atmel trademarks: http://www2.atmel.com/About/trademark_usage.aspx.

Documentation
ASF getting started and reference manual: http://www.atmel.com/asf/.
ASF on-line documentation: http://asf.atmel.com/.
Atmel Studio 6 videos: http://www.atmel.com/microsite/atmel_studio6/videos.aspx

Contact Information
For more info about Atmel MCU visit http://www.atmel.com/products/microcontrollers/default.aspx, download
application notes from the Application Notes page or contact support through the http://support.atmel.no/ site. The
support site also have a Frequently Asked Questions.

ASF bug or enhancement requests can be reported in the ASF Bug Tracker at http://asf.atmel.com/bugzilla/.

Community Information
These forums can be used to have an open discussion about usage, development, bugs, fixes, improvements, etc.
ASF forum on AVRFreaks® (AVR users) at www.avrfreaks.net/index.php?name=PNphpBB2&file=viewforum&f=21.
ASF forum on AT91® (SAM users) at http://www.at91.com.

AVR4000-ASF3.2.129-May-2012 2
Changes between version 3.2.1 and version 3.1.3 releases of the ASF
New Features and API Changes
ID Component Summary Description
1140 avr32 ADCIFB driver lacks many functionality Added the functionality to configure the different ADCIFB modes.
Added functions to manage the ADCIFB module(its configuration,
status flags and interrupts). Modified Folder: avr32/drivers/adcifb.
2096 common Update USBB, UDPHS, UOTGHS driver options Update USBB, UDPHS, UOTGHS drivers to use
to define the number of banks used for each UDD_XXXX_NB_BANK(ep) to define number of banks for each
endpoint endpoint. Files modified: avr32/drivers/usbb/usbb_device.c,
sam/drivers/udphs/udphs_device.c,
sam/drivers/uotghs/uotghs_device.c.
1296 common Add support for ATSHA204 Crypto component Added folder: common/components/crypto/sha204
for XMEGA A1 Xplained Security board
1908 common Add Memory Bag allocator Added a configurable block memory allocator utility for fragment-less
dynamic memory allocation, ID common.utils.membag. Folders added:
common/utils/membag/.
1642 common Quick start common\services\twi Added quick start guide for common/services/twi. File modified:
common/services/twi/twi_master.h.
1643 common Quick start Added quick start guide to USB Device Interface mouse service.
common\services\usb\class\hid\device\mouse Updated file:
common\services\usb\class\hid\device\mouse\udi_hid_mouse.h,
common\services\usb\class\hid\device\mouse\udi_hid_mouse.c,
common\services\usb\class\hid\device\mouse\udi_hid_mouse_conf.h ,
common\services\usb\class\hid\device\mouse\udi_hid_mouse_desc.c.
1688 common Quick start Added quick start guide to USB Device Interface keyboard service.
common\services\usb\class\hid\device\keyboard Updated file: common\services\usb\class\hid\device\kbd\udi_hid_kbd.h,
common\services\usb\class\hid\device\kbd\udi_hid_kbd.c,
common\services\usb\class\hid\device\kbd\udi_hid_kbd_conf.h,
common\services\usb\class\hid\device\kbd\udi_hid_kbd_desc.c.
1689 common Quick start Added quick start guide to USB Device Interface MSC service.
common\services\usb\class\msc\device Updated file: common\services\usb\class\msc\device\udi_msc.c,
common\services\usb\class\msc\device\udi_msc.h,
common\services\usb\class\msc\device\udi_msc_conf.h,
common\services\usb\class\msc\device\udi_msc_desc.c.
1690 common Quick start Added quick start guide to USB Device Interface CDC service. Updated
common\services\usb\class\cdc\device file: common\services\usb\class\cdc\device\udi_cdc.c,
common\services\usb\class\cdc\device\udi_cdc.h,
common\services\usb\class\cdc\device\udi_cdc_conf.h,
common\services\usb\class\cdc\device\udi_cdc_desc.c.
1691 common Quick start Added quick start guide to USB Device Interface Vendor Class service.
common\services\usb\class\vendor\device Updated file: common\services\usb\class\vendor\device\udi_vendor.c,
common\services\usb\class\vendor\device\udi_vendor.h,
common\services\usb\class\vendor\device\udi_vendor_conf.h,
common\services\usb\class\vendor\device\udi_vendor_desc.c.
1700 common Add USB host CDC interface Add the USB host CDC implementation. Folder added:
common\services\usb\class\cdc\host\.
1951 common Update USB UDC API to rename wakeup to The UDC wakeup input API is in fact remotewakeup generation
remote wakeup request. Rename udd_send_wake_up() function to
udd_send_remotewakeup(). Files modified: The ui.c files from USB
Device examples, common\services\usb\udc\udc.h,
common\services\usb\udc\udd.h, xmega\drivers\usb\usb_device.c,
avr32\drivers\usbb\usbb_device.c, avr32\drivers\usbc\usbc_device.c,
sam\drivers\udp\udp_device.c, sam\drivers\udphs\udphs_device.c,
sam\drivers\uotghs\uotghs_device.c.
2028 common Two inf files are included in USB CDC examples Both ""avr_cdc.inf"" and ""atmel_devices_cdc.inf"" files can be used for
CDC examples, but only one is kept (ie a unique inf file which contains
all Atmel CDC Device definitions)."
2072 common The UHD interface is updated to add a new The endpoint number used by the transfer has been added in the
parameter in end of transfer callback callback ""uhd_callback_trans_t"". Files modified:
avr32\drivers\usbb\usbb_host.c.h, avr32\drivers\usbc\usbc_host.c.h,
common\services\usb\class\hid\host\mouse\uhi_hid_mouse.c,
common\services\usb\class\msc\host\uhi_msc.c,
common\services\usb\uhc\uhd.h,
common\services\usb\class\aoa\host\example\at32uc3a0512_evk1105
\ui.c,
common\services\usb\class\aoa\host\example\at32uc3a3256_evk1104
\ui.c, common\services\usb\class\aoa\host\example\ui.h."
2073 common Add USB host CDC examples on EVK1100, Add USB host CDC examples on EVK1100, EVK1101, EVK1104 and
EVK1101, EVK1104 and UC3C_EK UC3C_EK. Folder added:
common\services\usb\class\cdc\host\example\.

3 AVR4000-ASF3.2.129-May-2012
ID Component Summary Description
2074 common In USB host stack, call UHC_ENUM_EVENT() At the end of enumeration 'enumeration_step15()', the
after enable of USB device interfaces UHC_ENUM_EVENT() callback is called after USB interface enables
'uhc_uhis[i].enable()'. File modified: common\services\usb\uhc\uhc.c.
2129 common Improve the USB module management provided The new USB module organization in Atmel Studio 6 ASF wizard now
through ASF wizard in Atmel Studio provides a better way to build USB applications without mixing USB
device single and composite modules.
2134 common Quick start Added quick start guide to USB Device Interface generic service.
common\services\usb\class\hid\device\generic Updated file:
common\services\usb\class\hid\device\generic\udi_hid_generic.h,
common\services\usb\class\hid\device\generic\udi_hid_generic.c,
common\services\usb\class\hid\device\generic\udi_hid_generic_co
nf.h,
common\services\usb\class\hid\device\generic\udi_hid_generic_de
sc.c.
2104 sam Add SAM support for common.services.delay Add SAM software delay routines and examples in
common.services.delay. Files modified:
common/services/delay/delay.h, folders added:
common/services/delay/sam,
common/services/delay/example/sam3n4c_sam3n_ek,
sam3s4c_sam3s_ek, sam3sd8c_sam3s_ek2, sam3u4e_sam3u_ek,
sam3x8h_sam3x_ek, sam4s16c_sam4s_ek,
sam4s16c_sam4s_xplained.
1211 sam Add SAM PIO capture and alternate functions Added pio_capture_example and pio_alternate_function_example in
examples sam/drivers/pio/.
1389 sam Add SAM DMAC driver Add DMAC driver for SAM flash MCU. Added folder:
sam/drivers/dmac/.
1928 sam Add TWI slave example Add SAM TWI slave example. Files added:
/sam/drivers/twi/twi_slave_example/*
2006 sam Add SAM USART in ISO7816 mode example Add USART ISO7816 example. Files added:
sam\drivers\usart\usart_iso7816_example\*
1593 sam Add Common Component Sensor MCP980X Common component MCP980X driver and example. Added folder:
/common/components/sensors/mcp980x, Modified folder:
/common/services/twi/sam3_twi => /common/services/twi/sam_twi
1809 sam Add SAM3X CAN driver, examples, unit test and Add CAN driver, example, can transceiver driver and CAN module unit
CAN transceiver for SN65HVD234 driver test. Added folder: sam/drivers/can.
2012 sam Add FatFS Add FatFS support for SAM devices in /thirdparty/fatfs/.
1591 sam Add SAM3 TRNG driver Add SAM3 TRNG driver. Added folder: sam/drivers/trng.
1707 sam Add SAM ADC quick start guide Add a quick start page in the Doxygen to explain a typical workflow of
the module. File modified: sam\drivers\adc\adc.h
927 xmega RTC and RTC32 driver should have the same API for RTC and RTC32 made generic. Updated files:
API xmega\applications\xmega_a3bu_xplained_demo\date_time.c,
xmega\applications\xmega_a3bu_xplained_demo\main.c,
xmega\applications\xmega_a3bu_xplained_demo\production_date.c,
xmega\drivers\rtc32\example\rtc32_example.c,
xmega\drivers\rtc32\rtc32.c xmega\drivers\rtc32\rtc32.h,
xmega\services\timeout\timeout.c
1620 xmega Quick start XMEGA LCD Added quick start guide to XMEGA LCD. Updated file:
xmega/drivers/lcd/lcd.h.
1628 xmega Quick start common\services\usb\udc Added quick start guide to USB Device Core service. Updated file:
common\services\usb\udc\udc.h.

AVR4000-ASF3.2.129-May-2012 4
Bug Fixes
ID Component Summary Description
1903 avr32 Remove avr32 delay services Removed avr32/services/delay folder. The new delay functions are now
stored in common/services/delay.
1970 avr32 Simple description error: TWI should be SPI Description shows QT60168 is TWI interface when it and the example
code uses SPI interface.
2103 avr32 getBaudDiv sometimes gives incorrect result File updated : avr32/drivers/spi/spi.c
2265 avr32 Bug in dp83848\ethernet_phy.h Bug in DP83848 ethernet driver changing pointer address instead of
pointer value. File modified:
avr32\components\ethernet_phy\dp83848\ethernet_phy.h
1718 avr32 TWI: need module config and some other fixes Several fixes in avr32/drivers/twi module: removed hard coded priority
level (1). Added dedicated conf_twi.h configuration file. Overall cleanup.
All examples using twi have been updated by adding a conf_twi.h file.
Modified files: avr32/drivers/twi/*.
2272 avr32 FreeRTOS: missing read-back in Usart FreeRTOS usart interrupt does not have read-back (or memory barrier)
interrupt before exiting. The missing read-back + TXRDY disable combination
might cause unexpected CPU behaviors. Modified file:
thirdparty\freertos\demo\avr32_uc3_example\serial\serial.c
1075 avr32 AST initialization is not following the The AST clock initialization sequence is written according to the
recommended procedure in datasheet datasheet specifications. Added functions to configure the Digital Tuner
and to manage the AST module(its configuration, status flags and
interrupts). Modified Folder: avr32/drivers/ast/.
2116 avr32 USBB and USBC Host driver can break when The application could be always stuck in the loop 'while
a IN short packet is received (!Is_uhd_pipe_frozen(pipe))' when a USB IN short packet was received.
Files modified: avr32\drivers\usbb\usbb_host.c,
avr32\drivers\usbc\usbc_host.c.
321 avr32 The MACB driver doesn't build successfully The MACB driver doesn't build successfully under AVRStudio5's
under AVR Studio 5's ASF wizard unless Application Builder.
manually configured by the user.
322 avr32 EBI SMC driver does not compile unless the EBI SMC driver does not compile unless the user has manually
user has manually configured the chip select. configured the chip select.
323 avr32 Display - LCD display - ET024006DHU driver Fix the et024006dhu configuration file (conf_et024006dhu.h) to limit the
does not compile unless the user manually use to device with EBI support. Put specific et024006dhu configuration
configured it. board in board configuration. Modified files: all conf_et024006dhu.h,
avr32/boards/evk1104/evk1104.h, avr32/boards/evk1105/evk1105.h,
avr32/boards/uc3c_ek/uc3c_ek.h
863 avr32 The module ""MEMORY - SD/MMC card The module ""MEMORY - SD/MMC card access using MCI"" can't be
access using MCI"" can't be used with UC3-A3 used with UC3-A3 Xplained."
Xplained."
1029 avr32 AT42QT1060 driver breaks build due to IRQ The External interrupt code that cause the failure has been removed
group reference in template config header because any Atmelboard support this feature. Update file:
avr32/components/touch/at42qt1060/at42qt1060.c, all
conf_at42qt1060.h
2087 avr32 Board stk600\rcuc3a0 doesn't build correctly A default I/O has been defined in board STK600-RCUC3A0 to support
with its entire supported ASF module. ASF modules. Updated file : avr32/utils/debug/print_funcs.h,
avr32/boards/stk600/rcuc3a0/init.c,
avr32/boards/stk600/rcuc3a0/stk600_rcuc3a0.h.
2188 avr32 AT42QT1060 does not support UC3A4 device AT42QT1060 configuration file as been updated UC3A4 device.
Updated file: avr32/components/touch/at42qt1060/at42qt1060.c.
2086 common GFX service: progmem_pixmap must be Fixing compiler warning when compiling GFX service for UC3. File
defined for XMEGA only changed: common/services/gfx/gfx_generic.c
2214 common USB host Android: does not work on EVK1105 Modify the USB Host Android demo for EVK1105 so that it uses the
internal RC115K for the RTC, rather than the OSC32. There is no
OSC32 on the EVK1105. Modified file:
common\services\usb\class\aoa\host\example\at32uc3a0512_evk1105
\ui.c
1348 common gfx_mono_framebuffer_get_pixel and Fix a bug where the pixel mask for gfx_mono_framebuffer and
gfx_mono_st7565r_get_pixel calculates gfx_mono_c12832_a1z get_pixel function was calculated incorrectly.
incorrect pixelmask Changed files: common/services/gfx_mono/gfx_mono_c12832_a1z.c
common/services/gfx_mono/gfx_mono_framebuffer.c
2125 common Include common sensor service driver source Release common sensor service driver source files along with GCC
code in the ASF tree Makefiles and IAR project files to rebuilt static libraries from source in a
standalone ASF installation.
2257 common FreeRTOS: ISR_FREERTOS is wrong for IAR Fixed ISR_FREERTOS() macro. Unexpected results could appear with
IAR depending how the interrupt function was compiled, due to a
missing pragma attribute in the macro definition. Modified files:
thirdparty/freertos/source/portable/gcc/avr32_uc3/portmacro.h,
thirdparty/freertos/source/portable/iar/avr32_uc3/portmacro.h,
avr32/drivers/usbb/usbb_device.c, avr32/drivers/usbc/usbc_device.c.

5 AVR4000-ASF3.2.129-May-2012
ID Component Summary Description
2000 common Instability on clock unit test on UC3C_EK Increase the osc32 oscillator start-up waiting time to 1s. Modified file:
\common\services\clock\unit_tests\unit_test.c
1948 sam cannot use tc_find_mck_divisor from TC driver Fix tc_find_mck_divisor from TC driver, to minimize DIV for better
waveform resolution. File modified: sam/drivers/tc/tc.c
2180 sam USB Device composite that integrates MSC Adjust number of banks used by examples so existing DPRAM is
and CDC not work for 3U and 3X enough for composite devices. Modified files:
common/services/usb/class/vendor/device/example/conf_usb.h,
common/services/usb/class/composite/device/example2/conf_usb.h,
common/services/usb/class/composite/device/example4/conf_usb.h.
2184 sam Running job is lost after endpoint re-allocate Fix the problem that after endpoint DPRAM re-allocation/movement the
on USB device driver UDPHS and UOTGHS running job on it is lost. Files modified:
sam/drivers/udphs/udphs_device.c,
sam/drivers/uotghs/uotghs_device.c.
2305 sam SAM3X-EK Device USB CDC multiple Set number of banks used by bulk endpoints to 1 for USB CDC multiple
example does not work example in HighSpeed mode, to reduce total DPRAM used. File
modified: common/services/usb/class/cdc/device/example2/conf_usb.h.
2100 sam Adding SAM board Arduino Due/X Add Arduino Due/X board support into ASF
2150 sam SAM3X 'getting-started' example issue Fix Doxygen issue and wrong information in the terminal window of
getting-started example. Modified folder:
sam/applications/getting-started/
2209 sam SAM* user application template conf_board.h Fix SAM user application template conf_board.h, definitions were all
definitions are all commented for Atmel user commented for Atmel user board. Modified folder:
board common\applications\user_application.
2223 sam SAM4S device unsupported by the TWI driver Add TWI driver for SAM4S. Updated files : sam/boards/sam4s_ek/init.c,
sam/boards/sam4s_ek/sam4s_ek.h, sam/boards/sam4s_xplained/init.c,
sam/boards/sam4s_xplained/sam4s_xplained.h, sam/drivers/twi/twi.c
2025 sam Add include of asf.h file in main.c file of USB Replace several include files by asf.h file in main.c and ui.c files of USB
examples examples.
2151 sam SAM3X 'Flash Program' example issue The address mentioned in document was dedicated and not common.
The address variable data type format in printf() was wrong. File
modified: \
sam\services\flash_efc\flash_program_example\flash_program_exam
ple.c
2190 xmega Error in XMEGA-A3BU Xplained board file - J2 Corrected pinout description for header J2 on XMEGA A3BU Xplained.
pinout not correct File changed:
xmega/boards/xmega_a3bu_xplained/xmega_a3bu_xplained.h
1923 xmega Missing user boards for the XMEGA AU Missing User Board for the XMEGA AU devices. Files changed:
devices common/applications/user_application/user_board/asf.xml and
common/boards/user_board/asf.xml
2010 xmega Headers missing when adding GPIO The deprecated common GPIO service is missing device-specific driver
dependencies for XMEGA and SAM devices.
2187 xmega XMEGA IOPORT compatibility layer breaks for If a sense mode other than IOPORT_SENSE_BOTHEDGES is used
sense mode configurations with the deprecated ioport_configure_*() functions, the pin will be forced
to an output due to overlapping flag bitmasks in the new common
IOPORT service and old XMEGA specific IOPORT service. Files
changed: common\services\ioport\xmega\ioport_compat.c,
common\services\ioport\xmega\ioport_compat.h
1866 xmega sysclk_init does not allow activation of both Introducing two new configuration symbols controlling the two DFLLs:
DFLLs CONFIG_OSC_AUTOCAL_RC32MHZ_REF_OSC and
CONFIG_OSC_AUTOCAL_RC2MHZ_REF_OSC. Modified files:
common/services/clock/xmega/sysclk.c,
common/services/clock/xmega/sysclk.h
2056 xmega SPI baudrate calculation is incorrect in Added sanity check and fixed SPI baudrate calculation in XMEGA
XMEGA usart driver (USART in SPI mode) USART driver. Modified file : xmega/drivers/usart/usart.c

AVR4000-ASF3.2.129-May-2012 6
Known Issues
ID Component Summary
862 3rd party Sensor library fails compilation if not using a board in the 'Xplained' series of boards.
1037 avr32 EVK1100 Control Panel compiles with 163 warnings in Studio5
735 avr32 T2BF library (thirdparty\cybercom\t2bf\) set the state to ""connected"" too early"
169 avr32 PolarSSL needs to be updated to version 1.0.0 to solve build error
647 build system Some UC3L modules are missing in AVR Studio 5
2226 common IOPORT compatibility layer sense mode can force pin to output
1344 common USB MSC unit test fails on UC3C-EK with GCC/AS5 in -O0 optimization
654 common common/components/memory/data_flash/at45dbx is not listed for any devices in AVR Studio 5 ASF menu
861 xmega XMEGA NVM driver does not support XMEGA A3 rev B errata.
761 xmega RTC32 rtc32_init() is unusable when using battery backup (combination of rtc32_init() and rtc32_vbat_system_check()
is not complete)

7 AVR4000-ASF3.2.129-May-2012
Changes between version 3.1.3 and version 3.0.1 releases of the ASF
New Features and API Changes
ID Component Summary Description
1121 3rd party Add QTouch Generic Library examples for Added in \thirdparty\qtouch\generic\uc3.
UC3 devices
903 3rd party Add XMEGA QTouch and QMatrix library QTouch support added for QT600 ATXMEGA128A1 QT16. Board
support for xmegaa3bu. Changed folders: common\boards ,
thirdparty\qtouch\qdebug. Added folders
xmega\boards\atxmega128a1_qt600, thirdparty\qtouch\generic.
1578 avr32 Add USB Android Accessory Protocol and Added folder /common/services/usb/class/aoa/.
application for EVK1104 and EVK1105 boards
1072 avr32 Add examples to illustrate Sleepwalking for Sleepwalking feature reduces the overall power consumption by waking
UC3L device the required modules alone to do measurement instead of waking the
entire device. New Examples using Sleepwalking feature of UC3L is
added for ADCIFB, ACIFB and CAT(Autonomous-Touch)modules.
Added Folders: avr32\drivers\adcifb\example2,
avr32\drivers\acifb\example2. Modified Folders:
thirdparty\qtouch\devspecific\uc3\uc3l0\examples\example_at
1597 avr32 Add USB device MSC example with USB device MSC example with FreeRTOS on EVK1100 and UC3C_EK.
FreeRTOS on EVK1100 and UC3C_EK Folder added:
common\services\usb\class\msc\device\example_freertos\
1599 avr32 Add the ISR_FREERTOS() macro to define a When FreeRTOS is used, the ISR_FREERTOS() macro provides an
FreeRTOS-compliant interrupt easy way to define a GCC/IAR FreeRTOS-compliant interrupt. Files
modified: thirdparty\freertos\source\portable\gcc\avr32_uc3\portmacro.h,
thirdparty\freertos\source\portable\iar\avr32_uc3\portmacro.h.
1605 avr32 Add support of FreeRTOS in USBB and USBC When FreeRTOS is used, the USBB and USBC interrupts are
drivers automatically FreeRTOS compatible. Files modified:
avr32\drivers\usbb\usbb_device.c, avr32\drivers\usbc\usbc_device.c.
1765 build system Workspace names of IAR, GCC and Atmel Add support for custom workspace names, and shorten the default
Studio projects should be shortened and/or workspace names. This will give shorter paths when compiling projects
configurable in standalone ASF, and more convenient project names in IAR
Embedded Workbench(R). Warning: Possible upgrade issue or
problems when opening old projects for FreeRTOS + lwIP demos in
Atmel Studio. The ASF module IDs are now allowed to use only
lower-capital letters, and the FreeRTOS + lwIP demos' IDs were
changed accordingly.
1769 build system Improve makefiles to avoid windows path The makefiles should support optional build directories to avoid running
limitation (260 char path limit) into the windows path length limitation, like this: ""make
BUILD_DIR=c:\buildtemp\"". Unique directories must be specified by the
user for each project to avoid issues with overwriting or other issues with
the object files.Modified files: sam/utils/make/Makefile.in,
avr32/utils/make/Makefile.in, common/utils/make/Makefile.avr.in"
1411 common New common IOPORT service Added a new common IOPORT service for XMEGA, UC3 and SAM
devices with a common API, superseding the existing semi-common
GPIO driver. The existing XMEGA specific IOPORT driver has been
removed and replaced with a compatibility layer for the new service.
Files added: common/services/ioport/ioport.h,
common/services/ioport/sam/ioport.h,
common/services/ioport/uc3/ioport.h,
common/services/ioport/xmega/ioport.h. Files removed:
xmega/drivers/ioport/ioport.c, xmega/drivers/ioport/ioport.h
1602 common GFX graphical library Add graphics service and graphic primitives. Initially supports the
HX8347A display controller used on the Display Xplained board. Added
folder /common/services/gfx/
1607 common GFX graphical library HX8347A display Add a low lever driver for the HX8347A display controller. These files
controller driver have been added:
common/components/display_controller/hx8347a/hx8347a.c,
common/components/display_controller/hx8347a/hx8347a.h,
common/components/display_controller/hx8347a/hx8347a_regs.h in
addition to two examples. This low level driver is meant for use with the
GFX service.
1631 common Quick start common\services\calendar Added quick start guide to Calendar service. Updated file:
common\services\calendar\calendar.h
1634 common Quick start common\services\fifo Added quick start guide to FIFO. File updated:
common\services\fifo\fifo.h
1738 common maXTouch component driver Add component driver for maXTouch on mXT143E Xplained. Added
files: common/components/touch/mxt/mxt_device.c,
common/components/touch/mxt/mxt_device.h and examples
common/components/touch/mxt/example_hid,
common/components/touch/mxt/example_usart

AVR4000-ASF3.2.129-May-2012 8
ID Component Summary Description
1933 common maxTouch display driver Add driver and gfx service connection for the ILI9341 display controller.
These files have been added:
common/components/display_controller/ili9341/ili9341.c,
common/components/display_controller/ili9341/ili9341.h,
common/components/display_controller/ili9341/ili9341_regs.h,
common/components/display_controller/ili9341/example1_basic,
common/services/gfx/gfx_ili9341_sdt028atft.c,
common/services/gfx/gfx_ili9341_sdt028atft.h
2027 common In USB PID define names, AVR is replaced by In common/services/usb/usb_atmel.h file and all conf_usb.h files, the
ASF. PID define names were changed.
1604 common Add a data transfer notification callback in To avoid polling in udi_msc_process_tans(), the
USB device MSC implementation UDI_MSC_NOTIFY_TRANS_EXT() can be defined in conf_usb.h file to
be notified of a new transfer request. File modified:
common\services\usb\class\msc\device\udi_msc.c.
1721 common Improve behavior of all USB device keyboard When PC is slow it waits for notepad to get focus. A delay has been
examples added before send key to notepad. Files modified:
common\services\usb\class\hid\device\kbd\example\.\ui.c
1852 common USB device MSC inquiry sends a not helpful Removed quote char ("") from SCSI inquiry data response. File modified:
char common\services\usb\class\msc\device\udi_msc.c."
1853 common Disable Virtual Disk on all USB device Removed default Virtual Memory of the USB device examples, as it
examples generated error message on Mac O.S. due to an unformatted disk. Files
modified: common\services\usb\class\msc\*\conf_access.h.
2015 common Update USB device CDC implementation to be The CDC bulk endpoint sizes in HS mode must be 512B to be USB
USB compliant in high speed mode compliant. Files modified:
common\services\usb\class\cdc\device\udi_cdc.c/.h,
common\services\usb\class\cdc\device\udi_cdc_desc.c,
common\services\usb\class\composite\device\example2\conf_usb.h,
common\services\usb\class\composite\device\example4\conf_usb.h,
common\services\usb\class\composite\device\module_config\conf_u
sb.h.
2016 common The USB device vendor must include USB Add a USB alternate setting in USB device vendor class to improve USB
alternate setting to be USB compliant compliance. Note: An Isochronous endpoint present in an alternate
interface 0x00 must have a MaxPacketSize of 0x00. Files modified:
common\services\usb\class\vendor\device\udi_vendor.c/.h
1609 sam Add USB Device HID Mouse examples for New USB device HID mouse examples for SAM3S, SAM3U, SAM3X,
SAM SAM3SD, SAM4S. Files modified:
common\services\usb\class\hid\device\mouse\example\conf_usb.h,
common\services\usb\class\hid\device\mouse\example\main.c. Folders
added:
common\services\usb\class\hid\device\mouse\example\sam3s4c_sam3
s_ek, sam3sd8c_sam3s_ek2, sam3u4e_sam3u_ek,
sam3x8h_sam3x_ek, sam4s16c_sam4s_ek.
1610 sam Add USB Device HID Generic Examples for New USB device HID generic examples for SAM3S, SAM3U, SAM3X,
SAM SAM3SD, SAM4S. Files modified:
common\services\usb\class\hid\device\generic\example\conf_usb.h ,
common\services\usb\class\hid\device\generic\example\main.c. Folders
added:
common\services\usb\class\hid\device\generic\example\sam3s4c_sa
m3s_ek, sam3sd8c_sam3s_ek2, sam3u4e_sam3u_ek,
sam3x8h_sam3x_ek, sam4s16c_sam4s_ek.
1709 sam PMC driver improvement, for sleepmgr and Add sleep mode api, add pmc_clr_fast_startup_input for fast wakeup
USB clock management management, add pmc_switch_udpck_to_upllck for USB clock
management. Modified files: sam/drivers/pmc/pmc.* Added files:
sam/drivers/pmc/sleep.h
1710 sam Add USB device keyboard examples for SAM New USB device HID keyboard examples for SAM3S, SAM3U, SAM3X,
SAM3SD, SAM4S. Files modified:
common\services\usb\class\hid\device\kbd\example\conf_usb.h,
common\services\usb\class\hid\device\kbd\example\main.c. Folders
added:
common\services\usb\class\hid\device\kbd\example\sam3s4c_sam3s_
ek, sam3sd8c_sam3s_ek2, sam3u4e_sam3u_ek, sam3x8h_sam3x_ek,
sam4s16c_sam4s_ek.
1711 sam Add SAM UDP drivers New USB device peripheral for SAM (UDP driver). Folders added:
sam\drivers\udp.
1712 sam Improve SAM Utils Add several new macros to be compliance with the other Atmel
compiler.h files. Folders added: sam\utils\preprocessor\. Files modified:
sam\utils\compiler.h.
1714 sam LED2 GPIO definition is missing from the Add pin index definition for SAM3X LED #2 (amber) and #3 (power, red),
SAM3X-EK board abstraction header file. add LED #2 initialize. Modified: sam\boards\sam3x_ek\init.c,
sam3x_ek.h
1802 sam Add SAM UDPHS drivers New USB device peripheral high speed for SAM (UDPHS driver).
Folders added: sam\drivers\udphs.
1803 sam Add SAM UOTGHS drivers New USB device peripheral high speed for SAM (UOTGHS driver).
Folders added: sam\drivers\uotghs.

9 AVR4000-ASF3.2.129-May-2012
ID Component Summary Description
1835 sam Add USB Device MSC examples for SAM New USB device MSC examples for SAM3S_EK, SAM3U_EK,
boards SAM3X_EK, SAM3SD_EK and SAM4S_EK with only RAM disk
supported. Folders added:
common/services/usb/class/msc/device/example/sam3s4c_sam3s_ek,
sam3sd8c_sam3s_ek2, sam3u4e_sam3u_ek, sam3x8h_sam3x_ek,
sam4s16c_sam4s_ek.Files added:
common/services/usb/class/msc/device/example/memories_initializ
ation_sam.c. Files modified:
common/services/usb/class/msc/device/example/conf_usb.h.
1836 sam Add Virtual memory support for SAM The virtual memory component can support all SAM on internal or
external RAM memory. File modified:
common/components/memory/virtual_mem/virtual_mem.c.
1844 sam Add USB Device Vendor examples for SAM New USB device Vendor examples for SAM3S_EK, SAM3U_EK,
boards SAM3X_EK, SAM3SD_EK and SAM4S_EK. Files modified:
common/services/usb/class/vendor/device/example/conf_usb.h. Folders
added:
common/services/usb/class/vendor/device/example/sam3s4c_sam3s_e
k, sam3sd8c_sam3s_ek2, sam3u4e_sam3u_ek, sam3x8h_sam3x_ek,
sam4s16c_sam4s_ek.
1846 sam Add USB Device HID Mouse + MSC examples New USB device HID Mouse + MSC examples for SAM3S_EK,
for SAM boards SAM3U_EK, SAM3X_EK, SAM3SD_EK, SAM4S_EK with only RAM
disk supported. File modified:
common/services/usb/class/composite/device/example1/conf_usb.h.
Folders added:
common/services/usb/class/composite/device/example1/sam3s4c_sam
3s_ek, sam3sd8c_sam3s_ek2, sam3u4e_sam3u_ek,
sam3x8h_sam3x_ek, sam4s16c_sam4s_ek. Files added:
common/services/usb/class/composite/device/example1/memories_in
itialization_sam.c.
1854 sam Add USB Device HID Keyboard + MSC New USB device HID Keyboard + MSC examples for SAM3S_EK,
examples for SAM baords SAM3U_EK, SAM3X_EK, SAM3S_EK2, SAM4S_EK with only RAM disk
supported. Folders added:
common/services/usb/class/composite/device/example3/sam3s4c_sam
3s_ek, sam3sd8c_sam3s_ek2, sam3u4e_sam3u_ek,
sam3x8h_sam3x_ek, sam4s16c_sam4s_ek. Files added:
common/services/usb/class/composite/device/example3/memories_in
itialization_sam.c. Files modified:
common/services/usb/class/composite/device/example3/conf_usb.h.
1867 sam Add USB Device CDC Serial + MSC examples New USB device CDC serial + MSC virtual disk examples for
for SAM boards SAM3S_EK, SAM3U_EK, SAM3X_EK, SAM3SD_EK and SAM4S_EK.
File modified:
common\services\usb\class\composite\device\example4\conf_usb.h.
Files added:
common\services\usb\class\composite\device\example4\memories_in
itialization_sam.c,
common\services\usb\class\composite\device\example4\uart_sam.c.
Folders added:
common\services\usb\class\composite\device\example4\sam3s4c_sam
3s_ek, sam3sd8c_sam3s_ek2, sam3u4e_sam3u_ek,
sam3x8h_sam3x_ek, sam4s16c_sam4s_ek.
1876 sam Add USB Device HID keyboard and mouse + New USB device HID keyboard and mouse + CDC serial + MSC virtual
CDC serial + MSC examples for SAM boards disk examples for SAM3S_EK, SAM3X_EK, SAM3SD_EK and
SAM4S_EK. Files modified:
common\services\usb\class\composite\device\example2\conf_usb.h,
common\services\usb\class\composite\device\example2\main.c .h. Files
added:
common\services\usb\class\composite\device\example2\memories_in
itialization_sam.c,
common\services\usb\class\composite\device\example2\uart.h,
common\services\usb\class\composite\device\example2\uart_sam.c.
Folders added:
common\services\usb\class\composite\device\example2\sam3s4c_sam
3s_ek, sam3sd8c_sam3s_ek2, sam3x8h_sam3x_ek,
sam4s16c_sam4s_ek.
1929 sam Add USB device unit tests for SAM Add USB device unit tests (HID mouse, HID keyboard, CDC, MSC) for
SAM on SAM3S_EK, SAM3U_EK, SAM3X_EK, SAM3SD_EK and
SAM4S_EK boards. Folders modified:
common/services/usb/class/cdc/device/unit_tests/,
common/services/usb/class/hid/device/kbd/unit_tests/,
common/services/usb/class/hid/device/mouse/unit_tests/,
common/services/usb/class/msc/device/unit_tests/.
2033 sam In USB string definitions, AVR must be In all conf_usb.h files, the USB string manufacturer were changed to be
replaced by ASF ASF and not AVR.
2095 sam Add SAM4S-Xplained support for USB device Add SAM4S Xplained support for USB device examples and unit-tests.
examples and unit-tests Folders added:
common/services/usb/class/cdc/device/example/sam4s16c_sam4s_xpl
ained,
common/services/usb/class/cdc/device/unit_tests/sam4s16c_sam4s_
xplained,

AVR4000-ASF3.2.129-May-2012 10
ID Component Summary Description
- - - common/services/usb/class/composite/device/example1/sam4s16c_sa
m4s_xplained,
common/services/usb/class/composite/device/example2/sam4s16c_sa
m4s_xplained,
common/services/usb/class/composite/device/example3/sam4s16c_sa
m4s_xplained,
common/services/usb/class/composite/device/example4/sam4s16c_sa
m4s_xplained,
common/services/usb/class/hid/device/generic/example/sam4s16c_s
am4s_xplained,
common/services/usb/class/hid/device/kbd/example/sam4s16c_sam4s
_xplained,
common/services/usb/class/hid/device/kbd/unit_tests/sam4s16c_sa
m4s_xplained,
common/services/usb/class/hid/device/mouse/example/sam4s16c_sam
4s_xplained,
common/services/usb/class/hid/device/mouse/unit_tests/sam4s16c_
sam4s_xplained,
common/services/usb/class/msc/device/example/sam4s16c_sam4s_xpl
ained,
common/services/usb/class/msc/device/unit_tests/sam4s16c_sam4s_
xplained,
common/services/usb/class/vendor/device/example/sam4s16c_sam4s_
xplained. Files modified:
common/services/usb/class/composite/device/example2/memories_in
itialization_sam.c.
1708 sam Add quick start guide for SAM PWM driver Add a quick start page in the doxygen to explain a typical workflow of the
module. Change file : sam/drivers/pwm/pwm.c, sam/drivers/pwm/pwm.h
1713 sam Add more GPIO pin functions for examples to Add GPIO pin functions to uses PIN index:
use pio_enable_pin_interrupt/pio_disable_pin_interrupt, pio_get_pin_group,
pio_get_pin_group_id, pio_get_pin_group_mask. Modified files:
sam\drivers\pio\pio.c, pio.h.
1716 sam Add interrupt management support for SAM3 New interrupt management API for SAM3 and SAM4 devices. Files
and SAM4 added: common\utils\interrupt\interrupt_sam*.*, Files modified:
common\utils\interrupt.h.
1720 sam Add USB Device CDC serial examples for New USB device CDC serial examples for SAM3S, SAM3U, SAM3X,
SAM SAM3SD, SAM4S. Files modified:
common/services/usb/class/cdc/device/example2/conf_usb.h,
common/services/usb/class/cdc/device/example/conf_usb.h,
common/services/usb/class/cdc/device/udi_cdc.c Files added:
common/services/usb/class/cdc/device/example2/uart_sam.c,
common/services/usb/class/cdc/device/example/uart_sam.c. Folders
added:
common/services/usb/class/cdc/device/example2/sam3s4c_sam3s_ek,
sam3sd8c_sam3s_ek2, sam3u4e_sam3u_ek, sam3x8h_sam3x_ek,
sam4s16c_sam4s_ek,
common/services/usb/class/cdc/device/example/sam3s4c_sam3s_ek,
sam3sd8c_sam3s_ek2, sam3u4e_sam3u_ek, sam3x8h_sam3x_ek,
sam4s16c_sam4s_ek.
1797 sam Add SAM4S-Xplained board support Added SAM4S-Xplained support in sam/boards/sam4s_xplained.
1820 sam IAREWARM cannot generate .bin file IAR cannot generate .bin file. Fix template to deactivate .bin generation
(useful for Kick Start edition).Fix out and bin name.
1617 xmega Quick start XMEGA DAC Added quick start guide to XMEGA DAC driver. File updated:
xmega/drivers/dac/dac.h
1629 xmega Quick start XMEGA WDT Added quick start guide to XMEGA WDT. Updated file:
xmega\drivers\wdt\wdt.h
1630 xmega Quick start XMEGA\Services\Timeout Added quick start guide to Timeout. Updated file:
xmega\services\timeout\timeout.h
2020 xmega Improve clock management for XMEGA DFU Improved XMEGA USB DFU bootloader to force USB clock unmask at
bootloaders to force PRR clock enable on clock initialization. This could be helpful when starting a DFU session
USB from user application. Incremented XMEGA DFU bootloader version to
1.0.4. Files modified:
common/services/usb/class/dfu_flip/device/bootloader/xmega/conf
/conf_isp.h,
common/services/usb/class/dfu_flip/device/bootloader/xmega/conf
/conf_usb.h,
common/services/usb/class/dfu_flip/device/bootloader/xmega/sysc
lk_opt.c.
1493 xmega Add XMEGA ADC Oversampling application Added XMEGA ADC oversampling demo application for XMEGA-A3BU
Xplained. Added folder:
xmega\applications\xmega_adc_oversampling_demo
1701 xmega Improve robustness of XMEGA USB driver Improved XMEGA USB driver to support higher latency delay on USB
interrupt caused by another interrupt. File modified:
xmega/drivers/usb/usb_device.c.
1878 xmega Improve IAR linker script for XMEGA USB Improved IAR linker scripts for XMEGA DFU bootloaders. The manual
bootloader split of segments CODE has been replaced by an automatic split. Files

11 AVR4000-ASF3.2.129-May-2012
ID Component Summary Description
- - - modified: common\services\isp\flip\xmega\cstartup.s90,
common\services\usb\udc\udc_dfu_small.c,
common\services\usb\class\dfu_flip\device\bootloader\xmega\main .c,
common\services\usb\class\dfu_flip\device\bootloader\xmega\*.xc l.
2014 xmega Add RC autocalibration trough USB SOF in XMEGA USB drivers: Enable RC autocalibration trough USB Keep alive
low speed mode in low speed mode, excepted for XMEGA A1U. File modified:
xmega\drivers\usb\usb_device.c.
2031 xmega Reduce USB FIFO size at minimum on XMEGA USB drivers: Optimized USB FIFO size according to the
XMEGA USB driver number of endpoints used in the application. File modified:
xmega\drivers\usb\usb_device.c.

AVR4000-ASF3.2.129-May-2012 12
Bug Fixes
ID Component Summary Description
1601 avr32 DSP Lib demo example does not calculate the FFT correctly Fixed the hamming window generation which prevented the
generated correctly. Modified file:
\avr32\applications\uc3-dsplib-demo\dsp_process.c
1832 avr32 avr32/utils/make/makefile.in should use avr32-gcc for the link Use avr32-gcc for the link stage rather than avr32-g++. Appl
requiring C++ libraries should add the libstdc++.a library in t
Using avr32-gcc (vs avr32-g++) for the link stage reduces th
of about 28 kB for application using C++ libraries. Modified f
avr32/utils/make/makefile.in.
1598 avr32 IAR with CONFIG_INTERRUPT_FORCE_INTC define enabled can Fix interrupt driver to support the INTC module on IAR instea
fail native interrupt IAR management. File modified:
common\utils\interrupt\interrupt_avr32.h
1699 avr32 In USBC host driver, the OUT control request with DATA phase does Fixed uhd_ctrl_phase_data_out() of avr32 USBC drivers wh
not work control request contained DATA. The arguments of memcpy
inverted in uhd_ctrl_phase_data_out() function. File modified
avr32\drivers\usbc\usbc_host.c.
1704 avr32 Fix USB compliance of USBB and USBC device driver Improved USB compliance for AVR32 USBB and USBC driv
IN ZLP when all DATA requested has been sent. Files modi
avr32/drivers/usbb/usbb_device.c, avr32/drivers/usbc/usbc_
1847 avr32 In USBC host driver, the USB bInterval field must be ignored by for The USB host MSC examples on AT32UC3C could be very
the bulk endpoints specific U-Disk which have a bInterval field no null on the bu
To avoid a delay on each MSC commands, the bInterval fiel
for the bulk endpoints. File modified: avr32\drivers\usbc\usb
1893 avr32 USBB device driver can fail on Command Verifier 2.0 tool tests On USB 2.0 Command Verifier tool, the ""Chapter 9 - Halt E
and ""HS MSC Case 12"" are fixed on USBB driver. Files mo
avr32\drivers\usbb\usbb_device.c, common\services\usb\ud
2017 avr32 USBC device driver can fail on Command Verifier 2.0 tool tests Improved USBC drivers robustness, when a call_nohalt callb
aborted, the USBC driver could corrupt the RAM. This can o
USB Command Verifier 2.0 MSC tests. Files modified:
avr32\drivers\usbc\usbc_device.c.
2021 avr32 When OPTIMIZATION = -O0 and usbc driver in host mode linking fail Fixed potential link error due to inline function depending on
level in USBC host drivers. Files modified:
avr32\drivers\usbc\usbc_host.c/.h
1831 common USB Vendor Class example fails if an endpoint types are disabled Fixed compilation errors when setting UDI_VENDOR_EPS_
to 0 in conf_usb.h for USB vendor class examples. Files mo
common\services\usb\class\vendor\device\udi_vendor.h,
common\services\usb\class\vendor\device\example\main.c.
1879 common Fix the management of bInterfaceNumber field in USB host MSC Improved USB host GET_MAX_LUN control request to use
interface interface number from USB MSC interface descriptor bInterf
field instead of 0. File modified:
common\services\usb\class\msc\host\uhi_msc.c.
1490 documentation Clarify the user application template list for Atmel Studio Changed project template and example project names since
needlessly long. For project templates, only the kit and devic
stated, e.g. ""Xplain - ATxmega128A1"", ""User board - UC3
example projects, the example name and only the kit - unles
supports several devices, like the STK500 & STK600 - are s
""LED Chaser Example - Xplain"", ""LED Chaser Example -
ATxmega32A4U""."
2026 sam CONFIG_PLL1_DIV value is wrong Fix for default clock definitions in conf_clock.h, especially on
when these options are not used. Files modified:
common/services/clock/sam*/module_config/conf_clock.h,
common/services/clock/sam3s/sysclock.c,
common/services/clock/sam3x/sysclock.c,
common/services/clock/sam4s/sysclock.c, sam/drivers/pmc/
1906 sam watchdog problem in unit_tests for SAM The Watchdog is not handled properly in the unit test which
incorrect results. Modified file: /sam/drivers/wdt/unit_tests/un
1950 unit test Directory name of UNIT test must be consistent to be executed Some directories have be renamed to be conform with unit t
correctly. requirements. Directories renamed :
common/services/usb/class/cdc/device/unit_tests/at32uc3c0
c3c_ek,
common/services/usb/class/hid/device/kbd/unit_tests/at32uc
2c_uc3c_ek,
common/services/usb/class/hid/device/mouse/unit_tests/at3
512c_uc3c_ek,
common/services/usb/uhc/unit_tests/target/at32uc3c0512c_
_host,
xmega/services/timeout/unit_tests/atxmega128a1_xmega_a
common/services/gfx_mono/unit_tests_spin_ctrl/atxmega12
common/services/calendar/unit_tests/atxmega128a1_xplain
common/services/calendar/unit_tests/at32uc3l064_uc3_l0_x
common/services/usb/uhc/unit_tests/target/at32uc3a0512_e
host,
common/services/usb/uhc/unit_tests/target/at32uc3a3256_e

13 AVR4000-ASF3.2.129-May-2012
ID Component Summary Description
- - - host, xmega/drivers/aes/unit_tests/atxmega128a1_xmega_a
xmega/drivers/des/unit_tests/atxmega128a1_xmega_a1_xp
xmega/drivers/dma/unit_tests/atxmega128a1_xmega_a1_xp
xmega/drivers/wdt/unit_tests/atxmega128a1_xmega_a1_xp
1283 xmega XMEGA USART usart_init_rs232() lacks an error code Added true/false return variable from init_rs232 functions in
serial service and the XMEGA usart driver. Files
changed:common/services/xmega_usart/usart_serial.h,
common/services/uc3_usart/usart_serial.h, xmega/drivers/u
xmega/drivers/usart/usart.h
1485 xmega DataFlash Example for XMEGA is wrongly configured with SPI CPU frequency made higher than the SPI frequency used in
frequency higher than CPU frequency Modified files:
common/components/memory/data_flash/at45dbx/example/
1_stk600-rc100x/conf_clock.h,
common/components/memory/data_flash/at45dbx/example/
1_xplain/conf_clock.h,
common/components/memory/data_flash/at45dbx/example/
3bu_xmega_a3bu_xplained/conf_clock.h,
common/components/memory/data_flash/at45dbx/example/
3_stk600-rc064x/conf_clock.h,
common/components/memory/data_flash/at45dbx/example/
3u_stk600-rc064x/conf_clock.h,
common/components/memory/data_flash/at45dbx/example/
u_stk600-rc044x/conf_clock.h
1527 xmega PROGMEM_T should be defined to const for gcc PROGMEM_PTR_T is now declared as a const pointer in G
file: xmega/utils/progmem.h
1723 xmega USARTE0 is not defined for xmega_a3bu_xplained Now, the XMEGA A3BU Xplained board supports initializatio
USARTE0 lines. Files modified:
xmega/boards/xmega_a3bu_xplained/init.c,
xmega/boards/xmega_a3bu_xplained/xmega_a3bu_xplaine
1907 xmega LED definition is missing for Xplain board Defined LEDs for Xplain board. Updated file:
xmega\boards\xplain\xplain.h
1382 xmega Update and split the current XMEGA ADC driver for new device The XMEGA ADC driver should be updated to properly supp
families new device families (AU, B, C). In addition, the driver could b
family-dependant implementations, e.g., A and AU in one, B
the other. Modified files:
/xmega/applications/xmega_b1_xplained_voltage_meter/ma
/xmega/drivers/adc/adc.c, /xmega/drivers/adc/adc.h,
/xmega/drivers/adc/asf.xml, /xmega/drivers/adc/xmega_aau
/xmega/drivers/adc/xmega_bcd/adc_bcd.c
1737 xmega Specific sysclk for XMEGA DFU bootloader does not read 48MHz Fixed XMEGA DFU bootloader clock configuration to use int
calibration value calibration point from factory raw. Incremented XMEGA DFU
revision to 1.0.3. Modified files
common/services/usb/class/dfu_flip/device/bootloader/xmeg
/conf_isp.h and /
common/services/usb/class/dfu_flip/device/bootloader/xmeg
lk_opt.c.
1860 xmega XMEGA sysclk.h for USARTs issues Fixed sysclk for XMEGA USART related to
sysclk_disable_peripheral_clock() and sysclk_get_periphera
where the port letter and the USART number are swapped (
""USARTC0"" appears as ""USART0C""). Modified file:
common\services\clock\xmega\sysclk.h"
1892 xmega XMEGA nvm drivers contains wrong information about flash page size XMEGA NVM drivers, fixed flash page size value for ATxme
Vs Parts ATxmega128B1 and ATxmega128B3 devices. Updated
xmega/drivers/nvm/nvm.h
1702 xmega Fix USB compliance of USB XMEGA device driver Improvement of the USB compliance. Remove the IN ZLP w
requested has been sent. File modified: xmega/drivers/usb/u
1761 xmega Add IAR generator for ATxmega64A1U DFU bootloader Provide a ATxmega64A1U DFU bootloader on IAR.
1997 xmega XMEGA USB driver can fail on Command Verifier 2.0 tool tests Fixed issue in XMEGA USB drivers when running USB 2.0 C
Verifier tool and the MSC tests. File modified:
xmega\drivers\usb\usb_device.c.
1958 xmega Unit test configuration of The selected USART was not correct. Configuration has bee
xmega/services/timeout/unit_tests/atxmega128a1_xmega_a1_xplaine select the correct one. Files modified:
d/ is dedicated for the Xplained board xmega/services/timeout/unit_tests/atxmega128a1_xmega_a
d/conf_board.h,
xmega/services/timeout/unit_tests/atxmega128a1_xmega_a
d/conf_test.h

AVR4000-ASF3.2.129-May-2012 14
Known Issues
ID Component Summary
862 3rd party Sensor library fails compilation if not using a board in the 'Xplained' series of boards.
1037 avr32 EVK1100 Control Panel compiles with 163 warnings in Studio5
735 avr32 T2BF library (thirdparty\cybercom\t2bf\) set the state to ""connected"" too early"
169 avr32 PolarSSL needs to be updated to version 1.0.0 to solve build error
647 build system Some UC3L modules are missing in AVR Studio 5
2226 common IOPORT compatibility layer sense mode can force pin to output
1344 common USB MSC unit test fails on UC3C-EK with GCC/AS5 in -O0 optimization
654 common common/components/memory/data_flash/at45dbx is not listed for any devices in AVR Studio 5 ASF menu
861 xmega XMEGA NVM driver does not support XMEGA A3 rev B errata.
761 xmega RTC32 rtc32_init() is unusable when using battery backup (combination of rtc32_init() and rtc32_vbat_system_check()
is not complete)

15 AVR4000-ASF3.2.129-May-2012
Changes between version 3.0.1 and version 2.11.0 releases of the ASF
New Features and API Changes
ID Component Summary Description
550 avr32 Add SAU driver in avr32/drivers/cpu Add SAU driver for UC3
868 common Add unit tests for gfx_mono drawing primitives Unit tests for the GFX Mono graphical library added. New files located
in common\services\gfx_mono\unit_tests.
299 common Consider removing the init_delay_us() The UC3 delay service is obsoleted by the addition of a common delay
function in delay service service per bug#382. The common delay service does not define an
init_delay_us() function and deprecates the delay_init() function. Added
common/services/delay/delay.h,
common/services/delay/xmega/cycle_counter.h,
common/services/delay/example/delay_example.c and associated
example files.
382 common Add a common delay service Implement common loop-based delay routines to replace delay
implementations in individual demo applications. The loop-based delay
functions perform a brief busy-wait for a specified amount of time.
Added common/services/delay/delay.h,
common/services/delay/xmega/cycle_counter.h,
common/services/delay/example/delay_example.c and associated
example files.
1728 common Improve filter on connection and When the re-bounce occures, the callback
disconnection events for USB host unit test main_usb_connection_event() is called twice time consecutive. This
update filter it. File modified:
common\services\usb\uhc\unit_tests\target\unit_tests.c.
1683 documentation New version of the ASF on-line New online version of the ASF documentation: http://asf.atmel.com.
documentation
924 sam Add ili9325 display component Driver and example using it implementation for adding component
ili9325 support to SAM3 devices. Added folder:
sam/component/display/ili9325.
892 sam Add SAM SSC driver and unit tests Added SAM3 SSC driver and unit test. Added folder: sam/drivers/ssc
(SAM3 SSC driver), sam/drivers/ssc/unit_tests (unit test).
916 sam Add SAM3 RSTC driver Added SAM3 RSTC driver, example and unit tests in sam/drivers/rstc
folder.
918 sam Add SAM SUPC driver and unit test Add SAM SUPC driver and unit test in sam/drivers/supc folder.
921 sam Add SAM3 PDC driver Driver and example using it implementation for adding pdc support to
SAM3 devices. Added folder: sam/drivers/pdc
889 sam Add SAM3 RTT driver and example Add RTT driver for SAM3 flash MCU. Added folder: sam/drivers/rtt/.
911 sam Add SAM PWM driver, examples and unit Add SAM PWM driver, examples and unit test. Added folder:
tests sam/drivers/pwm (driver and examples), sam/drivers/pwm/unit_tests
(unit test).
920 sam Add SAM3 GPBR driver and unit tests Added in sam/drivers/gpbr folder.
922 sam Add SAM3 ADC driver Driver and example using it implementation for adding ADC support to
SAM3 devices. Added folder: sam/drivers/adc.
923 sam Add SAM3 ADS7843 component Added resistive touch driver for ADS7843 in
sam\components\resistive_touch\ads7843.
930 sam Add SAM3 USART driver, common service Added SAM3 SPI driver and common services. Added folder:
sam_usart_spi and examples sam/drivers/usart (SAM3 usart driver),
common/services/spi/sam_usart_spi (common API).
945 sam Add SAM3 CRCCU driver and example Added folder: sam/drivers/crccu.
946 sam Add SAM3 PIO driver Parallel Input/Output (PIO) Controller driver module for SAM3 MCUs.
Added folder: sam/drivers/pio/.
952 sam Add SAM3 WDT driver Added SAM3 watchdog driver and example in sam/drivers/wdt folder.
1214 sam Add common service clock support for SAM3 Add common service clock support for SAM3 devices in
devices common/services/sysclk/.
1215 sam Add common service gpio support for SAM3 Add common service gpio support for SAM3 devices. Added support in
devices common/services/gpio/.
1249 sam Add SAM3 TWI driver, common services and Added SAM3 TWI driver and common services. Added folder:
examples sam/drivers/twi (SAM3 TWI driver), common/services/twi/sam3_twi
(common API).
1345 sam Add SAM MATRIX driver Add matrix driver for SAM3 flash MCU. Added folder:
sam/drivers/matrix/.
1394 sam Add unit test for sam/drivers/wdt module Unit test for WDT module.

AVR4000-ASF3.2.129-May-2012 16
ID Component Summary Description
1415 sam Add SAM ILI9225 component Driver using it implementation for adding component ili9225 support to
SAM3 devices. Added folder: sam/component/display/ili9225.
1416 sam Add AAT31XX component support for SAM Driver using it implementation for adding component aat31xx support to
SAM3 devices. Added folder:sam/component/display/aat31xx.
1464 sam Add unit test for sam/drivers/spi module SAM unit test for SPI module in sam\drivers\spi\unit_tests folder.
1739 sam Add SAM pio handler support Added pio handler. Modified folders: sam/drivers/pio.
1154 sam Add SAM support in common\utils\stdio Add support of SAM product in common\utils\stdio modules. Modified
files: common/utils/stdio/read.c, common/utils/stdio/write.c and
common/utils/stdio/stdio_serial/stdio_serial.h
893 sam Add SAM CHIPID driver Add CHIPID Driver and example support for SAM3 devices. Added
folder: sam/drivers/chipid.
1511 sam Add HX8347A display component for SAM Driver and example using it implementation for adding component
hx8347 support to SAM3 devices. Added
folder:/sam/components/display/hx8347 .
907 sam Add SAM UART driver UART (Universal Asynchronous Receiver Transceiver) driver module
for SAM MCUs. Added folder: sam/drivers/uart/.
936 sam Add SAM3 Timer Counter (TC) driver TC (Timer Counter) driver module for SAM3 MCUs. Added folder:
sam/drivers/tc/.
938 sam Add SAM3 PMC driver and a clock switching Added SAM3 Power Management Controller (PMC) driver and a clock
example switching example. Added folder: sam/drivers/pmc/.
618 sam Add SAM3 N,S,U,X support Added SAM3N, SAM3U, SAM3X, SAM3S support in ASF.
890 sam Add SAM flash service Add flash service for SAM3 flash MCU. Offer two examples to
demonstrate the usage, based on SAM EFC driver. Added folder:
sam/services/flash/.
891 sam Add SAM3 EFC driver Add EFC drivers for SAM3 flash MCU. Added folder: sam/drivers/efc/.
894 sam Add SAM3 RTC driver and example Driver and example implementation for adding RTC support to SAM3
devices. Added folder: sam/drivers/rtc.
895 sam Add SAM3 SMC driver and example Driver and example using it implementation for adding smc support to
SAM3 devices. Added folder: sam/drivers/ebi/smc.
919 sam Add SAM DACC driver Added SAM3 DACC driver and example in sam/drivers/dacc folder.
987 sam Add SAM3 Analog Comparator Controller Driver and example implementation for adding ACC support to SAM3
(ACC) driver and example devices. Added folder: sam/drivers/acc
1257 sam Add SAM3 SPI driver, common service and Added SAM3 SPI driver and common services. Added folder:
examples sam/drivers/spi (SAM3 SPI driver), common/services/spi/sam3_spi
(common API).
1222 unit test Add XMEGA DAC driver unit test Unit tests for XMEGA DAC driver. New files stored in
xmega/drivers/dac/unit_tests
974 xmega XMEGA PWM service Added service for PWM generation on XMEGA. Added folder
/xmega/services/pwm/
1616 xmega Quick start XMEGA CRC Added quick start guide to XMEGA CRC. Updated file:
xmega/drivers/crc/crc.h
1623 xmega Quick start XMEGA RTC Added quick start guide to XMEGA RTC. Updated file:
xmega/drivers/rtc/rtc.h
1624 xmega Quick start XMEGA RTC32 Added quick start guide to XMEGA RTC. Updated file:
xmega/drivers/rtc32/rtc32.h
1625 xmega Quick start XMEGA TC Added quick start guide to XMEGA timer/counter driver. File updated:
xmega/drivers/tc/tc.h
1627 xmega Quick start XMEGA USART Added quick start guide to XMEGA USART driver. File updated:
xmega/drivers/usart/usart.h
1686 xmega Quick start XMEGA DMA Added quick start guide to XMEGA DMA. Updated file:
xmega/drivers/dma/dma.h
819 xmega Add Support for XMEGA C Family Added support for new XMEGA C family (ATxmega384C3,
ATxmega256C3, ATxmega32C4 and ATxmega16C4). Updated related
modules drivers and common services.
821 xmega Add XMEGA C support in parts.h Added XMEGA C family support in xmega/utils/parts.h
822 xmega Update XMEGA nvm drivers for XMEGA C Added XMEGA NVM drivers support XMEGA C family. Updated files:
parts /xmega/utils/parts.h, xmega/drivers/nvm/nvm.h.
823 xmega Add USB devices examples for XMEGA C A following USB Device examples has been added: HID mouse, HID
family keyboard, MSC, CDC and Vendor Class. Added folder:
common/services/usb/class/hid/device/mouse/example/atxmega384c3
_stk600-rc064x/,
common/services/usb/class/hid/device/kbd/example/atxmega384c3_s
tk600-rc064x/,
common/services/usb/class/msc/device/example/atxmega384c3_stk60
0-rc064x/,

17 AVR4000-ASF3.2.129-May-2012
ID Component Summary Description
- - - common/services/usb/class/cdc/device/example/atxmega384c3_stk60
0-rc064x/,
common/services/usb/class/vendor/device/example/atxmega384c3_st
k600-rc064x/.
1671 xmega USB Unit tests for XMEGA C New unit tests on XMEGA C for USB Device HID mouse and MSC.
Added folders:
common\services\usb\class\hid\device\mouse\unit_tests\atxmega38
4c3_stk600-rc064x,
common\services\usb\class\msc\device\unit_tests\atxmega384c3_st
k600-rc064x,
common\services\usb\class\msc\device\unit_tests\atxmega128a4u_s
tk600-rc044x.
1672 xmega XMEGA AES Unit tests and examples support Added AES example and unit-tests for ATxmega384C3. Added folders:
for XMEGA C xmega/drivers/aes/example1/atxmega384c3_stk600-rc064x,
xmega/drivers/aes/example2/atxmega384c3_stk600-rc064x and
xmega/drivers/aes/unit_tests/atxmega384c3_stk600-rc064x.
1673 xmega XMEGA NVM drivers examples support for Added NVM examples for ATxmega384C3. Added
XMEGA C xmega/drivers/nvm/example1/atxmega384c3_stk600-rc064x,
xmega/drivers/nvm/example2/atxmega384c3_stk600-rc064x and
xmega/drivers/nvm/example3/atxmega384c3_stk600-rc064x folders.
1674 xmega XMEGA RTC drivers examples support for Added RTC example for ATxmega384C3. Added
XMEGA C xmega/drivers/rtc/example/atxmega384c3_stk600-rc064x folder.
1675 xmega XMEGA WDT drivers examples support for Added WDT example for ATxmega384C3. Added
XMEGA C xmega/drivers/wdt/example/atxmega384c3_stk600-rc064x folder.
1676 xmega XMEGA USART drivers examples support for Added USART example for ATxmega384C3. Added
XMEGA C xmega/drivers/usart/example/atxmega384c3_stk600-rc064x folder.
1677 xmega XMEGA IOPORT drivers examples support Added IOPORT example for ATxmega384C3. Added
for XMEGA C xmega/drivers/ioport/example/atxmega384c3_stk600-rc064x folder.
1678 xmega XMEGA CRC drivers examples support for Added CRC example for ATxmega384C3. Added
XMEGA C xmega/drivers/crc/example1/atxmega384c3_stk600-rc064x folder.
1778 xmega Add support for ATxmega384D3 Added support for ATxmega384D3. Updated files: /xmega/utils/parts.h,
(ATxmega384C3 derivated) xmega/drivers/nvm/nvm.h.

AVR4000-ASF3.2.129-May-2012 18
Bug Fixes
ID Component Summary Description
1696 avr32 Linker scripts should define the .text section Fixed wrong default text position in RAM segment instead of Flash.
explicitly Link will fail with binutils version 2.22. Modified files:
common/services/usb/class/dfu_flip/device/bootloader/avr32/atuc
d3/gcc/link_atucd3-isp.lds,
common/services/usb/class/dfu_flip/device/bootloader/avr32/at32
uc3c/gcc/link_at32uc3c-isp.lds,
common/services/usb/class/dfu_flip/device/bootloader/avr32/atuc
l3_l4/gcc/link_at32ucl3_l4-isp.lds,
avr32/applications/uc3-uartbootloader/at32uc3l0_16_32_64/link_a
t32uc3l-isp.lds,
avr32/applications/uc3-uart-bootloader/at32uc3l0_128_256/link_a
t32uc3l0128-isp.lds.
1729 avr32 The service clock UC3D can can initialize two The UC3D service clock could initialize twice the OSC and PLL. Thus,
times the OSC and PLL. when the PLL or OSC are enabled, the configuration registers of PLL
or OSC could change and generate a clock glitch. Files modified:
common\services\clock\uc3d\pll.h,
common\services\clock\uc3d\sysclk.c.
1730 avr32 common/services/clock/ for UC3D does not The flash wait state may not be appropriately set when an external osc
configure flash wait state when the external (or clock) was used as source clock for the CPU. File modified:
OSC is used. common\services\clock\uc3d\sysclk.c.
1748 avr32 Fix CPU frequency on USB device examples The USBC interface, used by the ATUC256L4U device, requires a
for the ATUC256L4U device CPU clock higher than 25 MHz. Files modified:
common\services\usb\class\cdc\device\example\atuc256l4u_stk600-
rcuc3l4\conf_clock.h,
common\services\usb\class\cdc\device\unit_tests\atuc256l4u_stk6
00-rcuc3l4\conf_clock.h,
common\services\usb\class\hid\device\kbd\unit_tests\atuc256l4u_
stk600-rcuc3l4\conf_clock.h,
common\services\usb\class\hid\device\mouse\example\atuc256l4u_s
tk600-rcuc3l4\conf_clock.h,
common\services\usb\class\hid\device\mouse\unit_tests\atuc256l4
u_stk600-rcuc3l4\conf_clock.h.
1351 build system Fix AS5 examples name with ""unknown Simulator example projects and board controller example projects are
board""" no longer using the caption ""Unknown Board"", but ""Simulator"" and
""Board Controller"" respectively."
1747 common The unit test print messages via UART do not Addition of a sleep mode lock call before starting the USB and
support USB stack deep sleep mode sleepmgr services. Files modified:
common\services\usb\class\cdc\device\unit_tests\unit_tests.c,
common\services\usb\class\hid\device\kbd\unit_tests\unit_tests. c,
common\services\usb\class\hid\device\mouse\unit_tests\unit_test s.c,
common\services\usb\class\msc\device\unit_tests\unit_tests.c.
1791 documentation Typo in CRC driver Fixed typos in comments in the XMEGA CRC driver. Affected files:
xmega/drivers/crc.h and xmega/drivers/crc.c.
670 other ASF needs a new license that can apply to Update the Atmel ASF license so it can now apply to all Atmel
both SAM and AVR devices microcontroller (i.e. ARM and AVR) instead of AVR only. 3rd party
folder remains unchanged.
1744 xmega Start DFU command for XMEGA-B1 Xplained Fixed 'Start DFU' command for XMEGA-B1 Xplained demo that did not
demo does not work worked properly and made the DFU bootloader unrecognized by the
USB host. Modified files list:
xmega/applications/xmega_b1_xplained_demo/main.c, main.h, ui.c,
ui.h, usb_hid_com.c, usb_hid_com.h.
1759 xmega Cannot use PLL system clock from 32MHz RC Improved XMEGA sysclk implementation to allow using PLL for CPU
with USB core when internal RC at 48MHz is USB with USB. Modified files:
/common/services/clock/xmega/pll.h and
/common/services/clock/xmega/sysclk.c

19 AVR4000-ASF3.2.129-May-2012
Known Issues
ID Component Summary
862 3rd party Sensor library fails compilation if not using a board in the 'Xplained' series of boards.
1037 avr32 EVK1100 Control Panel compiles with 163 warnings in Studio5
735 avr32 T2BF library (thirdparty\cybercom\t2bf\) set the state to ""connected"" too early"
169 avr32 PolarSSL needs to be updated to version 1.0.0 to solve build error
647 build system Some UC3L modules are missing in AVR Studio 5
1344 common USB MSC unit test fails on UC3C-EK with GCC/AS5 in -O0 optimization
654 common common/components/memory/data_flash/at45dbx is not listed for any devices in AVR Studio 5 ASF menu
861 xmega XMEGA NVM driver does not support XMEGA A3 rev B errata.
761 xmega RTC32 rtc32_init() is unusable when using battery backup (combination of rtc32_init() and rtc32_vbat_system_check()
is not complete)

AVR4000-ASF3.2.129-May-2012 20
Headquarters International

Atmel Corporation Atmel Asia Limited Atmel Munich GmbH Atmel Japan
2325 Orchard Parkway Unit 01-5 & 16, 19F Business Campus 16F, Shin Osaki Kangyo Bldg.
San Jose, CA 95131 BEA Tower, Millennium City 5 Parkring 4 1-6-4 Osaki Shinkawa-ku
U.S.A. 418 Kwun Tong Road D- 85748 Garching b. Tokyo 104-0032
Tel: (+1) (408) 441-0311 Kwun, Tong, Kowloon MUNICH JAPAN
Fax: (+1) (408) 487-2600 HONG KONG Tel.: (+49) 89-31970-111 Tel: (+81) 3-6417-0300
Tel: (852) 2245-6100 Fax: (+49) 89-3194621 Fax: (+81) 3-6417-0370
Fax: (852) 27232-1369

Product Contact

Web Site Technical Support Sales Contact


http://www.atmel.com avr@atmel.com www.atmel.com/contacts

Literature Request
www.atmel.com/literature

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 CONDITIONS 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. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, CONSEQUENTIAL, PUNITIVE, SPECIAL OR
INCIDENTAL DAMAGES (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF PROFITS, BUSINESS INTERRUPTION, OR LOSS
OF INFORMATION) ARISING OUT OF THE USE OR INABILITY TO USE THIS DOCUMENT, EVEN IF ATMEL HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES. Atmel makes no representations or warranties with respect to the accuracy or completeness of the contents
of this document and reserves the right to make changes to specifications and product descriptions at any time without notice. Atmel does not
make any commitment to update the information contained herein. Unless specifically provided otherwise, 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.

© 2010 Atmel Corporation. All rights reserved. Atmel®, logo and combinations thereof, AVR® and others, are the registered trademarks or
trademarks of Atmel Corporation or its subsidiaries. Other terms and product names may be trademarks of others.

21 AVR4000-ASF3.2.129-May-2012

Potrebbero piacerti anche