10.07.2015 Views

SanDisk SD Card

SanDisk SD Card

SanDisk SD Card

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Revision 2.2Chapter 4 – <strong>SD</strong> <strong>Card</strong> Protocol Description<strong>SanDisk</strong> <strong>SD</strong> <strong>Card</strong> Product ManualCMD Index Type Argument Resp. Abbreviation DescriptionCMD3 bcr [31:0]stuffbitsCMD4 bcr [31:0]stuffbitsCMD5CMD7 ac [31:16]RCA[15:0] don’tcareR6 SEND_RELATIVE_ADDR Asks the card to publisha new relative address--- SET_DSR Programs the DSR of allcardsReserved for I/O cards (refer to the <strong>SD</strong>IO <strong>Card</strong> Specification)R1b(fromselectedcardonly)SELECT/DESELECT_CARDToggles card betweenthe stand-by andtransfer states -orprogramminganddisconnect states. Inboth cases, the card isselected by its ownrelative address anddeselected by any otheraddress; address 0deselects all. If theRCA=0, the host may doone of the following:>>Use other RCAnumber to perform cardde-selection.>>Re-send CMD3 tochange its RCA numberto other than 0 and useCMD7 w/RCA=0 for cardde-selectionCMD8ReservedCMD9 ac [31:16]RCA[15:0] stuffbitsCMD10 ac [31:16]RCA[15:0] stuffbitsCMD11ReservedCMD12 ac [31:0] stuffbitsCMD13 ac [31:16]RCA[15:0] stuffbitsCMD14ReservedCMD15 ac [31:16]RCA[15:0] stuffbitsR2 SEND_C<strong>SD</strong> Sends addressed card’scard-specific data (C<strong>SD</strong>)on the CMD line.R2 SEND_CID Sends addressed card’scard identification (CID)on the CMD line.R1b STOP_TRANSMISSION Forces the card to stoptransmission.R1 SEND_STATUS Sends addressed card’sStatus Register.--- GO_INACTIVE_STATE Sets the card to inactivestate.Block Read Commands (Class 2)CMD16 ac [31:0] blocklengthR1 SET_BLOCKLEN Sets the block length (inbytes) for all followingblock commands (read,write, lock). Defaultblock length is fixed512Bytes. If block lengthis set bigger than512Bytes, the card willset theBLOCK_LEN_ERRORbit. Supported only ifPartial block RD/WRoperation are allowed in© 2004 <strong>SanDisk</strong> Corporation 4-33 12/08/04

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

Saved successfully!

Ooh no, something went wrong!