Microchip® Advanced Software Framework

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
FLASHC Example for evk1105 Documentation

Introduction

This is the documentation for the data structures, functions, variables, defines, enums, and typedefs for the FLASHC 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 FLASHC module can be used.

Configuration Information

This example has been tested with the following configuration:

  • EVK1100, EVK1101, UC3C_EK or EVK1104 or EVK1105 evaluation kit; Note: this example doesn't work on AT32UC3A0512 before revJ. Check the application note AVR32749 on www.atmel.com for a workaround.
  • CPU clock: – 12 MHz : EVK1100, EVK1101, EVK1104, EVK1105 evaluation kits – 16 MHz : UC3C_EK
  • USART1 (on EVK1100 or EVK1101) connected to a PC serial port via a standard RS232 DB9 cable, or USART0 (on EVK1105) or USART1 (on EVK1104) or USART2 (on UC3C_EK) abstracted with a USB CDC connection to a PC;
  • 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.