Microchip® Advanced Software Framework

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Flash-memories commands

Define the maximum timeout of the Nand Flash.

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

Macros

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

#define NF_BLOCK_ERASE_CMD   0x60

Erase command.

Referenced by nf_erase_block().

#define NF_BLOCK_ERASE_CONFIRM_CMD   0xD0

Confirm erase command.

Referenced by nf_erase_block().

#define NF_CACHE_PROGRAM_CMD   0x15

Cache program (fast) command (2KB)

#define NF_COPY_BACK_CMD   0x35

Copy-back command (2KB)

Referenced by nf_copy_back_init().

#define NF_PAGE_PROGRAM_CMD   0x10

Page Program command.

Referenced by main(), and nf_mark_bad_block().

#define NF_RANDOM_DATA_INPUT_CMD   0x85

Random data input command (2KB)

Referenced by main().

#define NF_RANDOM_READ_CMD_C1   0x05

Random read Command (2KB)

Referenced by main().

#define NF_RANDOM_READ_CMD_C2   0xE0

Confirm random read Command (2KB)

Referenced by main().

#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)

Referenced by nf_copy_back_init().

#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.

Referenced by main(), and nfc_detect().

#define NF_READ_STATUS_CMD   0x70

Read Status command.

Referenced by nf_wait_busy().

#define NF_RESET_CMD   0xff

Reset command.

Referenced by nf_reset_nands().

#define NF_SEQUENTIAL_DATA_INPUT_CMD   0x80

Sequential data input command.