转 pb for wm build emulator经验总结(Windows mobile模拟器)

WM611设备模拟器搭建指南
本文详细介绍了如何搭建WM611设备模拟器的步骤,包括配置操作系统的路径、安装loopback适配器及VirtualPC2007、通过命令行启动模拟器、使用PB连接模拟器并进行调试等关键环节。

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
(YAKIN注)安装Loopback Adapter: http://www.itpub.net/thread-447240-1-1.html。在控制面板中安装
同时,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 "Tar get" 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

 

转载于:https://www.cnblogs.com/yakin/archive/2010/08/04/1792197.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值