****************************************************************************

This Source Example is associated with Rev 1 of the Application Note


    Interfacing NAND Flash Memory with ADSP-21161 SHARC Processors (EE-278)  


that can be found at http://www.analog.com/ee-notes.


Analog Devices, Inc.
DSP Division
Three Technology Way
P.O. Box 9106
Norwood, MA 02062

Date Created:	11/17/2005
----------------------------------------------------------------------------

Description of the EE-Note:

The objective of NAND Flash is to provide an alternative to the hard disks especially 
in the case of portable and handheld systems. Cellular phones, personal digital assistants 
(PDA), digital cameras, MP3 players and other mobile computing, communications, and 
consumer products use Flash memory as the primary storage media. Applications use NAND 
Flash memory to store information such as images, data, and music therefore requiring 
much higher density. This application note provides details on how to interface NAND Flash 
memory to ADSP-21161 SHARC® DSP Processors especially considering the fact that 
ADSP-21161 does not have NAND Flash controller on-chip. The interface is demonstrated 
by code examples which are validated on hardware platform. The code examples are provided 
in both “C” and assembly languages. Two different interfacing schemes are described to 
provide more flexibility to the system designer while designing Flash memory interface. 
The memory device part number used to demonstrate this interface is K9F1208U0B, 
manufactured by Samsung Electronics.
-----------------------------------------------------------------------------


Folders in Zip file are:

1. C - Code With A0, A1, BUSY-IRQ :: This contains code in "C" language for Approach B
2. With FLAGs Only - No IRQ :: This conatins ASM code for Approach A
3. With A0, A1, BUSY-IRQ :: This conatins ASM code for Approach B


-----------------------------------------------------------------------------

VisualDSP++ version : VisualDSP++ 4.0


-----------------------------------------------------------------------------

