10.07.2015 Views

SanDisk SD Card

SanDisk SD Card

SanDisk SD Card

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Revision 2.2Chapter 4 – <strong>SD</strong> <strong>Card</strong> Protocol Description<strong>SanDisk</strong> <strong>SD</strong> <strong>Card</strong> Product ManualTable 4-7Force Erase Function to Locked <strong>Card</strong>CMD42 Parameter PWP 14 TWP 15 Result of the Function <strong>Card</strong> StatusGWP 16Bit3 Bit2 Bit1 Bit0Bit25Bit241 0 0 0 Yes Don’t care Error 17 1 11 to 0 01 0 0 0 No Yes Execute force erase & clearGroup Write Protect 18Temporary Write Protect and1 0 0 0 No No Execute force erase 1 to 0 0• Relation between ACMD6 and Lock/Unlock StateACMD6 is rejected when the card is locked and bus width can be changed only when thecard is unlocked. Figure 4-11 shows the relation between ACMD6 and Lock / Unlock state.Table 4-8Relationship between ACMD6 and Lock/Unlock State<strong>Card</strong> State Bus Mode Result of the FunctionUnlocked 1-bit ACMD6 is acceptedLocked 1-bit ACMD6 is rejected and remains in 1-bit modeUnlocked 4-bit ACMD6 is acceptedLocked 4-bit ACMD6 is rejected and remains in 4-bit mode; CMD0 changes to 1-bitmodeNote: After power on (in 1-bit mode), if the card is locked, the <strong>SD</strong> mode host shall issueCMD42 in 1-bit mode. If the card is locked in 4-bit mode, the <strong>SD</strong> mode host shall issueCMD42 in 4-bit mode.• Commands Accepted for Locked <strong>Card</strong>The locked card will accept commands listed below and return a response with settingCARD_IS_LOCKED.− Basic class (0)− Lock card class (7)− CMD16− ACMD41All other commands (including security commands) are treated as illegal commands.Note: After power on, the host can recognize the card lock/unlock state by theCARD_IS_LOCKED in the response of CMD7 or CMD13.4.4.8 Application-specific CommandsThe <strong>SanDisk</strong> <strong>SD</strong> <strong>Card</strong> is defined to be protocol-forward-compatible to the MultiMedia<strong>Card</strong>Standard.The <strong>SD</strong> <strong>Card</strong> system is designed to provide a standard interface for a variety applicationtypes. In order to keep future compatibility to the MultiMedia<strong>Card</strong> standard together with14 Write Protection PWP: Permanent Write Protect (C<strong>SD</strong> bit13).15 Write Protection TWP: Temporary Write Protect (C<strong>SD</strong> bit12).16 Write Protection GWP: Group Write Protect (CMD28, CMD29, CMD30).17 Refer to Note 2 in Table 4-6.18 Refer to Note 3 in Table 4-6.© 2004 <strong>SanDisk</strong> Corporation 4-18 12/08/04

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!