wince添加局域网支持

=============================================================

标题:wince添加局域网支持

摘要:

备注:Windows CE 5.0

日期:2010.5.4

姓名:朱铭雷

=============================================================

     首先添加网卡驱动:

Samsung smdk2440: ARMV4I | Networking | Local Area Networking (LAN) devices | Crystal LAN CS8900A

然后添加如下组件:

Core OS | Windows CE devices | Communication Services and Networking | Networking - Local Area Network (LAN) | Wired Local Area Network (802.3, 802.5)

Sysgen系统,如果无误并生成了NK,则接着修改注册表文件platform.reg,与此有关的注册表内容如下:

[HKEY_LOCAL_MACHINE/Comm/CS8900]

       "DisplayName"="CS8900"

       "Group"="NDIS"

       "ImagePath"="CS8900.dll"

 

[HKEY_LOCAL_MACHINE/Comm/CS8900/Linkage]

       "Route"=multi_sz:"CS89001"

 

[HKEY_LOCAL_MACHINE/Comm/CS89001/Parms]

       "BusNumber"=dword:0

       "BusType"=dword:0

       "SysIntr"=dword:1A

       "InterruptNumber"=dword:1A

       "IoBaseAddress"=dword:A7000300

       "Transceiver"=dword:3

       "CardType"=dword:1

 

[HKEY_LOCAL_MACHINE/Comm/CS89001/Parms/TcpIp]

       "EnableDHCP"=dword:0

       "DefaultGateway"="192.168.0.254"

       "LLInterface"=""

       "UseZeroBroadcast"=dword:0

       "IpAddress"="192.168.0.231"

       "Subnetmask"="255.255.0.0"

       "DNS"="202.96.134.133"

       其中DefaultGateway是默认网关,IpAddressIP地址,Subnetmask是子网掩码。

       点击Make Run-Time Image生成操作系统镜像,重新烧写到板子里。接着可以做一下测试。用一根网线连接PC与开发板,PC端网络设置如下图:

     wince添加局域网支持_第1张图片

       然后在PCping开发板,正常的话,应该可以收到开发板的应答了。

你可能感兴趣的:(windows,image,测试,NetWork,WinCE,networking)