系统要求:
Windows XP
带PB6.0插件的Visual studio 2005.net(Version 8)
步骤
1. Launch visual studio 2005.net
--------------------------------------------------------------------------------
2. Select "File|New|Project..." from visual studio 2005 menu.
--------------------------------------------------------------------------------
3. Select the "Platform Builder for CE6.0 "project type in the new project dialog.
--------------------------------------------------------------------------------
4. Select "OS Design" under visual studio installed templates.
--------------------------------------------------------------------------------
5. Type "TrainingOSDesign" in the Name field. The solution name will default to TrainingOSDesign as well.
--------------------------------------------------------------------------------
6.Click "OK" button, visual studio will launch the Windows embedded CE 6.0 OS Design Wizard.
出现问题:
原来空格也是非法字符,不能作为路径名
--------------------------------------------------------------------------------
7.click "Next" button
--------------------------------------------------------------------------------
8.In the list of available BSPs, select TrainingBSP:ARMV4I (which cloned from DeviceEmulator:ARMV4I. It is a Device emulator Board Support Package for ARMV4I ) and click Next.
--------------------------------------------------------------------------------
9. From the list of available design templates, select "PDA Device" and click "Next"
--------------------------------------------------------------------------------
10. From the list of available design variants,select "Mobile Handle" and click "Next". The Application & Media configuration window will appear.
--------------------------------------------------------------------------------
11. You can select the default configuration. and then click Finish to complete the Windows Embedded CE 6.0 Design Wizard.
--------------------------------------------------------------------------------
12.Click Acknowledge on the Catalog Item Notification dialog.
--------------------------------------------------------------------------------
13.Select Build | Configuration Manager… from the Visual Studio menu to bring up the Configuration Manager dialog box,
--------------------------------------------------------------------------------
14. Select TrainingBSP ARMV4I Release from the Active solution configuration drop down box. Close the dialog box.
--------------------------------------------------------------------------------
15.Select Project | Proterties from visual studio menu, it will launch the Property Pages dialog for your OS design.
--------------------------------------------------------------------------------
16. Expand the Configuration Properties tree and click on the Build Options node
--------------------------------------------------------------------------------
17. Ensure the following build options are set:
Enable eboot space in memory
Enable kernel debugger
Enable KITL
Enable profiling
18.Select Build | Build TrainingOSDesign from the Visual Studio menu,it will take several minutes to complete depending on the capabilities of your development system. it take about 45 minutes to build the OS design on my computer( P4 1.8GHz 512M DDR Memory)
--------------------------------------------------------------------------------
19. Select Target | Connectivity Options… from the Visual Studio menu. The Target Device Connectivity Options dialog will appear showing the Kernel Service Map configuration for the CE Device named connection.
--------------------------------------------------------------------------------
20. Ensure the following connectivity options are set:
Target device: CE device
Download: Device Emulator(DMA)
Transport: Device Emulator(DMA)
Debugger: KdStub
--------------------------------------------------------------------------------
21. Select Target | Attach Device from the Visual Studio menu.
又出现问题:
--------------------------------------------------------------------------------
Visual Studio will start the Device Emulator with your OS run time image design. The download will take a short time to complete. You will be able to interact with the emulator and test the features of your new OS design.
最后成功了,中间花了我n小时,先截图: