SanDisk SDSDH-1024 Product Manual - Page 106

Table 5-3, SPI Mode Status Bits

Page 106 highlights

Revision 2.2 Chapter 5 - SPI Protocol SD Card Product Manual Table 5-3 Identifier SPI Mode Status Bits Inc in Resp. Type Value Out of range R2 DataErr E R X Address error R1 R2 E R X 0=no error 1= error 0=no error 1= error Erase seq. R1 R2 E R error Erase param R2 E X Parameter error WP violation R1 R2 R2 E R X E R X Com CRC error Illegal command Card ECC failed CC error Error R1 R2 E R R1 R2 E R R2 DataErr E X R2 DataErr E R X R2 DataErr E R X CSD overwrite R2 E R X 0=no error 1= error 0=no error 1= error 0=no error 1= error 0=not protected 1=protected 0=no error 1= error 0=no error 1= error 0=success 1=failure 0=no error 1= error 0=no error 1= error 0=no error 1= error WP erase skip R2 S X Lock/unlock R2 X command failed Card is locked R2 S X Erase reset R1 R2 S R 0=not protected 1=protected 0=no error 1= error 0=not locked 1=locked 0=cleared 1=set Description Command argument was out of the allowed range for this card. Misaligned address which did not match the block length was used in the command Error occurred in erase command sequence Error in the erase command sequence parameters Error occurred in command parameters Attempt to program a write- protected block Clear Condi- tion C C C C C CRC check of the C command failed Command not legal for C the card state Card internal ECC was C applied but failed to correct data Internal card controller C error General or unknown C error occurred during the operation Can be either on of the C following errors: 1) Read-only section of the CSD does not match the card content 2) Attempt to reverse the copy (set as original) or permanent WP (unprotected) bits was made Partial address space C erased due to existing write protected blocks Sequence or password C error during card lock/unlock operation Card locked by a user A password Erase sequence was C cleared before executing because an out-of-erase seqence command was © 2004 SanDisk Corporation 5-16 12/08/04

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123

Chapter 5 – SPI Protocol
Revision 2.2
SD Card Product Manual
© 2004 SanDisk Corporation
5-16
12/08/04
Table 5-3
SPI Mode Status Bits
Identifier
Inc in Resp.
Type
Value
Description
Clear
Condi-
tion
Out of range
R2 DataErr
E R X
0=no error
1= error
Command argument
was out of the allowed
range for this card.
C
Address error
R1 R2
E R X
0=no error
1= error
Misaligned address
which did not match
the block length was
used in the command
C
Erase seq.
error
R1 R2
E R
0=no error
1= error
Error occurred in erase
command sequence
Erase param
R2
E X
0=no error
1= error
Error in the erase
command sequence
parameters
C
Parameter
error
R1 R2
E R X
0=no error
1= error
Error occurred in
command parameters
C
WP violation
R2
E R X
0=not
protected
1=protected
Attempt to program a
write- protected block
C
Com CRC
error
R1 R2
E R
0=no error
1= error
CRC check of the
command failed
C
Illegal
command
R1 R2
E R
0=no error
1= error
Command not legal for
the card state
C
Card ECC
failed
R2 DataErr
E X
0=success
1=failure
Card internal ECC was
applied but failed to
correct data
C
CC error
R2 DataErr
E R X
0=no error
1= error
Internal card controller
error
C
Error
R2 DataErr
E R X
0=no error
1= error
General or unknown
error occurred during
the operation
C
CSD overwrite
R2
E R X
0=no error
1= error
Can be either on of the
following errors: 1)
Read-only section of
the CSD does not
match the card content
2) Attempt to reverse
the copy (set as
original) or permanent
WP (unprotected) bits
was made
C
WP erase skip
R2
S X
0=not
protected
1=protected
Partial address space
erased due to existing
write protected blocks
C
Lock/unlock
command
failed
R2
X
0=no error
1= error
Sequence or password
error during card
lock/unlock operation
C
Card is locked
R2
S X
0=not locked
1=locked
Card locked by a user
password
A
Erase reset
R1 R2
S R
0=cleared
1=set
Erase sequence was
cleared before
executing because an
out-of-erase seqence
command was
C