Flash-memories commands


Detailed Description

Define the maximum timeout of the Nand Flash.

Set of commands of the FLASH memories (NF, SMC, ...)


Defines

#define NF_BLOCK_ERASE_CMD   0x60
 Erase command.
#define NF_BLOCK_ERASE_CONFIRM_CMD   0xD0
 Confirm erase command.
#define NF_CACHE_PROGRAM_CMD   0x15
 Cache program (fast) command (2KB).
#define NF_COPY_BACK_CMD   0x35
 Copy-back command (2KB).
#define NF_PAGE_PROGRAM_CMD   0x10
 Page Program command.
#define NF_RANDOM_DATA_INPUT_CMD   0x85
 Random data input command (2KB).
#define NF_RANDOM_READ_CMD_C1   0x05
 Random read Command (2KB).
#define NF_RANDOM_READ_CMD_C2   0xE0
 Confirm random read Command (2KB).
#define NF_READ_A_AREA_CMD   0x00
 Read Command of zone A (512B).
#define NF_READ_B_AREA_CMD   0x01
 Read Command of zone B (512B).
#define NF_READ_C_AREA_CMD   0x50
 Read Command of zone C (spare) (512B).
#define NF_READ_CMD   0x00
 Read Command (2KB).
#define NF_READ_CMD2   0x30
 Confirm read Command (2KB).
#define NF_READ_ID2_CMD   0x91
 Read ID 2 Command.
#define NF_READ_ID_CMD   0x90
 Read ID Command.
#define NF_READ_STATUS_CMD   0x70
 Read Status command.
#define NF_RESET_CMD   0xff
 Reset command.
#define NF_SEQUENTIAL_DATA_INPUT_CMD   0x80
 Sequential data input command.


Define Documentation

#define NF_BLOCK_ERASE_CMD   0x60

Erase command.

Definition at line 618 of file nf.h.

Referenced by nf_erase_block().

#define NF_BLOCK_ERASE_CONFIRM_CMD   0xD0

Confirm erase command.

Definition at line 619 of file nf.h.

Referenced by nf_erase_block().

#define NF_CACHE_PROGRAM_CMD   0x15

Cache program (fast) command (2KB).

Definition at line 616 of file nf.h.

#define NF_COPY_BACK_CMD   0x35

Copy-back command (2KB).

Definition at line 615 of file nf.h.

Referenced by nf_copy_back_init().

#define NF_PAGE_PROGRAM_CMD   0x10

Page Program command.

Definition at line 612 of file nf.h.

Referenced by main(), and nf_mark_bad_block().

#define NF_RANDOM_DATA_INPUT_CMD   0x85

Random data input command (2KB).

Definition at line 614 of file nf.h.

#define NF_RANDOM_READ_CMD_C1   0x05

Random read Command (2KB).

Definition at line 603 of file nf.h.

#define NF_RANDOM_READ_CMD_C2   0xE0

Confirm random read Command (2KB).

Definition at line 604 of file nf.h.

#define NF_READ_A_AREA_CMD   0x00

Read Command of zone A (512B).

Definition at line 597 of file nf.h.

#define NF_READ_B_AREA_CMD   0x01

Read Command of zone B (512B).

Definition at line 598 of file nf.h.

#define NF_READ_C_AREA_CMD   0x50

Read Command of zone C (spare) (512B).

Definition at line 599 of file nf.h.

#define NF_READ_CMD   0x00

Read Command (2KB).

Definition at line 601 of file nf.h.

Referenced by nf_copy_back_init().

#define NF_READ_CMD2   0x30

Confirm read Command (2KB).

Definition at line 602 of file nf.h.

#define NF_READ_ID2_CMD   0x91

Read ID 2 Command.

Definition at line 607 of file nf.h.

#define NF_READ_ID_CMD   0x90

Read ID Command.

Definition at line 606 of file nf.h.

Referenced by main(), nf_check_type(), and nfc_detect().

#define NF_READ_STATUS_CMD   0x70

Read Status command.

Definition at line 621 of file nf.h.

Referenced by nf_wait_busy(), and nfc_nf_is_ready().

#define NF_RESET_CMD   0xff

Reset command.

Definition at line 609 of file nf.h.

Referenced by nf_reset_nands().

#define NF_SEQUENTIAL_DATA_INPUT_CMD   0x80

Sequential data input command.

Definition at line 611 of file nf.h.


Generated on Fri Feb 19 02:23:50 2010 for AVR32 - Nand Flash using EBI by  doxygen 1.5.5