惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园_首页
B
Blog
V
V2EX
T
Tailwind CSS Blog
Hugging Face - Blog
Hugging Face - Blog
博客园 - 【当耐特】
博客园 - 聂微东
博客园 - 叶小钗
博客园 - 三生石上(FineUI控件)
The Cloudflare Blog
J
Java Code Geeks
H
Help Net Security
雷峰网
雷峰网
Apple Machine Learning Research
Apple Machine Learning Research
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Engineering at Meta
Engineering at Meta
F
Fortinet All Blogs
Martin Fowler
Martin Fowler
D
Docker
L
LangChain Blog
人人都是产品经理
人人都是产品经理
爱范儿
爱范儿
WordPress大学
WordPress大学
V
Visual Studio Blog

博客园 - yakin

测试博客中嵌入地图 Perl文档操作选项 windows mobile中删除键(回退键)实现 PTA是什么?BT-WIFI共存 什么是QVGA?什么是VGA?什么是TFT?(转) 3月份的流水帐 流水帐 2005年末和2006年初随笔 要变的世故 有了舞台就好好表演,没有舞台就静静得做观众 工作中的一些体会 如何在程序启动时显示沙漏 对图片有了新的认识 smart panel BINFS的调试过程 Binfs终于可以加载了 Eboot怎出了这个问题 BinFS win xp 键盘快捷键概述
转 pb for wm build emulator经验总结(Windows mobile模拟器)
yakin · 2010-08-04 · via 博客园 - yakin

http://www.devdiv.net/blog/space-1-do-blog-id-326.html

1)  用build new window wizard
界面选os build tree为C:\WM611 ==>
Device emulator ==>
后面就比较简单了,向导结束后,运行在桌面上的Build All - SMARTFON MyDeviceEmulator Debug
2). 安装loopback adapter,
在添加硬件向导中选择Yes, I have already connected this hardware to your computer ==>
Add a new hardware device ==>
Install the hardware that I manually select from a list (Advanced) ==>
Network Adapter ==>
Microsoft, Microsoft Loopback Adapter
如果需要的话,还有安装virtual pc 2007

同时,Virtual PC 2007也需要安装,微软网站有,在运行的emulator的时候,也会提示,告诉你网址。我的XP SP3下载的是32BIT的版本。
3). 命令行下启动emulator
cd /d "%programfiles%\microsoft device emulator\1.0
DeviceEmulator.exe %_FLATRELEASEDIR%\eboot.nb0 /n /c /video 640x480x16

(YAKIN注)640*480可以修改为240*320,根据你编译的diskimage.nb0的配置
4). 用PB打开build好的emulator的diskimage.nb0
5). Use PB's "Target" menu and pick "Connectivity Options". In that dialog, pick:
Target Device - CE Device
Download - Ethernet
Transport - Ethernet
Debugger - KdStub
6). Now, click the "Settings" button beside either of the "Ethernet" entries (they bring you to the same dialog). You should see a name like "DEVICEEM11471" appear in the "Active Devices:" list. Pick it, and "OK" your way out of the whole "Connectivity Options" dialog.
7). Use PB's "Target" menu and pick "Attach to Device". PB should begin downloading nk.bin into the emulator over ethernet. You have full KITL-over-ethernet, just like you would have to an ethernet-based hardware device.

(YAKIN注)在Attach device的时候要快点,不要等bootme发完再Attach。

原帖地址http://www.devdiv.net/thread-5856-1-3.html