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:
- AT91SAM7SE-EK
- AT91SAM9260-EK
- AT91SAM9261-EK
- AT91SAM9263-EK
- AT91SAM9RL-EK
- AT91SAM9XE-EK
- AT91SAM9G20-EK
- AT91CAP9-DK
- AT91CAP9-STK
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
-
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.
-
On the computer, open the DBGU port with a terminal application
(e.g. HyperTerminal on Microsoft Windows).
- Settings: 115200 bauds, 8 bits, 1 stop bit, no parity, no flow control.
-
Start the application.
-
The program will output a startup message on the DBGU:
-- Basic NandFlash Project 1.4 --
-
Tests will then be performed on each block; the status is displayed on the DBGU.
Atmel Corporation ©2008