yfhu
驱动牛犊
驱动牛犊
  • 注册日期2008-08-27
  • 最后登录2008-09-25
  • 粉丝0
  • 关注0
  • 积分4分
  • 威望4点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
阅读:4238回复:3

S3C2440A WinCE5.0 ActiveSync USB插上计算机指示无法识别的USB设备?

楼主#
更多 发布于:2008-09-09 17:59
S3C2440A WinCE5.0 ActiveSync USB插上计算机指示无法识别的USB设备?

驱动加上usbfn(见附件),注册表内容如下,OS选上ActiveSync选项

硬件上DP1(U14)、DN1(N12)、GND和计算机相连,DP1加1.5K电阻上拉到3.3V

编译烧上Image后,启动机子,插上USB指示无法识别的USB设备,不知是什么原因?

主机是Windows XP,装了ActiveSync 4.5中文版


注册表内容:
;================= USB =================
IF BSP_NOUSBFN !
IF BSP_KITL != USBSERIAL
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\SC2440USBFN]
   "Dll"="sc2440usbfn.dll"
   "Prefix"="UFN"
   "Priority256"=dword:64
   "IoBase"=dword:B1200000
   "IoLen"=dword:1000                ; Use one page
   "Irq"=dword:19                    ; IRQ_USBD
;   "DetectIrq"=dword:2E            ; GPG10, IRQ_EINT18
;   "DetectIrq"=dword:24            ; GPG0, IRQ_EINT10    GPS Box project.
   "DetectIrq"=dword:24                ; GPG0, IRQ_EINT8    GPS Box project. ???
   "BusIoctl"=dword:2a0048
   "IClass"=multi_sz:"{E2BDC372-598F-4619-BC50-54B3F7848D35}=%b","{6F40791D-300E-44E4-BC38-E0E63CA8375C}=%b"

[HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers]
   "DefaultClientDriver"=- ; erase previous default
   "DefaultClientDriver"="Serial_Class"

[HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers\Mass_Storage_Class]
    "Dll"="usbmsfn.dll"
    "InterfaceSubClass"=dword:06
    "InterfaceProtocol"=dword:50
    "DeviceName"="DSK2:"
    "FriendlyName"="Mass Storage"
    "idVendor"=dword:045E
    "Manufacturer"="Microsoft"
    "idProduct"=dword:FFFF
    "Product"="Windows CE Device"
    "bcdDevice"=dword:0

[HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers\Serial_Class]
   "FriendlyName"="USB Cable:"
   "idVendor"=dword:045E
   "Manufacturer"="Microsoft"
   "idProduct"=dword:00CE
   "Product"="Windows CE USB Sync"
   "Index"=dword:5

[HKEY_CURRENT_USER\ControlPanel\Comm]
    "Cnct"="`USB"
    
[HKEY_CURRENT_USER\Comm\RasBook\`USB]
"DevCfg"=hex:\
      30,00,00,00,78,00,00,00,00,01,00,00,00,4b,00,00,00,00,08,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00
"Entry"=hex:\
      08,02,40,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,70,19,0e,00,00,\
      00,00,00,6f,fd,ff,ff,00,00,00,00,00,00,00,00,07,00,00,00,0a,00,00,00,10,29,\
      da,02,10,1a,0e,00,00,00,00,00,5c,e6,04,0e,00,00,00,00,d4,ea,04,0e,00,00,00,\
      00,30,a9,0f,08,00,00,00,00,00,00,00,00,f0,aa,00,00,20,e5,04,0e,00,00,00,00,\
      01,00,00,00,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,01,00,00,00,00,\
      00,ff,00,00,00,00,00,c0,00,00,00,70,19,0e,00,2c,a9,0f,08,01,00,00,00,e0,01,\
      00,00,00,00,00,00,99,00,00,00,d4,e6,04,0e,c7,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,7d,00,00,00,74,37,d9,02,c5,00,00,00,97,00,00,00,\
      10,1a,0e,00,70,10,d9,02,78,00,00,00,9f,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,cf,00,00,00,76,ff,ff,ff,00,00,00,00,70,19,0e,00,00,00,00,00,10,29,\
      da,02,10,1a,0e,00,00,00,00,00,00,e8,04,0e,00,00,00,00,c0,e5,04,0e,00,00,00,\
      00,70,10,d9,02,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,01,00,00,00,64,00,69,00,72,\
      00,65,00,63,00,74,00,00,00,00,00,00,53,01,00,4a,1a,05,0e,4a,1a,05,0e,0a,00,\
      00,00,b0,04,55,00,53,00,42,00,20,00,43,00,61,00,62,00,6c,00,65,00,3a,00,00,\
      00,4a,1a,05,0e,80,e6,04,0e,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,b4,e7,04,0e,0d,0d,0e,00,e4,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,aa,3f,e5,4d,1c,e7,04,0e,14,e7,04,0e,14,81,f7,\
      03,fc,b2,f8,03,54,5a,08,00,89,01,00,00,00,00,00,00,4a,1a,05,0e,00,00,00,00,\
      00,00,00,00,04,ff,01,00,f0,aa,00,00,c4,e6,04,0e,00,00,00,00,00,00,00,00,4a,\
      1a,05,0e,00,00,00,00,aa,3f,e5,4d,00,00,00,00,54,5a,08,00,00,00,00,00,20,5d,\
      01,7c,a0,57,01,7c,00,00,00,00,0a,00,00,00,b4,e8,04,0e,89,01,00,00,20,5d,01,\
      7c,02,00,00,00,00,36,01,7c,00,00,00,00,4a,1a,05,0e,00,00,00,00,00,36,01,7c,\
      01,00,00,00,c8,ba,01,00,89,01,00,00,00,00,01,7c,89,01,00,00,50,bb,01,00,4a,\
      1a,05,0e,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,02,00,00,00,00,00,\
      00,00,40,e7,04,0e,70,19,0e,00,0c,01,00,00,48,18,da,02,10,1a,0e,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,02,00,00,00,89,01,00,00,20,5d,01,7c,02,00,00,00,\
      00,00,00,00,00,00,00,00,3c,53,01,00,0a,00,00,00,d8,bd,01,00,00,00,00,00,00,\
      00,00,00,00,00,ff,ff,00,00,00,00,01,00,00,00,00,00,ff,00,4a,1a,05,0e,81,00,\
      00,00,d0,c9,0f,08,0c,e8,04,0e,d4,e4,07,00,20,5d,01,7c,89,01,00,00,02,00,00,\
      00,4a,1a,05,0e,d0,c9,0f,08,0d,00,00,00,81,00,00,00,4a,1a,05,0e,4a,1a,05,0e,\
      40,5c,01,7c,74,f2,07,00,00,00,00,00,8a,00,00,00,3c,fe,00,f0,64,e8,04,0e,a8,\
      74,d0,8d,00,fb,02,80,3c,fe,00,f0,0a,00,00,00,00,00,00,00,00,00,00,00,a0,57,\
      01,7c,94,c8,ff,ff,49,00,00,00,14,fc,02,80,3c,fe,00,f0,0a,00,00,00,00,00,00,\
      00,00,00,00,00,8a,bc,e5,2d,0d,00,00,00,4a,1a,05,0e,14,81,f7,03,3c,a3,f8,03,\
      0a,00,00,00,0d,00,00,00,78,f9,01,00,d0,e8,04,0e,d4,e8,04,0e,0d,00,00,00,90,\
      f1,07,00,0d,00,00,00,00,00,00,00,4a,1a,05,0e,00,00,00,00,00,00,00,00,04,ff,\
      01,00,d4,e8,04,0e,cc,e8,04,0e,00,00,00,00,00,00,00,00,4a,1a,05,0e,00,00,00,\
      00,aa,3f,e5,4d,00,00,00,00,90,f1,07,00,00,00,00,00,40,5c,01,7c,4a,1a,05,0e,\
      00,00,00,00,0a,00,00,00,0a,00,00,00,0d,00,00,00,40,5c,01,7c,81,00,00,00,00,\
      36,01,7c,00,00,00,00,30,24,05,00,00,00,00,0e,d8,1e,f9,8d,0f,00,00,00,00,00,\
      00,00,00,a4,cc,8d,60,62,22,8c,a8,74,d0,8d,d8,1e,f9,8d,0f,00,00,00,38,fe,00,\
      f0,78,e9,04,0e,c0,f4,02,80,0f,00,00,00,30,24,05,00,c4,b3,00,f0,d8,ed,04,0e,\
      4e,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,0c,eb,04,0e,04,c9,02,80,f1,\
      ec,ff,ff,00,00,00,00,00,00,00,00
ENDIF
ENDIF BSP_NOUSBFN !

; @CESYSGEN ENDIF CE_MODULES_USBFN
;============= End of USB =================
附件名称/大小 下载次数 最后更新
usbfn.rar (47KB)  43 2008-09-09 17:59
驱网无线,快乐无限
yfhu
驱动牛犊
驱动牛犊
  • 注册日期2008-08-27
  • 最后登录2008-09-25
  • 粉丝0
  • 关注0
  • 积分4分
  • 威望4点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
沙发#
发布于:2008-09-12 12:10
现在没出现无法识别的USB设备又出现内存不足的问题
S3C2440A WinCE5.0 USB插上电脑,目标机弹出一个对话框说内存不足不知是什么回事。
内存不足:
无法连接到PC。无可用的程序内存。请停止部分程序重试。如果问题依然存在,请按照用户手册重置设备
驱网无线,快乐无限
yyjxp
驱动牛犊
驱动牛犊
  • 注册日期2008-12-08
  • 最后登录2009-01-07
  • 粉丝0
  • 关注0
  • 积分1分
  • 威望11点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
板凳#
发布于:2008-12-08 21:03
我遇见的问题和你的一样,不同的只是我在s3c2416平台上.
不知这个问题后来有没有解决.
gooogleman
驱动牛犊
驱动牛犊
  • 注册日期2007-03-02
  • 最后登录2016-01-09
  • 粉丝0
  • 关注0
  • 积分15分
  • 威望179点
  • 贡献值0点
  • 好评度18点
  • 原创分0分
  • 专家分0分
地板#
发布于:2008-12-15 16:36
引用第1楼yfhu于2008-09-12 12:10发表的  :
现在没出现无法识别的USB设备又出现内存不足的问题
S3C2440A WinCE5.0 USB插上电脑,目标机弹出一个对话框说内存不足不知是什么回事。
内存不足:
无法连接到PC。无可用的程序内存。请停止部分程序重试。如果问题依然存在,请按照用户手册重置设备

其实两个问题是一个问题

这个东西是你的D+一直为高造成的。导致了2440频繁产生识别USB中断,不死机就算牛了。
你这个问题我遇到过,应该是你编译内核之前没有选全组件造成的。
——请参照朗成开发板的手册编译即可。两个月前我被这个问题整了两天呢。
WINCEqq 群39063007
游客

返回顶部