
HB288016MM1
56
CMD index SPI mode Argument
Resp Abbreviation
Command description
CMD24
Yes
[31:0] data
address
R1b*
3
WRITE_BLOCK
writes a block of the size selected by
the SET_BLOCKLEN command.*
4
CMD25
No
CMD26
No
CMD27
Yes
None
R1b
PROGRAM_CSD
programming of the programmable
bits of the CSD.
CMD28
Yes
[31:0] data
address
R1b
SET_WRITE_
PROT
if the card has write protection
features, this command sets the
write protection bit of the addressed
group. The properties of write
protection are coded in the card
specific data (WP_GRP_SIZE).
CMD29
Yes
[31:0] data
address
R1b
CLR_WRITE_
PROT
if the card has write protection
features, this command clears the
write protection bit of the addressed
group.
CMD30
Yes
[31:0] write protect
data address
R1
SEND_WRITE_
PROT
if the card has write protection
features, this command asks the
card to send the status of the write
protection bits.*
5
CMD31
reversed
CMD32
Yes
[31:0] data
address
R1
TAG_SECTOR_
START
sets the address of the first sector of
the erase group.
CMD33
Yes
[31:0] data
address
R1
TAG_SECTOR_
END
sets the address of the last sector in
a continuous range within the
selected erase group, or the address
of a single sector to be selected for
erase.
CMD34
Yes
[31:0] data
address
R1
UNTAG_SECTOR removes one previously selected
sector from the erase selection.
CMD35
Yes
[31:0] data
address
R1
TAG_ERASE_
GROUP_START
sets the address of the first erase
group within a range to be selected
for erase
CMD36
Yes
[31:0] data
address
R1
TAG_ERASE_
GROUP_END
sets the address of the last erase
group within a continuous range to
be selected for erase
CMD37
Yes
[31:0] data
address
R1
UNTAG_ERASE_
GROUP
removes one previously selected
erase group from the erase selection
CMD38
Yes
[31:0] stuff bits
R1b
ERASE
erases all previously selected
sectors
CMD39
No
CMD40
No