GD32F10x User Manual
537
Cmd
index
type argument
Response
format
Abbreviation
Description
address
UP_END
group within a continuous range to be
selected for erase.(MMC)
CMD38
ac
[31:0] stuff
bits
R1b
ERASE
Erases all previously selected write blocks.
Note:
1.CMD34 and CMD37 are reserved in order to maintain backwards compatibility with older
versions of the MMC.
2. Data address is in byte units in a Standard Capacity SD Memory Card and in block (512 Byte) units
in a High Capacity SD Memory Card.
Table 19-9. Block oriented write protection commands (class 6)
Cmd
index
type argument
Response
format
Abbreviation
Description
CMD28
ac
[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).
A High Capacity SD Memory Card does not
support this command.
CMD29
ac
[31:0] data
address
R1b
CLR_WRITE_
PROT
If the card provides write protection features,
this command clears the write protection bit
of the addressed group.
CMD30 adtc
[31:0] write
protect
data
address
R1
SEND_WRITE
_PROT
If the card provides write protection features,
this command asks the card to send the
status of the write protection bits.
Note:
1. High Capacity SD Memory Card does not support these three commands.
Table 19-10. Lock card (class 7)
Cmd
index
type argument
Response
format
Abbreviation
Description
CMD16
ac
[31:0] block
length
R1
SET_BLOCK_
LEN
See description in
Oriented read commands (class 2)
CMD42 adtc
[31:0]
Reserved
bits (Set all
0)
R1
LOCK_UNLO
CK
Used to set/reset the password or
lock/unlock the card. The size of the data
block is set by the SET_BLOCK_LEN
command.
Reserved bits in the argument and in Lock
Card Data Structure shall be set to 0.
Summary of Contents for GD32F10 Series
Page 63: ...GD32F10x User Manual 63 programmed during the chip production ...
Page 117: ...GD32F10x User Manual 117 010 1 0 011 0 9 ...
Page 416: ...GD32F10x User Manual 416 shadow register updates every update event ...
Page 427: ...GD32F10x User Manual 427 value ...
Page 518: ...GD32F10x User Manual 518 These bits are not used in SPI mode ...