Basic NandFlash Project 1.4

Purpose

This example performs several operations on an external NandFlash chip connected to the External Bus Interface (EBI) of the microcontroller.

Hardware Requirements

This application requires one of the following Atmel evaluation kits to work properly:

Description

The program will first detect what type of NandFlash is connected on the bus. Then, each block of the device is checked by being erased and written. Bad blocks are automatically detected and skipped by this algorithm.

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 the DBGU port with a terminal application (e.g. HyperTerminal on Microsoft Windows).
  3. Start the application.
  4. The program will output a startup message on the DBGU:
    -- Basic NandFlash Project 1.4 --
  5. Tests will then be performed on each block; the status is displayed on the DBGU.
Atmel Corporation ©2008