GD32W51x User Manual
798
READ_BL_LEN
: Max read data block length.
NSAC
: Data read access-time 2 in CLK cycles.
TAAC
: Data read access-time.
R2W_FACTOR
: Write speed factor.
All the parameters are defined in CSD register. If the host attempts to use a higher frequency,
the card may not be able to process the data and will stop programming, and while ignoring
all further data transfer, wait (in the Receive-data-State) for a stop command. As the host
sends CMD12, the card will respond with the RXORE bit set and return to Transfer state bit
set and return to Transfer state
23.6.6.
Erase
The erasable unit of the MMC/SD memory is the
“
Erase Group
”
; Erase group is measured in
write blocks which are the basic writable units of the card. The size of the Erase Group is a
card specific parameter and defined in the CSD.
The host can erase a contiguous range of Erase Groups. Starting the erase process is a three
steps sequence. First the host defines the start address of the range using the
ERASE_GROUP_START (CMD35)/ERASE_WR_BLK_START(CMD32) command, next it
defines the last address of the range using the ERASE_GROUP_END
(CMD36)/ERASE_WR_BLK_END(CMD33) command and finally it starts the erase process
by issuing the ERASE (CMD38) command. The address field in the erase commands is an
Erase Group address in byte units. The card will ignore all LSB
’
s below the Erase Group size,
effectively rounding the address down to the Erase Group boundary.
If an erase command (CMD35, CMD36, and CMD38) is received out of the defined erase
sequence, the card shall set the ERASE_SEQ_ERROR bit in the status register and reset
the whole sequence.
If the host provides an out of range address as an argument to CMD35 or CMD36, the card
will reject the command, respond with the ADDRESS_OUT_OF_RANGE bit set and reset the
whole erase sequence.
If an ‘non erase’ command (neither of CMD35, CMD36, CMD38 or CMD13) is received, the
card shall respond with the ERASE_RESET bit set, reset the erase sequence and execute
the last command.
If the erase range includes write protected blocks, they shall be left intact and only the non-
protected blocks shall be erased. The WP_ERASE_SKIP status bit in the status register shall
be set.
As described above for block write, the card will indicate that an erase is in progress by
holding D0 low. The actual erase time may be quite long, and the host may issue CMD7 to
deselect the card.
Содержание GD32W515 Series
Страница 1: ...GigaDevice Semiconductor Inc GD32W51x Arm Cortex M33 32 bit MCU User Manual Revision 1 0 Nov 2021 ...
Страница 66: ...GD32W51x User Manual 66 Bits Fields Descriptions 31 0 UNIQUE_ID 95 64 Unique device ID ...
Страница 389: ...GD32W51x User Manual 389 The FWDGT timeout can be more accurate by calibrating the IRC32K ...
Страница 504: ...GD32W51x User Manual 504 ...
Страница 710: ...GD32W51x User Manual 710 ...