Microchip® Advanced Software Framework

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Drivers NVM Example 5 for XMEGA-A1 Xplained Documentation

Introduction

This example shows how to use and tests the user signature access of the NVM flash handling of the NVM driver.

Main Files

Device Info

All AVR XMEGA devices can be used. This example have been tested with the following setup:

  • Xplain
  • XMEGA A1 Xplained

Description of the example

The example tests the user signature row functions and reports back the status on the Xplain LEDs:

  • LED0: Write with erase check works as expected.
  • LED1: Write without erase check works as expected. Does not give reliable result if the first test fails.
  • LED2: Read user signature row works as expected. Does not give reliable result if the first test fails.
  • LED7: Test completed

If one of the LEDs does not light up, this indicates a failure on the test.

Dependencies

This example depends on the following modules:

Compilation info

This software was written for the GNU GCC and IAR for AVR. Other compilers may or may not work.

Contact Information

For further information, visit Microchip.