lljj462
驱动牛犊
驱动牛犊
  • 注册日期2005-08-08
  • 最后登录2008-08-06
  • 粉丝0
  • 关注0
  • 积分576分
  • 威望83点
  • 贡献值0点
  • 好评度79点
  • 原创分0分
  • 专家分0分
阅读:4784回复:11

wince5.0中如何建立ActiveSync连接?

楼主#
更多 发布于:2007-05-21 17:19
我用的是2442,wince5.0,利用USB建立PC端与设备之间的连接,PC机端用的是微软ActiveSync4.1.0(Build 4841),ce5.0系统起来后,ActiveSync始终都连不上,features中我已经选择了ActiveSync,不知道这个问题如何解决,需要修改platform.reg吗?如何修改呢?
现在的注册表是这样的:
[HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers]
   "DefaultClientDriver"=- ; erase previous default
   "DefaultClientDriver"="Serial_Class"

[HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers\Serial_Class]
   "FriendlyName"= LOC_USBFN_SERIAL_NAME
   "idVendor"=dword:0547
   "Manufacturer"=LOC_USBFN_SERIAL_MANUFACTURER
   "idProduct"=dword:2720
   "Product"=LOC_USBFN_SERIAL_PRODUCT
   "Index"=dword:5

[HKEY_CURRENT_USER\ControlPanel\Comm]
   "Cnct"="`USB"

多谢大家了!
microsun
论坛版主
论坛版主
  • 注册日期2002-11-11
  • 最后登录2014-07-18
  • 粉丝0
  • 关注0
  • 积分1052分
  • 威望1159点
  • 贡献值0点
  • 好评度848点
  • 原创分0分
  • 专家分0分
沙发#
发布于:2007-05-22 20:53
参照串口驱动的注册表给[HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers\Serial_Class]
设一个UNIMODEM的注册表项,系统启动以后创建一个基于USB 串口的直连的拨号连接,就可以用这个连接与PC同步了.
学海无涯
modernhill
驱动小牛
驱动小牛
  • 注册日期2004-05-12
  • 最后登录2016-01-09
  • 粉丝0
  • 关注0
  • 积分98分
  • 威望278点
  • 贡献值0点
  • 好评度172点
  • 原创分0分
  • 专家分0分
板凳#
发布于:2007-12-26 17:43
斑竹,能否再具体的说一下,多谢了~~~
hmcm9
驱动牛犊
驱动牛犊
  • 注册日期2003-10-07
  • 最后登录2008-05-30
  • 粉丝0
  • 关注0
  • 积分20分
  • 威望2点
  • 贡献值0点
  • 好评度2点
  • 原创分0分
  • 专家分0分
地板#
发布于:2007-12-26 18:14
能不能给出详细的操作过程?
gerryzhou
驱动小牛
驱动小牛
  • 注册日期2006-05-14
  • 最后登录2009-04-18
  • 粉丝0
  • 关注0
  • 积分990分
  • 威望133点
  • 贡献值0点
  • 好评度132点
  • 原创分0分
  • 专家分0分
地下室#
发布于:2007-12-27 08:33
组建选齐了,还需要选择usb function->serial
modernhill
驱动小牛
驱动小牛
  • 注册日期2004-05-12
  • 最后登录2016-01-09
  • 粉丝0
  • 关注0
  • 积分98分
  • 威望278点
  • 贡献值0点
  • 好评度172点
  • 原创分0分
  • 专家分0分
5楼#
发布于:2007-12-27 09:39
我在platform.reg里加了
[[HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers\Serial_Class]
   "FriendlyName"="PXA270 USB Cable:"
   "Index"=dword:9
   "Order"=dword:2
   "DevConfig"=hex: 10,00,00,00,05,00,00,00,00,01,00,00,00,4B,00,00,00,00,08,00,00,00,00,00,00
这一段是从别的BSP里COPY过来的,然后在CE端选择“PXA270 USB Cable"的连接,可以连通了,但是只是看文件,用TOOLS里的工具还是连不通,斑竹能否讲讲其中的原理。。。谢谢了!!!
cool_harber
驱动小牛
驱动小牛
  • 注册日期2003-03-01
  • 最后登录2009-04-28
  • 粉丝0
  • 关注0
  • 积分524分
  • 威望132点
  • 贡献值0点
  • 好评度126点
  • 原创分0分
  • 专家分0分
6楼#
发布于:2007-12-27 20:28
博客:www.cnblogs.com/harber
werna
驱动牛犊
驱动牛犊
  • 注册日期2007-10-25
  • 最后登录2016-01-09
  • 粉丝0
  • 关注0
  • 积分12分
  • 威望105点
  • 贡献值0点
  • 好评度50点
  • 原创分0分
  • 专家分0分
7楼#
发布于:2007-12-29 09:33
同问啊,我的activesync 可以查看文件,可以拷贝文件,但是远程工具没有一个可以连上的...

Here's how to do it!  I'll use Kernel Tracker in my steps here for setting up the connection but all tools will work after you do this.

Install Platform Builder
Open Remote Kernel Tracker from the Tools or Target menu (depends on which version of Platform Builder you're using)
Cancel the "Select a Windows CE Device" dialog
Go to Connection | Configure Windows CE Platform Manager...
Select "Windows CE Default Platform" and click the "Add Device" button.  Name the new device "ActiveSync Device."
Select the new device and click the "Properties..." button.
Set the Transport and Startup Server to ActiveSync.

Hit OK and close the Platform Manager Configuration window.
Connect your device to ActiveSync.
In Kernel Tracker, go to Connection | Connect to Device.  This time when it asks you what device to connect to, the ActiveSync Device will show up.


Select the ActiveSync Device and click OK.  Kernel Tracker will connect to your device!

 

图片:activesync_error.JPG


Now, before you go spend a lot of time on it, I need to warn you:  I think there is a bug in Platform Builder 6.0 that makes this method not connect to Windows Mobile devices reliably.  It's still worth a try, but if it doesn't connect, then you might need to wait for some upcoming updates.  (No, I can't promise when those will be available.)

UPDATE June 6, 2007:  The "updates" I was talking about were the Platform Builder 6 Service Pack 1, which is now available online.  (http://www.microsoft.com/downloads/details.aspx?FamilyId=BF0DC0E3-8575-4860-A8E3-290ADF242678&displaylang=en)  At the time I wrote this post I was helping someone with a Remote Call Profiler problem which seemed to be fixed by SP1.  It was Call Profiler specific however.  If your remote tools still won't connect, it may take some troubleshooting; I'll try to get a new post out about that soon.  Often it is a mismatch between the CPU/architecture reported by your BSP and what the tools are looking for.  Sometimes it's an install error where the necessary files are missing from your PC.
jungouhaha
驱动牛犊
驱动牛犊
  • 注册日期2006-11-15
  • 最后登录2016-01-09
  • 粉丝0
  • 关注0
  • 积分12分
  • 威望133点
  • 贡献值1点
  • 好评度31点
  • 原创分0分
  • 专家分0分
8楼#
发布于:2007-12-29 09:43
请问2442的板子在哪里买到的~~?
cool_harber
驱动小牛
驱动小牛
  • 注册日期2003-03-01
  • 最后登录2009-04-28
  • 粉丝0
  • 关注0
  • 积分524分
  • 威望132点
  • 贡献值0点
  • 好评度126点
  • 原创分0分
  • 专家分0分
9楼#
发布于:2007-12-29 23:07
这个问题可能是因为冲突引起。
是不是同时安装了4.2、5.0或EVC、VS2005等等。。。。
试试卸载activesync。删除安装的目录,重新安装最新的activesync 4.5再试试
博客:www.cnblogs.com/harber
werna
驱动牛犊
驱动牛犊
  • 注册日期2007-10-25
  • 最后登录2016-01-09
  • 粉丝0
  • 关注0
  • 积分12分
  • 威望105点
  • 贡献值0点
  • 好评度50点
  • 原创分0分
  • 专家分0分
10楼#
发布于:2008-01-02 12:55
我改变设置试了试,那个Remote file viewer 和Remote Regeditor 都可以用Activesync 连通,但是CETK在连得时候,我注意到PC向Device 拷贝文件的的动作瞬间就结束了..其实文件根本没有拷贝进去..所以后面在试图执行Device端clientside.exe的时候肯定出错的...
我这个板子上也又网口,可以用网口跑cetk,但是通过activesync 总是会出现这样的问题..

我的pc端只装了vs2005 和 activesync 4.5,其他版本pb和evc 都没有装..
werna
驱动牛犊
驱动牛犊
  • 注册日期2007-10-25
  • 最后登录2016-01-09
  • 粉丝0
  • 关注0
  • 积分12分
  • 威望105点
  • 贡献值0点
  • 好评度50点
  • 原创分0分
  • 专家分0分
11楼#
发布于:2008-01-03 09:48
游客

返回顶部