This example demonstrates how to use the basic Non volatile memories access functions
The NVM API can be found here.
All AVR and SAM devices with internal Flash can be used.
NVM_EXAMPLE_LED0 gives the result for internal flash:
NVM_EXAMPLE_LED0 OFF: Test failed NVM_EXAMPLE_LED0 ON : Test passed
On boards with external dataflash, NVM_EXAMPLE_LED1 gives the result for external dataflash AT45DBX:
NVM_EXAMPLE_LED1 OFF: Test failed NVM_EXAMPLE_LED1 ON : Test passed
NVM_EXAMPLE_LED2 ON: Indicates that all tests are complete
This software was written for the GNU GCC and IAR for AVR. Other compilers may or may not work.
For further information, visit Microchip.