basic-internalflash-project
Default mainpagebasic-internalflash-project
Description Graph
basic-internalflash-project
 
Purpose
This basic demonstrates the features of the Embedded Flash Controller (EFC/EEFC) 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.

You can find following information depends on your needs:
See

Requirements
This package can be used with all Atmel evaluation kits that have EFC(EEFC) interface, the package could runs at SRAM or internal flash.

Description
The program performs the following set of commands:
Usage
  1. Build the program and download it inside the evaluation board. Please refer to the SAM-BA User Guide, the GNU-Based Software Development application note or to the IAR EWARM User Guide, depending on your chosen solution.
  2. On the computer, open and configure a terminal application (e.g. HyperTerminal on Microsoft Windows) with these settings:
    • 115200 bauds
    • 8 bits of data
    • No parity
    • 1 stop bit
    • No flow control
  3. Start the application.
  4. The application will display the various tests it is executing and the results (example shown for the SAM9XE256):
    -- Basic Internal Flash Project xxx --
    -- AT91xxxxxx-xx
    -- Compiled: xxx xx xxxx xx:xx:xx --
    -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
    
  5. As soon as a dataflash is connected, the tests will start. Eventually, the test result (pass or fail) will be output on the DBGU.
 
Source
The documentation for this Directory was generated from the following files:
  • main.c