SanDisk SDSDB-016G-A11 Product Manual - Page 60
Table 4-5, Lock/Unlock Function basic sequence for CMD42
UPC - 619659055639
View all SanDisk SDSDB-016G-A11 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 60 highlights
Revision 2.2 Chapter 4 - SD Card Protocol Description SanDisk SD Card Product Manual Table 4-5 Lock/Unlock Function (basic sequence for CMD42) CMD42 Parameter9 Bit3 Bit2 Bit1 Bit0 Current Card State PWD_LEN and PWD Result of the Function After power on Exist Card is locked 1 0 0 0 Locked Cleared Exist Card is unlocked Force Erase11 1 0 0 0 Unlocked Exist 1 0 0 0 Unlocked Cleared 0 1 0 0 Locked Exist 0 1 0 0 Unlocked Exist 0 1 0 0 Unlocked Cleared 0 1 0 1 Locked Exist 0 1 0 1 Unlocked Exist 0 1 0 1 Unlocked Cleared 0 0 1 0 Locked Exist 0 0 1 0 Unlocked Exist 0 0 1 0 Unlocked Cleared 0 0 0 1 Locked Exist 0 0 0 1 Unlocked Exist 0 0 0 1 Unlocked Cleared 0 0 0 0 Locked Exist 0 0 0 0 Unlocked Exist 0 0 0 0 Unlocked Cleared Other combinations Don't care Don't care Error Error Error Lock card Error Replace password & card remains locked Replace password & card is locked Set password & lock card Clear PWD_LEN & PWD to unlock card Clear PWD_LEN & PWD Error12 Replace password & card is unlocked Replace password & card is unlocked Set password & card remains unlocked Unlock card Error Error Error13 Card Status10 Bit25 Bit24 1 0 0 0 Table Table 4-2 4-2 0 1 0 1 1 1 0 to 1 0 to 1 0 1 1 0 0 to 1 0 0 to 1 0 1 to 0 0 0 0 0 1 1 to 0 0 0 0 0 0 1 to 0 0 0 1 0 1 0 or 1 1 Note: To replace password, the host should consider following cases. When PWD LEN and password data exist, the card assumes old and new passwords are set in the data structure. When PWD LEN and PWD are cleared, the card assumes only new password is set in the data structure. In this case, the host shall not set old password in the data structure; otherwise, unexpected password is set. 9 CMD42 parameter in the data: Bit3-ERASE, Bit2-LOCK_UNLOCK, Bit1-CLR_PWD, Bit0-SET_PWD. 10 Related bits in the card status: Bit25-CARD_IS_LOCKED, Bit24-LOCK_UNLOCK_FAILED. 11 Refer to Table 4-6. 12 Refer to Note 1 in Table 4-6. 13 Ibid. © 2004 SanDisk Corporation 4-16 12/08/04