﻿{"id":171,"date":"2010-05-25T12:06:29","date_gmt":"2010-05-25T04:06:29","guid":{"rendered":"http:\/\/nick.workao.org\/?p=171"},"modified":"2010-05-25T12:06:29","modified_gmt":"2010-05-25T04:06:29","slug":"%e5%ae%9a%e5%88%b6%e5%9f%ba%e4%ba%8evisual-studio-2005%e5%b9%b3%e5%8f%b0windows-cearm-v4i%e4%b8%ad%e6%96%87%e6%a8%a1%e6%8b%9f%e5%99%a8","status":"publish","type":"post","link":"http:\/\/nick.txtcc.com\/index.php\/other\/171","title":{"rendered":"\u5b9a\u5236\u57fa\u4e8eVisual studio 2005\u5e73\u53f0Windows CE(ARM V4I)\u4e2d\u6587\u6a21\u62df\u5668"},"content":{"rendered":"<p><strong>\uff08\u672c  \u6587\u8bd1\u81eaMicrosoft\u00a0DeviceEmulatorBSP\u4e2dUsing\u00a0the\u00a0CE\u00a0DeviceEmulator.rtf\u6587\u4ef6\uff0c\u5e76\u5bf9\u8be5\u6587\u4ef6\u8bf4\u660e  \u505a\u4e86\u76f8\u5e94\u8865\u5145\uff0c\u65e8\u5728\u5b9a\u5236\u57fa\u4e8eARM4I\u5e73\u53f0Visual\u00a0Studio\u00a02005\u73af\u5883\u4e2d\u6587\u6a21\u62df\u5668\uff0c\u5efa\u7acb\u7528\u4e8e  Platform\u00a0Builder\u00a05.0+Visual\u00a0Studio\u00a02005\u5d4c\u5165\u5f0fWindows\u00a0CE\u00a05.0\u5f00\u53d1\u73af\u5883\uff09<\/strong><\/p>\n<p>\u4e00\u3001\u751f\u6210OS<\/p>\n<p>1.\u00a0\u5b89\u88c5Windows\u00a0CE\u00a05.0\uff08\u8bb0\u5f97CPU\u7c7b\u578b\u91cc\u628aARMV4I\u9009\u4e0a\uff09\u88c5\u5b8c\u4e4b\u540e\u88c5DeviceEmulatorBSP.msi\uff08<a href=\"http:\/\/www.redbots.cn\/download\/26\/\">\u672c\u7ad9\u4e0b\u8f7d<\/a>\uff09\uff0c\u8fd9\u662fARMV4I\u6a21\u62df\u5668\u7684 BSP\u3002<\/p>\n<p>2.\u00a0\u8fd0\u884cPlatform\u00a0Builder\uff0c\u65b0\u5efa\u4e00\u4e2aPlatform\uff0c\u7ed9\u4f60\u7684\u65b0Platform\u53d6\u4e00\u4e2a\u540d\u5b57\uff0c\u6211\u8fd9\u91cc\u53d6\u4e3aMyCEEmu\u3002BSP  \u9009\u62e9Microsoft\u00a0DeviceEmulator:ARMV4I\uff0cDesign\u00a0Template\u9009\u62e9  Mobile\u00a0Handheld\uff0cApplication\u00a0&#038;\u00a0Media\u968f\u4f60  \u9009\uff0cNetworking\u00a0&#038;\u00a0Communications\u53ea\u9009\u62e9  Local\u00a0Area\u00a0Network(LAN)->Wired\u00a0Local\u00a0Area\u00a0Network\uff0c\u5176\u4f59\u90fd\u53bb\u6389\u3002\u6700\u540e\u5b8c\u6210\u5411\u5bfc\u3002<\/p>\n<p>3.\u00a0\u6dfb\u52a0\u7f51\u5361\u3002\u5728Catalog\u00a0View\u7684  Device\u00a0Drivers->Networking->Local\u00a0Area\u00a0Networking\u00a0(LAN)\u00a0devices\u76ee\u5f55  \u4e0b\uff0c\u628aNE2000-compatible(PCMCIA\u00a0car)\u6dfb\u52a0\u8fdb\u6765\u3002<\/p>\n<p>4.\u00a0\u5982\u679c\u8981\u5f00\u53d1\u6258\u7ba1\u7a0b\u5e8f\uff0c\u6dfb\u52a0Catalog\u00a0View\u7684 Core\u00a0OS->Windows\u00a0CE\u00a0Devices->Applications\u00a0\u2013\u00a0End\u00a0User->CAB\u00a0File\u00a0Installer\/Uninstaller\u3002<\/p>\n<p>5.\u00a0\u6dfb\u52a0ActiveSync\uff08\u53ef\u9009\uff09\uff0c\u5728Catalog\u00a0View\u7684 Core\u00a0OS->Windows\u00a0CE\u00a0Devices->Applications\u00a0\u2013\u00a0End\u00a0User\u76ee\u5f55\u4e0b\u3002<\/p>\n<p>6.\u00a0\u6dfb\u52a0\u95ea\u5b58\u652f\u6301\u3002\u6709\u4e09\u4e2a\u90e8\u4ef6\uff1aSMFlash\uff0cPartition\u00a0Driver\u548cFAT\u3002\n\u5148\u8f6c\u5230Catalog\u00a0View\uff1a\nSMFlash\u5728 BSP->Microsoft\u00a0Device\u00a0Emulator->Storage\u00a0Drivers->MSFlash\u00a0Drivers->SmartMedia\u00a0NAND\u00a0Flash\u00a0Driver\u00a0(SMFLASH)\uff0c\nPartition\u00a0Driver\u5728 Core\u00a0OS->Windows\u00a0CE\u00a0Devices->File\u00a0Systems\u00a0and\u00a0Data\u00a0Store->\u00a0Storage\u00a0Manager->Partition\u00a0Driver\nFAT\u5728 Core\u00a0OS->Windows\u00a0CE\u00a0Devices->File\u00a0Systems\u00a0and\u00a0Data\u00a0Store->Storage\u00a0Manager->FAT\u00a0File\u00a0System\u3002<\/p>\n<p>7.\u00a0\u6253\u5f00\u83dc\u5355Platform->Setting\uff0c\u8fd9\u91cc\u6709\u4e09\u4e2a\u5730\u65b9\u8981\u8bbe\u7f6e\uff1a\u00a0\/\/\u672c\u90e8\u5206DeviceEmulator.rtf\u4e2d\u672a\u8bf4\u660e\n1)\u00a0Build\u00a0Options\u9009\u9879\u5361\u4e0b\uff0c\u53bb\u6389Enable\u00a0CE\u00a0Target\u00a0Control\u00a0Support\u548cEnable\u00a0KITL\uff1b\n2)\u00a0Environment\u9009\u9879\u5361\uff0c\u6dfb\u52a0\u73af\u5883\u53d8\u91cfCE_MODULES_SERIAL=1\uff0c\u8fd9\u662f\u7528\u6765\u5c06DMA\u6dfb\u52a0\u8fdb\u6765\uff1b\n3)\u00a0Locale\u9009\u9879\u5361\uff0c\u7528\u6765\u6dfb\u52a0\u4f60\u60f3\u8981\u7684\u8bed\u8a00\u652f\u6301\uff0c\u53ef\u6539\u53ef\u4e0d\u6539\u3002\u6211\u8fd9\u91cc\u5148Clear\u00a0All\u7136\u540e\u9009\u4e86\u4e2d\u6587\uff08\u4e2d\u56fd\uff09\u548c\u82f1\u8bed\uff08\u7f8e\u56fd\uff09\u3002 Default\u00a0Language\u9009\u4e3a\u4e2d\u6587\u3002<\/p>\n<p>8.\u00a0\u89c6\u60c5\u51b5\u6dfb\u52a0\u5176\u4ed6\u6240\u9700\u7684\u7ec4\u4ef6\uff0c\u6211\u6dfb\u52a0\u4e86MSXML\u7684\u652f\u6301\u3002<\/p>\n<p>9.\u00a0BuildOS->Sysgen\u3002<\/p>\n<p>\u4e8c\u3001\u751f\u6210SDK<\/p>\n<p>1.\u00a0\u8fd0\u884cSDK\u00a0Wizard\uff08Platform->SDK->New\u00a0SDK\uff09\uff0c\u586b\u5199\u5fc5\u8981\u7684\u4fe1\u606f\u4e4b\u540e\uff0c\u628a\u652f\u6301\u7684\u5f00\u53d1\u5de5\u5177\u90fd\u52fe\u4e0a\uff0c\u5b8c  \u6210\u3002\u4e0b\u9762\u662f\u914d\u7f6eSDK\uff08\u9009\u62e9Platform->SDK->Configure\u00a0SDK\uff09\uff0c\u8981\u662f\u89c9\u5f97\u6ca1\u6709\u4ec0\u4e48\u597d\u914d\u7f6e\u7684\u4e5f\u53ef\u4ee5\u8df3\u8fc7\u3002<\/p>\n<p>2.\u00a0\u6253\u5f00ExportSdk.sdkcfg\u6587\u4ef6\uff08\u5148\u505a\u597d\u5907\u4efd\uff0c\u8fd9\u4e2a\u6587\u4ef6\u4e00\u822c\u5728\u9879\u76ee\u6839\u76ee\u5f55\u4e0b\uff0c\u5c31\u662f\u5728New\u00a0Platform\u00a0Wizard\u7684\u7b2c2  \u6b65\u4e2d\u6240\u6307\u5b9a\u7684\u76ee\u5f55\uff0c\u9ed8\u8ba4\u662f%_WINCEROOT%PBWorkspaces\u4e0b\uff09\u3002\u8fd9\u662f\u4e00\u4e2aXML\u683c\u5f0f\u7684\u6587\u672c\u6587\u4ef6\uff0c\u627e\u5230\u8fd9\u4e24\u884c\uff1a\n<PropertyBag\u00a0NAME=\u201dDeviceEmulation\u201d>\n<\/PropertyBag>\n\u628a\u8fd9\u4e24\u884c\u66ff\u6362\u4e3a\u5982\u4e0b\u7684\u7247\u65ad\uff1a\n<PropertyBag\u00a0NAME=\u201dDeviceEmulation\u201d>\n<Property\u00a0NAME=\u201dDefault\u00a0Image\u201d>1\u00a0<\/Property>\n<PropertyBag\u00a0NAME=\u201d1\u2033>\n<Property\u00a0NAME=\u201dImageName\u201d>MyCEEmu\u00a0<\/Property>\n<Property\u00a0NAME=\u201dVMID\u201d>\u00a0<\/Property>\n<Property\u00a0NAME=\u201dDefault\u00a0Skin\u201d\/>\n<Property\u00a0NAME=\u201dHeight\u201d>240\u00a0<\/Property>\n<Property\u00a0NAME=\u201dWidth\u201d>320\u00a0<\/Property>\n<Property\u00a0NAME=\u201dBitDepth\u201d>16\u00a0<\/Property>\n<Property\u00a0NAME=\u201dMemory\u201d>128\u00a0<\/Property>\n<Property\u00a0NAME=\u201dBin\u00a0Dest\u201d>Emulationnk.bin\u00a0<\/Property>\n<Property\u00a0NAME=\u201dFixed\u00a0Screen\u201d>1\u00a0<\/Property>\n<Property\u00a0NAME=\u201dCpuName\u201d>ARMV4I\u00a0<\/Property>\n<Property\u00a0NAME=\u201dDPIX\u201d>96\u00a0<\/Property>\n<Property\u00a0NAME=\u201dDPIY\u201d>96\u00a0<\/Property>\n<Property\u00a0NAME=\u201dSupportRotation\u201d>0\u00a0<\/Property>\n<Property\u00a0NAME=\u201dEnabled\u201d>1\u00a0<\/Property>\n<Property\u00a0NAME=\u201dBin\u00a0Path\u201d>\u00a0<\/Property>\n<Property\u00a0NAME=\u201dEthernet\u201d>1\u00a0<\/Property>\n<Property\u00a0NAME=\u201dPorts\u201d>1\u00a0<\/Property>\n<Property\u00a0NAME=\u201dAdditionalParameters\u201d>\u00a0<\/Property>\n<PropertyBag\u00a0NAME=\u201dSkins\u201d\/>\u00a0<\/PropertyBag>\n<\/PropertyBag>\n<PropertyBag\u00a0NAME=\u201dAdded\u00a0Files\u201d>\n<PropertyBag\u00a0NAME=\u201d{3B388597-0924-4102-ADFA-2519D2C3E11B}\u201d>\n<Property\u00a0NAME=\u201dSource\u201d>C:WINCE500MyCEEmuReleaseImage\u00a0<\/Property>\n<Property\u00a0NAME=\u201dDestination\u201d>Emulation\u00a0<\/Property>\n<Property\u00a0NAME=\u201dSubfolders\u201d>0\u00a0<\/Property>\n<\/PropertyBag>\n<\/PropertyBag><\/p>\n<p>3.\u00a0\u8bbe\u5b9a\u53d8\u91cf\u3002\u4e0a\u9762\u66ff\u6362\u7684\u4ee3\u7801\u4e2d\u6709\u51e0\u4e2a\u53d8\u91cf\u9700\u8981\u8bbe\u5b9a\uff0c\u5206\u522b\u662f\uff1a\n1)\u00a0ImageName\uff1a\u8fd9\u662f\u7a0b\u5e8f\u5458\u5728Visual\u00a0Studio\u00a0IDE\u91cc\u6240\u770b\u5230\u7684\u540d\u5b57\uff1b\n2)\u00a0VMID\uff1a\u4e00\u4e2aGUID\uff0c\u53ef\u4ee5\u7528GuidGen.exe\u6765\u751f\u6210\u4e00\u4e2a\uff1b\n3)\u00a0Height\/Width\uff1a\u6a21\u62df\u5668\u5c4f\u5e55\u7684\u5bbd\u9ad8\uff1b\n4)\u00a0BitDepth\uff1a\u989c\u8272\u6df1\u5ea6\uff1b\n5)\u00a0Memory\uff1a\u5206\u914d\u7ed9\u6a21\u62df\u5668\u7684RAM\u5927\u5c0f\uff1b\n6)\u00a0DPIX\/DPIY\uff1a\u5c4f\u5e55DPI\uff1b\n7)\u00a0Source\uff1a\u8fd9\u662f\u4e00\u4e2a\u76ee\u5f55\uff0c\u5305\u542b\u7f16\u8bd1\u751f\u6210\u7684NK.bin\u3002\u5efa\u8bae\u6700\u597d\u5728%_WINCEROOT%\u4e0b\u65b0\u5efa\u4e00\u4e2a\u76ee\u5f55\uff0c\u4e13\u95e8\u7528\u4e8e\u5b58\u653eNK.bin\u3002<\/p>\n<p>\u8fd9\u91cc\u6211\u8bbe\u4e3aC:WINCE500MyCEEmuReleaseImage\u3002\n\u4fee\u6539\u5b8c\u6210\u540e\u4fdd\u5b58\u3002<\/p>\n<p>3.\u00a0\u751f\u6210SDK\u3002Platform->SDK->Build\u00a0SDK\u3002\u4e00\u5207\u987a\u5229\u7684\u8bdd\u5e94\u8be5\u53ef\u4ee5\u5728\u5f53\u524d\u5de5\u7a0b\u76ee\u5f55\u7684SDK\u76ee\u5f55\u4e0b\u627e\u5230\u6253\u5305\u6210 msi\u6587\u4ef6\u7684SDK\u5b89\u88c5\u5305\u3002<\/p>\n<p>\u4e09\u3001\u914d\u7f6eVisual\u00a0Studio\u00a02005\n1.\u00a0\u5148\u5b89\u88c5\u751f\u6210\u597d\u7684SDK\u3002\u8fd0\u884cVisual\u00a0Studio\u00a02005\uff0c\u9009\u62e9\u83dc\u5355\u201c\u5de5\u5177->\u9009\u9879\u201d\uff0c\u6253\u5f00\u9009\u9879\u8bbe\u7f6e\u5bf9\u8bdd\u6846\uff0c\u4ece\u5de6\u8fb9\u7684\u6811\u578b\u5217\u8868\u4e2d\u9009\u62e9   \u201c\u8bbe\u5907\u5de5\u5177->\u8bbe\u5907\u201d\uff0c\u53f3\u8fb9\u7684\u4e0b\u62c9\u5217\u8868\u6846\u62c9\u5230\u5e95\u53ef\u4ee5\u770b\u5230\u201cMyCEEmu\u201d\uff0c\u8fd9\u5c31\u662f\u6211\u4eec\u521a\u521a\u751f\u6210\u7684\u90a3\u4e2aPlatform\u3002\u4e0b\u9762\u7684\u8bbe\u5907\u5217\u8868\u91cc\u6709\u4e24\u9879\uff0c  \u53cc\u51fbMyCEEmu\uff0c\u8bbe\u5b9a\u4f20\u8f93\u4e3aDMA\u4f20\u8f93\uff0c\u518d\u70b9\u51fb\u201c\u4eff\u771f\u5668\u9009\u9879\u201d\uff0c\u5728\u201c\u663e\u793a\u201d\u9009\u9879\u5361\u91cc\u8bbe\u5b9a\u597d\u6a21\u62df\u5668\u5c4f\u5e55\u5c3a\u5bf8\uff0c\u989c\u8272\u6df1\u5ea6\u7b49\uff0c\u5168\u90e8\u4fdd\u5b58\u3002<\/p>\n<p>2.\u00a0\u65b0\u5efa\u4e00\u4e2a\u667a\u80fd\u8bbe\u5907\u9879\u76ee\uff0c\u5411\u5bfc\u7b2c2\u6b65\u9009\u62e9\u5e73\u53f0\u7684\u65f6\u5019\u7528\u6211\u4eec\u7684MyCEEmu\u66ff\u6362Pocket\u00a0PC\u00a02003\uff0c\u5b8c\u6210\u3002\u7136\u540e\u6309F5\u8fd0\u884c\u7a0b\u5e8f\uff0c\u4e0d\u51fa \u610f\u5916\u7684\u8bdd\u6a21\u62df\u5668\u5e94\u8be5\u5c31\u51fa\u6765\u4e86\u3002<\/p>","protected":false},"excerpt":{"rendered":"<p>\uff08\u672c \u6587\u8bd1\u81eaMicrosoft\u00a0DeviceEmulatorBSP\u4e2dUsing\u00a0the\u00a0CE\u00a0DeviceEmulator.rtf\u6587\u4ef6\uff0c\u5e76\u5bf9\u8be5\u6587\u4ef6\u8bf4\u660e \u505a\u4e86\u76f8\u5e94\u8865\u5145\uff0c\u65e8\u5728\u5b9a\u5236\u57fa\u4e8eARM4I\u5e73\u53f0Visu&#46;&#46;&#46;<\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[116,115,114,117],"class_list":["post-171","post","type-post","status-publish","format-standard","hentry","category-other","tag-arm","tag-ce","tag-visual-studio","tag-117"],"_links":{"self":[{"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/posts\/171","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/comments?post=171"}],"version-history":[{"count":1,"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/posts\/171\/revisions"}],"predecessor-version":[{"id":172,"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/posts\/171\/revisions\/172"}],"wp:attachment":[{"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/media?parent=171"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/categories?post=171"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/tags?post=171"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}