Flash-memories commands

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

Defines

#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_RANDOM_READ_CMD_C1   0x05
 Random read Command (2KB).
#define NF_RANDOM_READ_CMD_C2   0xE0
 Confirm random read Command (2KB).
#define NF_READ_ID_CMD   0x90
 Read ID Command.
#define NF_READ_ID2_CMD   0x91
 Read ID 2 Command.
#define NF_RESET_CMD   0xff
 Reset command.
#define NF_SEQUENTIAL_DATA_INPUT_CMD   0x80
 Sequential data input command.
#define NF_PAGE_PROGRAM_CMD   0x10
 Page Program command.
#define NF_RANDOM_DATA_INPUT_CMD   0x85
 Random data input command (2KB).
#define NF_COPY_BACK_CMD   0x35
 Copy-back command (2KB).
#define NF_CACHE_PROGRAM_CMD   0x15
 Cache program (fast) command (2KB).
#define NF_BLOCK_ERASE_CMD   0x60
 Erase command.
#define NF_BLOCK_ERASE_CONFIRM_CMD   0xD0
 Confirm erase command.
#define NF_READ_STATUS_CMD   0x70
 Read Status command.

Detailed Description

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

..)


Define Documentation

#define NF_READ_A_AREA_CMD   0x00

Read Command of zone A (512B).

Definition at line 284 of file nf_drv.h.

#define NF_READ_B_AREA_CMD   0x01

Read Command of zone B (512B).

Definition at line 285 of file nf_drv.h.

#define NF_READ_C_AREA_CMD   0x50

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

Definition at line 286 of file nf_drv.h.

#define NF_READ_CMD   0x00

Read Command (2KB).

Definition at line 288 of file nf_drv.h.

Referenced by nfc_copy_back_init().

#define NF_READ_CMD2   0x30

Confirm read Command (2KB).

Definition at line 289 of file nf_drv.h.

#define NF_RANDOM_READ_CMD_C1   0x05

Random read Command (2KB).

Definition at line 290 of file nf_drv.h.

#define NF_RANDOM_READ_CMD_C2   0xE0

Confirm random read Command (2KB).

Definition at line 291 of file nf_drv.h.

#define NF_READ_ID_CMD   0x90

Read ID Command.

Definition at line 293 of file nf_drv.h.

Referenced by nfc_check_type(), and nfc_detect().

#define NF_READ_ID2_CMD   0x91

Read ID 2 Command.

Definition at line 294 of file nf_drv.h.

#define NF_RESET_CMD   0xff

Reset command.

Definition at line 296 of file nf_drv.h.

Referenced by nfc_reset_nands().

#define NF_SEQUENTIAL_DATA_INPUT_CMD   0x80

Sequential data input command.

Definition at line 298 of file nf_drv.h.

#define NF_PAGE_PROGRAM_CMD   0x10

Page Program command.

Definition at line 299 of file nf_drv.h.

Referenced by nf_copy(), nf_copy_tail(), nf_dfc_write_stop(), nf_open_write(), nf_write_10(), nf_write_fbb(), nf_write_lut(), and nfc_mark_bad_block().

#define NF_RANDOM_DATA_INPUT_CMD   0x85

Random data input command (2KB).

Definition at line 301 of file nf_drv.h.

Referenced by nf_copy(), nf_copy_tail(), and nf_update_spare_zone().

#define NF_COPY_BACK_CMD   0x35

Copy-back command (2KB).

Definition at line 302 of file nf_drv.h.

Referenced by nfc_copy_back_init().

#define NF_CACHE_PROGRAM_CMD   0x15

Cache program (fast) command (2KB).

Definition at line 303 of file nf_drv.h.

Referenced by nf_write_10().

#define NF_BLOCK_ERASE_CMD   0x60

Erase command.

Definition at line 305 of file nf_drv.h.

Referenced by nfc_erase_block().

#define NF_BLOCK_ERASE_CONFIRM_CMD   0xD0

Confirm erase command.

Definition at line 306 of file nf_drv.h.

Referenced by nfc_erase_block().

#define NF_READ_STATUS_CMD   0x70

Read Status command.

Definition at line 308 of file nf_drv.h.

Referenced by nfc_nf_is_ready(), and nfc_wait_busy().


Generated on Wed Sep 23 09:17:19 2009 for ATMEL by  doxygen 1.5.3