This basic demonstrates the features of the Embedded Flash Controller (EFC) present on Atmel AT91 microcontrollers. The EFC enables in-application programming of the internal flash, as well as protecting memory regions or the whole chip.
This program can be used with the following evaluation kits:
The program performs the following set of commands:
-- Basic Internal Flash Project 1.4 --
-I- Unlocking the whole flash
-D- Actual lock range is 0x200000 - 0x240000
-I- Writing last page with walking bit pattern
-I- Checking page contents .....................................................
........................................................................... ok
-I- Locking last page
-D- Actual lock range is 0x23C000 - 0x240000
-I- Checking lock status ... ok
-I- Unlocking last page
-D- Actual lock range is 0x23C000 - 0x240000
-I- Checking lock status ... ok
-I- GPNVM #1 is cleared
-I- Setting GPNVM #1
-I- Clearing GPNVM #1
-I- All tests ok