flyhigh2007
驱动牛犊
驱动牛犊
  • 注册日期2007-06-16
  • 最后登录2007-12-17
  • 粉丝0
  • 关注0
  • 积分130分
  • 威望14点
  • 贡献值0点
  • 好评度13点
  • 原创分0分
  • 专家分0分
阅读:1425回复:3

SEED开发板USB枚举

楼主#
更多 发布于:2007-07-21 08:59
我在用自带的测试USB枚举时候成功拉,但是我获得字符串描述符时有时候是CY7C68001,有时喉是EZ USB SX2,他应该是从EEPROM枚举的,但是厂商在EEPROM中烧写的是什么呢?
怎么结果会有两个呢?一个是默认的,一个DSP枚举的,还有就是要是想不用EEPROM,直接用DSP采用加载ID号的方式应该怎么实现呢?望大侠们帮忙拉?
xfmuyanxf
驱动牛犊
驱动牛犊
  • 注册日期2006-11-14
  • 最后登录2008-02-18
  • 粉丝0
  • 关注0
  • 积分270分
  • 威望28点
  • 贡献值0点
  • 好评度27点
  • 原创分0分
  • 专家分0分
沙发#
发布于:2007-07-23 16:06
68001是EZ USB SX2系列的一款芯片,关于枚举方式,68001的datasheet里面讲的很清楚。刚才查了一下,贴出来了:
During the power-up sequence, internal logic of the SX2 checks for the presence of an I C-compatible EEPROM.  If it finds an EEPROM, it will boot off the EEPROM. When the presence of an EEPROM is detected, the SX2 checks the value of first byte.
If the first byte is found to be a 0xC4, the SX2 loads the next two bytes into the IFCONFIG and POLAR registers, respectively. If the fourth byte is also 0xC4, the SX2 enumerates using the descriptor in the EEPROM, then signals to the external master when enumeration is complete via an ENUMOK interrupt (Section 3.4). If no EEPROM is detected, the SX2 relies on the external master for the descriptors. Once this descriptor information is receive from the external master, the SX2 will connect to the USB bus and enumerate.
flyhigh2007
驱动牛犊
驱动牛犊
  • 注册日期2007-06-16
  • 最后登录2007-12-17
  • 粉丝0
  • 关注0
  • 积分130分
  • 威望14点
  • 贡献值0点
  • 好评度13点
  • 原创分0分
  • 专家分0分
板凳#
发布于:2007-07-24 08:42
谢谢楼上的,DATASHEET我看拉,我用的开发板,只是不懂为什么我获得字符串描述符时有时候是CY7C68001,有时喉是EZ USB SX2,是从EEPROM枚举,但是我不知道结果为什么不一样?
flyhigh2007
驱动牛犊
驱动牛犊
  • 注册日期2007-06-16
  • 最后登录2007-12-17
  • 粉丝0
  • 关注0
  • 积分130分
  • 威望14点
  • 贡献值0点
  • 好评度13点
  • 原创分0分
  • 专家分0分
地板#
发布于:2007-07-24 08:42
谢谢楼上的,DATASHEET我看拉,我用的开发板,只是不懂为什么我获得字符串描述符时有时候是CY7C68001,有时喉是EZ USB SX2,是从EEPROM枚举,但是我不知道结果为什么不一样?
游客

返回顶部