- 19
- 0
- 约3.64千字
- 约 7页
- 2017-06-04 发布于河南
- 举报
WinCE系统设置
目录
1 概述 2
2. PMU 自启动 2
2.1 shell.reg 2
2.2 platform.bib 3
2.3 Build image File 3
2.4 从flash 中启动 3
3. Telnet 与FTP 服务器的添加 5
3.1 从catalog items view-Core OS-Servers-选中Telnet 和 FTP 两种server 5
3.2 platform.reg 中增加以下内容,即可以使telnet 便利的访问. 5
3.3 修改servers.reg 5
3.4 Build image File 6
4 参考资料 7
1 概述
本文档主要是描述在开发的过程中所遇的问题和解决方法,包括自启动的设定,网络开
发,以及串口接收三大部分,以供后边的同事在以后的开发过程能够节省更多的时间。
2. 自启动
参考网上的许多方式,其实自启动程序比较简单只需要修改两个的文件就可以达到目
的,网上还有其它的方法来完成自启动,我没有一一实验,只是记录一下我们目前采用的
方法。
文件放置位置,以下描述的所有的文件都在这个目录下:以我的目录为例:
F:\PMU\PMU\RelDir\AT91SAM9261EK_BIN_ARMV4I_Release\AT91SAM9261EK
_BIN_ARMV4I_Release
2.1 shell.reg
这个文件我参考了一下explorer.exe 程序,修改如下,添加我们的anyview 软件:
[HKEY_LOCAL_MACHINE\init]
Launch40=anyview.exe
Depend40=hex:14,00, 1e,00
; -- start our PMU program
;
[HKEY_LOCAL_MACHINE\init]
Launch50=explorer.exe
Depend50=hex:14,00, 1e,00
其中 hex:14,00 代表依赖于 Launch20(1*16+4)的启动软件,查看注册表
可知Launch20=device.dll
2.2 platform.bib
在这个FILES 段下加上这一句:
anyview.exe $(_FLATRELEASEDIR)\anyview.exe NK H
其中H 代表隐藏的意思
拷贝自己的应用软件比如anyview.exe 到AT91SAM9261EK_BIN_ARMV4I_Release 目录
下。
2.3 Build image File
修改完成上述软件后直接选择build-Make Run-Time Image 如图所示,生成新的NK.nb0 烧
录即可
2.4 从flash 中启动
从flash 启动的默认配置如下:
Ethernet Boot Loader Configuration :
0) Mac address (00:12:72:72:20:20)
1) Ip address (15)
2) Subnet Mask address .. ()
3) DHCP (Enabled)
4) Boot delay (seconds).. (5)
5) Frequency settings ... (core at 200, bus divider 4)
6) Download image to SDRAM
7) Download new image at startup
l) Launch flash resident image now
d) Download from ethernet now
s) Save configuration now
r) Restore default configuration and save now
n) Image flash menu
因为默认是网络启动,我们改成如下方式,按S 存储,直接从nand flash 启动即可:
Press [ENTER] to launch image stored in flas
原创力文档

文档评论(0)