??xml version="1.0" encoding="utf-8" standalone="yes"?>人妻少妇久久中文字幕,国产巨作麻豆欧美亚洲综合久久,精品国产一区二区三区久久蜜臀http://www.shnenglu.com/milkyway/category/3223.html最初想法的诞生?/description>zh-cnFri, 26 Dec 2008 19:57:30 GMTFri, 26 Dec 2008 19:57:30 GMT60ZWindows CE的数据采集与控制pȝ设计与实?/title><link>http://www.shnenglu.com/milkyway/archive/2008/12/27/70478.html</link><dc:creator>milkyway</dc:creator><author>milkyway</author><pubDate>Fri, 26 Dec 2008 16:21:00 GMT</pubDate><guid>http://www.shnenglu.com/milkyway/archive/2008/12/27/70478.html</guid><wfw:comment>http://www.shnenglu.com/milkyway/comments/70478.html</wfw:comment><comments>http://www.shnenglu.com/milkyway/archive/2008/12/27/70478.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.shnenglu.com/milkyway/comments/commentRss/70478.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/milkyway/services/trackbacks/70478.html</trackback:ping><description><![CDATA[     摘要: 提出了一U基于Windows CE的数据采集与控制pȝ解决Ҏ。介l了pȝ的硬件设计与软g开发流E,q对其关键技术进行了深入研究。包括Windows CE下外N动的开发与ULQ注册表的掉电保存技术,专用操作pȝ镜像的定制要点以及引导加载程序Bootloader的实现。最l成功构Z一个具有良好应用前景的嵌入式数据采集与控制pȝ.  <a href='http://www.shnenglu.com/milkyway/archive/2008/12/27/70478.html'>阅读全文</a><img src ="http://www.shnenglu.com/milkyway/aggbug/70478.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/milkyway/" target="_blank">milkyway</a> 2008-12-27 00:21 <a href="http://www.shnenglu.com/milkyway/archive/2008/12/27/70478.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>ZWindows CE的嵌入式pȝ开发流E?/title><link>http://www.shnenglu.com/milkyway/archive/2008/10/28/65397.html</link><dc:creator>milkyway</dc:creator><author>milkyway</author><pubDate>Tue, 28 Oct 2008 13:25:00 GMT</pubDate><guid>http://www.shnenglu.com/milkyway/archive/2008/10/28/65397.html</guid><wfw:comment>http://www.shnenglu.com/milkyway/comments/65397.html</wfw:comment><comments>http://www.shnenglu.com/milkyway/archive/2008/10/28/65397.html#Feedback</comments><slash:comments>3</slash:comments><wfw:commentRss>http://www.shnenglu.com/milkyway/comments/commentRss/65397.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/milkyway/services/trackbacks/65397.html</trackback:ping><description><![CDATA[     摘要: 单介l了ZWindows CE的嵌入式pȝ开发主要内容和步骤  <a href='http://www.shnenglu.com/milkyway/archive/2008/10/28/65397.html'>阅读全文</a><img src ="http://www.shnenglu.com/milkyway/aggbug/65397.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/milkyway/" target="_blank">milkyway</a> 2008-10-28 21:25 <a href="http://www.shnenglu.com/milkyway/archive/2008/10/28/65397.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>嵌入式操作系lWindows CE之架构概q?/title><link>http://www.shnenglu.com/milkyway/archive/2008/09/06/61080.html</link><dc:creator>milkyway</dc:creator><author>milkyway</author><pubDate>Fri, 05 Sep 2008 18:47:00 GMT</pubDate><guid>http://www.shnenglu.com/milkyway/archive/2008/09/06/61080.html</guid><wfw:comment>http://www.shnenglu.com/milkyway/comments/61080.html</wfw:comment><comments>http://www.shnenglu.com/milkyway/archive/2008/09/06/61080.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://www.shnenglu.com/milkyway/comments/commentRss/61080.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/milkyway/services/trackbacks/61080.html</trackback:ping><description><![CDATA[     摘要: Windows CE是微软推出的嵌入式操作系l,目前手机市场上著名的Windows Mobile是ZCE定制的。那么它和其他嵌入式操作pȝ相比优势在哪Q它的架构是甚么LQ}以此文与大家一h讨?nbsp; <a href='http://www.shnenglu.com/milkyway/archive/2008/09/06/61080.html'>阅读全文</a><img src ="http://www.shnenglu.com/milkyway/aggbug/61080.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/milkyway/" target="_blank">milkyway</a> 2008-09-06 02:47 <a href="http://www.shnenglu.com/milkyway/archive/2008/09/06/61080.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>iMX21 ADS上如何烧写WinCEhttp://www.shnenglu.com/milkyway/archive/2008/09/06/61075.htmlmilkywaymilkywayFri, 05 Sep 2008 16:42:00 GMThttp://www.shnenglu.com/milkyway/archive/2008/09/06/61075.htmlhttp://www.shnenglu.com/milkyway/comments/61075.htmlhttp://www.shnenglu.com/milkyway/archive/2008/09/06/61075.html#Feedback0http://www.shnenglu.com/milkyway/comments/commentRss/61075.htmlhttp://www.shnenglu.com/milkyway/services/trackbacks/61075.html阅读全文

milkyway 2008-09-06 00:42 发表评论
]]>
SamArmDvk9II 开发板上跑WinCEhttp://www.shnenglu.com/milkyway/archive/2008/09/04/60959.htmlmilkywaymilkywayThu, 04 Sep 2008 14:04:00 GMThttp://www.shnenglu.com/milkyway/archive/2008/09/04/60959.htmlhttp://www.shnenglu.com/milkyway/comments/60959.htmlhttp://www.shnenglu.com/milkyway/archive/2008/09/04/60959.html#Feedback2http://www.shnenglu.com/milkyway/comments/commentRss/60959.htmlhttp://www.shnenglu.com/milkyway/services/trackbacks/60959.html阅读全文

milkyway 2008-09-04 22:04 发表评论
]]>
Windows CE在i.MX21q_上的虚实地址映射技?/title><link>http://www.shnenglu.com/milkyway/archive/2008/09/02/60647.html</link><dc:creator>milkyway</dc:creator><author>milkyway</author><pubDate>Mon, 01 Sep 2008 16:09:00 GMT</pubDate><guid>http://www.shnenglu.com/milkyway/archive/2008/09/02/60647.html</guid><wfw:comment>http://www.shnenglu.com/milkyway/comments/60647.html</wfw:comment><comments>http://www.shnenglu.com/milkyway/archive/2008/09/02/60647.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.shnenglu.com/milkyway/comments/commentRss/60647.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/milkyway/services/trackbacks/60647.html</trackback:ping><description><![CDATA[     摘要: 比较了Windows CE在不同架构CPU的嵌入式pȝ中徏立虚实地址映射的过E?nbsp; <a href='http://www.shnenglu.com/milkyway/archive/2008/09/02/60647.html'>阅读全文</a><img src ="http://www.shnenglu.com/milkyway/aggbug/60647.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/milkyway/" target="_blank">milkyway</a> 2008-09-02 00:09 <a href="http://www.shnenglu.com/milkyway/archive/2008/09/02/60647.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Windows CE?SBC-2410X Nand Flash上的烧写http://www.shnenglu.com/milkyway/archive/2008/08/20/59402.htmlmilkywaymilkywayTue, 19 Aug 2008 17:35:00 GMThttp://www.shnenglu.com/milkyway/archive/2008/08/20/59402.htmlhttp://www.shnenglu.com/milkyway/comments/59402.htmlhttp://www.shnenglu.com/milkyway/archive/2008/08/20/59402.html#Feedback0http://www.shnenglu.com/milkyway/comments/commentRss/59402.htmlhttp://www.shnenglu.com/milkyway/services/trackbacks/59402.html阅读全文

milkyway 2008-08-20 01:35 发表评论
]]>
i.MX21q_?剖析Windows CE 5.0 Eboot http://www.shnenglu.com/milkyway/archive/2008/08/13/58786.htmlmilkywaymilkywayWed, 13 Aug 2008 15:58:00 GMThttp://www.shnenglu.com/milkyway/archive/2008/08/13/58786.htmlhttp://www.shnenglu.com/milkyway/comments/58786.htmlhttp://www.shnenglu.com/milkyway/archive/2008/08/13/58786.html#Feedback0http://www.shnenglu.com/milkyway/comments/commentRss/58786.htmlhttp://www.shnenglu.com/milkyway/services/trackbacks/58786.html阅读全文

milkyway 2008-08-13 23:58 发表评论
]]>
i.MX21q_上Startup.s代码的分?/title><link>http://www.shnenglu.com/milkyway/archive/2008/08/06/58115.html</link><dc:creator>milkyway</dc:creator><author>milkyway</author><pubDate>Wed, 06 Aug 2008 02:23:00 GMT</pubDate><guid>http://www.shnenglu.com/milkyway/archive/2008/08/06/58115.html</guid><wfw:comment>http://www.shnenglu.com/milkyway/comments/58115.html</wfw:comment><comments>http://www.shnenglu.com/milkyway/archive/2008/08/06/58115.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.shnenglu.com/milkyway/comments/commentRss/58115.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/milkyway/services/trackbacks/58115.html</trackback:ping><description><![CDATA[     摘要: Startup.s是嵌入式pȝ上电后启动的W一D代码。本文以i.MX21q_上Windows CE的三个Startup.s代码ZQ分析嵌入式pȝBoot Loader的引导启动过E最初的工作?nbsp; <a href='http://www.shnenglu.com/milkyway/archive/2008/08/06/58115.html'>阅读全文</a><img src ="http://www.shnenglu.com/milkyway/aggbug/58115.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/milkyway/" target="_blank">milkyway</a> 2008-08-06 10:23 <a href="http://www.shnenglu.com/milkyway/archive/2008/08/06/58115.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Windows CE Boot Loader的流E分?/title><link>http://www.shnenglu.com/milkyway/archive/2008/07/23/56918.html</link><dc:creator>milkyway</dc:creator><author>milkyway</author><pubDate>Wed, 23 Jul 2008 02:06:00 GMT</pubDate><guid>http://www.shnenglu.com/milkyway/archive/2008/07/23/56918.html</guid><wfw:comment>http://www.shnenglu.com/milkyway/comments/56918.html</wfw:comment><comments>http://www.shnenglu.com/milkyway/archive/2008/07/23/56918.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://www.shnenglu.com/milkyway/comments/commentRss/56918.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/milkyway/services/trackbacks/56918.html</trackback:ping><description><![CDATA[     摘要: 概述Windows CE Boot Loader的流E,l出其中关键函数调用的顺序和功能Qȝ了Eboot所涉及的文件及下蝲q程  <a href='http://www.shnenglu.com/milkyway/archive/2008/07/23/56918.html'>阅读全文</a><img src ="http://www.shnenglu.com/milkyway/aggbug/56918.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/milkyway/" target="_blank">milkyway</a> 2008-07-23 10:06 <a href="http://www.shnenglu.com/milkyway/archive/2008/07/23/56918.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>OEMAddressTableQconfig.bib详解http://www.shnenglu.com/milkyway/archive/2007/04/19/22289.htmlmilkywaymilkywayThu, 19 Apr 2007 03:24:00 GMThttp://www.shnenglu.com/milkyway/archive/2007/04/19/22289.htmlhttp://www.shnenglu.com/milkyway/comments/22289.htmlhttp://www.shnenglu.com/milkyway/archive/2007/04/19/22289.html#Feedback4http://www.shnenglu.com/milkyway/comments/commentRss/22289.htmlhttp://www.shnenglu.com/milkyway/services/trackbacks/22289.html阅读全文

milkyway 2007-04-19 11:24 发表评论
]]>
Windows CE内存理机制http://www.shnenglu.com/milkyway/archive/2007/04/15/21987.htmlmilkywaymilkywaySun, 15 Apr 2007 15:07:00 GMThttp://www.shnenglu.com/milkyway/archive/2007/04/15/21987.htmlhttp://www.shnenglu.com/milkyway/comments/21987.htmlhttp://www.shnenglu.com/milkyway/archive/2007/04/15/21987.html#Feedback4http://www.shnenglu.com/milkyway/comments/commentRss/21987.htmlhttp://www.shnenglu.com/milkyway/services/trackbacks/21987.html阅读全文

milkyway 2007-04-15 23:07 发表评论
]]>
x86 CPU PC/104ȝ挂蝲数据采集卡寄存器操作实验http://www.shnenglu.com/milkyway/archive/2007/04/13/21809.htmlmilkywaymilkywayFri, 13 Apr 2007 08:46:00 GMThttp://www.shnenglu.com/milkyway/archive/2007/04/13/21809.htmlhttp://www.shnenglu.com/milkyway/comments/21809.htmlhttp://www.shnenglu.com/milkyway/archive/2007/04/13/21809.html#Feedback2http://www.shnenglu.com/milkyway/comments/commentRss/21809.htmlhttp://www.shnenglu.com/milkyway/services/trackbacks/21809.html阅读全文

milkyway 2007-04-13 16:46 发表评论
]]>
谈wince应用E序的可UL?/title><link>http://www.shnenglu.com/milkyway/archive/2007/04/08/21481.html</link><dc:creator>milkyway</dc:creator><author>milkyway</author><pubDate>Sun, 08 Apr 2007 01:19:00 GMT</pubDate><guid>http://www.shnenglu.com/milkyway/archive/2007/04/08/21481.html</guid><wfw:comment>http://www.shnenglu.com/milkyway/comments/21481.html</wfw:comment><comments>http://www.shnenglu.com/milkyway/archive/2007/04/08/21481.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://www.shnenglu.com/milkyway/comments/commentRss/21481.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/milkyway/services/trackbacks/21481.html</trackback:ping><description><![CDATA[     摘要: 以在wincepȝ下访问物理地址ZQ来看看如何~写在不同架构CPU上可UL性较好的应用E序?nbsp; <a href='http://www.shnenglu.com/milkyway/archive/2007/04/08/21481.html'>阅读全文</a><img src ="http://www.shnenglu.com/milkyway/aggbug/21481.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/milkyway/" target="_blank">milkyway</a> 2007-04-08 09:19 <a href="http://www.shnenglu.com/milkyway/archive/2007/04/08/21481.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>VirtualAlloc和VirtualCopy的蕴含知识点http://www.shnenglu.com/milkyway/archive/2007/03/27/20738.htmlmilkywaymilkywayTue, 27 Mar 2007 14:51:00 GMThttp://www.shnenglu.com/milkyway/archive/2007/03/27/20738.htmlhttp://www.shnenglu.com/milkyway/comments/20738.htmlhttp://www.shnenglu.com/milkyway/archive/2007/03/27/20738.html#Feedback4http://www.shnenglu.com/milkyway/comments/commentRss/20738.htmlhttp://www.shnenglu.com/milkyway/services/trackbacks/20738.html阅读全文

milkyway 2007-03-27 22:51 发表评论
]]>
wince下的地址映射知识Ҏhttp://www.shnenglu.com/milkyway/archive/2007/03/27/20737.htmlmilkywaymilkywayTue, 27 Mar 2007 14:39:00 GMThttp://www.shnenglu.com/milkyway/archive/2007/03/27/20737.htmlhttp://www.shnenglu.com/milkyway/comments/20737.htmlhttp://www.shnenglu.com/milkyway/archive/2007/03/27/20737.html#Feedback2http://www.shnenglu.com/milkyway/comments/commentRss/20737.htmlhttp://www.shnenglu.com/milkyway/services/trackbacks/20737.html阅读全文

milkyway 2007-03-27 22:39 发表评论
]]>
wince5.0 I/O操作基础(2)http://www.shnenglu.com/milkyway/archive/2007/03/19/20144.htmlmilkywaymilkywayMon, 19 Mar 2007 08:10:00 GMThttp://www.shnenglu.com/milkyway/archive/2007/03/19/20144.htmlhttp://www.shnenglu.com/milkyway/comments/20144.htmlhttp://www.shnenglu.com/milkyway/archive/2007/03/19/20144.html#Feedback0http://www.shnenglu.com/milkyway/comments/commentRss/20144.htmlhttp://www.shnenglu.com/milkyway/services/trackbacks/20144.html阅读全文

milkyway 2007-03-19 16:10 发表评论
]]>
Windows CE 下I/O操作基础http://www.shnenglu.com/milkyway/archive/2007/03/08/19451.htmlmilkywaymilkywayThu, 08 Mar 2007 10:47:00 GMThttp://www.shnenglu.com/milkyway/archive/2007/03/08/19451.htmlhttp://www.shnenglu.com/milkyway/comments/19451.htmlhttp://www.shnenglu.com/milkyway/archive/2007/03/08/19451.html#Feedback2http://www.shnenglu.com/milkyway/comments/commentRss/19451.htmlhttp://www.shnenglu.com/milkyway/services/trackbacks/19451.html 对外设进?/span> I/O 操作实际上也是d外设的寄存器,而我们通常使用的X86或者ARM处理器在g上决定了wincepȝ启动?无法直接讉K物理地址,因此需要做一些工作来实现I/O操作.

首先要理?/span> windows CE 下的地址映射机制?/span> wince有两U地址Q物理地址和虚拟地址Q不同架构的 CPU g上的区别D地址映射也不同。݋QPQ_QI x 处理器,不采用݋QUQ直接在QPQ和内核里定?/span> 1G 的物理地址Q而Q6和AQԌ݋带有 MMU 单元Q在 OEMAddressTable 中定义物理地址到虚拟地址间的映射关系或者是QS启动后调?/span> CreateStaticMapping ?/span> NKCreateStaticMapping 来实C虚拟地址到物理地址的静态映.l过静态映的地址Q可以由操作pȝ内核用于 ISR 讉K讑֤。如果我们要在应用程序中讉K外设Q必d物理地址和虚拟地址间徏立动态映关p,我们可以使用 VirtualAlloc ?/span> VirtualCopy Q或者直接调?/span> MmmapIoSpace 函数Q来实现?/span>

其次Q如果是操作通过ȝ挂接?/span> I/O 或者存储器Q必d把ȝ地址转化?/span> CPU 上的pȝ地址Q再做物理地址到虚拟地址的映。这里需要查 CPU ?/span> Datasheet Q找出所要操作的I/O地址.先调?/span> HALTranslateBusAddress( )把ȝ地址转化?/font>CPU上的pȝ地址, 再调?/span> MmmapIoSpace 函数实现虚实映射Q也可以使用 TransBusAddrToVirtual Q)直接把ȝ上的地址转化成系l的虚拟地址?/span>

W三Q在一般的应用E序中访?/span> I/O 是访问它的缓存段虚拟地址Q而驱动中必须讉K无缓存段虚拟地址。简单来说无~存D虚拟地址 = ~存D虚拟地址 +0x20000000 ?/span>

    ȝhQ如果是 wince 内核(如HAL)讉K外部 I/O Q只需要在 OEMAddressTable 中定义物理地址到虚拟地址间的映射关系可以了Q如果是应用E序或者驱动要讉K I/O Q要做的工作包括Q?/span> 1 。在 CPU 物理地址和虚拟地址间做一个动态映, 2 。对虚拟地址q行操作?/span>

milkyway 2007-03-08 18:47 发表评论
]]>
ZGEODE的NK启动问题和KITL的含?待补?http://www.shnenglu.com/milkyway/archive/2007/01/28/18118.htmlmilkywaymilkywaySun, 28 Jan 2007 10:53:00 GMThttp://www.shnenglu.com/milkyway/archive/2007/01/28/18118.htmlhttp://www.shnenglu.com/milkyway/comments/18118.htmlhttp://www.shnenglu.com/milkyway/archive/2007/01/28/18118.html#Feedback1http://www.shnenglu.com/milkyway/comments/commentRss/18118.htmlhttp://www.shnenglu.com/milkyway/services/trackbacks/18118.html   前段旉遇到一个问?在用GEODE和CEPC的BSP定制pȝ?CEPC的可以蟩?GEODE的停留在jumping to ..?两种情况下的CATALOG配置相同.下面是GEODE下的串口信息
Debug Serial Init

SysInit: GDTBase=80ad70e8 IDTBase=80b28ec0 KData=80b49800
Windows CE Kernel for i486 Built on Jun 24 2004 at 18:23:42
g_pPageDir = 80b4a000
InitKitlNIC: Searching for PCI Ethernet NIC (dwIrq = 0, dwI
oBase = 0, dwDfltType = 0) ...
RTC - Status Reg B - 0x02

Double Fault -- backlink=0048
TSS=80b296c0 EIP=802398be Flags=00210086
Eax=00000000 Ebx=80b49a84 Ecx=03bb0045 Edx=80b49b50
Esi=a4000000 Edi=80b49780 Ebp=80b49a78 Esp=80b49a14
CS=0019 DS=0040 ES=0040 SS=0021 FS=0000 GS=0000

Blog by Braden ?..

好像你启用了KITL,把KITLL看看

我把KITLL了,q是停留在jumping to ox00224FB8
调试信息如下Q?br />Debug Serial Init

SysInit: GDTBase=80ac20e8 IDTBase=80ae3860 KData=80ae9800
Windows CE Kernel for i486 Built on Jun 24 2004 at 18:23:42
g_pPageDir = 80aea000
RTC - Status Reg B - 0x02

Double Fault -- backlink=0048
TSS=80ae4060 EIP=802353f3 Flags=00210086
Eax=00000000 Ebx=80ae9a84 Ecx=03bb0045 Edx=80ae9b50
Esi=a4000000 Edi=80ae9780 Ebp=80ae9a78 Esp=80ae9a14
CS=0019 DS=0040 ES=0040 SS=0021 FS=0000 GS=0000
我看着像是在初始化CPU寄存器时停了.后来发现是我扩大物理内存?在config.bib里没有把原来?28MB D늻屏蔽掉造成?
不过对KITLx了一?
KITL全称为Kernel Independent TransportLayer。它的主要用途是提供更方便的调试手段。KITL出现在Windows CEQnet之后Q把软g传输协议与硬件传输层隔离开。KITL使得开发者不必了解硬件传输层如何与Y件协议层接口。?br />    以下是应该在OEMInit函数中加入的KITL初始化代码。?br />    ①初始化所有PCI桥和讑֤Q枚丑֮们ƈ且给它们分配资源Q然后能,使他们能正常工作。注Q此条适于有KITL|络接口?NIC)和NIC桥的情况。?br />    ?对相xȝq行初始化,使得CPU能够正确识别NIC。?br />    ③通过调用KitlInit函数来初始化KITL。这部分代码可参照其它^収ͼ代码文g为Halkitl.c。?br />    ④执?EMKitlInit函数Q进行相关的g初始化工作。搜索是否存在KITL |口、串口或q口q接。?br />    ⑤执行完OEMKitlInit后,把Kitl.1ib和Kitleth.1ib包含入^台资源文件\<Platform>\Kernel\Buildexe\KernkitlQ以便把KITL打包q内核?/p>



milkyway 2007-01-28 18:53 发表评论
]]>
wince在CF卡上实现冷启动自动保存注册表(Windows CE5.0)http://www.shnenglu.com/milkyway/archive/2007/01/23/17935.htmlmilkywaymilkywayTue, 23 Jan 2007 11:45:00 GMThttp://www.shnenglu.com/milkyway/archive/2007/01/23/17935.htmlhttp://www.shnenglu.com/milkyway/comments/17935.htmlhttp://www.shnenglu.com/milkyway/archive/2007/01/23/17935.html#Feedback2http://www.shnenglu.com/milkyway/comments/commentRss/17935.htmlhttp://www.shnenglu.com/milkyway/services/trackbacks/17935.html阅读全文

milkyway 2007-01-23 19:45 发表评论
]]>
WINCE下保存注册表疑问和网l测试注意事?/title><link>http://www.shnenglu.com/milkyway/archive/2007/01/21/17877.html</link><dc:creator>milkyway</dc:creator><author>milkyway</author><pubDate>Sun, 21 Jan 2007 14:43:00 GMT</pubDate><guid>http://www.shnenglu.com/milkyway/archive/2007/01/21/17877.html</guid><wfw:comment>http://www.shnenglu.com/milkyway/comments/17877.html</wfw:comment><comments>http://www.shnenglu.com/milkyway/archive/2007/01/21/17877.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.shnenglu.com/milkyway/comments/commentRss/17877.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/milkyway/services/trackbacks/17877.html</trackback:ping><description><![CDATA[ <p>(一)惛_WINCE下实现冷启动保存注册?参照帮助用hive-based registry实现,可是存在疑问.<br />在CF卡上实现断电保存注册?使用的是CE5.0,定制时加入了HIVE?在platform.reg里加入了以下字段:</p> <p>; HIVE BOOT SECTION                   (pȝ启动时的识别关键?<br /> [HKEY_LOCAL_MACHINE\init\BootVars]<br />  "SystemHive"="Documents and Settings\\system.hv"<br />  "Startup DevMgr"=dword:1<br />"Registryflags"=dword:1                         (修改后关闭时自动h从而保?</p> <p>[HKEY_LOCAL_MACHINE\System\StorageManager\FATFS]        (文gpȝ)<br />    "FriendlyName"="FAT FileSystem"<br />    "Dll"="fatfsd.dll"<br />    "Flags"=dword:00000064<br />    "Paging"=dword:1<br />    "EnableCache"=dword:1<br />    "CacheSize"=dword:0<br />    "Util"="fatutil.dll"<br />    "CacheDll"="diskcache.dll"<br />    "Flags"=dword:1000                                (只加载一ơ文仉?</p> <p>[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\HDProfile]    (存储驱动)</p> <p>"MountAsBootable"=dword:1                        (帮助里说CE5.0忽略了Mountflags关键?</p> <p>; END HIVE BOOT SECTION</p> <p>q是没有实现HIVE功能,哪里没有做到?<br /><br />而我试了这样修改platform.reg<br />;registry<br />  ; HIVE BOOT SECTION<br />    [HKEY_LOCAL_MACHINE\init\BootVars]<br />       "SYSTEMHIVE"="Documents and Settings\\system.hv"<br />       "PROFILEDIR"="Documents and Settings"<br />       "Start DevMgr"=dword:0<br />    IF BSP_ENABLE_FSREGHIVE   <br />       "Start DevMgr"=dword:1<br />    ENDIF   <br />    [HKEY_LOCAL_MACHINE\init\BootVars]<br />        "DefaultUser"="default"<br />    [HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\HDProfile]<br />        "MountFlags"=dword:2<br />    ; END HIVE BOOT SECTION</p> <p>修改project.reg<br />;registry<br />  [HKEY_LOCAL_MACHINE\init\BootVars]<br />  "SystemHive"="Documents and Settings\\system.hv"<br />  "Startup DevMgr"=dword:1</p> <p>  ; HIVE BOOT SECTION<br />[HKEY_LOCAL_MACHINE\System\StorageManager\FATFS]<br />    "FriendlyName"="FAT FileSystem"<br />    "Dll"="fatfsd.dll"<br />    "Flags"=dword:00000064<br />    "Paging"=dword:1<br />    "EnableCache"=dword:1<br />    "CacheSize"=dword:0<br />    "Util"="fatutil.dll"<br />    "CacheDll"="diskcache.dll"</p> <p>[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\HDProfile]<br />   </p> <p>"Mountflags"=dword:2</p> <p>; END HIVE BOOT SECTION<br /><br />实现了冷启动的注册表保存.问题待分?..<br /><br />(?加入以太|项和驱动后用ping命o发现q回 error 1100,后来扑ֈ是防火墙要关掉才能ping?br /></p> <img src ="http://www.shnenglu.com/milkyway/aggbug/17877.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/milkyway/" target="_blank">milkyway</a> 2007-01-21 22:43 <a href="http://www.shnenglu.com/milkyway/archive/2007/01/21/17877.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>QPQEQ编译源代码的问?/title><link>http://www.shnenglu.com/milkyway/archive/2007/01/20/17848.html</link><dc:creator>milkyway</dc:creator><author>milkyway</author><pubDate>Sat, 20 Jan 2007 14:30:00 GMT</pubDate><guid>http://www.shnenglu.com/milkyway/archive/2007/01/20/17848.html</guid><wfw:comment>http://www.shnenglu.com/milkyway/comments/17848.html</wfw:comment><comments>http://www.shnenglu.com/milkyway/archive/2007/01/20/17848.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.shnenglu.com/milkyway/comments/commentRss/17848.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/milkyway/services/trackbacks/17848.html</trackback:ping><description><![CDATA[ <font size="4">  以前作启动盘时不用哪个nk.bin都不能用.怀疑过所用PQ版本问题.现在看来是荒谬的Q?br />   我新建的platform每次点击开始build and sysgen?M出现一个对话框提示:The Microsoft EULA permits building private code for debugging purposes only. Before releasing the product, the platform must be rebuilt with the libraries that Microsoft provides. Because the build process overwrites the libraries, be sure to back up the libraries before continuing the build processQ这个提C其实是因ؓ我重新编译了微Y源代码,所以系l提C备䆾Q根本和版本没有关系Q?br />       如果没有修改源代码或者是改动配置文gQ在~译菜单中只需要选择sysgen可以了Q速度也快了将q一倍.</font> 如果改动了Catalog或者是配置文g,要选中clean before building? 如果修改了配|文件或者是public下的代码,则要选择build and sysgen.<img src ="http://www.shnenglu.com/milkyway/aggbug/17848.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/milkyway/" target="_blank">milkyway</a> 2007-01-20 22:30 <a href="http://www.shnenglu.com/milkyway/archive/2007/01/20/17848.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Windows CE的存储与地址映射技术学?/title><link>http://www.shnenglu.com/milkyway/archive/2007/01/20/17835.html</link><dc:creator>milkyway</dc:creator><author>milkyway</author><pubDate>Sat, 20 Jan 2007 12:18:00 GMT</pubDate><guid>http://www.shnenglu.com/milkyway/archive/2007/01/20/17835.html</guid><wfw:comment>http://www.shnenglu.com/milkyway/comments/17835.html</wfw:comment><comments>http://www.shnenglu.com/milkyway/archive/2007/01/20/17835.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.shnenglu.com/milkyway/comments/commentRss/17835.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/milkyway/services/trackbacks/17835.html</trackback:ping><description><![CDATA[     摘要: 要介l了Windows CE采用的四层内存管理结构以及物理地址和虚拟地址间的映射技?nbsp; <a href='http://www.shnenglu.com/milkyway/archive/2007/01/20/17835.html'>阅读全文</a><img src ="http://www.shnenglu.com/milkyway/aggbug/17835.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/milkyway/" target="_blank">milkyway</a> 2007-01-20 20:18 <a href="http://www.shnenglu.com/milkyway/archive/2007/01/20/17835.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>wince驱动开发学习笔?/title><link>http://www.shnenglu.com/milkyway/archive/2006/12/18/16594.html</link><dc:creator>milkyway</dc:creator><author>milkyway</author><pubDate>Mon, 18 Dec 2006 13:59:00 GMT</pubDate><guid>http://www.shnenglu.com/milkyway/archive/2006/12/18/16594.html</guid><wfw:comment>http://www.shnenglu.com/milkyway/comments/16594.html</wfw:comment><comments>http://www.shnenglu.com/milkyway/archive/2006/12/18/16594.html#Feedback</comments><slash:comments>5</slash:comments><wfw:commentRss>http://www.shnenglu.com/milkyway/comments/commentRss/16594.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/milkyway/services/trackbacks/16594.html</trackback:ping><description><![CDATA[        因ؓN前期调研没做好,用的CPU板卡和数据采集卡来自两个部门。加上买的是裸板Q自己定制的OSQ技术支持不爱搭理。所以给的AI板卡的驱动一直装不上Q自己在郁闷中寻扄案,扎q了wince驱动的知识库里了。不驱动装不上是不是这个原因,学点东西L有坏处。做点记录备查:Q?br />         首先是wince驱动的分c问题。按照书上讲的说CE下驱动分成单体驱动和分层驱动,而看到另一U说法是本机驱动和流式驱动。经qmicrosun大哥的指点,把这两种分类法分开了。在q里引用一下:<br />“单体与分层只是从代码的形式上做的分c?分层驱动代码上分为PDD与MDD,一般的微Y已经实现了MDDQ可能也实现了PDDQ我们只需要对PDD做些修改p使用Q比如音频的驱动Q显C的驱动。单层驱动是把PDD与MDD写在一P没有做严格的区分Q通常q种驱动比较单,比如QATADISK?br />至于本地驱动和流式驱动是从驱动与pȝ其它模块(调用?的接口Ş式上做的分类.其实,本地驱动q个名称不大恰当,可能叫专用驱动或其它名字更ؓ合?它是指调用它的模块给它有特定的接口,比如甉|驱动和通用LED驱动。而串口,|卡{就是流接口驱动E序.<br />所?一个驱动程序可以是单体的流式驱?例如:ATADISK.也可以是分层的流? 如OHCI ?br />        按照我的理解Q单体和分层是驱动实现方式上的分c,而本地和式则是驱动模型上的分类Q所谓本地驱动就是操作系l有保留专门的接口,所谓流式是指编写的DLL文g里可以导出各U流式接口函数?br />         W二点:驱动的功能属性?font face="宋体">讑֤驱动E序是操作系l内核和g的接口,操作pȝ定义了一l标准的接口Q编写驱动的q程也就是实现这些接口。从应用E序到具体硬仉有如下这些环节v作用Q应用程?调用OS函数-操作pȝ-驱动接口-驱动E序-g操作函数-g。在wince里驱动都以用h的DLL存在Q需要通过q程加蝲到slot里。共有三cȝl进E用来加载:Device.exe,GWES.exe,FileSys.exe.l大多数讑֤驱动都是通过Device.exe加蝲的。需要注意的是,不同的OS保留的设备驱动接口是不一LQ如桌面windows和wince׃同?br />     W三点:wince下设备的初始化分Z个阶D:Device.exe的初始化Q外讄枚D和加载。其程是:上电-启动bootloader-启动NK-启动注册表init键(Device.exe启动Q?初始化数据结构,I/OQ电源管理等-加蝲BusEnum.dll(ȝ枚D器)-枚D注册表下Driver/buildin的所有子键。这里的枚Dq程是循环调用ActivateDeviceEx()函数加蝲驱动的过E。在OS启动完毕后,我们可以用PB的Remote Registry Tool查看H_L_M/drivers/active包含的子键,看哪些驱动随启动而加??br />     W四点:接口驱动的概念。暴露流式接口函数的驱动x驱动,它把外设抽象成一个文件。过E是Q应用程序用文件API对设备进行访问,OS接受API调用FileSys.exeQ{到device.exeQ调用流接口Q与g交互。所谓流接口函数有十个,包括<span lang="EN-US" style="FONT-SIZE: 12pt"><font face="Times New Roman">XXX_Init</font></span><span style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">?/span><span lang="EN-US" style="FONT-SIZE: 12pt"><font face="Times New Roman">XXX_Deinit</font></span><span style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">?/span><span lang="EN-US" style="FONT-SIZE: 12pt"><font face="Times New Roman">XXX_Open</font></span><span style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">?/span><span lang="EN-US" style="FONT-SIZE: 12pt"><font face="Times New Roman">XXX_Close</font></span><span style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">?/span><span lang="EN-US" style="FONT-SIZE: 12pt"><font face="Times New Roman">XXX_Read</font></span><span style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">?/span><span lang="EN-US" style="FONT-SIZE: 12pt"><font face="Times New Roman">XXX_Write</font></span><span style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">?/span><span lang="EN-US" style="FONT-SIZE: 12pt"><font face="Times New Roman">XXX_PowerUp</font></span><span style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">?/span><span lang="EN-US" style="FONT-SIZE: 12pt"><font face="Times New Roman">XXX_PowerDown</font></span><span style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">?/span><span lang="EN-US" style="FONT-SIZE: 12pt"><font face="Times New Roman">XXX_Seek</font></span><span style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">?/span><span lang="EN-US" style="FONT-SIZE: 12pt"><font face="Times New Roman">XXX_IOControl</font></span><span style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">Q在wince5.0中增加le了XXX_PreClose,XXX_PreDeinit.而我们在应用E序里对应的文gAPI?span lang="EN-US" style="FONT-SIZE: 12pt"><font face="Times New Roman">CreateFile</font></span><span style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">?/span><span lang="EN-US" style="FONT-SIZE: 12pt"><font face="Times New Roman">DeviceIoControl</font></span><span style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">?/span><span lang="EN-US" style="FONT-SIZE: 12pt"><font face="Times New Roman"> ReadFile</font></span><span style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">?/span><span lang="EN-US" style="FONT-SIZE: 12pt"><font face="Times New Roman"> WriteFileQCloseHandle,SetFilePointer.</font></span></span>  <br />     W五点:~写驱动的步骤。有两种实现途径Q?。写DLLQ做成ProjectQ加入到OS里?。改BSPQ把驱动写在BSP?再选择那个BSP做OS。第一U方法步骤是在PB中新Z个DLL目Q编写一些输入函敎ͼ寄存器,外设的声明,写DLLENTRY函数Q实现流接口函数Q编写DLL的导出函数文?DEF;为驱动程序写入注册表,q需要修改bib文g?W二U方法就是在platform/BSP/drivers下新Z个目录,然后在drivers目录中的dirs文g中加入新建的目录名。在新徏的目录下Q新Z的源代码文gQ在其中实现DLL函数。新建名U分别ؓsources, makefile, ***.def的文Ӟ<span style="FONT-SIZE: 12pt; COLOR: black; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">修改</span><span lang="EN-US" style="FONT-SIZE: 12pt; COLOR: black"><font face="Times New Roman">platform.reg</font></span><span style="FONT-SIZE: 12pt; COLOR: black; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">?/span><span lang="EN-US" style="FONT-SIZE: 12pt; COLOR: black"><font face="Times New Roman">platform.bib</font></span><span style="FONT-SIZE: 12pt; COLOR: black; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">文g?/span></font><br />         <br /><img src ="http://www.shnenglu.com/milkyway/aggbug/16594.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/milkyway/" target="_blank">milkyway</a> 2006-12-18 21:59 <a href="http://www.shnenglu.com/milkyway/archive/2006/12/18/16594.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>wince下用activesynchttp://www.shnenglu.com/milkyway/archive/2006/12/09/16201.htmlmilkywaymilkywaySat, 09 Dec 2006 15:00:00 GMThttp://www.shnenglu.com/milkyway/archive/2006/12/09/16201.htmlhttp://www.shnenglu.com/milkyway/comments/16201.htmlhttp://www.shnenglu.com/milkyway/archive/2006/12/09/16201.html#Feedback2http://www.shnenglu.com/milkyway/comments/commentRss/16201.htmlhttp://www.shnenglu.com/milkyway/services/trackbacks/16201.htmlq接步骤Q?br />Q.安装activesync3.7(4.0以上不支持以太网同步了)
Q.交叉U连接板子和QE
Q.下蝲QO
Q.在目标机上运行repllog.exeQ定ӞQx加入activesynclgQ?br />5. 选择q接方式Q串口,QSQ或者以太网Q?br />
我的疑问在于Q不能通过以太|徏立连接.QSQN中说要保证以太网和activesync在不同子|下Q这句话不理解.
q有我不用在QI端运行repllog.exe可以徏立连接了Q不知道何解Q?img src ="http://www.shnenglu.com/milkyway/aggbug/16201.html" width = "1" height = "1" />

milkyway 2006-12-09 23:00 发表评论
]]>
EVC建立q接实验http://www.shnenglu.com/milkyway/archive/2006/12/09/16197.htmlmilkywaymilkywaySat, 09 Dec 2006 14:41:00 GMThttp://www.shnenglu.com/milkyway/archive/2006/12/09/16197.htmlhttp://www.shnenglu.com/milkyway/comments/16197.htmlhttp://www.shnenglu.com/milkyway/archive/2006/12/09/16197.html#Feedback0http://www.shnenglu.com/milkyway/comments/commentRss/16197.htmlhttp://www.shnenglu.com/milkyway/services/trackbacks/16197.html
注意Q在利用tcp/ip建立q接?1)用fixed address要关闭防火墙或者指定端口号l过Q?2)如果通过串口配置地址Q需要activesync或者RQS可用Q?br />
可以单点不用每次q接都打一堆字W:指定端口P建立一?.bat文gQ在板子的cmd里敲文g名即可?br />
如果Transpor是通过activesyncQ之前要注意先徏立连接,否则失败?br />q样比vTCP/IP在CE的command下要敲的字符会比较长.比较如下Q?br />选择tcp/ip键入命o行:CEMGRC.EXE /S /T:TCPIPC.DLL /Q /D:****
activesync命o行:CEMGRC.EXE /T:TLCESRV.DLL /D:**********

如果你用activesync在开发机和目标机器徏立了同步Q那么配|选项Ӟ可以把Transpor和Startupw讄成activesyncQ这样你每次只要直接buid可以下载程序到目标Z而不用在cmd里敲命o了?img src ="http://www.shnenglu.com/milkyway/aggbug/16197.html" width = "1" height = "1" />

milkyway 2006-12-09 22:41 发表评论
]]>
PCM3350的串口wince实验心得http://www.shnenglu.com/milkyway/archive/2006/12/09/16195.htmlmilkywaymilkywaySat, 09 Dec 2006 14:33:00 GMThttp://www.shnenglu.com/milkyway/archive/2006/12/09/16195.htmlhttp://www.shnenglu.com/milkyway/comments/16195.htmlhttp://www.shnenglu.com/milkyway/archive/2006/12/09/16195.html#Feedback4http://www.shnenglu.com/milkyway/comments/commentRss/16195.htmlhttp://www.shnenglu.com/milkyway/services/trackbacks/16195.html
(一)原来的串口BIOS讄? com1; 3F8;IRQ4
                                           com2,2F8,IRQ3
wince启动OS时用超U终端设|串口参?COM1,38400bps,8位数据位,一位停止位,无流控制,无校?br />
但是不能通过SBOOT下蝲NK,参数讄参考MSDN:COM2,115200,8,1,??br />
使用CE下串口调试工?com2可以通讯,com1不行,
用activesync可在com2中徏立连?com1则不?

(?参照PB源代码drivers\builtin\serial下的串口讄,修改BIOS?com1,02F8/IRQ3;  com2,03E8/IRQ4
实验l果比照:
l端com1,com2都不出现调试信息?
串口助手com1?com2不?
用activesync,com1可以建立q接,com2不行.


可以用CE下的注册表工h者是通过evc的Remote Regstry Editor查看串口加蝲情况.
在drivers/active/04下ؓcom1





milkyway 2006-12-09 22:33 发表评论
]]>
wince5.0ZGEODE的OS使能128M内存http://www.shnenglu.com/milkyway/archive/2006/12/09/16188.htmlmilkywaymilkywaySat, 09 Dec 2006 13:07:00 GMThttp://www.shnenglu.com/milkyway/archive/2006/12/09/16188.htmlhttp://www.shnenglu.com/milkyway/comments/16188.htmlhttp://www.shnenglu.com/milkyway/archive/2006/12/09/16188.html#Feedback1http://www.shnenglu.com/milkyway/comments/commentRss/16188.htmlhttp://www.shnenglu.com/milkyway/services/trackbacks/16188.html针对我的g所采用?28M内存,选用的GEODE的BSP,Windows CEq没有默认支?需要做以下改动才能识别:
1.修改源文件oeminit.asm中的AddressTable.位于public\common\oak\csp\x86\oal目录?addressTable下的 04000000hҎ08000000h. (是?4MҎ128M).q一步如果采用的内存更大,cM的改.
2.修改q_配置文gconfig.bib.加入128M的字D?
#else defined IMGRAM128
       ; 128 MB of RAM (default) (note: AUTOSIZE will adjust boundary)
       ; This value will cause the RAM auto-detect feature to trigger
       NK       80220000  009E00000  RAMIMAGE    
       RAM      80C00000  07000000  RAM
       UMABUF   87C00000  00400000  RESERVED
       ......
3.在PB中设|环境变量IMGRAM128=1,佉K|文件生?
4.修改头文件pc.h的ExtraRAMSIZE讄.?x02400000Ҏ0x06400000.因ؓCEPC_EXTRA_RAM_SIZEq个宏ؓd存数减去Config.bib中详l列出的内存?在我的情况下是128M-28M=100M?
5.选择Sysgen&Build重新~译源代码和配置文g

更正Q在W4步中修改pc.h文g的CEPC_EXTRA_RAM_SIZE Q从0x02400000Ҏ0x06400000Q这个size宏的大小应该是d存减去CEPC_EXTRA_RAM_STARTq个宏.
    另外Q第Q步中也可以执行以下QOQ_令实?WINCE5.0)Q?br />  q入%_WINCEROOT%\Public\Common\OAK\CSP\i86\Oal目录下,执行build 和sysgen i486oal

务必注意: 把config.bib里默认的#else 28MB字段L,我这两天重新定制NK?光顾d128MB的字D?忘了L,l果pȝ执行到#else 28MB字段停?讄IMGRAM128变量Ҏ没有起作?真是汗颜...


milkyway 2006-12-09 21:07 发表评论
]]>
一个简单的问题:wince5.0下CF卡驱动的加蝲http://www.shnenglu.com/milkyway/archive/2006/12/09/16186.htmlmilkywaymilkywaySat, 09 Dec 2006 12:44:00 GMThttp://www.shnenglu.com/milkyway/archive/2006/12/09/16186.htmlhttp://www.shnenglu.com/milkyway/comments/16186.htmlhttp://www.shnenglu.com/milkyway/archive/2006/12/09/16186.html#Feedback2http://www.shnenglu.com/milkyway/comments/commentRss/16186.htmlhttp://www.shnenglu.com/milkyway/services/trackbacks/16186.html 1. FAT文gpȝ
 2.ATAPI PCI/IDE
 3.CF Card Storage (ATADISK)



milkyway 2006-12-09 20:44 发表评论
]]>
ZPC/104的wince启动盘制?存储介质:CF?http://www.shnenglu.com/milkyway/archive/2006/12/09/16182.htmlmilkywaymilkywaySat, 09 Dec 2006 12:31:00 GMThttp://www.shnenglu.com/milkyway/archive/2006/12/09/16182.htmlhttp://www.shnenglu.com/milkyway/comments/16182.htmlhttp://www.shnenglu.com/milkyway/archive/2006/12/09/16182.html#Feedback8http://www.shnenglu.com/milkyway/comments/commentRss/16182.htmlhttp://www.shnenglu.com/milkyway/services/trackbacks/16182.html
q_使用台湾研华的PC/104 CPU模块:PCM3350,GEODE 586pd

在X86q_?有三Uboot loader: x86 ROM Boot Loader,x86 BIOS Boot Loader和MSDOSQLoadcepc.
我作的工作是PCM-3350从CF卡启?加蝲操作pȝ内核,采用MSDOS+loadcepc的方?
单的制作q程:
   1.做一个DOSpȝ启动软盘(用PB中的工具?.具体位置在programfile\wndows ce PB\500\cepb\utilities?名ؓwebsetup.exe以及cepcboot.144.先后q行q两个程序即?
   2.用DOS下fdisk工具为CF卡徏立FAT16格式的主分区
   3.CF卡格式化, 创徏pȝ引导文g,拯软盘下所有文?用PB定制得到的OS文gNK.bin以及loadcepc.exe至CF卡中.
   4.Ҏ需要修Ҏ?如autoexec.bat(开动运行的命o?,config.sys(可以讄启动DOS后默认的选择?{?

回想h很可气的一Ҏ我不知道PB下有个做启动盘的工具.q耗费了很久从|上到处下DOSpȝ,试q用winImage展开到Y盘里.l果q不能用.因ؓwince的启动盘包含的文件与通常的DOS盘根本不?
如果一定要用这U笨办法,那么步骤如下:
(1)先做个dos6.22的Y?(2)要在config.sys中加入device=himem.sys,以支持高端内?(3)当然也要把himem.sys拯到CF卡里,(4)如果要支持网l下?必须拯eboot.bin;q要在autoexec.bat里设|网l地址与开发机为同一子网?(5)要支持串口下?拯sboot.bin.(6)拯public\common\oak\csp\x86\dos\bootdisk目录下的文g.(7)拯NK.bin和loadcepc.exe



milkyway 2006-12-09 20:31 发表评论
]]>
þþþþþþþ| þþ97ɫ| 󽶾þĻ| þĻԴվ| þþþòҰ¸߳| þþƷ99͵| þ¾ƷĻ| þþƷŷպƷ| ޹ƷȾþ| þþƷav鶹ͼƬ| þþƷһ| 99þù뾫ƷѾþþþ| ޹˾þۺһ77| ɫۺϾþþþþþþ| Ʒ˾Ʒþþ| ɫۺϾþĻ| ɫ8ŷ˾þۺϵ| þù߳׽ѹۿ| þ| ҰĻþ| ¾þƵ| 99þþƷһѿ| þþһƷ99þþƷ66| ҹƷþþþþӰ777| ƷþӰԺ| þþƷAV鶹 | 뾫Ʒþþþ| ѾþþƷ99reѾy| þ99Ʒþþþþò | AVݺɫۺϾþ| þþƷƷʢۿ| þþþavëƬ| 99þþžžƷ| ƷþþþþþþѼ| ۺþþ| ھƷþþþӰԺһ| ɫ8þ97㽶987| ˾þþƷһ| þˬˬƬAV | ƷþþĻ| Ļһþվ |