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 Description(representing 32 writeprotectgroups starting atthe specified address)followed by 16 CRC bitsare transferred in apayload format via thedata line. The last (leastsignificant) bit of theprotection bitscorresponds to the firstaddressed group. If theaddresses of the lastgroups are outside thevalid range, then thecorresponding writeprotectionbits shall beset to zero.CMD31ReservedErase Commands (Class 5)CMD32 ac [31:0] dataaddressCMD33 ac [31:0] dataaddressCMD38 ac [31:0] don’tcareCMD39ReservedR1 ERASE_WR_BLK_START Sets the address of thefirst write block to beerased.R1 ERASE_WR_BLK_END Sets the address of thelast write block of thecontinuous range to beerased.R1b ERASE Erases all previouslyselected write blocks.CMD40 --- --- --- --- Not valid in <strong>SD</strong> Memory<strong>Card</strong> -Reserved forMultiMedia<strong>Card</strong> I/Omode.CMD41ReservedI/O Mode Commands (Class 9)CMD39CMD40CMD41MMCA Optional Command, currently not supported.ReservedLock <strong>Card</strong> Commands (Class 7)CMD16 ac [31:] blocklengthCMD42 adtc [31:0] stuffbitsR1 SET_BLOCKLEN Sets the block length (inbytes) for all followingblock commands (read,write, lock). Defaultblock length is specifiedin the C<strong>SD</strong>. Supportedonly if Partial blockRD/WR operation areallowed in C<strong>SD</strong>.R1 LOCK_UNLOCK Used to set/reset thepassword or lock/unlockthe card. The size of thedata block is set by theSET_BLOCK_LENcommand.© 2004 <strong>SanDisk</strong> Corporation 4-35 12/08/04

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

Saved successfully!

Ooh no, something went wrong!