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 5 – SPI Protocol<strong>SD</strong> <strong>Card</strong> Product ManualCMDIndexSPIModeArgument Resp Abbreviation DescriptionCMD29 Yes [31:0] data address R1b CLR_WRITE_PROTCMD30 Yes [31:0] write protect dataaddressCMD31ReservedR1SEND_WRITE_PROTCMD32 Yes [31:0] data address R1 ERASE_WR_BLK_START_ADDRCMD33 Yes [31:0] data address R1 ERASE_WR_BLK_END_ADDRCMD34…CMD37(WP_GRP_SIZE).If the card has writeprotection features,this command clearsthe write protection bitof the addressedgroup.If the card has writeprotection features,this command asksthe card to send thestatus of the writeprotection bits.Sets the address ofthe first write block tobe erased.Sets the address ofthe last write block ina continuous range tobe erased.Reserved for each command system set by switch function command (CMD6). Detaileddefinition can be referenced in each command system specification.CMD38 Yes [31:0] stuff bits R1b ERASE Erases all previouslyselected write blocks.CMD39 No --- --- --- ---CMD40 No --- --- --- ---CMD41ReservedCMD42 Yes [31:0] stuff bits R1 LOCK_UNLOCK Used to set/re-set thepassword orlock/unlock the card.A transferred datablock includes all thecommand details. Thesize of the data blockis defined withSET_BLOCK_LENcommand.CMD43-CMD49CMD51CMD50CMD52…CMD54Reserved.Reserved for each command system set by switch function command (CMD6). Detaileddefinition can be referenced in each command system specification.Reserved for I/O mode (refer to <strong>SD</strong>IO <strong>Card</strong> Specification).CMD55 Yes [31:0] stuff bits R1 APP_CMD Notifies the card thatthe next command isan application-specificcommand rather thana standard command.© 2004 <strong>SanDisk</strong> Corporation 5-11 12/08/04

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

Saved successfully!

Ooh no, something went wrong!