<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>起点博客 &#187; EVC</title>
	<atom:link href="http://xinzero.com/tag/evc/feed" rel="self" type="application/rss+xml" />
	<link>http://xinzero.com</link>
	<description>起于学习，点与应用，一切只为更高效</description>
	<lastBuildDate>Mon, 06 Feb 2012 14:29:24 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>EVC通过网口调试WinCE设备方法</title>
		<link>http://xinzero.com/evc-debug-by-ethenet-port.html</link>
		<comments>http://xinzero.com/evc-debug-by-ethenet-port.html#comments</comments>
		<pubDate>Wed, 25 Feb 2009 15:31:37 +0000</pubDate>
		<dc:creator>will</dc:creator>
				<category><![CDATA[学习笔记]]></category>
		<category><![CDATA[EVC]]></category>
		<category><![CDATA[wince]]></category>

		<guid isPermaLink="false">http://xinzero.com/evc-debug-by-ethenet-port.html</guid>
		<description><![CDATA[


EVC通过网口调试WinCE应用程序，主要是将调试需要的三个文件（cemgrc.exe、cetlstub.dll、tcpipc.dll）打包到NK.bin文件中，然后安装对应的SDK，在EVC的tools菜单中设置SDK的属性，将Tranport为TCP/IP Transport for Windows CE方式，然后点击后面的Configure在弹出的对话框中，将Fixed Port选中，方便连接。将Startup设置成Manual Server方式。
打包方式可以参考ADOCE打包到WinCE NK.bin镜像中中提到的方法，不过这个方法比较笨，包含这些调试所需文件，只需在PB定制的时候将Platform Manger添加到系统设计中。
通过交叉网线连接WinCE设备与Windows开发主机，为了使WinCE系统和Windows开发主机能够通过网络通信，需要设置WinCE的IP地址和Windows开发主机的IP地址在同一网段，如：192.168.29.X网段。
为了使WinCE系统每次启动都保持相同的IP地址，需要对WinCE的注册表进行修改，一般是修改platform.reg文件。当为WinCE系统分配静态IP的时候，需要关闭DHCP功能，需要将EnableDHCP的注册表值设置为0。
例如本系统的配置如下：
[HKEY_LOCAL_MACHINE\COMM\PCI\RTL81391\Parms\TcpIp]
&#8220;EnableDHCP&#8221;=dword:0
; This should be MULTI_SZ
&#8220;DefaultGateway&#8221;=&#8221;192.168.29.1&#8243;
; Use zero for broadcast address? (or 255.255.255.255)
&#8220;UseZeroBroadcast&#8221;=dword:0
; This should be MULTI_SZ, the IP address list
&#8220;IpAddress&#8221;=&#8221;192.168.29.2&#8243;
; This should be MULTI_SZ, the subnet masks for the above IP addresses
&#8220;Subnetmask&#8221;=&#8221;255.255.255.0&#8243;
相关文章如何制作U盘DOS启动盘扩大WinCE可用物理内存ADOCE打包到WinCE NK.bin镜像中WinCE下SQLCE开发初探]]></description>
			<content:encoded><![CDATA[<p>EVC通过网口调试WinCE应用程序，主要是将调试需要的三个文件（cemgrc.exe、cetlstub.dll、tcpipc.dll）打包到NK.bin文件中，然后安装对应的SDK，在EVC的tools菜单中设置SDK的属性，将Tranport为TCP/IP Transport for Windows CE方式，然后点击后面的Configure在弹出的对话框中，将Fixed Port选中，方便连接。将Startup设置成Manual Server方式。</p>
<p>打包方式可以参考<a href="http://xinzero.com/add-adoce-files-to-nkbin.html">ADOCE打包到WinCE NK.bin镜像中</a>中提到的方法，不过这个方法比较笨，包含这些调试所需文件，只需在PB定制的时候将Platform Manger添加到系统设计中。</p>
<p>通过<font color="#ff0000"><strong>交叉网线</strong></font>连接WinCE设备与Windows开发主机，为了使WinCE系统和Windows开发主机能够通过网络通信，需要设置WinCE的IP地址和Windows开发主机的IP地址在同一网段，如：192.168.29.X网段。</p>
<p>为了使WinCE系统每次启动都保持相同的IP地址，需要对WinCE的注册表进行修改，一般是修改platform.reg文件。当为WinCE系统分配静态IP的时候，需要关闭DHCP功能，需要将EnableDHCP的注册表值设置为0。</p>
<p>例如本系统的配置如下：<br />
[HKEY_LOCAL_MACHINE\COMM\PCI\RTL81391\Parms\TcpIp]<br />
&#8220;EnableDHCP&#8221;=dword:0<br />
; This should be MULTI_SZ<br />
&#8220;DefaultGateway&#8221;=&#8221;192.168.29.1&#8243;<br />
; Use zero for broadcast address? (or 255.255.255.255)<br />
&#8220;UseZeroBroadcast&#8221;=dword:0<br />
; This should be MULTI_SZ, the IP address list<br />
&#8220;IpAddress&#8221;=&#8221;192.168.29.2&#8243;<br />
; This should be MULTI_SZ, the subnet masks for the above IP addresses<br />
&#8220;Subnetmask&#8221;=&#8221;255.255.255.0&#8243;</p>
<h3  class="related_post_title">相关文章</h3><ul class="related_post"><li><a href="http://xinzero.com/create-dos-startup-u-disk.html" title="如何制作U盘DOS启动盘">如何制作U盘DOS启动盘</a></li><li><a href="http://xinzero.com/enlarge-wince-physical-memory-size.html" title="扩大WinCE可用物理内存">扩大WinCE可用物理内存</a></li><li><a href="http://xinzero.com/add-adoce-files-to-nkbin.html" title="ADOCE打包到WinCE NK.bin镜像中">ADOCE打包到WinCE NK.bin镜像中</a></li><li><a href="http://xinzero.com/wince-sqlce-dev-start.html" title="WinCE下SQLCE开发初探">WinCE下SQLCE开发初探</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://xinzero.com/evc-debug-by-ethenet-port.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

