关于Block(块)和sector(扇区):(在针对于SD卡和文件系统)
1. 在SD卡上:
block : A number of bytes, basic data transfer unit
(SD中最小的读写单位)。
block length 可以被 SET_BLOCKLEN (CMD16)设置 。
SDHC and SDXC block length 是固定的512Bytes。
协议原文:
7.2.3 Data Read
The SPI mode supports single block read and Multiple Block read operations (CMD17 or CMD18 in the
SD Memory Card protocol). Upon reception of a valid read command the card will respond with a
response token followed by a data token (refer to Figure 7-3). In case of Standard Capacity Card, the
size in the data token is determined by the block length set by SET_BLOCKLEN (CMD16). In case of
SDHC and SDXC Cards, block length is fixed to 512
Bytes regardless of the block length set by
CMD16.
1. 在SD卡上:
block :
block length 可以被 SET_BLOCKLEN (CMD16)设置 。
SDHC and SDXC block length 是固定的512Bytes。
协议原文:
7.2.3 Data Read
The SPI mode supports single block read and Multiple Block read operations (CMD17 or CMD18 in the
SD Memory Card protocol). Upon reception of a valid read command the card will respond with a
response token followed by a data token (refer to Figure 7-3). In case of Standard Capacity Card, the
size in the data token is determined by the block length set by SET_BLOCKLEN (CMD16).
SDHC and SDXC Cards, block length is fixed to
CMD16.
