Microcontrollers. AVR Software Framework Release Notes Release Notes. Introduction. Device Support
|
|
|
- Meryl Lindsay Phillips
- 10 years ago
- Views:
Transcription
1 AVR Software Framework Release Notes Introduction The Atmel AVR Software Framework (ASF, provides software drivers and libraries to build applications for Atmel megaavr, AVR XMEGA and AVR UC3 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. The ASF is included in Atmel AVR Studio 5 ( A separate package is available for megaavr, AVR XMEGA and AVR UC3 users for IAR, Atmel AVR Studio 4 and AVR32 Studio on AVR Studio 5 users do not need this package as the ASF is integrated in AVR Studio 5. This document describes the supported devices, supported tools, and changes since last ASF release (enhancements, bugs fixes and known issues). Microcontrollers Release Notes 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 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 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
2 Supported Tools Atmel AVR Studio 5.1 using GCC: 32-bit version 4.4.3(AVR_32_bit_GNU_Toolchain_3.3.0_280) 8-bit version 4.5.1(AVR_8_bit_GNU_Toolchain_3.3.0_387) Atmel AVR32 Studio version 2.6 IAR EWAVR32 version 3.30 IAR EWAVR version 5.50 and version 6.10 WinAVR version Atmel AVR Studio 4.18 SP3 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: Contact Information For more info about Atmel AVR visit download application notes from the AVR Application Notes page or contact support through the site. The support site also have a Frequently Asked Questions page with the most common AVR questions. ASF bug or enhancement requests can be reported in the ASF Bug Tracker at Community Information This forum can be used to have an open discussion about usage, development, bugs, fixes, improvements, etc. ASF forum on AVRFreaks at AVR4000-ASF Nov
3 Changes between version and version releases of the ASF New Features and API Changes ID Component Summary Description 577 avr32 Add a virtual com port example based on USB stack v2 (replace avr32\applications\e vk11xx-uc3b-virtual- com-port) 567 avr32 Add UC3 L3/L4 devices support in avr32/utils/parts.h 568 avr32 Add UC3 L4 devices support in avr32/utils/linker_s cripts 1217 avr32 Add UC3 L4 STK600 support in common/components/me mory/data_flash 561 avr32 Add UC3 L3/L4 devices support in / common/services/cloc k/uc3l/ 562 avr32 Add STK600 support for UC3 L4 devices in /avr32/boards/ 563 avr32 Add UC3 L4 STK600 support in avr32/drivers/gpio/p eripheral_bus_exampl e and avr32/drivers/gpio/l ocal_bus_example examples 564 avr32 Add UC3 L4 STK600 support in avr32/drivers/usart/ example 565 avr32 Add UC3 L3/L4 support in common/services/usb 566 avr32 Add UC3 L3/L4 devices support in USBC driver 1041 avr32 Add UC3 L3/L4 devices support in /avr32/drivers/scif/ 1055 avr32 Add USB Device CDC example for UC3 L4 device This new USB CDC class Virtual Com Port application improves the power management, fix UART-USB transfer robustness, improve display information via LEDs. Added folders: common\services\usb\ class\cdc\device\exa mple\at32uc3b0256_bo ard_controller, avr32\boards\uc3b_bo ard_controller. Modified file: common\boards\board. h, common\services\usb\ class\cdc\device\exa mple\conf_usb.h. Removed folder: avr32\applications\e vk11xx-uc3b-virtualcom-port\ Add local definitions for UC3 L3/L4 devices. Modified files: avr32/utils/parts.h. Add linker scripts for UC3 L4 devices. Added folder: avr32/utils/linker_s cripts/atuc_l4u/. Add UC3 L4 STK600 support in common/components/me mory/data_flash. Added folders: common/components/me mory/data_flash/at45 dbx/example/atuc256l 4u_stk600-rcuc3l4 and common/components/me mory/data_flash/at45 dbx/unit_tests/atuc2 56l4u_stk600-rcuc3l4 Add support of UC3 L3/L4 devices in common/services/cloc k module. Modified files: common/services/cloc k/pll.h, common/services/cloc k/uc3l/dfll.c, common/services/cloc k/uc3l/osc.c, common/services/cloc k/uc3l/pll.c, common/services/cloc k/uc3l/pll.h, common/services/cloc k/uc3l/genclk.h, common/services/cloc k/uc3l/sysclk.h, common/services/cloc k/uc3l/sysclk.c. Added folders: common/services/cloc k/example1/atuc256l4 u_stk600-rcuc3l4, common/services/cloc k/example2/atuc256l4 u_stk600-rcuc3l4 and common/services/cloc k/example3/atuc256l4 u_stk600-rcuc3l4. Add STK600 support of UC3 L4 devices in /avr32/boards folder. Modified files: common/boards/board. h and avr32/boards/dummy/a sf.xml. Added files: avr32/boards/stk600/ rcuc3l4/. Add UC3 L4 STK600 support in avr32/drivers/gpio/p eripheral_bus_exampl e and avr32/drivers/gpio/l ocal_bus_example examples. Added files: avr32/drivers/gpio/p eripheral_bus_exampl e/atuc256l4u_stk600- rcuc3l4 and avr32/drivers/gpio/l ocal_bus_example/atu c256l4u_stk600-rcuc3 l4. Add UC3 L4 STK600 support in avr32/drivers/usart example. Modified files: avr32/drivers/usart/ usart_example/usart_ example.c. Added folders: avr32/drivers/usart/ usart_example/atuc25 6l4u_stk600-rcuc3l4 and avr32/drivers/usart/ usart_example2/atuc2 56l4u_stk600-rcuc3l4. Add UC3 L3/L4 STK600 support in common/services/usb. Add USB support on UC3 L3/L4 devices. Modified file: avr32/drivers/usbc/u sbc_device.c. Add scif driver support for UC3 L3/L4 devices. Modified files: avr32/drivers/scif/s cif_uc3l.c and avr32/drivers/scif/s cif_uc3l.h. Add USB Device CDC example. Added folder: common/services/usb/ class/cdc/device/exa 3 AVR4000-ASF Nov-2011
4 ID Component Summary Description mple/atuc256l4u_stk6 00-rcuc3l avr32 Add USB Device HID mouse example for UC3 L4 device 374 avr32 avr32/drivers/pm: add a function to use the AWEN feature 978 avr32 Add USB composite device HID keyboard and MSC example on EVK avr32 Add USB HID keyboard examples on EVK avr32 Add initialization of the MCI GPIO interface in init.c of the EVK1104 board 1307 common Add UC3 L4 STK600 support for common/services/cale ndar/ service 1308 common Add UC3 L4 STK600 support for common usb device unit tests 967 common Add USB DFU bootloader for UC3 L3/L4 devices Add USB Device HID mouse example. Added folder: common/services/usb/ class/hid/device/mou se/example/atuc256l4 u_stk600-rcuc3l4. pm_asyn_wake_up_enab le() and pm_asyn_wake_up_disa ble() functions are available and used in USBB/USBC drivers. Modified files: avr32\drivers\pm\pm. h, avr32\drivers\usbb\a sf.xml, avr32\drivers\usbb\u sbb_device.c, avr32\drivers\usbc\u sbc_device.c New USB composite device HID keyboard and MSC example on EVK1101. Added folder: common\services\usb\ class\composite\devi ce\example3\. Modified file: common\services\usb\ usb_atmel.h Added USB HID keyboard examples on EVK1101. Folder added: common\services\usb\ class\hid\device\kbd \ example\at32uc3b0256 _evk1101\. board_init() now initializes the MCI GPIO interface when the CONF_BOARD_SD_MMC_MC I definition is present in conf_board.h file. Modified file: \ avr32\boards\evk1104 \init.c. Add support of UC3 L3/L4 devices in common/services/cale ndar/ module. Modified files: common/services/cale ndar/example1/exampl e1.c and common/services/cale ndar/example2/exampl e2.c. Added files: common/services/cale ndar/example1/atuc25 6l4u_stk600-rcuc3l4/, common/services/cale ndar/example2/atuc25 6l4u_stk600-rcuc3l4/ and common/services/cale ndar/unit_tests/atuc 256l4u_stk600-rcuc3l 4/ Add support of UC3 L3/L4 devices in common usb device unit tests. Added folders: common/services/usb/ class/cdc/device/uni t_tests/atuc256l4u_s tk600-rcuc3l4/, common/services/usb/ class/hid/device/kbd / unit_tests/atuc256l4 u_stk600-rcuc3l4/ and common/services/usb/ class/hid/device/mou se/unit_tests/atuc25 6l4u_stk600-rcuc3l4/. Add USB DFU bootloader application for UC3 L3/L4 devices. Modified files: common/services/isp/ flip/uc3/isp.c, common/services/isp/ flip/uc3/flash_api.h, common/services/isp/ flip/uc3/boot.s, common/services/isp/ flip/uc3/boot.s82, common/services/usb/ usb_atmel.h, common/services/usb/ class/dfu_flip/devic e/bootloader/avr32/m ain.c and common/services/usb/ class/dfu_flip/devic e/bootloader/avr32/c onf/conf_usb.h. Added folder: common/services/usb/ class/dfu_flip/devic e/bootloader/avr32/a tucl3_l common Add USB Device vendor class examples Add a USB Device Vendor Class interface and an example on the following boards: EVK1104, EVK1101, UC3C-EK, ATXMEGA32A4U/STK600, ATXMEGA256A3BU/STK60 0 and XMEGA A3BU XPlained. Added folder: common\services\usb\ class\vendor\. Modified file: common\services\usb\ usb_atmel.h 633 common Add SD and MMC cards on SPI interface support in USB Device MSC examples 970 common Remove small virtual disk (<32 kb) in USB MSC examples The SD and MMC cards support on SPI are available on EVK1100, EVK1101, EVK1105 and UC3C_EK. UC3-specific code is moved in a specific source file. Folders modified: common\services\usb\ class\msc\device\exa mple\, common\services\usb\ class\msc\device\uni t_tests\, common\services\usb\ class\composite\devi ce\example1\, common\services\usb\ class\composite\devi ce\example3\, common\services\usb\ class\composite\devi ce\example4\. Windows OS can not format a disk with a size < 32kB. To avoid format error, all virtual disks which use RAM < 32kB AVR4000-ASF Nov
5 ID Component Summary Description are removed. Modified files: common\services\usb\ class\composite\devi ce\example1\at32uc3a 0512_evk1100\conf_ac cess.h, common\services\usb\ class\msc\device\exa mple\at32uc3b0256_ev k1101\conf_access.h. Files deleted: common\services\usb\ class\msc\device\exa mple\at32uc3b0256_ev k1101\conf_virtual_m em.h, common\services\usb\ class\composite\devi ce\example1\at32uc3a 0512_evk1100\conf_vi rtual_mem.h 976 common Remove speed test mode in USB CDC examples 1035 common Add USB Device HID Generic example on EVK1101, UC3C_EK and ATxmega32A4U STK600 boards 1043 common Improve common virtual memory to use a larger USB DMA transfer common Improve USB Device CDC transfer speed 1238 common Add USB composite device CDC and MSC example on EVK common Remove recovery information not used in USB Device MSC implementation 776 common Add RZ600-based Wireless UART application 1114 xmega Add usart example for XMEGA A3U and A4U devices 1115 xmega Add ioport example for XMEGA A3U and A4U devices 1116 xmega Add wdt example for XMEGA A3U and A4U devices 1117 xmega Add LED chaser example for XMEGA A3U and A4U devices To simplify the USB CDC examples, the speed test mode is removed. In folder \ common\services\usb\ class\cdc\device\exa mple\, modified files: at32uc3a0512_evk1100 \ui.c, at32uc3a3256_evk1104 \ui.c, at32uc3b0256_evk1101 \ui.c, at32uc3c0512_uc3c_ek \ui.c, at32uc3c2512c_uc3_c2 _xplained\ui.c, atxmega256a3bu_stk60 0-rc064x\ui.c, atxmega256a3bu_xmega _a3bu_xplained\ui.c, atxmega32a4u_stk600- rc044x\ui.c, atxmega128a1u_stk600 -rc100x\ui.c, atxmega128a4u_stk600 -rc044x\ui.c, atxmega128b1_stk600- r100x\ui.c, atxmega128b1_xmega_b 1_xplained\ui.c, main.c, ui.h These HID Generic examples use the native USB HID driver. A Atmel PC tool is available to test this examples (See application note AVR153). Folder added: common\services\usb\ class\hid\device\gen eric\example Now the virtual memory uses a large USB DMA transfer instead of 512B maximum. File modified: common\components\me mory\virtual_mem\vir tual_mem.c - virtual_mem.h Improve maximum transfer speed of CDC interface. Modified file: common\services\usb\ class\cdc\device\udi _cdc.c New USB composite device CDC and MSC example on EVK1101. Added folder: common\services\usb\ class\composite\devi ce\example4\. Modified file: common\services\usb\ usb_atmel.h The recovery information is not used in USB Device MSC implementation. Remove it allows to have a simple code and to remove compilation warning on GCC compiler. File modified: common\services\usb\ class\msc\device\udi _msc.c Added folder: common/components/wi reless, avr32/applications/r z600-uc3a-wireless-u art with application supporting RZ600 kit is provided. Add unit tests for RZ600/AT86RF212/AT86 RF230b/AT86RF231. Added USART example for ATxmega256A3U, ATxmega32A4U. Added folders: xmega\drivers\usart\ example\atxmega32a4u _stk600-rc044x and xmega\drivers\usart\ example\atxmega256a3 u_stk600-rc064x. Added IO Port example for ATxmega256A3U, ATxmega32A4U. Added folders: xmega\drivers\ioport \ example\atxmega32a4u _stk600-rc044x and xmega\drivers\ioport \ example\atxmega256a3 u_stk600-rc064x. Added WDT example for ATxmega256A3U, ATxmega32A4U. Added folders: xmega\drivers\wdt\ex ample\atxmega32a4u_s tk600-rc044x and xmega\drivers\wdt\ex ample\atxmega256a3u_ stk600-rc064x. Added LED Chaser example for ATxmega256A3U, ATxmega32A4U. Added folders: common\applications\ led_chaser\atxmega32 a4u_stk600 and common\applications\ led_chaser\atxmega25 6a3u_stk AVR4000-ASF Nov-2011
6 ID Component Summary Description 1118 xmega Add DataFlash example for XMEGA A3U and A4U devices 975 xmega Remove unnecessary data toggle reset in XMEGA USB driver Added DataFlash example for ATxmega256A3U, ATxmega32A4U. Added folders: common\components\me mory\data_flash\at45 dbx\example\atxmega3 2a4u_stk600-rc044x and common\components\me mory\data_flash\at45 dbx\example\atxmega2 56a3u_stk600-rc064x The data toggle is reset automatically by USB hardware when a SETUP packet occurs. File modified: xmega\drivers\usb\us b_device.c AVR4000-ASF Nov
7 Bug Fixes ID Component Summary Description 1272 avr32 PLL structure access for UC3L0256/0128 should be updated due to changes in header files definitions 1042 avr32 USB Device CDC example on EVK1104 fails 1069 avr32 USBB Driver authorizes a large DMA transfer on isochronous endpoint OUT 1228 avr32 SD memory component through SPI has been updated to support USB device stack v build system gcc and g++ care about the order of their arguments 487 common Change limit of block size transfer on USBB and USBC drivers 1156 common UC3C sysclk_set_prescaler s function of doesn't set correctly the prescaler value if higher than documentation Remove 'This file is prepared for Doxygen automatic documentation generation' from source files PLL structure access for UC3L0256/0128 should be updated. Modified files: avr32/drivers/scif/s cif_uc3l.c, common/services/cloc k/uc3l/pll.c and common/services/cloc k/uc3l/pll.h. Improved USBB driver transfer robustness when the USB interface use a ZLP on a bulk OUT endpoint (only impacts CDC implementation in ASF). Modified file: avr32\drivers\usbb\u sbb_device.c When a large transfer (> endpoint size) is requested on isochronous endpoint OUT, the DMA doesn't stop at each USB packets. Modified file: avr32\drivers\usbb\u sbb_device.c SD memory component (SPI) now supports USB device stack V1 and V2. Modified file: avr32\components\mem ory\sd_mmc\sd_mmc_sp i\sd_mmc_spi_mem.c Using --start-group and --end-group to resolve circular dependencies during the link for 32-bit AVRs Makefiles. The udd_ep_run() allows to transfer up to the internal RAM size. However, the USBB driver has been limited to 64kB and USBC to 32kB. Modified files: avr32\drivers\usbb\u sbb_device.c, avr32\drivers\usbb\u sbb_device.h, avr32\drivers\usbc\u sbc_device.c, avr32\drivers\usbc\u sbc_device.h Defines use in sysclk_set_prescaler s for setting prescalers are not correct, so the internal clock might be not correctly set. Modified file: common\services\cloc k\uc3c\sysclk.c Removed Doxygen comment line from the header of files. 883 xmega Problems with RTC driver for Xmega Spurious interrupts due to interrupt setup xmega Several XMEGA Drivers Not Setting Interrupt Levels Correctly 1167 xmega tc_awex_set_fault_de tection_action does not work 1168 xmega Redundancy in tc_awex_fdmode_resta rt_* functions xmega No function to set FDDBD in FDCTRL (tc awex) 1226 xmega DES unit test on XMEGA A1 Xplained failed on IAR 885 xmega XMEGA ADC driver lacks support for all the features in the new AU devices ADC 1113 xmega xmega usart example doesnt work as intended for some xmega devices Removed use of enum pmic_level in functions setting interrupt levels, as PMIC_LVL_HIGH is 0x04, which does not correspond to interrupt level HI which has configuration 0x03. Edited files: xmega/ac/ac.h, xmega/ac/example/ac_ example.c, xmega/dma/dma.h, xmega/dma/example/dm a_example.c, xmega/tc/tc.h, xmega/tc/example1/tc _example1.c, xmega/tc/example2/tc _example2.c, xmega/tc/example2/tc _example2.c, xmega/tc/simulator_e xample1/tc_example1. c Wrong sequence of the operations prevents the function from setting any new fault action. Changes made in asf/xmega/drivers/tc /tc.h. The two tc_awex_fdmode_resta rt_ functions have redundancy in their definition and the control registers are set twice. Changes made in asf/xmega/drivers/tc /tc.h. Functions for enabling/disabling the fault detection on debug break is missing. Changes made in asf/xmega/drivers/tc /tc.h. Fixed a bug in xmega/des/des.s90. Added a new ADC example (example 3) using the new pin scan feature on ADC CH0. The example uses the event system to trigger an ADC conversion, and the results are stored in a result array. Modified files: xmega/drivers/adc/ad c.c xmega/drivers/adc.h Added example: xmega/drivers/adc/ex ample3 USART is not getting initialized in devices not having all 8 USART modules. Modified file: xmega\drivers\usart\ 7 AVR4000-ASF Nov-2011
8 ID Component Summary Description example\usart_exampl e.c AVR4000-ASF Nov
9 Known Issues ID Component Summary 862 3rd party Sensor library fails compilation if not using an board in the ""Xplained"" series of boards." 860 3rd party Sensor library does not compile correctly for other XMEGA devices than ATxmega128A1 863 avr32 The module ""MEMORY - SD/MMC card access using MCI"" can't be used with UC3-A3 Xplained." 735 avr32 T2BF library ( thirdparty\cybercom\ t2bf\) set the state to ""connected"" too early" 491 avr32 avr32/services/netwo rk/can/can.c: Missing function prototypes ( can_enable_interrupt () can_clear_status()) 323 avr32 Display - LCD display - ET024006DHU driver does not compile unless the user has manually configured the it. 322 avr32 EBI SMC driver does not compile unless the user has manually configured the chip select. 321 avr32 The MACB driver doesn't build successfully under AVRStudio5's Application Builder unless manually configured by the user. 169 avr32 PolarSSL needs to be updated to version to solve build error 647 build system Some UC3L modules are missing in AVR Studio common common/components/me mory/data_flash/at45 dbx is not listed for any devices in AVR Studio 5 ASF menu 1246 xmega A3BU Xplained demo - Temperature application hangs when debugged 861 xmega XMEGA NVM driver does not support XMEGA A3 rev B errata. 853 xmega XMEGA USB modules can be selected even for non-usb devices 761 xmega RTC32 rtc32_init() is unusable when using battery backup (combination of rtc32_init() and rtc32_vbat_system_ch eck() is not complete) 9 AVR4000-ASF Nov-2011
10 Changes between version and version releases of the ASF New Features and API Changes ID Component Summary Description 1049 avr32 DSPLIB - merge readme.html into the doxygen documentation 505 avr32 Create Timer/Counter example for AVR Studio 5 simulator 1234 avr32 Enable the 1KHz output on OSC 32KHz by default (AT32UC3L0) 456 build system Generated IAR projects assume C-language only project source 172 common sleepmgr.h needs a sleepmgr_get_sleep_m ode() function 1017 common Add XMEGA-B1 Xplained user application template 1090 common Add user application template for atxmega128a1u on stk common Add support of 32KHz oscillator control in UC3A and UC3B clock service 674 common Add unit test for USB Device enumeration on HID mouse class 788 common Add an option to reduce RAM footprint of USB DFU FLIP class implementation 789 common Add support of ATxmegaA3U and ATxmegaA4U in ISP FLIP service 935 common Add possibility to have a dynamic USB serial number 1188 common Add unit test for USB Device enumeration on HID keyboard class Merge static readme.html DSPLib documentation (only present in the ASF standalone archive) into the Doxygen html files. Added Folder: avr32/drivers/tc/sim ulator_example1 osc_priv_enable_osc3 2() now enables the 1KHz output by default. Modified file: common/services/cloc k/uc3l/osc.c Projects generated for IAR EWAVR and EWAVR32 assume that source files are C-language. The generated build options should specify compiling by file extension for those projects using, for example, C++ source files. Added sleepmgr_get_sleep_m ode() function to the sleep manager service for easier access to used sleep mode. Files modifiled: common/services/slee pmgr/sleepmgr.h, common/services/slee pmgr/uc3/sleepmgr.h, services/sleepmgr/xm ega/sleepmgr.h, xmega/drivers/ebi/un it_tests/sdram/atxme ga128a1_xplain/conf_ sleepmgr.h, xmega/drivers/ebi/un it_tests/sram/atxmeg a128a1_stk600-rc100x /conf_sleepmgr.h Added user application template for XMEGA-B1 Xplained. Added folder: / common/applications/ user_application/atx mega128b1_xmega_b1_x plained Added user application template using STK600 and rc100x routing board for ATxmega128A1U target. Added folder: common\applications\ user_application\atx mega128a1u_stk600-rc 100x Add 32kHz oscillator management in common\services\cloc k for UC3 A and UC3 B family. Modified files: common\services\cloc k\uc3a0_a1\osc.h, common\services\cloc k\uc3a3_a4\osc.h, common\services\cloc k\uc3b0_b1\osc.h Add unit tests for USB HID mouse class on: evk1100, evk1105, evk1104, evk1101, uc3c_ek, uc3_c2_xplained, atxmega128a1u_stk600, atxmega128b1_stk600, xmega_b1_xplained, atxmega256a3bu_stk60 0, xmega_a3bu_xplained, atxmega32a4u_stk600. Added folder: common/services/usb/ class/hid/device/mou se/unit_tests/ The define option ""UDI_DFU_SMALL_RAM"" can now be added in conf_usb.h to reduce the RAM used (1kB instead of 2kB), but the code increases of 80 Bytes. Modified file: common\services\usb\ class\dfu_flip\devic e\udi_dfu_atmel.c." Add support of ATxmegaA3U and ATxmegaA4U in ISP FLIP service (Note: this service is required to implement USB DFU FLIP bootloader). Modified files: common\services\isp\ flip\xmega\cstartup. s90, common\services\isp\ flip\xmega\isp.c, common\services\isp\ flip\xmega\macros.m9 0 The new defines USB_DEVICE_GET_SERIA L_NAME_POINTER and USB_DEVICE_GET_SERIA L_NAME_LENGTH can be used in conf_usb.h file to allow the load of a dynamic USB serial number. Modified file: common\services\usb\ udc\udc.c. Add unit test for HID keyboard class on: evk1100, evk1105, evk1104, evk1101, uc3c_ek, uc3_c2_xplained, AVR4000-ASF Nov
11 ID Component Summary Description atxmega128a1u_stk600, atxmega128b1_stk600, xmega_b1_xplained, atxmega256a3bu_stk60 0, xmega_a3bu_xplained, atxmega32a4u_stk600. Folder added: common/services/usb/ class/hid/device/kbd /unit_tests/ 1189 common Add unit test for USB Device enumeration on MSC class 1190 common Add unit test for USB Device enumeration on CDC class 1206 common Improve service clock to provide a proper way to configure PLL, DFLL and generic clock. 771 other Assert needs to generate unit-test failure when running the unit-test framework 1221 unit test Add unit test for XMEGA with XMEGA-A3BU Xplained Add unit test for MSC class on: evk1100, evk1105, evk1104, evk1101, uc3c_ek, atxmega128a1u_stk600, atxmega128a4u_stk600, xmega_b1_xplained, xmega_a3bu_xplained, Folder added: common/services/usb/ class/msc/device/uni t_tests/ Add unit test for CDC class on: evk1100, evk1105, evk1104, evk1101, uc3c_ek, uc3_c2_xplained, atxmega128a1u_stk600, xmega_b1_xplained, xmega_a3bu_xplained, atxmega32a4u_stk600. Folder added: common/services/usb/ class/cdc/device/uni t_tests/ To match the goal of the service clock, a new common functions to initialize the PLL, DFLL and generic clock has been added. Also, the case of a PLL being initialized twice is removed. Folder modified: asf/common/services/ clock/. Updated Assert() function to generate unit test failure. Files modifiled: avr32/utils/compiler.h, common/utils/asf.xml, common/utils/unit_te st/suite.c, common/utils/unit_te st/suite.h, mega/utils/compiler. h, xmega/drivers/nvm/nv m.c, xmega/utils/compiler.h Add unit test for XMEGA running on XMEGA-A3BU Xplained: AES, DES, SPI and DMA XMEGA modules drivers. Folders added: / xmega/drivers/dma/un it_tests/atxmega256a 3bu_xmega_a3bu_xplai ned,/xmega/drivers/a es/unit_tests/atxmeg a256a3bu_xmega_a3bu_ xplained, / xmega/drivers/des/un it_tests/atxmega256a 3bu_xmega_a3bu_xplai ned and / xmega/drivers/spi/un it_tests/atxmega256a 3bu_xmega_a3bu_xplai ned 1000 xmega Add Voltage Meter demonstration Added XMEGA Basic Voltage meter application for ATxmega128B1 and XMEGA-B1 Xplained board. Added / xmega/applications/x mega_b1_xplained_vol tage_meter. 257 xmega Add example on XMEGA NVM drivers which uses FLASH program functions This example writes data in application flash section thanks to NVM driver functions stored in FLASH BOOT section. New folder: xmega/drivers/nvm/ex ample3/ 902 xmega Add CRC driver Added CRC driver with examples. Added folder: xmega/drivers/crc 769 xmega Add more unit tests for NVM driver Added unit tests for reading from a buffer and writing to a buffer. Modified file: xmega/drivers/nvm/un it_tests/unit_tests. c 909 xmega Add functionality to nvm driver for crc driver to be able to set up crc for nvm 871 xmega XMEGA twim driver should have configurable interrupt levels. Added functionality to be able to set up CRC for the NVM. Modified files: xmega/drivers/nvm/nv m.h, xmega/drivers/nvm/nv m.c Expose the XMEGA twim interrupt level via configuration constants defined in a module configuration header. Added: / common/services/twi/ master_example/atxme ga128a1_stk600/conf_ twim.h, / common/services/twi/ master_example/atxme ga128a1_xplain/conf_ twim.h, / xmega/drivers/twi/mo dule_config, / xmega/drivers/twi/mo dule_config/conf_twi m.h. Deleted: / common/services/twi/ master_example/atxme ga128a1_stk600/conf_ twi_master.h, / common/services/twi/ master_example/atxme ga128a1_xplain/conf_ twi_master.h, / common/services/twi/ master_example/at32u c3a0512_evk1100/conf _twi_master.h, / common/services/twi/ master_example/at32u c3a0512_evk1105/conf _twi_master.h, / common/services/twi/ master_example/at32u c3a3256_evk1104/conf _twi_master.h, / common/services/twi/ master_example/at32u 11 AVR4000-ASF Nov-2011
12 ID Component Summary Description c3b0256_evk1101/conf _twi_master.h, / common/services/twi/ master_example/at32u c3c0512c_uc3c_ek/con f_twi_master.h, / common/services/twi/ master_example/at32u c3l064_uc3l_ek/conf_ twi_master.h. Modified: / common/services/twi/ master_example/atxme ga128a1_stk600/asf.x ml, / common/services/twi/ master_example/atxme ga128a1_xplain/asf.x ml, / xmega/drivers/twi/as f.xml, / xmega/drivers/twi/tw im.c, / xmega/drivers/twi/tw im.h, / common/services/twi/ master_example/at32u c3a0512_evk1100/asf. xml, / common/services/twi/ master_example/at32u c3a0512_evk1100/conf _board.h, / common/services/twi/ master_example/at32u c3a0512_evk1105/asf. xml, / common/services/twi/ master_example/at32u c3a0512_evk1105/conf _board.h, / common/services/twi/ master_example/at32u c3a3256_evk1104/asf. xml, / common/services/twi/ master_example/at32u c3a3256_evk1104/conf _twim.h, / common/services/twi/ master_example/at32u c3b0256_evk1101/asf. xml, / common/services/twi/ master_example/at32u c3b0256_evk1101/conf _board.h, / common/services/twi/ master_example/at32u c3c0512c_uc3c_ek/asf.xml, / common/services/twi/ master_example/at32u c3c0512c_uc3c_ek/con f_twim.h, / common/services/twi/ master_example/at32u c3l064_uc3l_ek/asf.x ml, / common/services/twi/ master_example/at32u c3l064_uc3l_ek/conf_ twim.h, / common/services/twi/ master_example/asf.x ml, / common/services/twi/ master_example/twi_m aster_example.c. 910 xmega Add common sensor service support on XMEGA Xplained boards Add common sensor service support for XMEGA-A1 Xplained and XMEGA-A3BU Xplained boards. Add additional sensor driver libraries for XMEGA under thirdparty/sensors/l ibs/gcc and thirdparty/sensors/l ibs/iar directories. Add sensor demo application project files in xmega/applications/x mega-compass-calibra tion, xmega/applications/x mega-inertial-demo, xmega/applications/x mega-inertial-visual izer, xmega/applications/x mega-inertial-wake-d emo, xmega/applications/x mega-pressure-demo directories. 446 xmega Add XMEGA-B1 Xplained support Added XMEGA-B1 Xplained board support, added files within / xmega/boards/xmega_b 1_xplained. 448 xmega Add USB HID mouse examples for XMEGA B products family 470 xmega Add XMEGA-B1 Xplained demo application related to application note AVR xmega Update XMEGA nvm drivers for XMEGA B parts 816 xmega Add XMEGA B1 devices support in stk600/rc100x routing board Added XMEGA B USB HID mouse examples. Added folder: common/services/usb/ class/hid/device/mou se/example/atxmega12 8b1_stk600-rc100x and common/services/usb/ class/hid/device/mou se/example/atxmega12 8b1_xmega_b1_xplaine d. Added XMEGA-B1 Xplained default demonstration firmware in xmega/applications/x mega_b1_xplained_dem o/ folder. This application is the one that come by default with the XMEGA-B1 Xplained kit. Update XMEGA NVM driver to support XMEGA B parts: ATxmega128B1, ATxmega64B1, ATxmega128B3 and ATxmega64B3. Modified file: xmega/drivers/nvm/nv m.h Added support for ATxmega128B1 and ATxmega64B1 to stk600_rc100x board. Modified file: / xmega/boards/stk600/ rc100x/stk600_rc100x.h 817 xmega Add XMEGA B1 B3 support in parts.h Added support for ATxmega128B1, ATxmega64B1, ATxmega128B3 and ATxmega64B3 in ASF. Modified file: /xmega/utils/part.h 827 xmega Add ATxmega128A4U and ATxmega64AAU support in ASF Added support for ATxmega128A4U and ATxmega64A4U. Modified file: /xmega/utils/part.h AVR4000-ASF Nov
13 ID Component Summary Description 828 xmega Update XMEGA nvm drivers to support ATxmega128A4U and ATxmega64A4U 829 xmega Add USB Device HID mouse examples for ATxmega128A4U 833 xmega Add ATxmega128A1U and ATxmega64A1U support in ASF 834 xmega Update XMEGA nvm drivers for ATxmega128A1U and ATxmega64A1U parts 835 xmega Add USB Device HID mouse examples for ATxmega128A1U 850 xmega XMEGA USB drivers compatibility for XMEGA A1 parts 998 xmega Add XMEGA B3 devices support in stk600/rc064x routing board 1011 xmega Update XMEGA ADC drivers to support XMEGA B family 1012 xmega Add USB HID keyboard examples for XMEGA B products family 1013 xmega Add USB Mass Storage examples for XMEGA B products family 1014 xmega Add USB CDC examples for XMEGA B products family Add flash size definition for ATxmega128A4U and ATxmega64A4U. Modified file: xmega/drivers/nvm/nv m.h. Added USB Device HID mouse examples for ATxmega128A4U. Added folder: / common/services/usb/ class/hid/device/mou se/example/atxmega12 8a4u_stk600-rc044x/ Added support of ATxmega128A1U and ATxmega64A1U in ASF. Modified File: /xmega/utils/parts.h Added FLASH definitions in XMEGA nvm drivers for ATxmega128A1U and ATxmega64A1U parts. Modified file: /xmega/drivers/nvm.h Added ATxmega128A1U USB Device HID mouse example. Added: common/services/usb/ class/hid/device/mou se/example/atxmega12 8a1u_stk600-rc100x/ The XMEGA A1 parts have different alignment constraints for USB memory. The USB drivers has been updated. Modified file: xmega/drivers/usb/us b_device.c Added support for ATxmega128B3 and ATxmega64B3 in stk600_rc064 routing board. The XMEGA B family supports VCC/2 ADC reference voltage. Modified file: xmega/drivers/adc/ad c.h Added XMEGA B USB HID Keyboard examples. Added: common/services/usb/ class/hid/device/kbd / example/atxmega128b1 _stk600-rc100x and common/services/usb/ class/hid/device/kbd / example/atxmega128b1 _xmega_b1_xplained. Added XMEGA B USB Device Mass Storage examples. Added folder: common/services/usb/ class/msc/device/exa mple/atxmega128b1_st k600-rc100x/ and common/services/usb/ class/msc/device/exa mple/atxmega128b1_xm ega_b1_xplained Added XMEGA B USB Device CDC examples. Added folder: common/services/usb/ class/cdc/device/exa mple/atxmega128b1_st k600-r100x/ and common/services/usb/ class/cdc/device/exa mple/atxmega128b1_xm ega_b1_xplained/ 1022 xmega Add XMEGA LCD drivers Added drivers for XMEGA LCD module. Added folder: /xmega/drivers/lcd/ xmega Add c42048a LCD glass component for XMEGA B LCD controller 1086 xmega Add USB Device HID Keyboard examples for ATxmega128A1U 1087 xmega Add USB Device Mass Storage examples for ATxmega128A1U 1088 xmega Add USB CDC device examples for ATxmega128A1U 1092 xmega Add USB Device HID Keyboard examples for ATxmega128A4U 1093 xmega Add USB Device Mass Storage examples for ATxmega128A4U Added c42048a LCD glass component for XMGEA B LCD controller. Added folder: xmega/components/dis play/c42048a/. Added ATxmega128A1U USB Device HID Keyboard example. Added folder: common/services/usb/ class/hid/device/kbd / example/atxmega128a1 u_stk600-rc100x/ Added ATxmega128A1U USB Device Mass Storage example. Added folder: common/services/usb/ class/msc/device/exa mple/atxmega128a1u_s tk600-rc100x Added ATxmega128A1U USB Device CDC example. Added folder: common/services/usb/ class/cdc/device/exa mple/atxmega128a1u_s tk600-rc100x Added USB Device HID Keyboard examples for ATxmega128A4U. Added folder: / common/services/usb/ class/hid/device/kbd / example/atxmega128a4 u_stk600-rc044x/ Added USB Device Mass Storage examples for ATxmega128A4U on STK600. Added folder: / common/services/usb/ class/msc/device/exa mple/atxmega128a4u_s tk600-rc044x 13 AVR4000-ASF Nov-2011
14 ID Component Summary Description 1094 xmega Add USB Device CDC examples for ATxmega128A4U 1103 xmega High Speed mode from XMEGA AC driver is available only on XMEGA A family 1123 xmega Update XMEGA ioport driver to support XMEGA B3 family 1138 xmega Add USB DFU bootloaders for XMEGA B1 and B3 devices 1144 xmega Add DFU bootloaders for ATxmega128A4U and ATxmega64A4U 1145 xmega Add DFU bootloaders for ATxmega128A1U and ATxmega64A1U 767 xmega Add USB DFU FLIP bootloader for AVR XMEGA 786 xmega Improve speed of EEPROM erase and write buffer function in XMEGA NVM driver Added USB Device CDC examples for ATxmega128A4U on STK600. Added folder: common/services/usb/ class/cdc/device/exa mple/atxmega128a4u_s tk600-rc044x/ ac_set_high_speed_mo de() and ac_set_low_power_mod e() are available for XMEGA A family only. Modified file: xmega/drivers/ac/ac. h Update iopport driver to make it compatible for devices without PORT A. Modified file: xmega/drivers/ioport.h Add USB DFU bootloaders for atxmega128b1, atxmega64b1, atxmega128b3, atxmega64b3. Modified files: / common/services/usb/ udc/udc_dfu_small.c, / common/services/usb/ class/dfu_flip/devic e/bootloader/xmega/c onf/conf_isp.h, / common/services/usb/ class/dfu_flip/devic e/bootloader/xmega/c onf/conf_usb.h, / common/services/usb/ usb_atmel.h. Added folders: / common/services/usb/ class/dfu_flip/devic e/bootloader/xmega/a txmega128b1/, / common/services/usb/ class/dfu_flip/devic e/bootloader/xmega/a txmega128b3/, / common/services/usb/ class/dfu_flip/devic e/bootloader/xmega/a txmega64b1/, / common/services/usb/ class/dfu_flip/devic e/bootloader/xmega/a txmega64b3/ The DFU bootloaders for ATxmega128A4U and ATxmega64A4U are only available on IAR EWAVR Modified files: / common/services/usb/ class/dfu_flip/devic e/bootloader/xmega/c onf/conf_isp.h, / common/services/usb/ class/dfu_flip/devic e/bootloader/xmega/c onf/conf_usb.h, / common/services/usb/ usb_atmel.h. Added folders: / common/services/usb/ class/dfu_flip/devic e/bootloader/xmega/a txmega128a4u/, / common/services/usb/ class/dfu_flip/devic e/bootloader/xmega/a txmega64a4u/ The DFU bootloaders for ATxmega128A1U and ATxmega64A1U are only available on IAR EWAVR Modified files: / common/services/usb/ class/dfu_flip/devic e/bootloader/xmega/c onf/conf_isp.h, / common/services/usb/ class/dfu_flip/devic e/bootloader/xmega/c onf/conf_usb.h, / common/services/usb/ usb_atmel.h, / common/services/isp/ flip/xmega/cstartup. s90. Added folders: / common/services/usb/ class/dfu_flip/devic e/bootloader/xmega/a txmega128a1u/, / common/services/usb/ class/dfu_flip/devic e/bootloader/xmega/a txmega64a1u/ Add USB DFU FLIP bootloaders for AVR ATxmega256A3BU, ATxmega256A3U, ATxmega192A3U, ATxmega128A3U, ATxmega64A4U, ATxmega32A4U, ATxmega16A4U. Added folder: common\services\usb\ class\dfu_flip\devic e\bootloader\xmega, Added file: common\services\usb\ udc\udc_dfu_small.c Improve speed of nvm_eeprom_erase_and _write_buffer() in xmega\drivers\nvm\nv m.c. 1 second instead of 22 seconds for a 2Kb EEPROM. AVR4000-ASF Nov
15 Bug Fixes ID Component Summary Description rd party Assert function cause error build on some IAR unit test 276 3rd party LodePNG should not depend the display driver, is hidden in AVR Studio 5 Fixed IAR build errors by adding a cast to (uint8_t*) for dst parameter. Modified files: avr32/drivers/flashc /flashc.c, avr32/drivers/flashc dw/flashcdw.c Remove LodePNG dependency to display driver. Removed file: thirdparty\lodepng\l odepng_app.c. Modified file: thirdparty\lodepng\l odepng_example.c rd party PolarSSL doesn't compile correctly polarssl/openssl.h and polarssl/net.h must not be included as API in the asf.h file when importing PolarSSL in a project. 997 avr32 The linker-generated content of avr32.drivers.intc.e xception.s::ipr_val may be wrong, causing interrupts at interrupt levels INT1, INT2 and INT3 to not work. 579 avr32 SPI driver function getbauddiv can give higher baudrate than requested 1243 avr32 Increase CPU clock of SDRAM unit tests on UC3C_EK Get rid of the ipr_val[] pre-computed array and dynamically fill, during the interrupt handler registration, the register INTC.IPR with the appropriate value depending on the interrupt level. This is only an implementation change of the AVR UC3 intc sw driver. API is unchanged. Modified files: avr32/drivers/intc/, avr32/drivers/eic/ex ample2/exception.s,. s82 & thirdparty/freertos/ source/portable/gcc/ avr32_uc3/exception. S & thirdparty/freertos/ source/portable/iar/ avr32_uc3/exception. s82. Updated integer division in getbauddiv to use div_ceil function, to make sure divisor is not rounded up resulting in a higher baudrate than requested. Modified file: avr32/drivers/spi/sp i.c Update CPU clock configuration on UC3C_EK for SDRAM unit test. Modified file: avr32\components\mem ory\sdram\mt48lc16m1 6a2tg7e\unit_tests\a t32uc3c0512c_uc3c_ek \conf_clock.h avr32 Bug in DP83848I PHY initialisation Fix the loop-over-link-statu s while loop in the function ethernet_phy_sw_rese t() to match the DP83848 phy datasheet. File modified: asf/avr32/components / ethernet_phy/dp83848 /dp83848.h. 951 avr32 Wrong prototypes function definition in avr32/driver pwm4.h and wdt4.h 331 avr32 common/services/cloc k: sysclk module sets non-optimal flash wait states for some PLL values 1107 avr32 Fix workaround for GPIO v211: 'Writing a one to the GPIO.IFRC register to clear an interrupt will be ignored if interrupt is enabled for the corresponding port' 609 avr32 Update the avr32/drivers/tc/exa mple3 based on the new structure Several function prototypes and definitions in avr32/drivers/pwm/pw m4.c and avr32/drivers/pwm/pw m4.h are missing the void parameter specifiers, which causes needless build warnings. The Flash wait state should be based on the CPU/HSB clock frequency rather than on the main clock frequency. The modifications are in the sysclk.c files in common/services/cloc k for uc3a0_a1,uc3a3_a4, uc3b0_b1, uc3c and uc3l. The workaround implemented for the erratum for the GPIO version 211, should clear all the enabled GPIO interrupts before clearing the interrupt flag register. The modification is in function gpio_clear_pin_inter rupt_flag() in avr32/drivers/gpio/g pio.c file. Modified the Timer/Counter example3 based on the new structure. Modified folder: avr32/drivers/tc/exa mple3 419 avr32 return 42 should not be used in the code Replaced return 42 in main() function by while (true). Modified files: avr32\applications\e vk1100-control-panel \main.c, avr32\applications\e vk1100-usb-cdc-msc-v 1\main.c, avr32\applications\e vk1101-demo\main.c, avr32\applications\e vk1104-usb-msc-sd-de mo\main.c, avr32\applications\e vk11xx-uc3b-usb-hidqtouch-debug\hid_qto uch_debug.c, avr32\applications\e vk11xx-uc3b-virtual- com-port\main.c, avr32\components\mem ory\sd_mmc\sd_mmc_mc i\example\sd_mmc_mci _example.c, avr32\components\tou ch\resistive_touch\e xample\rtouch_exampl e.c, avr32\drivers\usbb\_ asf_v1\examples\enum _example.c, avr32\services\usb\_ asf_v1\class\audio\e xamples\device\audio _example.c, avr32\services\usb\_ 15 AVR4000-ASF Nov-2011
16 ID Component Summary Description asf_v1\class\audio\e xamples\host\audio_e xample.c, avr32\services\usb\_ asf_v1\class\cdc\exa mples\cdc_example.c, avr32\services\usb\_ asf_v1\class\hid\exa mples\hid_example.c, avr32\services\usb\_ asf_v1\class\hid\gen eric_examples\hid_ge neric_example.c, avr32\services\usb\_ asf_v1\class\mass_st orage\examples\mass_ storage_example.c, thirdparty\freertos\ demo\lwip_avr32_uc3_ example\main.c 1232 avr32 common/services/cloc k/ for UC3C does not configure flash wait state when the external OSC is used The flash wait state may not be appropriately set when an external osc (or clock) was used as source clock for the CPU. Modified file: common/services/cloc k/uc3c/sysclk.c 1218 avr32 Missing uc3a3 linker scripts Added missing UC3 A3 linker scripts in avr32/utils/linker_s cripts/at32uc3a3/ folder for atuc3a3{128,42}{,s} devices for IAR and GCC compilers. 557 avr32 avr32/drivers/twi/tw i.c twi_slave_init contradicts datasheet 759 common Sensor range and bandwidth values are not set correctly 1166 common Fix serial service to support all XMEGA family other than A1 791 common Fix implementation in ISP FLIP service for AVR UC3 devices 803 common Changed USB Class definition for USB bootloader (from DFU to Vendor Class) 1104 common USB Atmel DFU blank check operation fails on part with 64 kb of flash 699 documentation EVK1100 Control Panel Application - documentation: empty doxygen main page 886 xmega twim_master_init sets the speed while master is enabled. 878 xmega Fix XMEGA NVM driver function asserts 870 xmega XMEGA twim driver has a logic error exposing driver to race conditions. Fixed the slave address assignment sequence and removed the unnecessary clock divider calculation to follow the datasheet. Updated file: / avr32/drivers/twi/tw i.c The sensor drivers in static link libraries under thirdparty/sensors/l ibs do not handle the sensor_set_range and sensor_set_bandwidth functions correctly. As a result, the values are not always changed to the new settings. Fixed common serial service for XMEGA, for devices without all USART instance available. Modified file: / common/services/seri al/xmega_usart/usart _serial.h. Replaced uint32_t by isp_addr_t structure in Read/Write memory routines. Modified file: common\services\isp\ flip\uc3\isp.c. Changed USB Class used for DFU bootlaoder from 'DFU' to 'Vendor' class. The behavior of the bootloader is unchanged. Modified files: common\services\usb\ class\dfu_flip\devic e\udi_dfu_atmel.h, common\services\usb\ class\dfu_flip\devic e\udi_dfu_atmel_desc.c, common\services\usb\ usb_protocol.h This update fixes the issue on blank check command which returned always success when whole flash is checked. Modified file: common\services\usb\ class\dfu_flip\devic e\udi_dfu_atmel.c Fix missing includes files in Doxygen documentation generation. The XMEGA TWI Master BAUD register should be written while the master is disabled. The fix is included in modifications made for bug#871 which provides for configurable interrupt levels in addition to correcting source code formatting and spelling problems. Modified: / xmega/drivers/twi/tw im.c Non-existant variable used in assert test of nvm_eeprom_read_byte () function. File modified: xmega/drivers/nvm/nv m.c A logic error in the XMEGA twim driver leaves the driver exposed to a race condition that may result in TWI transaction failures. Modified file: / xmega/drivers/twi/tw im.c. 880 xmega twim.c spelling error Correct spelling and content errors in XMEGA twim driver source documentation. Modified file: / xmega/drivers/twi/tw im.c. 881 xmega function doc error in twim_idle Correct spelling and content errors in XMEGA twim driver source documentation. Modified file: / xmega/drivers/twi/tw im.c. AVR4000-ASF Nov
17 ID Component Summary Description 582 xmega Magic number used in XMEGA TC example xmega XMEGA NVM driver for flash size <= 32kB gives compilation error 1076 xmega XMEGA EBI driver does not compile on IAR EWAVR xmega common stdio module does not support DLIB from IAR EWAVR xmega xmega_a1_xplained_de mo does not compile on IAR EWAVR xmega During XMEGA USB initialization, the DFLL calibration via USB start of frame must be disabled 1186 xmega Optimize linker script XMEGA B USB bootloader to support update of USB Driver 1220 xmega Compilation error on Assert() from XMEGA USB driver on IAR compiler 1233 xmega sysclk: PLL is not initialized when only used with USB on XMEGA 1070 xmega Peripheral clock not being enabled on USARTs tc_set_resolution() in xmega/drivers/tc/exa mple1/tc_example1.c uses a magic number, 31250, even though a symbol definition exists. Fix compilation error for XMEGA with a flash size <= 32kB (Note: flash boot section is not included in flash size). Modified file: xmega\drivers\nvm\nv m.h. Update of XMEGA EBI driver to support new IAR EWAVR 6.10 header files. Modified files: xmega\drivers\ebi\eb i.h, xmega\drivers\ebi\sd ram_example\ebi_sdra m_example.c, xmega\drivers\ebi\sr am_example\ebi_sram_ example.c, xmega\drivers\ebi\un it_tests\sdram\atxme ga128a1_xplain\conf_ test.h, xmega\drivers\ebi\un it_tests\sram\atxmeg a128a1_stk600-rc100x \conf_test.h The common stdio module has been updated to support the new DLIB release from IAR EWAVR6.10. Modified files: common\utils\stdio\r ead.c - write.c Fix syntax in main file. Modified file: xmega\applications\x mega_a1_xplained_dem o\main.c The calibration must be disabled between USB interface enable and the enable of full speed mode. Modified file: xmega\drivers\usb\us b_device.c The linker script has changed to create a specific CODE segment. Modified file: common\services\usb\ class\dfu_flip\devic e\bootloader\xmega\a txmega128b1\iar\atxm ega128b1_boot.xcl, common\services\usb\ class\dfu_flip\devic e\bootloader\xmega\a txmega128b3\iar\atxm ega128b3_boot.xcl, common\services\usb\ class\dfu_flip\devic e\bootloader\xmega\a txmega64b1\iar\atxme ga64b1_boot.xcl, common\services\usb\ class\dfu_flip\devic e\bootloader\xmega\a txmega64b3\iar\atxme ga64b3_boot.xcl, common\services\usb\ udc\udc_dfu_small.c Remove the inline compilation attribute from the declaration of udd_ep_is_valid() to fix compilation error on IAR when ASSERT is enabled. File modified: xmega\drivers\usb\us b_device.c The PLL was not initialized when this is only used by USB interface and not by CPU. Modified file: common/services/cloc k/xmega/sysclk.c Fixed a bug in UART where the port letter and the USART number are swapped (e.g. ""USARTC0"" appears as ""USART0C""). Modified file: common\services\cloc k\xmega\sysclk.h" 17 AVR4000-ASF Nov-2011
18 Known Issues ID Component Summary 862 3rd party Sensor library fails compilation if not using an board in the ""Xplained"" series of boards." 860 3rd party Sensor library does not compile correctly for other XMEGA devices than ATxmega128A1 863 avr32 The module ""MEMORY - SD/MMC card access using MCI"" can't be used with UC3-A3 Xplained." 735 avr32 T2BF library ( thirdparty\cybercom\ t2bf\) set the state to ""connected"" too early" 491 avr32 avr32/services/netwo rk/can/can.c: Missing function prototypes ( can_enable_interrupt () can_clear_status()) 323 avr32 Display - LCD display - ET024006DHU driver does not compile unless the user has manually configured the it. 322 avr32 EBI SMC driver does not compile unless the user has manually configured the chip select. 321 avr32 The MACB driver doesn't build successfully under AVRStudio5's Application Builder unless manually configured by the user. 169 avr32 PolarSSL needs to be updated to version to solve build error 647 build system Some UC3L modules are missing in AVR Studio common common/components/me mory/data_flash/at45 dbx 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. 853 xmega XMEGA USB modules can be selected even for non-usb devices 761 xmega RTC32 rtc32_init() is unusable when using battery backup (combination of rtc32_init() and rtc32_vbat_system_ch eck() is not complete) AVR4000-ASF Nov
19 Changes between version and version releases of the ASF New Features and API Changes ID Component Summary Description 673 avr32 Add unit test for \ avr32\components\mem ory\sd_mmc\sd_mmc_sp i 506 avr32 Create DSPLib example for AVR Studio 5 Simulator. Add unit tests for the SD/MMC SPI component. Added folder: avr32/components/mem ory/sd_mmc/sd_mmc_sp i/unit_tests. Added configuration option ( CONF_BOARD_SD_MMC_SP I) for the files: avr32/boards/evk1100 /init.c, avr32/boards/evk1101 /init.c, avr32/boards/evk1105 /init.c, avr32/boards/uc3c_ek /init.c. Added Folder: avr32/services/dsp/d splib/simulator_exam ples. 19 AVR4000-ASF Nov-2011
20 Bug Fixes ID Component Summary Description 939 avr32 The audio player redraws more than once the song information. 838 avr32 MACB driver forces phy into RMII mode even if MII mode is used 847 avr32 twim/twis repeated start issue in slave/master example The audio player now redraws only once the metadata information of the current song. Modified file : avr32/applications/u c3-audio-player/com_ task.c Ethernet phy was forced into RMII mode even if MII mode was selected. This fix removes this force when using MII mode. Modified file: avr32/drivers/macb/m acb.c Fixed the state machine issue when twi/twis slave example is used with twim master example. The twim_write_packet function is modified to remove the unwanted repeated start inserted between consecutive write commands. Modified file: avr32/drivers/twim/t wim.c 899 common asf.h fixes integration Update asf.h generation to show header files in ""blocks"" and recursive for all modules. All XMEGA driver examples are now including asf.h." 178 xmega XMEGA DAC driver fails to compile for XMEGA128A1U 953 xmega The ""Power LED"" on the XMEGA-A3BU Xplained should be lit when powering the board" 960 xmega ADC driver has several parameter types for channel specification 995 xmega AD conversion start and result fetching functions should be in same ""module""" Updated the XMEGA DAC driver to support the new DAC implementation in XMEGA-U devices. Additional calibration values needed to be loaded and timing settings for the S/H are note needed for the new DAC. Modified files: xmega/drivers/dac/da c.c, dac.h Updated the XMEGA-A3BU Xplained board initializing code so that a green power led is always lit when calling board_init() indication that the board init code has been run. XMEGA ADC driver API modification: Removed any use of channel id number and use channel mask for all functions. Affects the callback type adc_callback_t and the functions adcch_get_result(), adcch_get_signed_res ult(), adcch_get_unsigned_r esult(), adcch_write_configur ation() and adcch_read_configura tion(). Modified files: xmega/drivers/adc/ad c.c xmega/drivers/adc/ad c.h xmega/drivers/adc/ex ample1/adc_example1. c xmega/drivers/adc/ex ample2/adc_example2. c xmega/applications/x mega_a3bu_xplained_d emo/adc_sensors.c XMEGA ADC driver API modification: Renamed adcch_get_*result functions into adc_get_*result, and moved them to be together with adc_start_conversion. Modified files: xmega/drivers/adc/ad c.c xmega/drivers/adc/ad c.h xmega/drivers/adc/ex ample2/adc_example2. c AVR4000-ASF Nov
21 Known Issues ID Component Summary 862 3rd party Sensor library fails compilation if not using an board in the ""Xplained"" series of boards." 860 3rd party Sensor library does not compile correctly for other XMEGA devices than ATxmega128A1 863 avr32 The module ""MEMORY - SD/MMC card access using MCI"" can't be used with UC3-A3 Xplained." 735 avr32 T2BF library ( thirdparty\cybercom\ t2bf\) set the state to ""connected"" too early" 491 avr32 avr32/services/netwo rk/can/can.c: Missing function prototypes ( can_enable_interrupt () can_clear_status()) 323 avr32 Display - LCD display - ET024006DHU driver does not compile unless the user has manually configured the it. 322 avr32 EBI SMC driver does not compile unless the user has manually configured the chip select. 321 avr32 The MACB driver doesn't build successfully under AVRStudio5's Application Builder unless manually configured by the user. 169 avr32 PolarSSL needs to be updated to version to solve build error 647 build system Some UC3L modules are missing in AVR Studio common common/components/me mory/data_flash/at45 dbx 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. 853 xmega XMEGA USB modules can be selected even for non-usb devices 761 xmega RTC32 rtc32_init() is unusable when using battery backup (combination of rtc32_init() and rtc32_vbat_system_ch eck() is not complete) 21 AVR4000-ASF Nov-2011
22 Changes between version and version releases of the ASF New Features and API Changes ID Component Summary Description 132 avr32 Add DSPLib source code The DSPLib is a full featured digital signal processing library which provides a large set of optimized and generic functions to process 16- and 32-bit fixed-point DSP algorithms. It comes with many examples as well as some utilities and a debug module to ease and speed-up development. Note: the directory naming has been updated to lower case since older versions. All the source code is located under: avr32/services/dsp/d splib/. The library is located under: avr32/utils/libs/dsp lib. 59 avr32 FreeRTOS port: get rid of the dependency to Newlib-addons in the FreeRTOS port. Newlib-addons dependency has been removed from the FreeRTOS GCC port. Modified folder: / thirdparty/freertos/ source/portable. 498 avr32 Add UC3-C2 Xplained board support Add UC3-C2 Xplained board support. Added folder: / avr32/boards/uc3_c2_ xplained/. 500 avr32 Add UC3-C2-Xplained kit support in avr32/drivers/usart example 502 avr32 Add UC3-C2-Xplained support in example thirdparty/freertos/ demo/lwip 310 avr32 Add USB Audio class device and host examples (for USB stack from ASF v1, in avr32\services\usb\_ asf_v1) 615 avr32 32-bit AVR GNU makefile examples/application s can be more optimized with the ""--direct-data"" gcc option" 345 avr32 Add UC3 C1 and C2 devices support in / common/services/cloc k/uc3c/ 499 avr32 Add UC3-C2-Xplained kit support in avr32/drivers/gpio/l ocal_bus_example example 516 avr32 Add UC3-C2 kit support in avr32/drivers/macb and / thirdparty/freertos/ demo/lwip_avr32_uc3_ dhcp_example/ examples 529 avr32 Add avr32/applications/u c3-c2-xplained-webse rver-demo Add UC3-C2-Xplained kit support in example avr32/drivers/usart. Modified files: / avr32/drivers/usart/ usart_example/usart_ example.c. Add UC3-C2-Xplained kit support in example thirdparty/freertos/ demo/lwip. Added files: thirdparty/freertos/ demo/lwip_avr32_uc3_ dhcp_example/at32uc3 c2512c_uc3_c2_xplain ed and thirdparty/freertos/ demo/lwip_avr32_uc3_ example/at32uc3c2512 c_uc3_c2_xplained. Fixed by adding a USB Audio class device example using 3 different digital stream resynchronization methods (adaptive sampling rate conversion, add/remove of samples and external clock synthesizer). Also, a USB Audio class host example has been added (adaptive sampling rate conversion only). New examples are in avr32\services\usb\_ asf_v1\class\audio\e xamples\. Added ""--direct-data"" as a default option for the 32-bit AVR makefile.in. This optimizes the TEXT sections of the applications and brings speed optimizations. Please look in / dyn/resources/prod_d ocuments/doc32074.pd f for more information for ""linker relaxing"". Modified file: avr32/utils/make/mak efile.in. This fix is only for GNU makefile and does not impact AVR Studio 5 project." Add UC3 C1 and C2 devices support in / common/services/cloc k/uc3c/. Modified files: / common/services/cloc k/uc3c/sysclk.h. Add UC3-C2-Xplained kit support in example avr32/drivers/gpio. Modified files: / avr32/drivers/gpio/l ocal_bus_example/gpi o_local_bus_example. c. Add UC3-C2-Xplained kit support for macb drivers example and lwip example. Added folder: avr32/drivers/macb/e xample/at32uc3c2512c _uc3_c2_xplained and thirdparty/freertos/ demo/lwip_avr32_uc3_ dhcp_example/at32uc3 c2512c_uc3_c2_xplain ed/conf_eth.h. Add a web server demo for UC3-C2-Xplained development kit. Added folder: avr32/applications/u c3-c2-xplained-webse rver-demo. 556 avr32 Add UC3C missing linker scripts Add UC3C{064,0128,164,11 28,1256,1512,264,212 8}c linker scripts. Added files: avr32/utils/linker_s cripts/at32uc3c/{064, 0128,164,1128,1256,1 512,264,2128}c for both IAR and GCC compilers. AVR4000-ASF Nov
23 ID Component Summary Description 685 avr32 Add unit test for \ avr32\components\mem ory\sdram\mt48lc16m1 6a2tg7e component 136 avr32 Improve code size of AT32UC3 flash drivers 689 avr32 Add a new avr32 service to detect external clock frequency 375 common Add Atmel USB DFU bootloader source for UC3C 672 common Add unit test for common\components\me mory\data_flash\at45 dbx module 844 common Add UC3C-EK support for the AT45x unit tests 501 common Add UC3-C2-Xplained kit support in common/services/cloc k/ examples 503 common Add UC3-C2-Xplained support in USB HID device mouse example Add unit tests for mt48lc16m16a2tg7e SDRAM component. Added folders: avr32/components/mem ory/sdram/mt48lc16m1 6a2tg7e/unit_tests/. Major flash_memcpy() optimization in flashc and flashcdw drivers to target less than 8kB bootloaders. Modified files: avr32/drivers/flashc /flashc.c, avr32/drivers/flashc /flashc.h, avr32/drivers/flashc / flash_example/flash_ example.c, avr32/drivers/flashc dw/flash_example/fla sh_example.c, avr32/drivers/flashc dw/flashcdw.c, avr32/drivers/flashc dw/flashcdw.h, avr32/applications/u c3-uart-bootloader/f lash_api.h. This service can be used by an application that does not know the value of the external oscillator. It is the case for USB DFU bootloaders. Added folder: avr32/services/freq_ detect/. Add USB DFU bootloader source code for the UC3C for GCC and IAR compilers. Added folder: common/services/usb/ class/dfu_atmel/devi ce/bootloader/avr32/ Add unit tests for AT45dbx DataFlash component. Added folder: avr32/components/mem ory/data_flash/at45d bx/unit_tests/ Add support to the UC3C-EK for the unit test of the AT45dbx DataFlash component. Added Folder : common/components/me mory/data_flash/at45 dbx/unit_tests/at32u c3c0512c_uc3c_ek Add UC3-C2 kit support in example common/services/cloc k. Added files: / common/services/cloc k/example1/at32uc3c2 512c_uc3_c2_xplained, / common/services/cloc k/example2/at32uc3c2 512c_uc3_c2_xplained and / common/services/cloc k/example3/at32uc3c2 512c_uc3_c2_xplained. Add UC3-C2 kit support in example common/services/usb. Added files: / common/services/usb/ class/hid/device/mou se/example/at32uc3c2 512c_uc3_c2_xplained. 661 common System font support System font support for monochrome graphical library displaying ASCII letters on a graphical display. ( common/services/gfx_ mono/) 663 common LCD Controller ST7565R low-level driver implementation 664 common Common monochrome graphic primitives implementation ST7565R low-level driver implementation for use with monocrome graphical library. Added folder: common/components/di splay/st7565r/ Monochrome graphical library. Added folder: common/services/gfx_ mono/ 732 common Add calendar service Added folder: common/services/cale ndar/ 848 common Add spinner widget for gfx_mono Added spinner widget for monochrome graphical displays. Added Folder: common/services/gfx_ mono/example_spinctr l Added files : common/services/gfx_ mono/gfx_mono_spinct rl.c common/services/gfx_ mono/gfx_mono_spinct rl.h common/services/gfx_ mono/module_config/c onf_spinctrl.h 40 common Add code that tests and demonstrates the FIFO service 465 common Add UC3 support in example of common/utils/stdio module Add a unit test for the FIFO service to common\services\fifo \unit_tests\, both to ensure that the service works as intended and to give some example usage code for it. Add configuration files to create XMEGA-A1 Xplained and UC3-L0 Xplained example applications for C-library Standard I/O interface to USART. Modified common/utils/stdio/s tdio_serial/stdio_se rial_example/stdio_s erial_example.c source. Added common/utils/stdio/s tdio_serial/stdio_se rial_example/at32uc3 l064_uc3_l0_xplained and common/utils/stdio/s tdio_serial/stdio_se rial_example/atxmega 23 AVR4000-ASF Nov-2011
24 ID Component Summary Description a1_xmega_a1_xplai ned folders. 193 common Improve the API of the common/service/fifo module and make it compliant to mega/xmega architecture 195 common common/services/fifo : add fifo_peek() and fifo_is_full() functions 693 common Add FLIP service for Atmel USB and UART bootloaders 694 common Add support of AVR UC3 parts in FLIP service 695 common Add USB Atmel DFU class in USB device stack V2 fifo_push_byte, fifo_push_halfword, fifo_push_word, fifo_pull_byte, fifo_pull_halfword, fifo_pull_word respectively replaced by fifo_push_uint8, fifo_push_uint16, fifo_push_uint32, fifo_pull_uint8, fifo_pull_uint16 and fifo_pull_uint32. Added new ' fifo_push/pull_uintx x_nocheck' functions for fast operation. Make this module compliant with mega and xmega architecture. Modified folder: common/services/fifo. Add fifo_peek_uintxx() and fifo_is_full() functions. Modified folder: common/services/fifo. To perform firmware upgrade, Atmel has developed an application called FLIP. This software is a flexible application which lets you program and configure Atmel's microcontroller devices in their final environment without needing any dedicated hardware. This service provides a generic FLIP ISP API (/ common/services/isp/ flip/isp.h) and the FLIP protocol API( / common/services/isp/ flip/flip_protocol.h). Add FLIP-compliant In System Programming implementation and boot process for AVR UC3 devices. New files: common/services/isp/ flip/uc3/isp.c, common/services/isp/ flip/uc3/flash_api.h, common/services/isp/ flip/uc3/boot.h, common/services/isp/ flip/uc3/boot.s, common/services/isp/ flip/uc3/boot.s82. This class provides the USB device interface used by USB bootloaders which communicate with Atmel application called FLIP (Flexible In-system Programmer). Added folder: common/services/usb/ class/dfu_atmel/. 603 mega Add megaavr TC timeout driver This provides a generic timeout driver running on top of the Timer/Counter peripheral module. Timeout is tick based and several concurrent timeouts can be configured. Added folder: mega/drivers/tc 684 other / thirdparty/freertos/ demo/lwip_avr32_uc3_ dhcp_example/ should use sysclk_init() function 852 xmega Add ""Set date/time"" application to XMEGA-A3BU Xplained demo application" 701 xmega XMEGA-A3BU Xplained - Add demo application 666 xmega Add unit test for XMEGA SPI driver baud rate setting The configuration of clock is done through the sysclk module ( common/services/cloc k). Modified files: thirdparty/freertos/ demo/lwip_avr32_uc3_ dhcp_example/main.c and added files: thirdparty/freertos/ demo/lwip_avr32_uc3_ dhcp_example/conf_cl ock.h. Add applications for setting the date and time to the XMEGA-A3BU Xplained demo application. Add a ""date&time"" menu for all date and time related functionality. Modified Files : xmega/applications/x mega_a3bu_xplained_d emo/date_time.c xmega/applications/x mega_a3bu_xplained_d emo/date_time.h xmega/applications/x mega_a3bu_xplained_d emo/main.c xmega/applications/x mega_a3bu_xplained_d emo/xmega_a3bu_xplai ned/conf_spinctrl.h" Add XMEGA-A3BU Xplained demo application which demonstrates RTC32 and the monochrome graphical library. Added folder: xmega/applications/x mega_a3bu_xplained_d emo/ Unit test for the function spi_xmega_set_baud_d iv(). Added directory xmega/drivers/spi/un it_tests 730 xmega Unit test for XMEGA AES module Added tests for AES module driver. Tests encryption and decryption with pre-calculated values. Tests module interface. Added Folder : xmega/drivers/aes/un it_tests 734 xmega Add unit test for XMEGA DES driver Added tests for DES and 3DES encryption and decryption, and tests for DES/3DES CBC encryption/decryptio n. Added folder: xmega/drivers/des/un it_tests/. AVR4000-ASF Nov
25 ID Component Summary Description 751 xmega Add unit test for XMEGA DMA driver Add tests for direct memory copy and burst lengths, copy directions, configuration interface, triggering and callback functionality, error handling and double buffering. Added folder: xmega/drivers/dma/un it_tests/ 851 xmega Add USB CDC to XMEGA-A3BU Xplained demo application Added USB CDC functionality to the XMEGA-A3BU Xplained demo application. Added Files : xmega/applications/x mega_a3bu_xplained_d emo/xplained_virtual _Com_Port.inf xmega/applications/x mega_a3bu_xplained_d emo/cdc.c xmega/applications/x mega_a3bu_xplained_d emo/cdc.h xmega/applications/x mega_a3bu_xplained_d emo/conf_usb.h Modified Files : common/services/usb/ udc/udc.c common/services/usb/ usb_atmel.h xmega/applications/x mega_a3bu_xplained_d emo/adc_sensors.c xmega/applications/x mega_a3bu_xplained_d emo/keyboard.c xmega/applications/x mega_a3bu_xplained_d emo/main.c xmega/applications/x mega_a3bu_xplained_d emo/timezone.c xmega/applications/x mega_a3bu_xplained_d emo/xmega_a3bu_xplai ned/conf_clock.h 445 xmega Add XMEGA-A3BU Xplained support Added XMEGA-A3BU Xplained board support: Added entry in / common/boards/board. h, added / xmega/boards/xmega_a 3bu_xplained, added / common/applications/ user_application/atx mega256a3bu_xmega_a3 bu_xplained/ 447 xmega Add XMEGA USB drivers support Added XMEGA USB module drivers in xmega/drivers/usb. 450 xmega Add USB Device CDC examples for XMEGA 451 xmega common/services/cloc k/xmega: add USB support 720 xmega Add USB HID mouse examples for XMEGA 721 xmega USB Device Keyboard examples for XMEGA 722 xmega USB Device Mass Storage examples for XMEGA 723 xmega Update XMEGA nvm drivers for XMEGA AU parts 724 xmega Update XMEGA TC drivers for XMEGA AU part (BYTEM0 bit compatibility) Added XMEGA USB Device CDC examples. Added: / common/services/usb/ class/cdc/device/exa mple/uart_xmega.c, / common/services/usb/ class/cdc/device/exa mple/atxmega32a4u_st k600-rc044x/, / common/services/usb/ class/cdc/device/exa mple/atxmega256a3bu_ stk600-rc064x/, / common/services/usb/ class/cdc/device/exa mple/atxmega256a3bu_ xmega_a3bu_xplained/ Update XMEGA sysclock service to support USB. Added USB source clock configuration and management. Modified files: / common/services/cloc k/xmega/ Added XMEGA USB HID mouse examples. Added: / common/services/usb/ class/hid/device/mou se/example/atxmega25 6a3bu_stk600-rc064x, / common/services/usb/ class/hid/device/mou se/example/atxmega25 6a3bu_xmega_a3bu_xpl ained, / common/services/usb/ class/hid/device/mou se/example/atxmega32 a4u_stk600-rc044x Added XMEGA USB Device Keyboard examples. Added: / common/services/usb/ class/hid/device/kbd / example/atxmega256a3 bu_stk600-rc064x, / common/services/usb/ class/hid/device/kbd / example/atxmega256a3 bu_xmega_a3bu_xplain ed, / common/services/usb/ class/hid/device/kbd / example/atxmega32a4u _stk600-rc044x Added XMEGA USB Device Mass Storage examples. Added: / common/services/usb/ class/msc/device/exa mple/atxmega256a3bu_ stk600-rc064x/, / common/services/usb/ class/msc/device/exa mple/atxmega256a3bu_ xmega_a3bu_xplained/ and / common/services/usb/ class/msc/device/exa mple/atxmega32a4u_st k600-rc044x Update XMEGA nvm driver to support ATxmega256A3U, ATxmega192A3U, ATxmega128A3U, ATxmega64A3U, ATxmega256A3BU, ATxmega32A4U, ATxmega16A4U parts in / xmega/drivers/nvm/nv m.h. Update xmega/drivers/tc to support new both BYTEM and BYTEM0 bit naming for XMEGA parts with and without USB. 25 AVR4000-ASF Nov-2011
26 ID Component Summary Description 725 xmega Add XMEGA A3U devices support in stk600/rc064x routing board 726 xmega Add XMEGA A4U devices support in stk600/rc044x routing board Added STK600 support for ATxmega256A3U, ATxmega192A3U, ATxmega128A3U, ATxmega64A3U, ATxmega256A3BU in / xmega/boards/stk600/ rc064x. Added STK600 support for ATxmega32A4U and ATxmega16A4U in / xmega/boards/stk600/ rc044x. 727 xmega Add XMEGA AU support in parts.h Added support for ATxmega256A3U, ATxmega192A3U, ATxmega128A3U, ATxmega64A3U, ATxmega256A3BU, ATxmega32A4U, ATxmega16A4U in /xmega/utils/part.h 757 xmega Add IAR support for XMEGA USB examples The following IAR projects on atxmega256a3bu are added: USB Device MSC on STK600/A3BU XPLAINED, USB Device HID mouse on STK600/A3BU XPLAINED, USB Device HID keyboard on STK600/A3BU XPLAINED and USB Device CDC on STK600/A3BU XPLAINED. AVR4000-ASF Nov
27 Bug Fixes ID Component Summary Description 710 avr32 avr32/components/aud io/codec/ms3: missing default configuration Add default CS2200_FREF definition value. Improve documentation. Modified files: avr32/components/aud io/codec/ms3/ms3.c, msc3.h. 318 avr32 Code style cleanup in TWIS Improved TWIS coding style. Modified file: avr32/drivers/twis/t wis.c 543 avr32 avr32\applications\u c3-dsplib-demo\at32u c3a3256_evk1104 fails in AVR Studio avr32 avr32/components/eth ernet_phy/rtl8201 should have a configuration to generate clock 652 avr32 OSC0 source is missing in the UC3C sysclk module implementation: function pll_enable_source_sy nc() 642 avr32 uc3c usbb and usbc drivers: sleepmgr_un/lock_mod e() functions call are inverted in udd_sleep_mode function, used to authorize the CPU to enter sleep mode 713 avr32 Fix the flashc driver example so that it can be loaded to target using batchisp when it is compiled with IAR. 872 common gfx_mono_generic_dra w_vertical_line draws the line 1 pixel too long 876 common gfx_mono_generic horizontal line missing bounds check 857 common gfx_mono_generic: bugs in gfx_mono_generic_dra w_horizontal_line and gfx_mono_generic_dra w_filled_rect. 865 common common.services.cale ndar calendar_is_date_val id should be a public function 578 common div_ceil function is missing. Required by macro PLL_TIMEOUT_MS. 810 common common.services.gfx_ mono requires a Display driver to be included in order to build correctly in AVR Studio 5. Add a NULL framebuffer to support all boards. Exception raised due to a data alignment issue in the uc3-dsplib-demo application. Modified file: avr32/applications/u c3-dsplib-demo/dsp_p rocess.c Add a configuration file named conf_rtl8201.h. Fixed by enabling OSC0 in case it is used by a PLL. Modified file: common/services/cloc k/uc3c/pll.h The unlock/lock functions in the USBB and USBC drivers have been inverted. Modified files: avr32/drivers/usbb/u sbb_device.c, avr32/drivers/usbc/u sbc_device.c. This fix allows to compile the example on IAR and to program it through batchisp and a bootloader. Modified file: avr32/drivers/flashc / flash_example/flash_ example.c Fix a bug where the generic draw_vertical_line draw a line 1 pixel longer than specified. Modified File : common/services/gfx_ mono/gfx_mono_generi c.c Add a simple bounds check to the generic draw_horizontal_line function to avoid a line continuing outside the display. Modified File: common/services/gfx_ mono/gfx_mono_generi c.c fix bug in generic draw_horizontal_line where the line is one pixel longer that the given argument. This fixes error in the generic rectangle functions that uses horizontal lines. Modified Files: common/services/gfx_ mono/gfx_mono_generi c.c xmega/applications/x mega_a3bu_xplained_d emo/date_time.c xmega/applications/x mega_a3bu_xplained_d emo/lightsensor.c xmega/applications/x mega_a3bu_xplained_d emo/main.c xmega/applications/x mega_a3bu_xplained_d emo/ntc_sensor.c xmega/applications/x mega_a3bu_xplained_d emo/production_date. c The function calendar_is_date_val id() is a private function of the calendar service. However, it should be public since users may also have a need to check for valid dates in their code. Modified Files: common/services/cale ndar/calendar.h common/services/cale ndar/calendar.c Added div_ceil function. div_ceil is integer division rounded up to closest integer. This function was required by macro PLL_TIMEOUT_MS. Modified files: avr32/utils/compiler.h, xmega/utils/compiler.h. A NULL framebuffer should be added so that the font service compile for any board which does not have a LCD connected. Folder added : common/components/di splay/null Added files : common/services/gfx_ mono/gfx_mono_null.c, common/services/gfx_ mono/gfx_mono_null.h Modified files common/services/gfx_ mono/example_sysfont / atxmega256a3bu_xmega _a3bu_xplained/asf.x ml common/services/gfx_ mono/gfx_mono.h common/services/gfx_ mono/gfx_mono_generi c.c 27 AVR4000-ASF Nov-2011
28 ID Component Summary Description 866 common common.services.cale ndar calendar_add_second_ to_date does not update dayofweek in date struct The function calendar_add_second_ to_date() does not update the date struct member dayofweek. This can cause days to be lost if enough time to pass midnight is added. Modified file : common/services/cale ndar/calendar.c 662 common SPI master init clock problem in uc3c In spi_master_init() function, SPI0 is located on PBC bus for UC3C part. Modified file: common/services/spi/ uc3_spi/spi_master.h. 750 common udi_cdc_read_buf() function in USB Device CDC does not work Fix by copying from USB transmit buffer instead of USB read buffer in udi_cdc_read_buf function. Modified file: common/services/usb/ class/cdc/device/udi _cdc.c 343 documentation Wrong documentation in fifo.h Update documentation. Modified folder: common/services/fifo. 680 documentation T2BF library ( thirdparty\cybercom\ t2bf\) set the state to ""connected"" too early - should be documented" 912 xmega xmega a3bu demonstration application reads out the cdc serial number incorrectly 794 xmega Move XMEGA-A3BU Xplained menu system to separate service 806 xmega XMEGA-A3BU Xplained demo app - update production date continuously 409 xmega RTC32 and VBAT fixes for delay, status reporting and sleep locking 410 xmega XMEGA NVM EEPROM driver does not work 544 xmega spi driver: wrong copy use of SPI_PRESCALER1_bp 801 xmega A3BU Xplained demo: Date and time app does not update date Update avr32/applications/u c3-bluetooth-t2bf-sp p-demo/ application documentation: the Bluetooth connection may be fail if the connection is initiated from the board. The state changes to ""connected"" too early even if the connection is not completed on the PC. If the connection is initiated by the PC, the connection will succeed in all cases. Please refer to / dyn/resources/prod_d ocuments/doc32153.pd f. Modified file: avr32/applications/u c3-bluetooth-t2bf-sp p-demo/main.c" Add binary to ASCII conversion of stored USB device serial number before passing it to the USB stack. Modified file : xmega/applications/x mega_a3bu_xplained_d emo/cdc.c The menu system used by the XMEGA-A3BU Xplained demo application is now moved to a separate service, making it available for user applications. Added files: common/services/gfx_ mono/gfx_mono_menu.c common/services/gfx_ mono/gfx_mono_menu.h common/services/gfx_ mono/module_config/c onf_menu.h xmega/applications/x mega_a3bu_xplained_d emo/xmega_a3bu_xplai ned/conf_menu.h Deleted Files: xmega/applications/x mega_a3bu_xplained_d emo/menu.c xmega/applications/x mega_a3bu_xplained_d emo/menu.h Modified xmega/applications/x mega_a3bu_xplained_d emo/bitmaps.c xmega/applications/x mega_a3bu_xplained_d emo/bitmaps.h xmega/applications/x mega_a3bu_xplained_d emo/main.c xmega/applications/x mega_a3bu_xplained_d emo/timezone.c For the XMEGA-A3BU Xplained demo application, the clock on the Production Date-screen is now updated continuously instead of showing a static time stamp. Modified File : xmega/applications/x mega_a3bu_xplained_d emo/production_date. c Locking power-save in the sleep manager is not correct since the RTC32 will be running even in power-down, the deepest sleep mode. The delay function should have microsecond resolution, not millisecond. Status checking and initialization of the battery backup system should be separated, and the documentation for the various states be added/improved. Modified files: xmega/drivers/rtc32/ rtc32.c and xmega/drivers/rtc32/ rtc32.h. Fixed non-working nvm_eeprom_read_byte in xmega/drivers/nvm. Caused wrong resulting baud rate for some requested baud rates. Also changed the function to accept baud rates not exactly matched to possible divisor, so now it will round down the baud rate to closest divisor setting. Modified file: xmega/drivers/spi/sp i.c Date not updated in date and time application, only time. If RTC is reset and timezone offset is negative, date and time application hangs. Modified files : xmega/applications/x AVR4000-ASF Nov
29 ID Component Summary Description mega_a3bu_xplained_d emo/date_time.c xmega/applications/x mega_a3bu_xplained_d emo/main.c xmega/applications/x mega_a3bu_xplained_d emo/production_date. c 901 xmega A3BU Xplained: Fix software to reflect hardware changes 747 xmega stk600 rc044x : DataFlash connection and Number of Push Buttons are incorrect 869 xmega Update A3BU demo use date stamp from signature instead of EEPROM Minor fixes to the XMEGA-A3BU Xplained demo application because of hardware changes on the latest revision of the XMEGA-A3BU Xplained board. Modified Files : xmega/applications/x mega_a3bu_xplained_d emo/lightsensor.c xmega/boards/xmega_a 3bu_xplained/xmega_a 3bu_xplained.h Fixed STK600 RC044X board support: Update DataFlash connection and limit the number of available switches to 4. Updated files: xmega/boards/stk600/ rc044x/stk600_rc044x.h and xmega/boards/stk600/ rc044x/init.c The XMEGA-A3BU Xplained demo application is now reading/writing the production date time stamp to user signature row instead of EEPROM. Added File : xmega/applications/x mega_a3bu_xplained_d emo/xmega_a3bu_xplai ned/conf_application.h Modifed Files : xmega/applications/x mega_a3bu_xplained_d emo/production_date. c xmega/applications/x mega_a3bu_xplained_d emo/main.c xmega/applications/x mega_a3bu_xplained_d emo/production_date. h common/services/gfx_ mono/gfx_mono_spinct rl.h 29 AVR4000-ASF Nov-2011
30 Known Issues ID Component Summary 862 3rd party Sensor library fails compilation if not using an board in the ""Xplained"" series of boards." 860 3rd party Sensor library does not compile correctly for other XMEGA devices than ATxmega128A1 735 avr32 T2BF library ( thirdparty\cybercom\ t2bf\) set the state to ""connected"" too early" 491 avr32 avr32/services/netwo rk/can/can.c: Missing function prototypes ( can_enable_interrupt () can_clear_status()) 323 avr32 Display - LCD display - ET024006DHU driver does not compile unless the user has manually configured the it. 322 avr32 EBI SMC driver does not compile unless the user has manually configured the chip select. 321 avr32 The MACB driver doesn't build successfully under AVRStudio5's Application Builder unless manually configured by the user. 169 avr32 PolarSSL needs to be updated to version to solve build error 647 build system Some UC3L modules are missing in AVR Studio common common/components/me mory/data_flash/at45 dbx 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_ch eck() is not complete) AVR4000-ASF Nov
31 Changes between version and version releases of the ASF New Features and API Changes ID Component Summary Description 37 avr32 Add UC3C-EK support to the avr32/drivers/eic example1 and example2 471 avr32 Add UC3 Audio MP3 decoder application Fixed by adding UC3C-EK configuration. Modified files: avr32/drivers/eic/ex ample1/eic_example1. c and avr32/drivers/eic/ex ample2/eic_example2. c. This software application includes a software MP3 decoder (libmad), a file system and a USB Host mass storage class support. It can play files or access audio streams from USB mass storage devices and SD/MMC cards. It supports many clocking schemes to handle most configurations and can be attached to any audio codec or DAC (using I2S bus interface or a standard analog output). This software provides an easy way to interact with a custom HMI (Human Machine Interface) and can handle extra user-defined tasks. Examples are provided for the EVK1104 and EVK1105 kits. Added folder: avr32/applications/u c3-audio-player. 542 avr32 Add libmad MP3 decoder third party Added folders: third_party/libmad, avr32/services/audio /mp3/id3, avr32/services/audio / audio_player/players /mp avr32 Add UC3L0128 & UC3L0256 support to the AVR UC3 UART Bootloader. 484 avr32 avr32/drivers/scif/: add PLL0 support for UC3L0128 & UC3L avr32 Add GCC and IAR linker scripts for UC3L0128 and UC3L avr32 avr32/drivers/scif/: add support for UC3L0128 & UC3L avr32 avr32/boards/stk600/ rcuc3l0/: add STK600 support for the UC3L0256 device 580 avr32 Port the PDCA example to a STK600+RCUC3L0+UC3L0 256 setup. 581 avr32 Port the USART example to a STK600+RCUC3L0+UC3L0 256 setup. 394 avr32 Create GPIO example for AVR Studio 5 Simulator 415 avr32 avr32/drivers/twim driver should be based on common/utils/interru pt module 433 avr32 Add USB Device MSC example on UC3C-EK board 479 avr32 Create USART example project for AVR Studio 5 Simulator 494 avr32 Add GCC and IAR linker scripts for UC3L016 and UC3L avr32 Create MPU example for AVR Studio 5 simulator The AVR UC3 UART Bootloader now supports both the AVR UC3 L016/32/64 series and the AVR UC3 L0128/256 series. Modified folder: avr32/applications/u c3-uart-bootloader/. This patch adds an enum value to the enum type scif_gcctrl_oscsel_t and adds a set of functions and a structure to control the PLL0 available on UC3L0128 & UC3L0256 devices. Modified files: avr32/drivers/scif/{ scif_uc3l.c, scif_uc3l.h}. Add GCC and IAR linker scripts for UC3L0128 and UC3L0256. New folders under: avr32/utils/linker_s cripts/at32uc3l/. This patch adds support for UC3L0128 & UC3L0256 in the AVR UC3 SCIF drivers. Modified files: avr32/drivers/scif/{ scif_uc3l.c, scif_uc3l.h} This patch allows to build examples and applications for the STK600+RCUC3L0 routing card setup with an AT32UC3L0256 device. The PDCA driver example is available on an AT32UC3L0256 on a STK600+RCUC3L0 setup with a 12MHz osc0. The USART driver example is available for AT32UC3L0256 devices on a STK600+RCUC3L0 setup with a 12MHz osc0. Added Folder: avr32/drivers/gpio/s imulator_example Remove references to 'intc' driver and replace by references to common interrupt API. Modified file: avr32/drivers/twim/t wim.c. Add the UC3C-EK USB Device Mass Storage example on AT45DBX DataFlash and virtual memory. Modified folder: common/services/usb/ class/msc/device/exa mple/. Added folder: avr32/drivers/usart/ simulator_example1. Add GCC and IAR linker scripts for UC3L016 and UC3L032. New folders under: avr32/utils/linker_s cripts/at32uc3l/. Added Folder: avr32/drivers/cpu/mp u/simulator_example1 31 AVR4000-ASF Nov-2011
32 ID Component Summary Description 508 avr32 Update FreeRTOS to version Modified folder: / thirdparty/freertos/. Changes between V6.1.1 and V7.0.0 released April : org/history.txt 592 avr32 Add UC3 A3, B, C, L examples to FreeRTOS 416 avr32 avr32/components/tou ch/at42qt1060 module should be based on common/utils/interru pt module 586 avr32 Add configuration file for avr32/drivers/eic examples 600 avr32 avr32/drivers/eic: use common irq function instead of intc driver 455 build system Update the common XMEGA Makefile.in to support library builds. Added FreeRTOS examples for UC3L-EK, UC3C-EK, EVK1104 (UC3A3) and EVK1101 (UC3B) kits. Modified folder: / thirdparty/freertos/ demo/avr32_uc3_examp le. Remove references to 'intc' driver and replace by references to common interrupt API. Modified file: avr32/components/tou ch/at42qt1060/at42qt 1060.c Fixed by adding configuration files for eic example1 and eic example2. Added files: conf_example1.h and conf_example2.h. Modified files: avr32/drivers/eic/ex ample1/eic_example1. c and avr32/drivers/eic/ex ample1/eic_example1. c Remove references to 'intc' driver and replace by references to common interrupt API ( common/utils/interru pt.h). Modified file: avr32/drivers/eic/ei c.c. Common GCC make rules for XMEGA now supports building libraries. Modified file: common/utils/make/ma kefile.avr.in 458 common Common sensor service Add an ASF common service, application-layer API, and board support for sensor peripherals on Atmel top modules and development boards. Added folders: common/services/sens ors, common/boards/sensor s_xplained, thirdparty/sensors/l ibs/, common/applications/ sensors/, avr32/applications/u c3-inertial-demo/, avr32/applications/u c3-compass-calibrati on/, avr32/applications/u c3-pressure-demo, avr32/applications/u c3-inertial-wake, and avr32/applications/u c3-inertial-visualiz er. See also: / dyn/products/tools_c ard.asp?tool_id= common Add support of the C library standard I/O functions to the USB CDC service 495 common Add UC3L0128 & UC3L0256 support to the common/services/cloc k module. The USB CDC service does not supply a component or configuration supporting C library standard I/O functions. Added folder: common/utils/stdio/s tdio_usb. This patch adds the support of UC3L0128 & UC3L0256 devices to the UC3 L devices serie by adding the support for PLL0. Modified files: common/services/cloc k/pll.h, common/services/cloc k/uc3l/{genclk.h, sysclk.c, sysclk.h}. 518 common Add unit test suite This module is the test suite framework, which provides a set of standard functions and macros for defining and running test suites. Added folder: common/utils/unit_te st/. 482 mega Add megaavr code example for use of GPIO 507 mega Add megaavr example for interrupt UART 522 mega Add STK600 board support for ATmega16/32, ATmega169/329 and ATmega64/128 Add example code for usage of General Purpose I/O (GPIO) on megaavr devices. Added folder: mega/applications/me ga_gpio_example/mega _gpio_example.c Add interrupt driven UART example for megaavr. Added folder: mega/applications/me ga_uart_interrupt_ex ample/. Add board definitions for ATmega16/32, ATmega169/329 and ATmega64/128 on the STK mega add parts.h for megaavr Add /mega/utils/parts.h with megaavr device families. 625 mega Add mega devices support to common/utils/interru pt.h 408 xmega Add simulator project for AVR Studio 5 - GPIO Modified file: common/utils/interru pt.h Added folders: xmega/boards/simulat or, / xmega/drivers/ioport /simulator_example1 430 xmega Add XMEGA AES and DES drivers Add XMEGA AES and DES drivers, with examples for XMEGA128A1 Xplain. Added folders: xmega/drivers/aes, xmega/drivers/des. 457 xmega XMEGA TWI master driver enhancement requests The common service interfaces function prototypes are included from driver header files. The conditional compilation AVR4000-ASF Nov
33 ID Component Summary Description for the clock enables have been replaced with the new sysclk_enable_periph eral_clock() interface. The setup routine specifies ""TWI_t *"" CV-qualifiers that are compatible with the prototype for twi_master_init() in the driver implementation. In the XMEGA master driver, the ""addr"" and ""addr_length"" fields in the twi_package_t data structure are now implemented in the driver. The TWI master driver header file is now ""C++ ready"". The XMEGA TWI master driver now uses status_code_t types in place of module-specific status constants. The data transfer functions are reentrant, but still block (busy-wait) for an unavailable bus interface. Additional conditionally-compil ed ISR vectors have been added for other possible XMEGA TWI interfaces." 541 xmega Add Timer/Counter project for AVR Studio 5 simulator 548 xmega EBI driver should be unit tested, based on the examples Added timer counter example 1 for the simulator Add unit test applications for XMEGA EBI w/ external SRAM and SRAM. Added folders: / xmega/drivers/ebi/un it_tests/{sram, sdram}/. 377 xmega Add user signature read to NVM driver Add example 5 which does unit-testing on nvm user signature row functions. Modified files: xmega/drivers/nvm.c, nvm.h, nvm_asm.s. 33 AVR4000-ASF Nov-2011
34 Bug Fixes ID Component Summary Description 340 avr32 Distortion in usb_stream_player_wi th_resampling.c 532 avr32 avr32/drivers/gpio/: the buskeeper feature and the pull-down and open-drain registers are not supported by UC3 L devices. 575 avr32 UC3L common/services/cloc k support and modules that depend on this module are missing in AVR Studio avr32 TWIM master / TWIS slave init function configures interrupt request line for module 0 only. 437 avr32 avr32/drivers/pevc/e xample3 should be updated to use the twi driver configuration file (conf_twim.h) 453 avr32 Implement UC3L errata fix in gpio_clear_pin_inter rupt_flag() 488 avr32 avr32/drivers/twis/t wis.c: the ""Clock stretch on address match"" issue is not specific to UC3L0256." 519 avr32 Exception cause is not identified correctly in avr32/drivers/cpu/mp u example 622 avr32 MPU example for uc3c_ek doesn't work due to wrong access configuration of PBA bus leading to spurious exceptions. 585 avr32 The common irq_register_handler () macro uses an incompatible pointer. 631 avr32 Project compilation issues due to missing conf_twim.h 634 avr32 Remove dependencies on INTC for applications using TWIM When more than 1 channel was used, the output buffer was not fully copied to the output, omitting the last sample. This is now fixed in the file: / avr32/services/audio / audio_player/players / usb/usb_stream_playe r_with_resampling.c. This patch removes accesses to the non-existing pull-down and open-drain registers on AVR UC3 L0 devices. This patch also removes the implementation of the buskeeper feature since it is not supported by the AVR UC3 L0 devices. Modified files: avr32/drivers/gpio/{ gpio.c, gpio.h}. Add support of UC3L0 devices to the common service clock. Fixed by adding configuration file for twim/twis modules. Added files: avr32/drivers/twim/m odule_config/conf_tw im.h and avr32/drivers/twis/m odule_config/conf_tw is.h. Add conf_twim.h file for avr32/drivers/pevc/e xample3 example. The gpio_clear_pin_inter rupt_flag() is conditionally compiled for UC3L by disabling the interrupt, clearing the interrupt by writing 1 to GPIO.IFRC, then reenabling the interrupt. All TWIS versions up to version 120 included incorrectly handle a clock stretch on address match. The workaround is to not use that feature on the faulty TWIS versions. Modified files: avr32/drivers/twis/t wis.c. Fixed the issue in the MPU example where the exception cause is not correctly identified. The example is restructured for more clarity. Modified folder: avr32/drivers/cpu/mp u/example1 Fixed the issue in MPU example for AT32UC3C series devices. Access configuration is done correctly for PBA bus instead of PBC bus in the example. Modified File: avr32/drivers/cpu/mp u/example1/mpu_examp le1.c The common irq_register_handler () routine for AVR32 passes an incompatible pointer type to the underlying INTC_register_interr upt() function. In particular, the first parameter is ""&func"", when the intended parameter is apparently ""func"". Modified files: avr32/applications/u c3-uart-bootloader/i ntc/intc.h, avr32/drivers/intc/i ntc.h common/utils/interru pt/interrupt_avr32.h" Fixed by adding the conf_twim configuration file for modules using TWIM. Added files: conf_twim.h for uc3-dsplib-demo, uc3c_ek-can-lin-loop backs-demo, tpa6130a2 example, at24cxx example, common services twi master example for evk1104/uc3c_ek/uc3l _ek. Modified projects: avr32/applications/u c3-dsplib-demo, avr32/applications/u c3c_ek-can-lin-loopb acks-demo, avr32/components/aud io/amp/tpa6130a2 example, avr32/components/mem ory/eeprom/at24cxx example, common/services/twi/ master_example for EVK1104/UC3C-EK/UC3L -EK boards. Fixed by removing usage of the INTC and adding call to common interrupt API ( common/utils/interru pt.h). Modified files: avr32/applications/u c3-dsplib-demo/demo. c, avr32/applications/u c3c_ek-can-lin-loopb acks-demo/main.c, avr32/components/aud io/amp/tpa6130a2/exa mple/tpa6130_example.c and avr32/components/mem ory/eeprom/at24cxx/e xample/at24cxx_examp le.c. AVR4000-ASF Nov
35 ID Component Summary Description 432 avr32 avr32/drivers/twim driver should not use hard coded reference to TWIM instance 504 avr32 Atmel MAC address assignment should be respected in Ethernet examples 474 avr32 twim/twis repeated start issue in slave/master example 107 avr32 avr32\applications\u c3-bluetooth-t2bf-sp p-demo fails on EVK1104 and EVK avr32 Fix CPU clock on USB device mouse example for the UC3C-EK 333 avr32 evk11xx-uc3b-usb-hid -qtouch-debug does not work when the number of sensor exceed avr32 Remove board dependencies in module-config/ configuration file for conf_twim and conf_twis Add configuration file for TWIM interface. Added file: conf_twim.h Change all conf_eth.h files with Atmel MAC address range. Fixed the state machine issue when twi/twis slave example is used with twim master example. The twim_write_packet function is modified to remove the unwanted repeated start inserted between consecutive write commands. Modified file: avr32/drivers/twim/t wim.c Fix the issue by applying a delay to ensure the EXTBT is reset before starting the Bluetooth application. Modified file: avr32/applications/u c3-bluetooth-t2bf-sp p-demo/main.c. The USBC interface, used by the UC3 C devices, requires a CPU clock higher than 25 MHz. Modified folder: common/services/usb/. QTouch debug packetcount and packetnumber were inverted causing message with more than one packet not to be received correctly by QTouch Studio. Modified file: / avr32/applications/e vk11xx-uc3b-usb-hidqtouch-debug/qtouch_ debug_frame.c. Fixed by removing board dependencies in conf_twim and conf_twis configuration files. Modified files: avr32/drivers/twim/m odule_config/conf_tw im.h and avr32/drivers/twis/m odule_config/conf_tw is.h. 354 build system udc.h is missing from asf.h Add #include ""udc.h"" in the file asf.h when adding the USB CDC (Single Interface Device) service in AVR Studio 5." 524 build system asf.h should not assume that include paths lead directly to API header files 526 build system avr32: _trampoline symbol is not set as entry point in the linker option in AVR Studio 5 Some include paths in asf.h are not correct. _trampoline symbol is now set as the entry point for all avr32 projects so they can be loaded either using the Atmel bootloader (the trampoline section being linked to the reset vector at 0x to 0x ) or through a debugger (the trampoline code will jump at 0x ). 20 common IAR EOL Warning IAR project (EWP) now suppress the Pa050 warning. Both debug/release configurations are changed. 329 common Typo in common/services/cloc k/uc3l/sysclk.h::sys clk_enable_periphera l_clock() and sysclk_disable_perip heral_clock() for the case AVR32_TWIM1_ADDRESS. 528 common common.utils.stdio.s tdio_serial::stdio_s erial_init(...) erroneously passes _const_ USART_t pointer to USART init function 399 common Virtual Memory does not build when VIRTUAL_MEM_TEST_CHA NGE_STATE == ENABLED 436 common Default common service clock configuration enables USB clock 443 common Change default usb composite configuration to accept default empty interface 489 common Improve speed on common USB Device MSC 492 common USB: Fix udd_get_frame_number () routine This patch fixes a typo in sysclk_enable_periph eral_clock() and sysclk_disable_perip heral_clock() for the case AVR32_TWIM1_ADDRESS. Modified files: common/services/cloc k/uc3l/sysclk.h Remove the const attribute as parameter to the usart_serial_init function call in stdio_serial_init function. Modified file: common/utils/stdio/s tdio_serial/stdio_se rial.h. common\components\me mory\virtual_mem: Remove unused flag s_b_data_modify. Enable USB clock to remove compilation error in AVR Studio 5. Modified files: common/services/cloc k/uc3*/module_config /conf_clock.h. Modify USB composite descriptor to accept default empty interface. Modified folder: common/services/clas s/composite/. Enter in sleep mode only if no mass storage transfer is pending. Modified folder: common/services/usb/. Fix a regression in ASF V2.4.0 on all USB Device examples that use the number of start-of-frame(sof) to control the user interface (MSC Device, HID Device mouse). The fix re-implements the previous behavior of the 35 AVR4000-ASF Nov-2011
36 ID Component Summary Description udd_get_frame_number () routine. Modified files: avr32/drivers/usbb/u sbb_device.c, avr32/drivers/usbc/u sbc_device.c, common/services/usb/ class/cdc/device/udi _cdc.c, common/services/usb/ udc/udd.h. 16 common Assert() preprocessed badly when disabled 397 common Rework the default conf_access.h configuration file of the ctrl_access module for AVR Studio documentation """make doc"" doesn't generate doxygen documentation" 531 documentation AVR UC3 USB stack v1 examples should have the technology keyword set to USB 312 other Non-compiling software example hidden in AVR Studio 5: Sleepmgr and ADC for XMEGA due to compiler errors 607 other Merge initial Sensors Xplained board support to /main 497 xmega UTILITY - XMEGA compiler driver fails to compile as standalone 546 xmega NVM driver should be unit tested, based on the examples Assert(expr) is now defined as ((void) 0) when _ASSERT_ENABLE_ is undefined. Modified files: / avr32/utils/compiler.h, xmega/utils/compiler.h. All Logical Unit Numbers (LUN) from common/services/stor age/ctrl_access are now automatically enabled if a module related to a LUN is present in the project. Running ""make doc"" from GCC project directory should generate doxygen documentation for the project." AVR UC3 USB stack v1 ( avr32/services/usb/_ asf_v1) now appears in AVR Studio 5 menu: File->new->Example project->technology- >USB. Reintroduce code examples for the XMEGA ADC driver and sleep manager service. These were excluded from previous release due to a toolchain bug which prevented them from compiling successfully. Add board adaptation modules and support for Sensors Xplained boards. Fixing issue causing AVR Studio 5 to report error ""Option id ' com.atmel.avr.sf.xme gaa.common.utils.mak efile' cannot be found by the framework wizard option selector.""" Added application for testing most of the XMEGA NVM driver on hardware (currently the Xplain board). Files added under xmega/drivers/nvm/un it_tests/: unit_tests.c, atxmega128a1_xplain/ conf_board.h, atxmega128a1_xplain/ conf_clock.h, atxmega128a1_xplain/ conf_test.h, atxmega128a1_xplain/ conf_usart_serial.h. AVR4000-ASF Nov
37 Known Issues ID Component Summary 491 avr32 avr32/services/netwo rk/can/can.c: Missing function prototypes ( can_enable_interrupt () can_clear_status()) 323 avr32 Display - LCD display - ET024006DHU driver does not compile unless the user has manually configured the it. 322 avr32 EBI SMC driver does not compile unless the user has manually configured the chip select. 321 avr32 The MACB driver doesn't build successfully under AVRStudio5's Application Builder unless manually configured by the user. 169 avr32 PolarSSL needs to be updated to version to solve build error 37 AVR4000-ASF Nov-2011
38 Changes between version and version releases of the ASF New Features and API Changes ID Component Summary Description 341 avr32 Add avr32/drivers/freqm driver Add the frequency meter FREQM driver for UC3 devices. 379 avr32 avr32 boards: homogeneous board UART definition and initialization 406 avr32 Add demo application for UC3-A3 Xplained 431 avr32 Add demo application for UC3-L0 Xplained 353 common common/services/usb: add information in CDC examples concerning.inf file usage 404 common common/services/usb: add notification of SOF events to the USB class interface Homogeneous board UART definition and initialization. Add demo application for UC3-A3 Xplained. This application demonstrates the QTouch functionality of the UC3-A3 Xplained board. On power-on, the board will initialize the required touch libraries, showing the current touch state of the slider and touch button on the board LEDs. Files: avr32\applications\u c3-a3_xplained-demo. This application demonstrates the QMatrix functionality of the UC3-L0 Xplained board. On power-on, the board will initialize the required touch libraries, showing the current touch state of the slider and touch button on the board LEDs. Files: avr32\applications\u c3-l0_xplained-demo. Add information concerning CDC.inf file usage. Improve USB interface API to notify a Start Of Frame (SOF) event to the class. This can be used to synchronize transfer on a SOF event, like CDC Class. Modified files: avr32/drivers/usbb/u sbb_device.c, avr32/drivers/usbb/u sbb_device.h, avr32/drivers/usbc/u sbc_device.c, common/services/usb/ class/cdc/device/udi _cdc.c, common/services/usb/ class/hid/device/gen eric/udi_hid_generic.c, common/services/usb/ class/hid/device/kbd /udi_hid_kbd.c, common/services/usb/ class/hid/device/mou se/udi_hid_mouse.c, common/services/usb/ class/msc/device/udi _msc.c, common/services/usb/ class/phdc/device/ud i_phdc.c, common/services/usb/ udc/udc.c, common/services/usb/ udc/udd.h, common/services/usb/ udc/udi.h. 411 mega Add makefile.in for mega Moving xmega makefile from /xmega/utils/make to /common/utils/make since this makefile will be used for mega as well as xmega. 412 mega Add MEGA-1284P Xplained example to ASF 460 mega mega support: Add megaavr code example for setting clock settings (F_CPU) 468 mega Board support for mega devices on STK600 Add demonstration application for MEGA-1284P Xplained board. Add 'mega' folder to ASF. Move XMEGA makefile.in from xmega folder to common folder so it can be shared by MEGA and XMEGA. Added compiler.h for MEGA. Adding code example for setting clock settings (F_CPU) on megaavr and show advantage when interfacing avr-libc delay functions in util/delay.h. Adding support for megaavr on STK600. AVR4000-ASF Nov
39 Bug Fixes ID Component Summary Description 261 avr32 Restore avr32/drivers/adcifa example 1 This example was removed from the ASF release due to bug# avr32 UC3C parts should target a 'ucr3fp' architecture in GCC config.mk file. 407 avr32 Restore the UC3C-EK CAN LIN Loopback demo 400 avr32 avr32/drivers/usbb: wrong sleep mode used in USB self-powered and High-speed 401 avr32 avr32/drivers/usbc: fix transfer error in case of multiple transfers 402 avr32 avr32/drivers/usbb: send ZLP on an IN endpoint fails 405 avr32 avr32/drivers/usbb: remove compilation warning under gcc 165 common Improve the common USB Device CDC class implementation 403 common common/services/usb - the enumeration can fail depending on the memory mapping 21 documentation Doxygen documentation: some image links are broken 264 xmega XMEGA-A1 Xplained demo not compiling 423 xmega XMEGA TC drivers incorrect Capture Compare enable using TC1 Fixed by changing 'ARCH' argument in GCC config.mk file to 'ucr3fp'. Was removed in ASF release due to bug#263. Fix wrong sleep mode in USB self-powered and High-speed mode. This issue occurs only with the USB certification tool from usb.org. Fix transfer error in case of multiple transfers at the same time on different endpoints. Fix the transmission of a ZLP on an IN endpoint. Remove compilation warning with GCC. The new USB device CDC class implementation improves the rate transfer in Full Speed and High Speed device modes and simplifies the user application (external FIFO is not required anymore). A new example is provided on the UC3C-EK, EVK1101 and EVK1104 boards. Fix USB enumeration stability, remove the dependency on the memory alignment. Some pictures are missing from from the on-line Doxygen documentation. Added XMEGA-A1 Xplained demo application, with support for both the XMEGA-A1 Xplained and the Xplain boards. Fixed tc_enable_cc_channel s function to enable CC proper channels when using TC1. Modified file: xmega/drivers/tc/tc. c 39 AVR4000-ASF Nov-2011
40 Known Issues ID Component Summary 491 avr32 avr32/services/netwo rk/can/can.c: Missing function prototypes ( can_enable_interrupt () can_clear_status()) 323 avr32 Display - LCD display - ET024006DHU driver does not compile unless the user has manually configured the it. 322 avr32 EBI SMC driver does not compile unless the user has manually configured the chip select. 321 avr32 The MACB driver doesn't build successfully under AVRStudio5's Application Builder unless manually configured by the user. 169 avr32 PolarSSL needs to be updated to version to solve build error AVR4000-ASF Nov
41 Changes between version and version releases of the ASF New Features and API Changes ID Component Summary Description 112 avr32 wdt_enable() with different definitions in different files 384 build system Pass -pipe as an argument to the GNU toolchain 391 build system Add possibility to set debug info and optimization to zero to speed up build speed 239 common Add the possibility to deprecate functions in compiler.h There were a different API for interfacing the watchdog timer on different versions of the wdt module on UC3. This has now been fixed by merging wdt.h and wdt4.h into a single file -> wdt.h. The function wdt_enable() now expects a wdt_opt_t struct when it is called. WDT examples have been updated accordingly. Files under avr32/drivers/wdt: wdt.h, wdt.c, wdt4.c, example/wdt_example. c, example_wdt4/wdt_exa mple.c. Pass -pipe as an argument to the GNU toolchain when building a project. This causes GCC to use pipes instead of temporary files, which will reduce the overall I/O of the build machine. Modified files: avr32/utils/make/mak efile.in, xmega/utils/make/mak efile.in. This patch adds two symbols checked by the arch generic Makefile.in, BUILD_DEBUG_LEVEL and BUILD_OPTIMIZATION. These symbols can be used to override the debug level and optimization settings for a project. This can be used to increase the speed of the build process. Modified files: avr32/utils/make/mak efile.in, xmega/utils/make/mak efile.in. Added the possibility to set a function as deprecated by adding the symbol DEPRECATED in front of the function declaration. The usage is: DEPRECATED uint8_t some_deprecated_func tion (void). The result of this is that you will get a compile time warning when calling this function. Updated the files avr32/utils/compiler.h, xmega/utils/compiler.h. 338 xmega Add new xmega/drivers/wdt Added XMEGA watchdog module driver and examples. 41 AVR4000-ASF Nov-2011
42 Bug Fixes ID Component Summary Description 262 avr32 CAN Software Stack Example 1 - UC3C-EK - does not exit from static sleep mode 325 avr32 avr32/drivers/adcifa : adcifa_configure() function does not write in the FreeRunning Mode bitfield. 368 avr32 wdt (watchdog) driver wdt4 is incorrectly called with integer instead of struct 381 avr32 AVR UC3 DACIFB software driver reload timer value calculation mistake. 425 avr32 dacifb_example1.c issues: inline documentation should be improved, remove unnecessary call to init_dbg_rs232(). 426 avr32 The UC3C-EK target is missing for the CAN example avr32 avr32/drivers/wdt - all source code uses non-conforming data types. 361 avr32 CAN Wake up interrupt handler is registered in INTC but the interrupt is not enabled in canif.h 417 build system The command ""make clean"" may fail under windows." Fix entry in static mode by enabling CAN asynchronous wakeup source. Improve the exit out of the CAN static sleep mode. Modified files: avr32/services/netwo rk/can/example1/can_ example1.c Fixed by using the correct FreeRunning Mode mask (AVR32_ADCIFA_CFG_FRM). Fixed a bug where the function wdt_reset_mcu() calls wdt_enable(0) where wdt_enable expects a pointer to a wdt_opt_t struct. Files under avr32/drivers/wdt: wdt.c, wdt4.c. Fixed by changing the formula of the timer reload computation value. Files: avr32/drivers/dacifb /dacifb.c Inline documentation has been improved and the call to init_dbg_rs232() has been removed. Files: avr32/dacifb/example 1/dacifb_example1.c The UC3C-EK target has been restored for the CAN example 1 ( avr32/services/netwo rk/can/example1). Fixed the UC3 wdt driver to conform with the ASF coding style. Files under avr32/drivers/wdt: wdt.h, wdt.c, wdt4.c. Fixed by enabling by default the CAN Wakeup interrupt in CANIF_enable_interru pt(ch) macro. Files: avr32/drivers/canif/ canif.h. The command ""make clean"" may fail under Windows. Fixed by using the options /S /Q with rmdir. Impacted: avr32/utils/make/mak efile.in, xmega/utils/make/mak efile.in." AVR4000-ASF Nov
43 Known Issues ID Component Summary 169 avr32 PolarSSL needs to be updated to version to solve build error 43 AVR4000-ASF Nov-2011
44 AVR4000-ASF Nov
45 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 BEA Tower, Millennium City 5 Parkring Osaki Shinkawa-ku U.S.A. 418 Kwun Tong Road D Garching b. Tokyo Tel: (+1) (408) Kwun, Tong, Kowloon MUNICH JAPAN Fax: (+1) (408) HONG KONG Tel.: (+49) Tel: (+81) Tel: (852) Fax: (+49) Fax: (+81) Fax: (852) Product Contact Web Site Technical Support Sales Contact [email protected] Literature Request 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 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. 45 AVR4000-ASF Nov-2011
Microcontrollers. AVR Software Framework Release Notes 2.10.0. Release Notes. Introduction. Device Support
AVR Software Framework Release Notes 2.10.0 Introduction The Atmel AVR Software Framework (ASF, www.atmel.com/asf) provides software drivers and libraries to build applications for Atmel megaavr, AVR XMEGA
Atmel AVR4920: ASF - USB Device Stack - Compliance and Performance Figures. Atmel Microcontrollers. Application Note. Features.
Atmel AVR4920: ASF - USB Device Stack - Compliance and Performance Figures Features Compliance to USB 2.0 - Chapters 8 and 9 - Classes: HID, MSC, CDC, PHDC Interoperability: OS, classes, self- and bus-powered
Atmel AVR4029: Atmel Software Framework User Guide. Atmel Microcontrollers. Application Note. Features. 1 Introduction
Atmel AVR4029: Atmel Software Framework User Guide Features Getting Started Access to ASF examples and applications Add ASF modules to a project Atmel Studio 6 IAR GNU makefile / GCC 1 Introduction Atmel
APPLICATION NOTE. Atmel AT02607: Wireless Product Development Using Atmel Studio and ASF. Atmel MCU Wireless. Description.
APPLICATION NOTE Atmel AT02607: Wireless Product Development Using Atmel Studio and ASF Description Atmel MCU Wireless This application note introduces the users on how to develop products using Atmel
USER GUIDE EDBG. Description
USER GUIDE EDBG Description The Atmel Embedded Debugger (EDBG) is an onboard debugger for integration into development kits with Atmel MCUs. In addition to programming and debugging support through Atmel
Atmel AVR4921: ASF - USB Device Stack Differences between ASF V1 and V2. 8-bit Atmel Microcontrollers. Application Note. Features.
Atmel AVR4921: ASF - USB Device Stack Differences between ASF V1 and V2 Features Advantages Implementation differences Integration Migration from stack V1 to stack V2 8-bit Atmel Microcontrollers Application
AVR115: Data Logging with Atmel File System on ATmega32U4. Microcontrollers. Application Note. 1 Introduction. Atmel
AVR115: Data Logging with Atmel File System on ATmega32U4 Microcontrollers 01101010 11010101 01010111 10010101 Application Note 1 Introduction Atmel provides a File System management for AT90USBx and ATmegaxxUx
Atmel AVR4950: ASF - USB Host Stack. 8-bit Atmel Microcontrollers. Application Note. Features. 1 Introduction
Atmel AVR4950: ASF - USB Host Stack Features USB 2.0 compliance - Chapter 9 - Control, Bulk, Isochronous and Interrupt transfer types - Low Speed (1.5Mbit/s), Full Speed (12Mbit/s), High Speed (480Mbit/s)
Atmel Norway 2005. XMEGA Introduction
Atmel Norway 005 XMEGA Introduction XMEGA XMEGA targets Leadership on Peripheral Performance Leadership in Low Power Consumption Extending AVR market reach XMEGA AVR family 44-100 pin packages 16K 51K
AT89C5131A Starter Kit... Software User Guide
AT89C5131A Starter Kit... Software User Guide Table of Contents Section 1 Introduction... 1-1 1.1 Abbreviations...1-1 Section 2 Getting Started... 2-3 2.1 Hardware Requirements...2-3 2.2 Software Requirements...2-3
AT09333: USB Host Interface (UHI) for Communication Class Device (CDC) Introduction. Atmel Microcontrollers APPLICATION NOTE
Atmel Microcontrollers AT09333: USB Host Interface (UHI) for Communication Class Device (CDC) APPLICATION NOTE Introduction USB Host Interface (UHI) for Communication Class Device (CDC) provides an interface
How To Use An Atmel Atmel Avr32848 Demo For Android (32Bit) With A Microcontroller (32B) And An Android Accessory (32D) On A Microcontroller (32Gb) On An Android Phone Or
APPLICATION NOTE Atmel AVR32848: Android Accessory Demo 32-bit Atmel Microcontrollers Features Control an accessory from an Android device Send data to and from an Android device to an accessory Supported
AVR Butterfly Training. Atmel Norway, AVR Applications Group
AVR Butterfly Training Atmel Norway, AVR Applications Group 1 Table of Contents INTRODUCTION...3 GETTING STARTED...4 REQUIRED SOFTWARE AND HARDWARE...4 SETTING UP THE HARDWARE...4 SETTING UP THE SOFTWARE...5
APPLICATION NOTE. AT07175: SAM-BA Bootloader for SAM D21. Atmel SAM D21. Introduction. Features
APPLICATION NOTE AT07175: SAM-BA Bootloader for SAM D21 Atmel SAM D21 Introduction Atmel SAM Boot Assistant (Atmel SAM-BA ) allows In-System Programming (ISP) from USB or UART host without any external
Section 1 Introduction to the AT91SAMD20 and the Development Environment
Section 1 Introduction to the AT91SAMD20 and the Development Environment Tasks In this section you will learn: The basics of the core you will be working on AT91SAMD20 and its features The basics of the
Atmel AVR4903: ASF - USB Device HID Mouse Application. Atmel Microcontrollers. Application Note. Features. 1 Introduction
Atmel AVR4903: ASF - USB Device HID Mouse Application Features USB 2.0 compliance - Chapter 9 compliance - HID compliance - Low-speed (1.5Mb/s) and full-speed (12Mb/s) data rates Standard USB HID mouse
SKP16C62P Tutorial 1 Software Development Process using HEW. Renesas Technology America Inc.
SKP16C62P Tutorial 1 Software Development Process using HEW Renesas Technology America Inc. 1 Overview The following tutorial is a brief introduction on how to develop and debug programs using HEW (Highperformance
Atmel AT32UC3A3256 microcontroller 64MBit SDRAM Analog input (to ADC) Temperature sensor RC filter
APPLICATION NOTE Features Atmel AVR32918: UC3-A3 Xplained Hardware User s Guide Atmel AT32UC3A3256 microcontroller 64MBit SDRAM Analog input (to ADC) Temperature sensor RC filter I/O One mechanical button
TURBO PROGRAMMER USB, MMC, SIM DEVELOPMENT KIT
TURBO PROGRAMMER USB, MMC, SIM DEVELOPMENT KIT HARDWARE GUIDE This document is part of Turbo Programmer documentation. For Developer Documentation, Applications and Examples, see http:/// PRELIMINARY (C)
Tutorial for MPLAB Starter Kit for PIC18F
Tutorial for MPLAB Starter Kit for PIC18F 2006 Microchip Technology Incorporated. All Rights Reserved. WebSeminar Title Slide 1 Welcome to the tutorial for the MPLAB Starter Kit for PIC18F. My name is
Freescale Semiconductor, I
nc. Application Note 6/2002 8-Bit Software Development Kit By Jiri Ryba Introduction 8-Bit SDK Overview This application note describes the features and advantages of the 8-bit SDK (software development
CB-OLP425 DEVELOPMENT KIT GETTING STARTED
CB-OLP425 DEVELOPMENT KIT GETTING STARTED Document Revision Document number: 9142285 Release: Jan 29, 2014 09:42 Document version: 12 Copyright 2014 u-blox AG. The contents of this document can be changed
Arduino Due Back. Warning: Unlike other Arduino boards, the Arduino Due board runs at 3.3V. The maximum. Overview
R Arduino Due Arduino Due Front Arduino Due Back Overview The Arduino Due is a microcontroller board based on the Atmel SAM3X8E ARM Cortex-M3 CPU (datasheet). It is the first Arduino board based on a 32-bit
AN10866 LPC1700 secondary USB bootloader
Rev. 2 21 September 2010 Application note Document information Info Content Keywords LPC1700, Secondary USB Bootloader, ISP, IAP Abstract This application note describes how to add a custom secondary USB
TivaWare USB Library USER S GUIDE SW-TM4C-USBL-UG-2.1.1.71. Copyright 2008-2015 Texas Instruments Incorporated
TivaWare USB Library USER S GUIDE SW-TM4C-USBL-UG-2.1.1.71 Copyright 2008-2015 Texas Instruments Incorporated Copyright Copyright 2008-2015 Texas Instruments Incorporated. All rights reserved. Tiva and
SMARTCARD XPRO. Preface. SMART ARM-based Microcontrollers USER GUIDE
SMART ARM-based Microcontrollers SMARTCARD XPRO USER GUIDE Preface Atmel SMARTCARD Xplained Pro is an extension board to the Atmel Xplained Pro evaluation platform. Atmel SMARTCARD Xplained Pro is designed
Hello, and welcome to this presentation of the STM32L4 reset and clock controller.
Hello, and welcome to this presentation of the STM32L4 reset and clock controller. 1 The STM32L4 reset and clock controller manages system and peripheral clocks. STM32L4 devices embed three internal oscillators,
Microcontroller Based Low Cost Portable PC Mouse and Keyboard Tester
Leonardo Journal of Sciences ISSN 1583-0233 Issue 20, January-June 2012 p. 31-36 Microcontroller Based Low Cost Portable PC Mouse and Keyboard Tester Ganesh Sunil NHIVEKAR *, and Ravidra Ramchandra MUDHOLKAR
Application Note. 8-bit Microcontrollers. AVR272: USB CDC Demonstration UART to USB Bridge
AVR272: USB CDC Demonstration UART to USB Bridge Features Supported by Windows 2000 or later No driver installation Virtual COM Port Enumeration USB to RS232 Bridge with dynamic baudrate Bus powered 8-bit
Application Note. 8-bit Microcontrollers. AVR270: USB Mouse Demonstration
AVR270: USB Mouse Demonstration Features Runs with AT90USB Microcontrollers at 8MHz USB Low Power Bus Powered Device (less then 100mA) Supported by any PC running Windows (98SE or later), Linux or Mac
AVR317: Using the Master SPI Mode of the USART module. 8-bit Microcontrollers. Application Note. Features. Introduction
AVR317: Using the Master SPI Mode of the USART module Features Enables Two SPI buses in one device Hardware buffered SPI communication Polled communication example Interrupt-controlled communication example
AT15007: Differences between ATmega328/P and ATmega328PB. Introduction. Features. Atmel AVR 8-bit Microcontrollers APPLICATION NOTE
Atmel AVR 8-bit Microcontrollers AT15007: Differences between ATmega328/P and ATmega328PB APPLICATION NOTE Introduction This application note assists the users of Atmel ATmega328 variants to understand
AVR1900: Getting started with ATxmega128A1 on STK600. 8-bit Microcontrollers. Application Note. 1 Introduction
AVR1900: Getting started with ATxmega128A1 on STK600 1 Introduction This document contains information about how to get started with the ATxmega128A1 on STK 600. The first three sections contain information
Chapter 13. PIC Family Microcontroller
Chapter 13 PIC Family Microcontroller Lesson 01 PIC Characteristics and Examples PIC microcontroller characteristics Power-on reset Brown out reset Simplified instruction set High speed execution Up to
32-bit AVR UC3 Microcontrollers. 32-bit AtmelAVR Application Note. AVR32769: How to Compile the standalone AVR32 Software Framework in AVR32 Studio V2
AVR32769: How to Compile the standalone AVR32 Software Framework in AVR32 Studio V2 1. Introduction The purpose of this application note is to show how to compile any of the application and driver examples
Complete Integrated Development Platform. 2013 Copyright Atmel Corporation
Complete Integrated Development Platform 2013 Copyright Atmel Corporation MCU Developer s Challenge 80% increase in SW in next MCU project Top Engineering Concern: Hitting Schedules More complex end user
In-System Programmer USER MANUAL RN-ISP-UM RN-WIFLYCR-UM-.01. www.rovingnetworks.com 1
RN-WIFLYCR-UM-.01 RN-ISP-UM In-System Programmer 2012 Roving Networks. All rights reserved. Version 1.1 1/19/2012 USER MANUAL www.rovingnetworks.com 1 OVERVIEW You use Roving Networks In-System-Programmer
An introduction to nxpusblib. March 2012
An introduction to nxpusblib March 2012 Agenda NXP USB portfolio Demo using LPC1800- Out of the Box What is nxpusblib? How to use nxpusblib? Why to use nxpusblib? Summary 2 NXP USB Portfolio NXP MCU the
BLE113 DEVELOPMENT KIT
BLE113 DEVELOPMENT KIT QUICK START Thursday, 14 March 2013 Version 1.5 Copyright 2000-2013 Bluegiga Technologies Bluegiga Technologies reserves the right to alter the hardware, software, and/or specifications
Atmel AVR ATxmega384C3 microcontroller OLED display with 128 32 pixels resolution Analog sensors. Ambient light sensor Temperature sensor
APPLICATION NOTE AVR1925: XMEGA-C3 Xplained Hardware User s Guide Features Atmel AVR ATxmega384C3 microcontroller OLED display with 128 32 pixels resolution Analog sensors Ambient light sensor Temperature
Arduino ADK Back. For information on using the board with the Android OS, see Google's ADK documentation.
Arduino ADK Arduino ADK R3 Front Arduino ADK R3 Back Arduino ADK Front Arduino ADK Back Overview The Arduino ADK is a microcontroller board based on the ATmega2560 (datasheet). It has a USB host interface
UM0834 User manual. Developing and debugging your STM8S-DISCOVERY application code. Introduction. Reference documents
User manual Developing and debugging your STM8S-DISCOVERY application code Introduction This document complements the information in the STM8S datasheets by describing the software environment and development
Develop a Dallas 1-Wire Master Using the Z8F1680 Series of MCUs
Develop a Dallas 1-Wire Master Using the Z8F1680 Series of MCUs AN033101-0412 Abstract This describes how to interface the Dallas 1-Wire bus with Zilog s Z8F1680 Series of MCUs as master devices. The Z8F0880,
QT1 Xplained Pro. Preface. Atmel QTouch USER GUIDE
Atmel QTouch QT1 Xplained Pro USER GUIDE Preface Atmel QT1 Xplained Pro kit is a set of two extension boards that enables evaluation of self- and mutual capacitance mode touch using the Peripheral Touch
USER GUIDE. ZigBit USB Stick User Guide. Introduction
USER GUIDE ZigBit USB Stick User Guide Introduction This user guide describes how to get started with the Atmel ZigBit USB sticks. The ZigBit USB sticks is targeted for evaluating the USB features of the
Digitale Signalverarbeitung mit FPGA (DSF) Soft Core Prozessor NIOS II Stand Mai 2007. Jens Onno Krah
(DSF) Soft Core Prozessor NIOS II Stand Mai 2007 Jens Onno Krah Cologne University of Applied Sciences www.fh-koeln.de [email protected] NIOS II 1 1 What is Nios II? Altera s Second Generation
8-bit Microcontroller. Application Note. AVR105: Power Efficient High Endurance Parameter Storage in Flash Memory
AVR105: Power Efficient High Endurance Parameter Storage in Flash Memory Features Fast Storage of Parameters High Endurance Flash Storage 350K Write Cycles Power Efficient Parameter Storage Arbitrary Size
ET-BASE AVR ATmega64/128
ET-BASE AVR ATmega64/128 ET-BASE AVR ATmega64/128 which is a Board Microcontroller AVR family from ATMEL uses MCU No.ATmega64 and ATmega128 64PIN. Board ET-BASE AVR ATmega64/128 uses MCU s resources on
AVR1510: Xplain training - XMEGA USART. 8-bit Microcontrollers. Application Note. Prerequisites. 1 Introduction
AVR1510: Xplain training - XMEGA USART Prerequisites Required knowledge AVR1500: Xplain training XMEGA Basics AVR1502: Xplain training XMEGA Direct Memory Access Controller Software prerequisites Atmel
FLYPORT Wi-Fi 802.11G
FLYPORT Wi-Fi 802.11G System on module 802.11g WIFI - Infrastructure mode - softap mode - Ad hoc mode Microchip PIC 24F 16 bit processor Microchip MRF24WG0MA/MB - Native WiFi 802.11g transceiver - PCB
Lab 1 Course Guideline and Review
Lab 1 Course Guideline and Review Overview Welcome to ECE 3567 Introduction to Microcontroller Lab. In this lab we are going to experimentally explore various useful peripherals of a modern microcontroller
AVR106: C functions for reading and writing to Flash memory. 8-bit Microcontrollers. Application Note. Features. Introduction
AVR106: C functions for reading and writing to Flash memory Features C functions for accessing Flash memory - Byte read - Page read - Byte write - Page write Optional recovery on power failure Functions
Waspmote. Quickstart Guide
Waspmote Quickstart Guide Index Document version: v4.3-11/2014 Libelium Comunicaciones Distribuidas S.L. INDEX 1. Introduction... 3 2. General and safety information... 4 3. Waspmote s Hardware Setup...
Atmel s Self-Programming Flash Microcontrollers
Atmel s Self-Programming Flash Microcontrollers By Odd Jostein Svendsli, Marketing Manager Summary The third-generation Flash microcontrollers from Atmel are now available. These microcontrollers offer
Lab Experiment 1: The LPC 2148 Education Board
Lab Experiment 1: The LPC 2148 Education Board 1 Introduction The aim of this course ECE 425L is to help you understand and utilize the functionalities of ARM7TDMI LPC2148 microcontroller. To do that,
AVR1309: Using the XMEGA SPI. 8-bit Microcontrollers. Application Note. Features. 1 Introduction SCK MOSI MISO SS
AVR1309: Using the XMEGA SPI Features Introduction to SPI and the XMEGA SPI module Setup and use of the XMEGA SPI module Implementation of module drivers Polled master Interrupt controlled master Polled
STM32 F-2 series High-performance Cortex-M3 MCUs
STM32 F-2 series High-performance Cortex-M3 MCUs STMicroelectronics 32-bit microcontrollers, 120 MHz/150 DMIPS with ART Accelerator TM and advanced peripherals www.st.com/mcu STM32 F-2 series The STM32
BLUETOOTH SMART CABLE REPLACEMENT
BLUETOOTH SMART CABLE REPLACEMENT APPLICATION NOTE Monday, 15 October 2012 Version 1.5 Copyright 2000-2012 Bluegiga Technologies All rights reserved. Bluegiga Technologies assumes no responsibility for
AVR1922: Xplain Board Controller Firmware. 8-bit Microcontrollers. Application Note. Features. 1 Introduction
AVR1922: Xplain Board Controller Firmware Features USB interface - Mass-storage to on-board DataFlash memory Atmel AVR XMEGA TM reset control 1 Introduction The Xplain board controller, an AT90USB1287,
Embedded Software Development: Spottbillige Hardware + OSS = Zum Spielen zu Schade!
Embedded Software Development: Spottbillige Hardware + OSS = Zum Spielen zu Schade! Gregor Hohpe www.eaipatterns.com OOP 2012 1 Microcontrollers CPU core, memory, and I/O (analog, digital) on one chip
Two mechanical buttons Two user LEDs Four expansion headers. Board controller with USB interface. One power LED and one status LED
APPLICATION NOTE Features Atmel AT02667: XMEGA-E5 Xplained Hardware User s Guide Atmel AVR ATxmega32E5 microcontroller OLED display with 128 32 pixels resolution Ambient light sensor Analog filter Rotary
Introducing AVR Dragon
Introducing AVR Dragon ' Front Side Back Side With the AVR Dragon, Atmel has set a new standard for low cost development tools. AVR Dragon supports all programming modes for the Atmel AVR device family.
The care and feeding of Pythons at the Redmond Zoo. (Using Micro Python and pyboard with Windows)
The care and feeding of Pythons at the Redmond Zoo. (Using Micro Python and pyboard with Windows) Introduction. Pyboard connects to Windows using a standard micro USB cable. It can operate in four different
A Design of Video Acquisition and Transmission Based on ARM. Ziqiang Hao a, Hongzuo Li b
A Design of Video Acquisition and Transmission Based on ARM Ziqiang Hao a, Hongzuo Li b Changchun University of Science & Technology, Changchun, Jilin, China a [email protected], b [email protected] Keywords:video
AVR319: Using the USI module for SPI communication. 8-bit Microcontrollers. Application Note. Features. Introduction
AVR319: Using the USI module for SPI communication Features C-code driver for SPI master and slave Uses the USI module Supports SPI Mode 0 and 1 Introduction The Serial Peripheral Interface (SPI) allows
User s Manual of Board Microcontroller ET-MEGA2560-ADK ET-MEGA2560-ADK
User s Manual of Board Microcontroller ET-MEGA2560-ADK ET-MEGA2560-ADK Because Arduino that is the development project on AVR MCU as Open Source has been published, it is popular and widespread shortly.
General Porting Considerations. Memory EEPROM XRAM
AVR097: Migration between ATmega128 and ATmega2561 Features General Porting Considerations Memory Clock sources Interrupts Power Management BOD WDT Timers/Counters USART & SPI ADC Analog Comparator ATmega103
How To Use Nuc123 (Nuc123) For A Week
_NuMicro NUC123 ARM Cortex -M0 USB MCU Atlantik Elektronik GmbH, Fraunhoferstr.11a, D-82152 Planegg/Munich, Phone: (+49) 89 / 89 505-0, Fax.: (+49) 89 / 89 505-100, www.atlantikelektronik.com 1 Contents
Atmel C Code Examples
Atmel C Code Examples Free PDF ebook Download: Atmel C Code Examples Download or Read Online ebook atmel c code examples in PDF Format From The Best User Guide Database The XMEGA-B1 Xplained evaluation
AN3265 Application note
Application note Handling hardware and software failures with the STM8S-DISCOVERY Application overview This application is based on the STM8S-DISCOVERY. It demonstrates how to use the STM8S window watchdog
ENGI E1112 Departmental Project Report: Computer Science/Computer Engineering
ENGI E1112 Departmental Project Report: Computer Science/Computer Engineering Daniel Estrada Taylor, Dev Harrington, Sekou Harris December 2012 Abstract This document is the final report for ENGI E1112,
8-bit. Application Note. Microcontrollers. AVR282: USB Firmware Upgrade for AT90USB
AVR282: USB Firmware Upgrade for AT90USB Features Supported by Atmel FLIP program on all Microsoft O/S from Windows 98SE and later FLIP 3.2.1 or greater supports Linux Default on chip USB bootloader In-System
An Introduction to MPLAB Integrated Development Environment
An Introduction to MPLAB Integrated Development Environment 2004 Microchip Technology Incorporated An introduction to MPLAB Integrated Development Environment Slide 1 This seminar is an introduction to
MeshBee Open Source ZigBee RF Module CookBook
MeshBee Open Source ZigBee RF Module CookBook 2014 Seeed Technology Inc. www.seeedstudio.com 1 Doc Version Date Author Remark v0.1 2014/05/07 Created 2 Table of contents Table of contents Chapter 1: Getting
GCLK (Generic Clock Management) PM (Power Management) SYSCTRL (Clock Source Control) The following devices can use this module:
APPLICATION NOTE AT03259: SAM System Clock Management Driver (SYSTEM CLOCK) ASF PROGRAMMERS MANUAL SAM System Clock Management Driver (SYSTEM CLOCK) This driver for Atmel SMART SAM devices provides an
Java Embedded Applications
TM a One-Stop Shop for Java Embedded Applications GeeseWare offer brings Java in your constrained embedded systems. You develop and simulate your Java application on PC, and enjoy a seamless hardware validation.
WIZ-Embedded WebServer User s Manual (Ver. 1.0)
[텍스트 입력] WIZ-Embedded WebServer User s Manual (Ver. 1.0) 2007 WIZnet Inc. All Rights Reserved. For more information, visit our website at www.wiznet.co.kr Document History Information Revision Data Description
2.0 Command and Data Handling Subsystem
2.0 Command and Data Handling Subsystem The Command and Data Handling Subsystem is the brain of the whole autonomous CubeSat. The C&DH system consists of an Onboard Computer, OBC, which controls the operation
UM1734 User manual. STM32Cube USB device library. Introduction
User manual STM32Cube USB device library Introduction STMCube initiative was originated by STMicroelectronics to ease developers life by reducing development efforts, time and cost. STM32Cube covers STM32
How To Add A Usb Secondary Ipo Bootloader To An Lpc23Xx Flash Device To A Flash Device
Rev. 01 16 October 2008 Application note Document information Info Keywords Abstract Content LPC23xx, Secondary ISP Bootloader, Bootloader, USB This application note describes how to add custom USB secondary
AN1229. Class B Safety Software Library for PIC MCUs and dspic DSCs OVERVIEW OF THE IEC 60730 STANDARD INTRODUCTION
Class B Safety Software Library for PIC MCUs and dspic DSCs AN1229 Authors: Veena Kudva & Adrian Aur Microchip Technology Inc. OVERVIEW OF THE IEC 60730 STANDARD INTRODUCTION This application note describes
PC Base Adapter Daughter Card UART GPIO. Figure 1. ToolStick Development Platform Block Diagram
TOOLSTICK VIRTUAL TOOLS USER S GUIDE RELEVANT DEVICES 1. Introduction The ToolStick development platform consists of a ToolStick Base Adapter and a ToolStick Daughter card. The ToolStick Virtual Tools
AVR106: C Functions for Reading and Writing to Flash Memory. Introduction. Features. AVR 8-bit Microcontrollers APPLICATION NOTE
AVR 8-bit Microcontrollers AVR106: C Functions for Reading and Writing to Flash Memory APPLICATION NOTE Introduction The Atmel AVR devices have a feature called Self programming Program memory. This feature
ES_LPC4357/53/37/33. Errata sheet LPC4357/53/37/33. Document information
Rev. 1.1 8 August 2012 Errata sheet Document information Info Keywords Abstract Content LPC4357FET256; LPC4357FET180; LPC4357FBD208; LPC4353FET256; LPC4353FET180; LPC4353FBD208; LPC4337FET256; LPC4337FET180;
Display Message on Notice Board using GSM
Advance in Electronic and Electric Engineering. ISSN 2231-1297, Volume 3, Number 7 (2013), pp. 827-832 Research India Publications http://www.ripublication.com/aeee.htm Display Message on Notice Board
AVR1321: Using the Atmel AVR XMEGA 32-bit Real Time Counter and Battery Backup System. 8-bit Microcontrollers. Application Note.
AVR1321: Using the Atmel AVR XMEGA 32-bit Real Time Counter and Battery Backup System Features 32-bit Real Time Counter (RTC) - 32-bit counter - Selectable clock source 1.024kHz 1Hz - Long overflow time
Chapter 1 Lesson 3 Hardware Elements in the Embedded Systems. 2008 Chapter-1L03: "Embedded Systems - ", Raj Kamal, Publs.: McGraw-Hill Education
Chapter 1 Lesson 3 Hardware Elements in the Embedded Systems 1 Typical Embedded System Hardware units 2 Basic Circuit Elements at the System 3 (i) Power Source 1. System own supply with separate supply
SmartFusion csoc: Basic Bootloader and Field Upgrade envm Through IAP Interface
Application Note AC372 SmartFusion csoc: Basic Bootloader and Field Upgrade envm Through IAP Interface Table of Contents Introduction................................................ 1 Introduction to Field
Selection Criteria for ZigBee Development Kits
Selection Criteria for ZigBee Development Kits This article gives an overview about different considerations, when it comes to prioritizing ZigBee Development Kits, supplied by different vendors. Before
i.mx USB loader A white paper by Tristan Lelong
i.mx USB loader A white paper by Tristan Lelong Introduction This document aims to explain the serial downloader feature of i.mx SoCs on Linux (available across i.mx family starting with i.mx23). This
APPLICATION NOTE Atmel AT02509: In House Unit with Bluetooth Low Energy Module Hardware User Guide 8-bit Atmel Microcontroller Features Description
APPLICATION NOTE Atmel AT259: In House Unit with Bluetooth Low Energy Module Hardware User Guide Features 8-bit Atmel Microcontroller Low power consumption Interface with BLE with UART Bi-direction wake
Block 3 Size 0 KB 0 KB 16KB 32KB. Start Address N/A N/A F4000H F0000H. Start Address FA000H F8000H F8000H F8000H. Block 2 Size 8KB 16KB 16KB 16KB
APPLICATION NOTE M16C/26 1.0 Abstract The following article describes using a synchronous serial port and the FoUSB (Flash-over-USB ) Programmer application to program the user flash memory of the M16C/26
Computer Automation Techniques. Arthur Carroll
Computer Automation Techniques Arthur Carroll 1 Three Types of Computers Micro-Controller Single Board Computer Desktop Computer 2 The Micro-Controller Small inexpensive DIP or surface mount chips Roughly
EvB 5.1 v5 User s Guide
EvB 5.1 v5 User s Guide Page 1 Contents Introduction... 4 The EvB 5.1 v5 kit... 5 Power supply...6 Programmer s connector...7 USB Port... 8 RS485 Port...9 LED's...10 Pushbuttons... 11 Potentiometers and
Embedded Systems on ARM Cortex-M3 (4weeks/45hrs)
Embedded Systems on ARM Cortex-M3 (4weeks/45hrs) Course & Kit Contents LEARN HOW TO: Use of Keil Real View for ARM Use ARM Cortex-M3 MCU for professional embedded application development Understanding
Yun Shield User Manual VERSION: 1.0. Yun Shield User Manual 1 / 22. www.dragino.com
Yun Shield User Manual VERSION: 1.0 Version Description Date 0.1 Initiate 2014-Jun-21 1.0 Release 2014-Jul-08 Yun Shield User Manual 1 / 22 Index: 1 Introduction... 3 1.1 What is Yun Shield... 3 1.2 Specifications...
Dolphin In-Circuit programming Updating Firmware in the field
Dolphin In-Circuit programming Updating Firmware in the field 1 Introduction In systems e.g. gateways, where an external microcontroller is connected to a Dolphin based product like a TCM300 it might be
APPLICATION NOTE. AVR2130: Lightweight Mesh Developer Guide. Atmel MCU Wireless. Features. Description
APPLICATION NOTE AVR2130: Lightweight Mesh Developer Guide Atmel MCU Wireless Features Atmel Lightweight Mesh stack specification and APIs Lightweight Mesh Software Development Kit (SDK) Description This
