STM8单片机教程第九讲和 第九讲 和其他 其他资料 SD卡模块光盘 SD协议翻译 SD_Card_第三章_第1页
STM8单片机教程第九讲和 第九讲 和其他 其他资料 SD卡模块光盘 SD协议翻译 SD_Card_第三章_第2页
STM8单片机教程第九讲和 第九讲 和其他 其他资料 SD卡模块光盘 SD协议翻译 SD_Card_第三章_第3页
STM8单片机教程第九讲和 第九讲 和其他 其他资料 SD卡模块光盘 SD协议翻译 SD_Card_第三章_第4页
STM8单片机教程第九讲和 第九讲 和其他 其他资料 SD卡模块光盘 SD协议翻译 SD_Card_第三章_第5页
已阅读5页,还剩29页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

原文 SanDisk Secure Digital Card Product Manual Version 1 9 Document No 80 13 00169 December 2003 第 3 章的关于 SD 接口内容的详细描述 译者 醇酒 2007 11 5 请尊重我的劳动 勿抄袭和修改本文中的内容 若文中翻译有不妥之处 请 Email 至 chunjiu 处指正 不胜感激 第三章 第三章 SD 卡接口描述 卡接口描述 译者注 这部分的电气特性描述包括了元件电气特性 机械图 总线拓扑等综合性内容 大部分较简单 而且其中一些部分和软件编程毫无关系 所以只挑选了重点和编程相关的注意事项来翻译 本章节完整地内容可以参考原文 3 1 2 Pin Assignments in SPI Mode SPI 模式下的引脚定义和描述模式下的引脚定义和描述 Table 3 2 lists the pin assignments and definitions in SPI Mode 表格 3 2 列出了 SD 卡引脚在 SPI 模式下的定义和功能描述 Table 3 2 SPI Bus Mode Pad Definition Pin Name Table 3 2 SPI Bus Mode Pad Definition Pin Name TypeType1 1 SPI Description SPI Description 1 CS I Chip Select Active low 2 DataIn I Host to Card Commands and Data 3 VSS1 S Supply Voltage Ground 4 VDD S Supply Voltage 5 CLK I Clock 6 VSS2 S Supply Voltage Ground 7 DataOut O Card to Host Data and Status 8 RSV2 I Reserved 9 RSV2 I Reserved NOTES 1 S power supply I input O output 1 S 电源供应 I 输入 O 输出 2 The RSV pins are floating inputs It is the responsibility of the host designer to connect external pullup resistors to those lines Otherwise non expected high current consumption may occur due to the floating inputs 2 这个 RSV 脚是浮空的输入引脚 主机设计者有责任给这些连接线加上外接的上拉电阻 否则 这些浮空的输入脚可能会造成非预料的大的电流 消耗 我的个人空间 第 1 页 共 34 页 原文 SanDisk Secure Digital Card Product Manual Version 1 9 Document No 80 13 00169 December 2003 第 3 章的关于 SD 接口内容的详细描述 译者 醇酒 2007 11 5 请尊重我的劳动 勿抄袭和修改本文中的内容 若文中翻译有不妥之处 请 Email 至 chunjiu 处指正 不胜感激 Each card has a set of information registers refer to Table 3 3 Detailed descriptions are provided in Section 3 5 Table 3 3 SD Card Registers Table 3 3 SD Card Registers NameName WidthWidth DescriptionDescription CID 128 Card identification number individual card number for identification RCA1 16 Relative card address local system address of a card dynamically suggested by the card and approved by the host during initialization CSD 128 Card specific data information about the card operation conditions SCR 64 SD Configuration Register information about the SD Card s special features capabilities OCR 32 Operation Condition Register 每个卡都有设置了信息的寄存器组 见表格 3 3 更加详细的描述在章节 3 5 中 表格 3 3 SD 卡寄存器 表格 3 3 SD 卡寄存器 名称名称 宽度宽度 描述描述 CID 128 卡的识别码 用于识别单个卡的编号 RCA1 16 卡的相对地址 这个寄存器在 SPI 模式下不可用 卡的本地系统地址 在初始化期间 卡提供的 动态建议并由主控制器批准 CSD 128 卡的特性数据 是关于这个卡工作条件的相关信息 SCR 64 SD配置寄存器 关于这个SD卡的特殊功能的特性信息 OCR 32 工作条件寄存器 NOTE 1 The RCA register is not available in SPI Mode 注意 这个 RCA 寄存器在 SPI 模式下不可用 我的个人空间 第 2 页 共 34 页 原文 SanDisk Secure Digital Card Product Manual Version 1 9 Document No 80 13 00169 December 2003 第 3 章的关于 SD 接口内容的详细描述 译者 醇酒 2007 11 5 请尊重我的劳动 勿抄袭和修改本文中的内容 若文中翻译有不妥之处 请 Email 至 chunjiu 处指正 不胜感激 3 2 SD总线拓扑总线拓扑 Hot Insertion Removal Hot insertion and removal are allowed The SanDisk SD Card will not be damaged by inserting or removing it into the SD bus even when the power is up The inserted card will be properly reset also when CLK carries a clock frequency fPP Data transfer failures induced by removal insertion should be detected by the bus master using the CRC codes that suffix every bus transaction 热拔插 译者注 这部分内容是针对 SD 总线模式的 在原著中的 SPI 模式下没有描述 但由于使用环境相同 列出来作为参考还是有帮助作用的 热拔插是被允许的 当电源就绪时 SD 卡甚至不会由于在 SD 总线上拔插而损坏 当 CLK 上运载一个时钟频率 fPP时 这个插入的卡将会被正确地复位 重置 数据传送失败可能是由拔插动作导致的 应该由总线管理器在每次总线传送的尾部加上 CRC 编码来侦测 用于确认每次的传送是否成功 3 3 SPI 总线拓扑总线拓扑 3 3 1 Power Protection Cards can be inserted into or removed from the bus without damage If one of the supply pins VDD or VSS is not connected properly then the current is drawn through a data line to supply the card Data transfer operations are protected by CRC codes therefore any bit changes induced by card insertion and removal can be detected by the SD bus master The inserted card must be properly reset also when CLK carries a clock frequency fpp If the hot insertion feature is implemented in the host than the host has to withstand a shortcut between VDD and VSS without damage 3 3 1 电源保护电源保护 译者注 这部分内容在原著中描述为 和 SD 模式相同 因此直接将这部分内容 COPY 过来 卡可以在总线上拔插而不会损坏 如果一条电源供应引脚 VDD或 VSS 没能正确连接上 则电流将通过数据线汲取而供应到卡上 数据传送操作是通过 CRC 编码来保护的 因此 由拔插卡引起的任何位的变动将会被 SD 总线管理器侦测到 当 CLK 上运载一个时钟频率 fPP时 这个插入的卡必须要正确地复位 重置 如果这个热插入特性是在主机内实现的 则该主机要经得起 VDD和 VSS之间短路而不损坏 我的个人空间 第 3 页 共 34 页 原文 SanDisk Secure Digital Card Product Manual Version 1 9 Document No 80 13 00169 December 2003 第 3 章的关于 SD 接口内容的详细描述 译者 醇酒 2007 11 5 请尊重我的劳动 勿抄袭和修改本文中的内容 若文中翻译有不妥之处 请 Email 至 chunjiu 处指正 不胜感激 3 4 电路接口电路接口 3 4 1 Power up 上电 或 加电 上电 或 加电 The power up of the SD Card bus is handled locally in each SD Card and in the bus master SD 卡总线的上电 过程 是在每个 SD 卡内和总线管理器内局部 进行 处理的 我的个人空间 第 4 页 共 34 页 原文 SanDisk Secure Digital Card Product Manual Version 1 9 Document No 80 13 00169 December 2003 第 3 章的关于 SD 接口内容的详细描述 译者 醇酒 2007 11 5 请尊重我的劳动 勿抄袭和修改本文中的内容 若文中翻译有不妥之处 请 Email 至 chunjiu 处指正 不胜感激 After power up including hot insertion i e inserting a card when the bus is operating the SD Card enters the idle state During this state the SD Card ignores all bus transactions until ACMD41 is received ACMD command type shall always precede with CMD55 在加电后 包括热插入 例如 在总线操作期间插入一张卡 的操作 都会让该卡进入闲置状态 在收到 ACMD41 命令之前 SD 卡将忽略总线上 所有的传送操作 ACMD 命令类型总是在 CMD55 之前 译者注 ACMD41 是激活卡的初始化处理命令 ACMD41 is a special synchronization command used to negotiate the operation voltage range and to poll the cards until they are out of their power up sequence Besides the operation voltage profile of the cards the response to ACMD41 contains a busy flag indicating that the card is still working on its power up procedure and is not ready for identification This bit informs the host that the card is not ready The host has to wait and continue to poll the cards each one on his turn until this bit is cleared The maximum period of power up procedure of single card shall not exceed 1 second ACMD41 是一个特别的同步命令 常用于工作电压值的握手 即相互问答的过程 和轮询那些卡是否已经结束了它们的上电处理过程 除了该卡的 工作电压之外 针对 ACMD41 命令的应答中还包含了一个 忙 标记 表示这个卡还在进行它的上电初始化工作 尚未准备好 这个标识的功能就是 SD 卡用来通知主控制器它尚未准备好 主控制器将一直等待这个标识位被清除 即持续监测这个卡的每个应答变化 单个 SD 卡的上电处理时间最多 不会超过 1 秒钟 Getting individual cards as well as the whole SD Card system out of idle state is up to the responsibility of the bus master Since the power up time and the supply ramp up time depend on application parameters such as the maximum number of SD Card s the bus length and the power supply unit the host must ensure that the power is built up to the operating level the same level which will be specified in ACMD41 before ACMD41 is transmitted 会有个别卡 像所有其它正规的 SD 卡一样 空闲状态之外是由总线管理器负责的 但它从上电开始到电源电压上升的时间段是依赖在应用参数上 例如 SD 卡的最大数量 译者注 是指挂在同一个总线上的所有 SD 卡 总线长度和电源供应部分 主控制器在发送 ACMD41 命令前必须要保证这个供 电电源的电压已经到达工作电压点上了 这个电压在 ACMD41 的部分有相同的描述 译者注 这段话的意思应该是说某些 SD 卡在上电过程中需要注意 硬件方面的问题 可能会有使用环境的因素影响它的初始化处理过程 After power up the host starts the clock and sends the initializing sequence on the CMD line This sequence is a contiguous stream of logical 1 s The sequence length is the maximum of 1msec 74 clocks or the supply ramp up time the additional 10 clocks over the 64 clocks after what the card should be ready for communication is provided to eliminate power up synchronization problems 在上电之后 主控制器开始在 CMD 线上传送时钟和初始化序列 这个序列是相邻的一系列逻辑为 1 的信号流 这个序列的长度最大是 1 毫秒 74 个时钟或者电压上升的时段 这附加的 10 个时钟 在该卡为通讯而准备的 64 个时钟结束之后 能消除上电同步中可能出现的问题 我的个人空间 第 5 页 共 34 页 原文 SanDisk Secure Digital Card Product Manual Version 1 9 Document No 80 13 00169 December 2003 第 3 章的关于 SD 接口内容的详细描述 译者 醇酒 2007 11 5 请尊重我的劳动 勿抄袭和修改本文中的内容 若文中翻译有不妥之处 请 Email 至 chunjiu 处指正 不胜感激 Every bus master shall have the capability to implement ACMD41 and CMD1 CMD1 will be used to ask MultiMediaCards to send their Operation Conditions In any case the ACMD41 or the CMD1 shall be send separately to each card accessing it through its own CMD line 每个总线管理器有能力来执行 ACMD41 和 CMD1 CMD1 常用来要求 MMC 卡发送它们的工作条件 译者注 指工作电压范围上的规定 在任何 情况下 ACMD41 或 CMD1 将分别通过访问每个卡各自的 CMD 线来发送到每个卡 3 5 SD Card Registers 关于此部分 内容主要是围绕 SD 协议模式叙说的 但和 SPI 协议模式大同小异 关于此部分 内容主要是围绕 SD 协议模式叙说的 但和 SPI 协议模式大同小异 3 5 SD 卡寄存器 卡寄存器 There is a set of seven registers within the card interface The OCR CID CSD and SCR registers carry the card configuration information The RCA register holds the card relative communication address for the current session The card status and SD status registers hold the communication protocol related status of the card 在卡内的接口中设置了 7 个寄存器 OCR CID CSD 和 SCR 寄存器携带着卡的配置信息 RCA 寄存器保存卡在当前联系的相对通讯地址 该卡的 卡身份 寄存器和 SD 身份 寄存器保存了卡的通讯协议相关的状态 译者注 身份 这个词用在这里怪怪的 但没有找到合适的词汇替代 原文 中话说的内容比较含糊 所以特地用了这个怪词来区分 请您将就一下吧 哪位有更合适的说法请告诉我 谢谢了 3 5 1 Operating Conditions Register OCR The 32 bit operation conditions register stores the VDD voltage profile of the card The SD Card is capable of executing the voltage recognition procedure CMD1 with any standard SD Card host using operating voltages form 2 to 3 6 Volts Accessing the data in the memory array however requires 2 7 to 3 6 Volts The OCR shows the voltage range in which the card data can be accessed The structure of the OCR register is described in Table 3 8 这个 32 位的工作条件寄存器储存了卡的 VDD 电压轮廓图 任何标准的 SD 卡主控制器可以使用 2V 至 3 6V 的工作电压来让 SD 卡能执行这个电压 识别操作 CMD1 而访问存储器的阵列操作无论如何都需要 2 7V 至 3 6V 的工作电压 OCR 寄存器显示了在访问卡的数据时所需要的电压范围 OCR 寄存器的结构描述在表格 3 8 内 The level coding of the OCR register is as follows 这个 OCR 寄存器的电平编码如下 Restricted voltage windows LOW 限定电压窗口 低 Card busy LOW bit 31 卡忙 低 位 31 我的个人空间 第 6 页 共 34 页 原文 SanDisk Secure Digital Card Product Manual Version 1 9 Document No 80 13 00169 December 2003 第 3 章的关于 SD 接口内容的详细描述 译者 醇酒 2007 11 5 请尊重我的劳动 勿抄袭和修改本文中的内容 若文中翻译有不妥之处 请 Email 至 chunjiu 处指正 不胜感激 我的个人空间 第 7 页 共 34 页 Table 3 8 OCR Register Definition Table 3 8 OCR Register Definition OCR Bit VDD Voltage Window OCR Bit VDD Voltage Window 0 3 Reserved 保留 15 2 7 2 8 4 1 6 1 7 16 2 8 2 9 5 1 7 1 8 17 2 9 3 0 6 1 8 1 9 18 3 0 3 1 7 1 9 2 0 19 3 1 3 2 8 2 0 2 1 20 3 2 3 3 9 2 1 2 2 21 3 3 3 4 10 2 2 2 3 22 3 4 3 5 11 2 3 2 4 23 3 5 3 6 12 2 4 2 5 24 30 Reserved 保留 13 2 5 2 6 31 Card power up status bit busy 14 2 6 2 7 卡在上电时的状态位 忙 The least significant 31 bits are constant and will be set as described in Figure 3 8 If bit 32 the busy bit is set it informs the host that the card power up procedure is finished 最少 31 个有特定意义的位是恒定的 它们所代表的含意在图 3 8 中有描述 译者注 在原文中此处的 4 8 是错误的 这里已经修正了 如果第 32 位 这个位代表 忙 被设置了 它的含义是让主控制器知道卡的上电初处理过程已经完成了 Figure 3 8 OCR Structure Figure 3 8 OCR Structure 原文 SanDisk Secure Digital Card Product Manual Version 1 9 Document No 80 13 00169 December 2003 第 3 章的关于 SD 接口内容的详细描述 译者 醇酒 2007 11 5 请尊重我的劳动 勿抄袭和修改本文中的内容 若文中翻译有不妥之处 请 Email 至 chunjiu 处指正 不胜感激 3 5 2 Card Identification CID Register The CID register is 16 bytes long and contains a unique card identification number as shown in Table 3 9 It is programmed during card manufacturing and cannot be changed by SD Card hosts Note that the CID register in the SD Card has a different structure than the CID register in the MultiMediaCard Table 3 9 CID FieldsTable 3 9 CID Fields Name Type Width CID Slice Comments CID Value Manufacturer ID MID Binary 8 127 120 The manufacturer IDs are controlled and assigned by the SD Card Association 0 x03 OEM Application ID OID ASCII 16 119 104 Identifies the card OEM and or the card contents The OID is assigned by the 3C SD ASCII Code 0 x53 0 x44 Product Name PNM ASCII 40 103 64 5 ASCII characters long SD128 SD064 SD032 SD016 SD008 Product Revision PRV BCD 8 63 56 Two binary coded decimal digits Product Revision 30 Serial Number PSN Binary 32 55 24 32 Bits unsigned integer Product Serial Number Reserved 4 23 20 Manufacture Date Code MDT BCD 12 19 8 Manufacture date yym offset from 2000 Manufacture date for example Apr 2001 0 x014 CRC7 checksum CRC Binary 7 7 1 Calculated CRC7 Not used always 1 1 0 0 3C The 3 SDA founding companies Toshiba SanDisk and MEI The product revision is composed of two Binary Coded Decimal BCD digits four bits each representing an n m revision number The n is the most significant nibble and the m is the least significant nibble Example The PRV binary value filed for product revision 6 2 will be 0110 0010 The CRC Checksum is computed by the following formula CRC Calculation G x x7 3 1 M x MID MSB x119 CIN LSB x0 CRC 6 0 Remainder M x x7 G x 我的个人空间 第 8 页 共 34 页 原文 SanDisk Secure Digital Card Product Manual Version 1 9 Document No 80 13 00169 December 2003 第 3 章的关于 SD 接口内容的详细描述 译者 醇酒 2007 11 5 请尊重我的劳动 勿抄袭和修改本文中的内容 若文中翻译有不妥之处 请 Email 至 chunjiu 处指正 不胜感激 3 5 2 卡的标识卡的标识 CID 寄存器寄存器 这个 CID 寄存器有 16 字节长 如表 3 9 所示 它包含了本卡的特别识别码 ID 号 这些信息是在卡的生产期间被编程 烧录 主控制器不 能修改它们的内容 注意 SD卡的 CID 寄存器和 MMC 卡的 CID 寄存器在记录结构上是不同的 Table 3 9 CID FieldsTable 3 9 CID Fields Name Type Width CID Slice Comments CID Value Manufacturer ID MID Binary 8 127 120 由 SD卡协会 控制并且分配的制造商ID号 0 x03 OEM Application ID OID ASCII 16 119 104 用于辨认卡的OEM 和 或 卡的内容ID号 这个 OID是由 3C 颁发的 SD 这两个字母的ASCII字符代码 Product Name PNM ASCII 40 103 64 5 个 ASCII 字符的长度 SD128 SD064 SD032 SD016 SD008 Product Revision PRV BCD 8 63 56 两个二进制编码的十进制数字 BCD 产品修订号 30 Serial Number PSN Binary 32 55 24 32 位无符号整数 产品序列号 Reserved 4 23 20 保留 Manufacture Date Code MDT BCD 12 19 8 生产日期 格式 年年月 计算基数为2000 年 数据储存格式为 BCD 生产日期 例如 2001年4月 0 x014 CRC7 checksum CRC Binary 7 7 1 Calculated CRC 校验值 CRC7 Not used always 1 1 0 0 这部分没有使用 值始终为 1 3C 这是指 SD 协会的创办伙伴 Toshiba SanDisk 和 MEI 这个产品修订号是由两个二进制编码的十进制数字组成 BCD 每个数字占 4 位 来表示 n m 修订号 n 是代表重要的高半字节 m 是代表次要的低半字节 例如 PRV 的二进制值对应的产品修订号 6 2 就是 0110 0010 这个 CRC 的校验和是通过下面的公式来计算的 CRC Calculation G x x7 3 1 M x MID MSB x119 CIN LSB x0 CRC 6 0 Remainder M x x7 G x 我的个人空间 第 9 页 共 34 页 原文 SanDisk Secure Digital Card Product Manual Version 1 9 Document No 80 13 00169 December 2003 第 3 章的关于 SD 接口内容的详细描述 译者 醇酒 2007 11 5 请尊重我的劳动 勿抄袭和修改本文中的内容 若文中翻译有不妥之处 请 Email 至 chunjiu 处指正 不胜感激 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 或可擦除的 R W E 或可擦除的 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区域和相关数据类型 如果不做其它明确的定义 所有的位串都是将左边位作为首位的二进制编码 译者注 下一页表格中的每一项都有详细描述 相关内容跟随在表格之后 我的个人空间 第 10 页 共 34 页 原文 SanDisk Secure Digital Card Product Manual Version 1 9 Document No 80 13 00169 December 2003 第 3 章的关于 SD 接口内容的详细描述 译者 醇酒 2007 11 5 请尊重我的劳动 勿抄袭和修改本文中的内容 若文中翻译有不妥之处 请 Email 至 chunjiu 处指正 不胜感激 我的个人空间 第 11 页 共 34 页 Table 3 10 CSD Register Name Field Width Cell Type CSD Slice CSD Value CSD Code CSD structure CSD STRUCTURE 2 R 127 126 1 0 00b Reserved 6 R 125 120 000000b data read access time 1 TAAC Binary MLC 8 8 R R 119 112 119 112 1 5 msec 10 msec 00100110b 00001111b data read access time 2 in CLK cycles NSAC 100 NSAC 8 R 111 104 0 00000000b max data transfer rate TRAN SPEED 8 R 103 96 25MHz 00110010b card command classes CCC 12 R 95 84 All incl WP Lock unlock 1F5h max read data block length READ BL LEN 4 R 83 80 512byte 1001b partial blocks for read allowed READ BL PARTIAL 1 R 79 79 Yes 1b write block misalignment WRITE BLK MISALIGN 1 R 78 78 No 0b read block misalignment READ BLK MISALIGN 1 R 77 77 No 0b DSR implemented DSR IMP 1 R 76 76 No 0b Reserved 2 R 75 74 00b device size C SIZE 12 R 73 62 SD128 3843 SD064 3807 SD032 1867 SD016 899 SD008 831 F03h EDFh 74Bh 383h 33Fh max read current VDD min VDD R CURR MIN 3 R 61 59 100mA 111b max read current VDD max VDD R CURR MAX 3 R 58 56 80mA 110b max write current VDD min VDD W CURR MIN 3 R 55 53 100mA 111b 原文 SanDisk Secure Digital Card Product Manual Version 1 9 Document No 80 13 00169 December 2003 第 3 章的关于 SD 接口内容的详细描述 译者 醇酒 2007 11 5 请尊重我的劳动 勿抄袭和修改本文中的内容 若文中翻译有不妥之处 请 Email 至 chunjiu 处指正 不胜感激 我的个人空间 第 12 页 共 34 页 Name Field Width Cell Type CSD Slice CSD Value CSD Code max write current VDD max VDD W CURR MAX 3 R 52 50 80mA 110b device size multiplier C SIZE MULT 3 R 49 47 SD128 64 SD064 32 SD032 32 SD016 32 SD008 16 100b 011b 011b 011b 010b erase single block enable ERASE BLK EN 1 R 46 46 Yes 1b erase sector size SECTOR SIZE 7 R 45 39 32blocks 0011111b write protect group size WP GRP SIZE 7 R 38 32 128sectors 1111111b write protect group enable WP GRP ENABLE 1 R 31 31 Yes 1b Reserved for MultiMediaCard compatibility 2 R 30 29 00b write speed factor Binary MLC R2W FACTOR R2W FACTOR 3 3 R R 见译者注 28 26 28 26 X16 X4 100b 010b max write data block length WRITE BL LEN 4 R 25 22 512Byte 1001b partial blocks for write allowed WRITE BL PARTIAL 1 R 21 21 No 0 Reserved 5 R 20 16 00000b File format group FILE FORMAT GRP 1 R W 1 15 15 0 0b copy flag OTP COPY 1 R W 1 14 14 Not Original 1b permanent write protection PERM WRITE PROTECT 1 R W 1 13 13 Not Protected 0b temporary write protection TMP WRITE PROTECT 1 R W 12 12 Not Protected 0b File format FILE FORMAT 2 R W 1 11 10 HD w partition 00b Reserved 2 R W 9 8 00b CRC CRC 7 R W 7 1 CRC7 not used always 1 1 0 0 1b 译者注 此处在原文中有错误 被写成 1 16 1 4 表中的内容已经修正为正确信息 原文 SanDisk Secure Digital Card Product Manual Version 1 9 Document No 80 13 00169 December 2003 第 3 章的关于 SD 接口内容的详细描述 译者 醇酒 2007 11 5 请尊重我的劳动 勿抄袭和修改本文中的内容 若文中翻译有不妥之处 请 Email 至 chunjiu 处指正 不胜感激 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 Table 3 11 CSD Register Structure CSD STRUCTURECSD STRUCTURE CSD Structure VersionCSD Structure Version Valid for SD Card Physical Specification VersionValid for SD Ca

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论