Microchip® Advanced Software Framework

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
FLASHCDW Example for STK600_RCUC3L0 Documentation

Introduction

This is the documentation for the data structures, functions, variables, defines, enums, and typedefs for the FLASHCDW software driver.

It also comes bundled with an example. This example demonstrates flash read / write data accesses, using a flash block as an NVRAM, located either in the flash array or in the User page.

Operating mode of the example:

  1. After reset, the NVRAM variables are displayed on the USART link.
  2. The NVRAM is cleared (all bytes are set to 0x00).
  3. All NVRAM variables are written with incrementing nibbles, starting from 0x0.
  4. The user can reset or power-cycle the board to check the non-volatileness of the NVRAM.

Main Files

Compilation Information

This software is written for GNU GCC for AVR32 and for IAR Embedded Workbench for Atmel AVR32. Other compilers may or may not work.

Device Information

All AVR32 devices with a FLASHCDW module can be used.

Configuration Information

This example has been tested with the following configuration:

  • AT32UC3L-EK evaluation kit; STK600+RCUC3L0 routing card ; STK600+RCUC3D routing card
  • CPU clock: 12 MHz;
  • USART3 (on AT32UC3L-EK) abstracted with a USB CDC connection to a PC; STK600 usart port for the STK600+RCUC3L0 setup :
    • connect STK600.PE2 to STK600.RS232 SPARE.TXD
    • connect STK600.PE3 to STK600.RS232 SPARE.RXD STK600 usart port for the STK600+RCUC3D setup :
    • connect STK600.PC7 to STK600.RS232 SPARE.TXD
    • connect STK600.PD0 to STK600.RS232 SPARE.RXD
  • PC terminal settings:
    • 57600 bps,
    • 8 data bits,
    • no parity bit,
    • 1 stop bit,
    • no flow control.

Contact Information

For further information, visit Atmel AVR32.