在VS2005下生成创建运行一个WinCE6.0平台(二)(转摘)

本文指导如何使用VS2005创建并配置一个WinCE6.0平台的OS设计项目,包括选择合适的模板、定制组件、设置构建选项等步骤。
在VS2005下生成创建运行一个WinCE6.0平台(二)Create an OS design
2008-09-30 19:17

Create an OS design

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)/public/DataSync/oak/ctlpanel/system;path2:$(_WINCEROOT)/public/DataSync/oak/ctlpanel) 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.

内容概要:本文档是AUTOSAR CP Release 4.4.0版本中关于EEPROM驱动模块的规范说明,详细定义了EEPROM驱动的功能、API接口、错误处理机制、配置参数以及与SPI外设的交互方式。该驱动支持对内部和外部EEPROM设备进行异步读、写、擦除和比较操作,并提供状态查询、作业取消和版本信息获取等功能。文档明确了驱动的行为准则,包括单任务处理、数据缓冲区使用、地址对齐处理、超时监控及硬件故障检测等,同时规定了不同类型的错误分类(开发错误、运行时错误、扩展生产错误)及其响应机制。此外,还涵盖了配置结构、回调通知机制及针对SPI通信的具体配置示例。 适合人群:从事汽车电子软件开发的工程师,特别是参与AUTOSAR架构下ECU开发的技术人员,具备嵌入式系统和C语言编程基础,熟悉MCAL、BSW模块及相关通信协议(如SPI)的开发者。 使用场景及目标:①用于开发符合AUTOSAR标准的EEPROM驱动程序;②指导如何在实际项目中配置和集成EEPROM驱动;③为实现非易失性存储管理(如NvM模块配合使用)提供底层支持;④帮助理解AUTOSAR BSW模块的设计原则与接口规范。 阅读建议:建议结合AUTOSAR其他相关规范(如MemIf、SPI Handler/Driver、BSW General)一起阅读,重点关注API定义、错误处理流程和配置参数设置。在实际开发中应严格按照文档中的约束条件进行编码与配置,并通过示例理解和实现SPI外设的集成逻辑。同时注意区分内部与外部EEPROM驱动的差异,确保满足功能安全与实时性要求。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值