打印

在VS2005下生成创建运行一个WinCE6.0平台

[复制链接]
2781|0
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
tedyu|  楼主 | 2009-3-4 17:58 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
在VS2005下生成创建运行一个WinCE6.0平台(二)Create an OS design2009-

1. Select File | New | Project… from the Visual Studio menu.

2. Select the Platform Builder for CE 6.0 project type in the New Project dialog.

3. Select OS Design under Visual Studio installed templates.

4. Type TrainingOSDesign in the Name field. The solution name will default to TrainingOSDesign as well.

5. Click OK. Visual Studio will launch the Windows Embedded CE 6.0 OS Design Wizard.

6. Click Next.

7. In the list of available BSPs, select TrainingBSP: ARMV4I and click Next.

8. From the list of available design templates, select PDA Device and click Next.

9. From the list of available design variants, select Mobile Handheld and click Next. The Applications & Media configuration window will appear.

10. Deselect .NET Compact Framework 2.0 and ActiveSync and click Next. The Networking & Communications configuration window will appear.

11. Deselect TCP/IPv6 Support.

12. Expand the Personal Area Network (PAN) node, and deselect Bluetooth.

13. Click Next, and then Finish to complete the Windows Embedded CE 6.0 Design Wizard.

14. Click Acknowledge on the Catalog Item Notification dialog.

15. Click on the Catalog Items View tab to display the Catalog.(视图==》其它窗口也可)

16. Click on the Filter drop down box in the upper left hand corner. Observe the different filtering options. The filter controls the items that are displayed in the catalog. Ensure that All Catalog Items in Catalog is selected.

17. Observe the selection boxes and icons in the catalog. Selection boxes with a green check mark indicate an item that was specifically selected as a part of the OS design. Selection boxes with a green square indicate an item that was brought in to the OS design as a dependency. Selection boxes that are not marked indicate items that are not included in the OS design but are available to be added.

18. Locate a catalog item with a green square in its checkbox.

19. Right click on the catalog item and choose Reasons for Inclusion of Item. The Remove Dependent Catalog Item dialog box displays the catalog items you

20. Close the Remove Dependent Catalog Item dialog box.

21. Expand the Core OS | CEBASE | Applications – End User | Active Sync node in the catalog.

22. Right click on Active Sync system cpl(此项有两处,path1:$(_WINCEROOT)publicDataSyncoakctlpanelsystem;path2:$(_WINCEROOT)publicDataSyncoakctlpanel) and select Display In Solution View. The view will change to the Solution Explorer tab(解决方案资源浏览器). The subproject containing the Active Sync component is displayed. This is a great way to navigate the source code that is available as part of Windows Embedded CE 6.0.

23. Select the Catalog Items View tab to display the OS design catalog.

24. Enter the text Internet Explorer 6.0 Sample into the search text box to the right of the filter button. Press Enter or click the green arrow. The path Core OS | CEBASE | Internet Client Services | Browser Application | Internet Explorer 6.0 for Windows Embedded CE – Standard Components should be expanded.

25. Select the Internet Explorer 6.0 Sample Browser catalog item.

26. Enter the text ipconfig into the Search box and press Enter. The Network Utilities (IpConfig, Ping, Route) will be highlighted.(此时提示一对话框,意思是要从根目录搜索,无碍)




27. Add the networking utilities to your design by selecting the component.

28. Enter the text wceload into the Search box and press Enter. The Cab File Installer /Uninstaller component will be highlighted.


29. Add the Cab File Installer /Uninstaller utility to your OS design.

30. Enter the text sysgen_dotnetv2_support into the Search box and press Enter. The OS Dependencies for .NET Compact Framework 2.0 component will be highlighted.

31. Add the OS Dependencies for .NET Compact Framework 2.0 to your OS design.

32. Select Build | Configuration Manager… from the Visual Studio menu to bring up the Configuration Manager dialog box.

33. Select TrainingBSP ARMV4I Release from the Active solution configuration drop down box. Close the dialog box.

34. Select the Solution Explorer view by selecting the Solution Explorer tab.

35. In the Solution Explorer window, right click on the TrainingOSDesign project and choose Properties. This will launch the Property Pages dialog for your OS design.

36. Expand the Configuration Properties tree and click on the Build Options node.(项目==》属性)

37. Ensure the following build options are set:
· Enable eboot space in memory
· Enable kernel debugger
· Enable KITL
· Enable profiling

38. Select OK

39. Select Build | Build TrainingOSDesign from the Visual Studio menu.

40. 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.

41. Select Device Emulator (DMA) from the Download drop down box.

42. Select Device Emulator (DMA) from the Transport drop down box.

43. Select KdStub from the Debugger drop down box.

44. Next to the Download drop down menu click Settings.

45. Select the Display tab in the Emulator Properties dialog box.

46. Change the Screen width to 640 pixels and the Screen height to 480 pixels.

47. Select the Network tab in the Emulator Properties dialog box.

48. Check the box beside Enable NE2000…

49. Click on OK

50. Select Apply to save the new device configuration.

51. Select Close to close the dialog box.

52. Select Target | Attach Device from the Visual Studio menu. 

成功启动的图像,只是启动的有点慢,差点害的我以为又是黑屏呢

 

相关帖子

发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

36

主题

52

帖子

0

粉丝