User Manual

SPI Protocol Definition
TriFlash with SD Interface Product Manual (Preliminary), Rev. 1.2 © 2002/2003 SANDISK CORPORATION
5-13
7 Byte 1 0 7 Byte 2 0
0
Card is Locked
WP Erase Skip, Lock/Unlock Cmd Failed
Error
CC Error
Card ECC Failed
WP Violation
Erase Param
Out of Range, CSD_Overwrite
In Idle State
Erase Reset
Illegal Command
Com CRC Error
Erase Sequence Error
Address Error
Parameter Error
Figure 5-8. R2 Response Format
The first byte is identical to response R1. The content of the second byte is described below:
Erase param: An invalid selection, sectors for erase.
Write protect violation: The command tried to write a write-protected block.
Device ECC failed: Device internal ECC was applied but failed to correct the data.
CC error: Internal device controller error.
Error: A general or an unknown error occurred during the operation.
Write protect erase skip: Only partial address space was erased due to existing WP blocks.
Card is locked: not supported by the SanDisk TriFlash.
5.2.3.4. Format R3
This response token is sent by the device when a READ_OCR command is received. The response length is 5 bytes.
The structure of the first (MSB) byte is identical to response type R1. The other four bytes contain the OCR register.
39 3231 0
0
R1 OCR
Figure 5-9. R3 Response Format