logo资料库

CSD_Register(SD卡资料).pdf

第1页 / 共15页
第2页 / 共15页
第3页 / 共15页
第4页 / 共15页
第5页 / 共15页
第6页 / 共15页
第7页 / 共15页
第8页 / 共15页
资料共15页,剩余部分请下载后查看
原文:SanDisk Secure Digital Card - Product Manual (Version 1.9 Document No. 80-13-00169 December 2003) 第 3 章的关于 CSD 寄存器的描述内容。 译者:醇酒 2007.11.5 (请尊重我的劳动,勿抄袭和修改本文中的内容),若文中翻译有不妥之处,请 Email 至:chunjiu○a 263.net 处指正,不胜感激! 3.5.3. CSD Register The Card Specific Data (CSD) register contains configuration information required to access the card data. In Table 3-10, the cell type column defines the CSD field as Read only (R), One Time Programmable (R/W) or erasable (R/W/E). This table shows the value in “real world” units for each field and coded according to the CSD structure. The Model dependent column marks ( with a check mark, √ ) the CSD fields that are model dependent. Note that the CSD register in the SD Card has a different structure than the CSD in the MultiMediaCard. 此卡的描述数据寄存器(CSD)包含了访问该卡数据时的必要配置信息。在表3-10里,“cell type”栏内定义了CSD的区域是只读(R)、一次编程(R/W) 或可擦除的(R/W/E)[译者注:原文错误,原文表内没有(R/W/E)这个内容,正确信息为:“R/W”是指可以多次擦写,“R/W(1)”是指只能一次写入, 不可擦除]。该张表中所显示的值都对应真实的CSD结构中的各自区域和编码。CSD区域的样式是依照栏标记(和一个复选标记√)的样式。注意SD卡内的 CSD寄存器和MultiMedia卡的CSD寄存器有着不同的结构。 ------------------------------------------------------------------------------------------------------------------------------------ 原文中此处是表3-10,本节请参阅下一页的表格 ------------------------------------------------------------------------------------------------------------------------------------ NOTE: The device size indicates the user area size. It does not include the protected area that is used for security applications and is about 1 percent of the total card size. 注意:这个设备的大小指示的是用户区域的大小。它不包括用于安全应用的保护区域,这个区域大约占用了卡上总容量的1%。 The following sections describe the CSD fields and the relevant data types. If not explicitly defined otherwise, all bit strings are interpreted as binary coded numbers starting with the left bit first. 随后的章节说明了这些CSD区域和相关数据类型。如果不做其它明确的定义,所有的位串都是将左边位作为首位的二进制编码。 ------------------------------------------------------------------------------------------------------------------------------------ 译者注:下一页表格中的每一项都有详细描述,相关内容跟随在表格之后。 我的个人空间:http://www.icdev.com.cn/?474/ 第 1 页 共 15 页
原文:SanDisk Secure Digital Card - Product Manual (Version 1.9 Document No. 80-13-00169 December 2003) 第 3 章的关于 CSD 寄存器的描述内容。 译者:醇酒 2007.11.5 (请尊重我的劳动,勿抄袭和修改本文中的内容),若文中翻译有不妥之处,请 Email 至:chunjiu○a 263.net 处指正,不胜感激! Table 3-10. CSD Register Width Cell Type CSD-Slice [127:126] [125:120] Name CSD structure Reserved data read access-time-1 data read access-time-2 in CLK cycles (NSAC*100) max. data transfer rate card command classes max. read data block length partial blocks for read allowed write block misalignment read block misalignment DSR implemented Reserved device size max. read current @VDD min max. read current @VDD max max. write current @VDD min Field CSD_STRUCTURE - TAAC Binary MLC NSAC TRAN_SPEED CCC READ_BL_LEN READ_BL_PARTIAL WRITE_BLK_MISALIGN READ_BLK_MISALIGN DSR_IMP - C_SIZE VDD_R_CURR_MIN VDD_R_CURR_MAX VDD_W_CURR_MIN 2 6 8 8 8 8 12 4 1 1 1 1 2 12 3 3 3 R R R R R R R R R R R R R R R R R All (incl. WP, Lock/unlock) 512byte CSD Value 1.0 - 1.5 msec 10 msec 0 25MHz Yes No No No - SD128=3843 SD064=3807 SD032=1867 SD016= 899 SD008= 831 100mA 80mA 100mA CSD Code 00b 000000b 00100110b 00001111b 00000000b 00110010b 1F5h 1001b 1b 0b 0b 0b 00b F03h EDFh 74Bh 383h 33Fh 111b 110b 111b [119:112] [119:112] [111:104] [103:96] [95:84] [83:80] [79:79] [78:78] [77:77] [76:76] [75:74] [73:62] [61:59] [58:56] [55:53] 我的个人空间:http://www.icdev.com.cn/?474/ 第 2 页 共 15 页
原文:SanDisk Secure Digital Card - Product Manual (Version 1.9 Document No. 80-13-00169 December 2003) 第 3 章的关于 CSD 寄存器的描述内容。 译者:醇酒 2007.11.5 (请尊重我的劳动,勿抄袭和修改本文中的内容),若文中翻译有不妥之处,请 Email 至:chunjiu○a 263.net 处指正,不胜感激! Width Cell Type CSD-Slice [52:50] [49:47] Name Field R R R R R R R R R R R R VDD_W_CURR_MAX C_SIZE_MULT ERASE_BLK_EN SECTOR_SIZE WP_GRP_SIZE WP_GRP_ENABLE max. write current @VDD max device size multiplier erase single block enable erase sector size write protect group size write protect group enable Reserved for MultiMediaCard compatibility write speed factor Binary MLC max. write data block length partial blocks for write allowed WRITE_BL_PARTIAL Reserved File format group copy flag (OTP) permanent write protection temporary write protection File format R/W Reserved R/W CRC - not used, always ’1’ 译者注:此处在原文中有错误,被写成“[1:16] [1:4]”,表中的内容已经修正为正确信息。 - FILE_FORMAT_GRP COPY PERM_WRITE_PROTECT TMP_WRITE_PROTECT FILE_FORMAT 3 3 1 7 7 1 2 3 3 4 1 5 1 1 1 1 2 2 7 1 R2W_FACTOR R2W_FACTOR WRITE_BL_LEN CRC - R/W R/W(1) R/W(1) R/W(1) R/W(1) 我的个人空间:http://www.icdev.com.cn/?474/ 第 3 页 共 15 页 Yes 80mA CSD Value Yes - 32blocks 128sectors SD128=64 SD064=32 SD032=32 SD016=32 SD008=16 CSD Code 110b 100b 011b 011b 011b 010b 1b 0011111b 1111111b 1b 00b 100b 010b 1001b 0 00000b 0b Not Original 1b Not Protected 0b Not Protected 0b HD w/partition 00b 00b CRC7 1b No - 0 512Byte X16 X4 - - - [46:46] [45:39] [38:32] [31:31] [30:29] 见译者注 [28:26] [28:26] [25:22] [21:21] [20:16] [15:15] [14:14] [13:13] [12:12] [11:10] [9:8] [7:1] [0:0]
原文:SanDisk Secure Digital Card - Product Manual (Version 1.9 Document No. 80-13-00169 December 2003) 第 3 章的关于 CSD 寄存器的描述内容。 译者:醇酒 2007.11.5 (请尊重我的劳动,勿抄袭和修改本文中的内容),若文中翻译有不妥之处,请 Email 至:chunjiu○a 263.net 处指正,不胜感激! CSD_STRUCTURE — describes the version of the CSD structure. CSD_STRUCTURE 描述 CSD 结构的版本。 CSD structure CSD_STRUCTURE 2 R [127:126] 1.0 00b Table 3-11. CSD Register Structure CSD_STRUCTURE CSD Structure Version Valid for SD Card Physical Specification Version 备注 0 1-3 CSD version No. 1.0 Reserved Version 1.0-1.01 版本 1.0-1.1 保留 TAAC — Defines the asynchronous part (relative to the SD Card clock (CLK)) of the read access time. TAAC 定义这个异步部分的读操作时间(相对于 SD 卡的时钟(CLK))。 data read access-time-1 TAAC Binary MLC [119:112] [119:112] 8 8 R R 1.5 msec 10 msec 00100110b 00001111b Table 3-12. TAAC Access Time Definition TAAC Bit Position Code 2:0 6:3 7 time unit 0=1ns, 1=10ns, 2=100ns, 3=1µs, 4=10µs, 5=100µs, 6=1ms, 7=10ms time value 0=reserved, 1=1.0, 2=1.2, 3=1.3, 4=1.5, 5=2.0, 6=2.5, 7=3.0, 8=3.5, 9=4.0, A=4.5, B=5.0, C=5.5, D=6.0, E=7.0, F=8.0 Reserved 备注 时间单位 时间数值 保留 我的个人空间:http://www.icdev.com.cn/?474/ 第 4 页 共 15 页
原文:SanDisk Secure Digital Card - Product Manual (Version 1.9 Document No. 80-13-00169 December 2003) 第 3 章的关于 CSD 寄存器的描述内容。 译者:醇酒 2007.11.5 (请尊重我的劳动,勿抄袭和修改本文中的内容),若文中翻译有不妥之处,请 Email 至:chunjiu○a 263.net 处指正,不胜感激! NSAC — Defines the worst case for the clock dependent factor of the data access time. The unit for NSAC is 100 clock cycles. Therefore, the maximal value for the clock dependent part of the read access time is 25.5k clock cycles. NSAC 定义了时钟的相关特性在最差情况下的数据访问时间。它的单位是 100 个时钟周期。所以,该时钟的相关部分所确定的读访问时间的最大值是 25.5K (255*100,参见表 3-10 中的说明)个时钟周期。 The total read access time Nac as expressed in the Table 5-5 is the sum of TAAC and NSAC. It has to be computed by the host for the actual clock rate. The read access time should be interpreted as a typical delay for the first data bit of a data block from the end bit on the read commands. 读访问的时间总量 Nac 明确的在表 5-5[译者注:原文错误,被标成表 5-17,但这个表在文档中不存在,经确认,实际上是表 5-5](译者注:这是 SPI 模式下的表格,SD 专用模式的表格是:表 4-17)里体现为 TAAC 与 NSAC 的和。主控制器可以用来计算实际的时钟速率。读访问时间应该解释为:它 是由读取命令获取的数据块的首个 bit 到结束 bit 之间的典型延时。 data read access-time-2 in CLK cycles (NSAC*100) 00000000b NSAC 0 8 R [111:104] Table 5-5. Timing Constants Definitions Min Max Unit 0 0 1 1 1 0 0 - 8 - See Note - - - 8 Clock Cycles 8 Clock Cycles 8 Clock Cycles 8 Clock Cycles 8 Clock Cycles 8 Clock Cycles 8 Clock Cycles NCS NCR NRC NAC NWR NEC NDS NOTE: min [ { { ( TAAC ∗ f ) + (NSAC ∗ 100) } ∗ 1/8 }, { (100ms * f ) * 1/8 } ] where units = (8 clocks) and “ f ” is the clock frequency. 我的个人空间:http://www.icdev.com.cn/?474/ 第 5 页 共 15 页
原文:SanDisk Secure Digital Card - Product Manual (Version 1.9 Document No. 80-13-00169 December 2003) 第 3 章的关于 CSD 寄存器的描述内容。 译者:醇酒 2007.11.5 (请尊重我的劳动,勿抄袭和修改本文中的内容),若文中翻译有不妥之处,请 Email 至:chunjiu○a 263.net 处指正,不胜感激! TRAN_SPEED - Table 3-13 defines the maximum data transfer rate TRAN_SPEED. TRAN_SPEED 表 3-13 定义最大的数据传送速率 TRAN_SPEED。 max. data transfer rate TRAN_SPEED 8 R [103:96] 25MHz 00110010b Table 3-13. Maximum Data Transfer Rate Definition TRAN_SPEED Bit Code 2:0 6:3 transfer rate unit 0 = 100kbit / s, 1 = 1Mbit / s, 2 = 10Mbit / s, 3 = 100Mbit / s, 4... 7 = reserved time value 0=reserved, 1=1.0, 2=1.2, 3=1.3, 4=1.5, 5=2.0, 6=2.5, 7=3.0, 8=3.5, 9=4.0, A=4.5, B=5.0, C=5.5, D=6.0, E=7.0, F=8.0 CCC — The SD Card command set is divided into subsets (command classes). The card command class register CCC defines which command classes are supported by this card. A value of ‘1’ in a CCC bit means that the corresponding command class is supported. Table 3-14 lists the supported card command classes; refer to Table 4-2 for command class definitions. CCC 是该卡命令规定的子集(命令类别),定义了这个卡所能支持的命令类别。在 CCC 中的一个位的值为“1”则意味着对应的命令类别是可以支持的。 表 3-14 列出了所支持的卡的命令类别;可以参考表 4-2 中的命令类别定义。 card command classes CCC 12 R [95:84] All (incl. WP, Lock/unlock) 1F5h Table 3-14. Supported Card Command Classes CCC Bit Supported Card Command Class 0 1 11 class 0 class 1 ...... class 11 我的个人空间:http://www.icdev.com.cn/?474/ 第 6 页 共 15 页
原文:SanDisk Secure Digital Card - Product Manual (Version 1.9 Document No. 80-13-00169 December 2003) 第 3 章的关于 CSD 寄存器的描述内容。 译者:醇酒 2007.11.5 (请尊重我的劳动,勿抄袭和修改本文中的内容),若文中翻译有不妥之处,请 Email 至:chunjiu○a 263.net 处指正,不胜感激! READ_BL_LEN - The maximum read data block length is computed as 2^READ_BL_LEN. The maximum block length might therefore be in the range 512...2048 bytes. Note that in the SD Card, the WRITE_BL_LEN is always equal to READ_BL_LEN. READ_BL_LEN 是最大的可读取数据块长度是用 2^READ_BL_LEN 来计算的。所以,这个最大块长度是在 512...2048 字节的范围内。注意:在 SD 卡中, WRITE_BL_LEN 总是等于 READ_BL_LEN 的。 max. read data block length READ_BL_LEN 4 R [83:80] 512byte 1001b Table 3-15. Data Block Length Block Length READ_BL_LEN 0-8 9 10 11 12-15 Reserved 29 = 512 Bytes 210 = 1024 Bytes 211 = 2048 Bytes Reserved READ_BL_PARTIAL — READ_BL_PARTIAL is always set to 1 in the SD Card. Partial Block Read is always allowed in the SD Card. It means that smaller blocks can be used as well. The minimum block size is one byte. READ_BL_PARTIAL=0 means that only the READ_BL_LEN block size can be used for block oriented data transfers. READ_BL_PARTIAL=1 means that smaller blocks can be used as well. The minimum block size will be equal to minimum addressable unit (one byte) READ_BL_PARTIAL 在 SD 卡中总是为 1。块的部分读取在 SD 卡上总是被允许的。它意味着可以使用适当小的块。块最小可以小为 1 个字节。 READ_BL_PARTIAL = 0 意味着块大小只能使用 READ_BL_LEN 的大小来做数据传送。 READ_BL_PARTIAL = 1 意味着可以使用小的块。最小的块将等于最小的地址单元(一个字节)。 partial blocks for read allowed READ_BL_PARTIAL [79:79] Yes 1b 1 R 我的个人空间:http://www.icdev.com.cn/?474/ 第 7 页 共 15 页
原文:SanDisk Secure Digital Card - Product Manual (Version 1.9 Document No. 80-13-00169 December 2003) 第 3 章的关于 CSD 寄存器的描述内容。 译者:醇酒 2007.11.5 (请尊重我的劳动,勿抄袭和修改本文中的内容),若文中翻译有不妥之处,请 Email 至:chunjiu○a 263.net 处指正,不胜感激! WRITE_BLK_MISALIGN — Defines if the data block to be written by one command can be spread over more than one physical block of the memory device. The size of the memory block is defined in WRITE_BL_LEN. WRITE_BLK_MISALIGN=0 signals that crossing physical block boundaries is invalid. WRITE_BLK_MISALIGN=1 signals that crossing physical block boundaries is allowed. WRITE_BLK_MISALIGN 定义是否可以用一条写入命令来涵盖存储器设备上多于一个物理块。这个块的大小定义在 WRITE_BL_LEN 中。 WRITE_BLK_MISALIGN = 0 表示跨过物理块的界线是不允许的。 WRITE_BLK_MISALIGN = 1 表示跨过物理块的界线是被允许的。 write block misalignment READ_BLK_MISALIGN — Defines if the data block to be read by one command can be spread over more than one physical block of the WRITE_BLK_MISALIGN [78:78] No 0b 1 R memory device. The size of the memory block is defined in READ_BL_LEN. READ_BLK_MISALIGN=0 signals that crossing physical block boundaries is invalid. READ_BLK_MISALIGN=1 signals that crossing physical block boundaries is allowed. READ_BLK_MISALIGN 定义是否可以用一条读取命令来涵盖存储器设备上多于一个物理块。这个块的大小定义在 READ_BL_LEN 中。 READ_BLK_MISALIGN = 0 表示跨过物理块的界线是不允许的。 READ_BLK_MISALIGN = 1 表示跨过物理块的界线是被允许的。 read block misalignment DSR_IMP — Defines if the configurable driver stage is integrated on the card. If set, a driver stage register (DSR) must be implemented also. DSR_IMP 定义卡上是否集成了可配置的驱动级。如果被设置了,一个驱动级寄存器(DSR)必须是可用的。(DSR_IMP = 0 没有可用的 SDR。) 0b DSR implemented READ_BLK_MISALIGN [77:77] DSR_IMP [76:76] No 0b No 1 R 1 R Table 3-16. DSR Implementation Code Table DSR_IMP 0 DSR Type no DSR implemented 备注 没有SDR可用 我的个人空间:http://www.icdev.com.cn/?474/ 第 8 页 共 15 页
分享到:
收藏