You are on page 1of 62

eBox-2300 Windows Embedded CE 6.

0 Jump Start Guide

By Samuel Phung, eMVP

ICOP Technology Inc.

Step-by-step guide to build create Windows Embedded CE 6.0 OS Design, build CE 6.0 OS image for t e e!o"-#$00 using %latform-!uilder and t e &CO%'(orte")6'60! !S%.

Introduction
*earning by e"ample is an effecti+e met od to learn and become familiar wit new tec nologies. , is -umpstart guide, using ands-on-lab approac wit step-by-step instruction, is created to s ow t e process of creating, customi.ing, building and downloading a Windows Embedded CE 6.0 image on to e!o"-#$00 using t e &CO%'(orte")6'60! !oard-Support-%ac/age. , is guide also s ows ow to create a 0ello-world (isual Studio #001 C2 managed code application, establis a connection between e!o"-#$00 and (isual Studio #001 wor/station using Corecon and download t e application to e!o"-#$00. , is -umpstart guide elps de+eloper new to Windows CE to become familiar wit Windows CE3s tools and de+elopment en+ironment 4uic/ly. , e de+elopment wor/station is a Windows 5% %rofessional mac ine wit all of t e latest update and ser+ice pac/s. (isual Studio #001, Windows Embedded CE 6.0 %latform !uilder and t e &CO%'(orte")6'60! !oard-Support-%ac/age are installed on to t e de+elopment wor/station. 6n e!o"-#$00 is used as t e Windows CE target de+ice. Detailed information about e!o"-#$00 is a+ailable in appendi" D. !ot t e de+elopment station and e!o"-#$00 are connected to t e same local *67 segment wit D0C% ser+ice. , is guide pro+ides a 4uic/ and easy o+er+iew of ow to create, configure and build Windows Embedded CE 6.0 OS image for e!o"-#$00. 6dditional sub-ects rele+ant to (orte")6 ardware and application de+elopment using (isual Studio #001 are also co+ered. 8eferences and ot er tec nical information for Windows CE are listed in 6ppendi" C. Note9 To go through all of the exercises in this guide, you need to have Visual Studio 2005, Visual Studio 2005 SP1, Windows E !edded "E #$0 Platfor %uilder and &"'P(Vortex)#(#0% %oard*Su++ort*Pac,age installed on your develo+ ent station$ -efer to a++endix . / % for device +re+aration and setu+ infor ation$

eBox-2300 JumpStart Kit
eBox-2300 JumpStart kit includes the following
• 6n e!o"-#$00 embedded system wit :#);! 86; and a #16;! EmbedDis/ <&DE bootable flas storage= > power supply. , e e!o"-#$00 is pre-configured to boot to DOS and pro+ide +arious options to load t e Windows CE image. 6 pre-built Windows Embedded CE 6.0 image is included. • E+aluation +ersion of Windows Embedded CE 6.0 %latform !uilder. , is is a fully functional :)0-day e+aluation +ersion of Windows Embedded CE 6.0 %latform !uilder. 6 :)0-day e+aluation +ersion of (isual Studio #001 %rofessional is also included. • e!o"-#$00 Windows Embedded CE 6.0 ?umpStart CD &CO%'(orte")6'60! !oard-Support-%ac/age, SD@ and a pre-built Windows Embedded CE 6.0 image are on t is CD along wit ot er resources. • One 8?-A1 Et ernet Crosso+er cable Wit a crosso+er Et ernet cable and proper static &% address settings, Windows CE de+ice can be connected directly to t e de+elopment wor/station to create a stand alone de+elopment en+ironment. • One D!-B female to D!-B female null modem serial cable , e null modem serial cable is used to connect between CO;: of t e Windows CE de+ice to an a+ailable serial port on t e de+elopment wor/station. Debug messages from t e Windows CE de+ice can be captured by using 0yper ,erminal, wit serial port setting setup for $)A00 !aud and ) data bits-7o parity-: stop bit.

....0 Components..............:) Ot er Windows Embedded CE 6..............................#) ....................................................................ools...0 OS Design Wi............ard C 7etwor/ing > Communications.................................................................:0 (isual Studio #001 &DE...............................................................#0 Configuration .......................................................e t e OS Design C .......:D En ancing t e OS Design C 6dd Eunctions > Eeatures.................................:1 %art A C Customi.......6 Windows Embedded CE 6........................................................................:# OS Design Wi...:0 Windows Embedded CE 6......................................................0 De+elopment .......:: OS Design Wi.........................................................................................................................) %latform !uilder &nstallation..................ard................................6 Windows Embedded CE 6................................#D %art 1 C Download OS &mage to e!o"-#$00........................................................:$ OS Design Wi................................ard C !oard Support %ac/ages <!S%s=................ard C 6pplications > ........................edia................B %art $ C Configure an OS Design.......:1 Catalog &tem 7otification........# e!o"-#$00 ?umpStart @it..............................................................................................................................................................arget De+ice Connecti+ity Options.......................0 OS &mage Generated.....................................................................................................................................................#A !uilding Windows Embedded CE 6.......................odifyF6dd 8egistry Entry.............................................................................................................................0.....#) Configure ............................................................0 &nstallation..............................................................................................Table of Contents &ntroduction...........0 OS &mage..........................................................................................................................................................................emplates..) !oard-Support-%ac/age &nstallation..........................................................................................................................:# OS Design Wi.......B (S#001 CoreCon Component &nstallation..................#$ Configure OS Design %ro-ect %roperty C En+ironment (ariables...........Windows Embedded CE 6.........## Configure OS Design %ro-ect %roperties C !uild Options...............................................................e and build t e OS Design.................$ %art : C W at3s 7ew....#A Eurt er Customi......$ e!o"-#$00 ?umpStart /it includes t e following....................................................................................................................anager C Debug > 8elease !uild...................................................................................:A OS Design Wi......#6 !uild Complete ................................................................ard C Design ..........................................6 %art # C Windows Embedded CE 6..........................................................................ard C Complete......

..........................................................................1B &FO .................ec nical &nformation...............................................................ype : Connector <(ertical ...........................................................................$A Create and Configure Windows Embedded CE 6.................................A6 Summary..................................................................................................................................................0 SD@.ype=....................................................................arget De+ice ...................................apping......................................1: 6ppendi" ! C De+elopment En+ironment Setup C Wit out D0C%.........$: Deploy t e CE 6.......1B 6ddress.....................$B Step $9 Connecting e!o"-#$00 to (S#001 Station using Corecon ..1A ?$9 JS! <B0o=C A-pin JS! ...........................................................................ec nical &nformation 8eference..................Iou3+e completed all t e steps...........................................................................................................#B Establis Connection wit e!o"-#$00 .............................wit D0C% ser+ice..........................................................1$ 6ppendi" D C e!o"-#$00 ..............................1# 6ppendi" C C Windows CE ...........................................................................................emory ..................................................................................0 SD@.......................................$A !uild Windows Embedded CE 6......................................................60 6ppendi" E C e!o"-#$00 !oot Options......................AA Step A9 Download C2 6pplication to e!o"-#$00....................................................6: ...............................................apping....1D .................................................................10 6ppendi" 6 C De+elopment En+ironment Setup .......#B Downloading &mage to e!o"-#$00..................................................................................................apping......................................AB CongratulationsH ..........A1 Debug &nformation..................0 SD@...................0 OS &mage to t e e!o"-#$00.............1B &FO 6ddress..........$) Step :9 Create a 7ew (isual Studio #001 C2 %ro-ect................................................................1B &8K ....................................................$D %art D C C2 6pplication wit (isual Studio #001......................................................................................................................$$ %art 6 C Windows Embedded CE 6................................$) Step #9 %reparing e!o"-#$00 to Connect to (S#001 ..................................................6dd 7ew ....................................................................................................................

ser+ers. it0s good +ractice to install all u+date. networ/ing and communications tec nologies. e"pands upon t e solid foundation de+eloped in pre+ious Windows CE +ersions by pro+iding9 • • • • • • • • Supports $#. Windows Embedded CE 6. (isual CLL and (isual C2 programming language.0.Part 1 !hat"s #ew !indows $m%edded &$ '(0 . 12E and +atches$ . and de+ices Compact Operating System image Windows Embedded CE 6.0 pro+ides de+elopers wit broad de+ice support and en anced features and tec nologies.000L concurrent running processes Eac running process a+e access to #G! of memory space %roduction Kuality de+ice dri+ers Secure and scalable networ/ing Deterministic real-time processing 8ic multimedia and Web browsing capabilities &nteroperability wit %Cs. secure performance in a small footprint along wit t e latest multimedia.asp" for more information about Windows Embedded CE 6. e Windows Embedded CE 6. 6lt oug %latform !uilder can be use to de+elop application. Compact Eramewor/. Windows Embedded CE 6.edia Codecs. Web ser+ices. %latform !uilder is also t e de+elopment tool used to de+elop de+ice dri+ers for ardware. connected.0. .0 deli+ers reliable.0.comFembeddedFwindowsceFdefault. (isual Studio #001 pro+ides better application de+elopment e"perience for Windows CE and can be used to create managed and nati+e code application using (isual !asic. (isit ttp9FFmsdn. . !indows $m%edded &$ '(0 )e*elopment +ools %latform !uilder is t e de+elopment tool used to configure an OS Design and build a Windows CE image from t e OS Design. &nternet E"plorer 6.icrosoft . and small-footprint de+ices.microsoft. e latest +ersion.7E.0 operating system combines t e ric est real-time embedded operating system wit t e most powerful tools for rapidly creating t e ne"t generation of smart. greater application compatibility wit ot er Windows CE-based de+ices. including +oice o+er &% <(o&%= p one and gateway configurations. Windows . platform de+elopment tool en ancements. and a number of ot er newly supported protocols and ser+ices. Note9 Visual Studio 2005 SP1 is needed to develo+ a++lication for Windows E !edded "E #$0$ When evaluating or using new technology and develo+ ent tool.

.

0 de+ice dri+ers and ardware abstraction library for t e ardware is needed by %! to create OS Design and build CE 6. (S#001 must already be installed onto t e de+elop station. :. it3s re4uired to use t e SD@ generated by %! for t e OS Design to support CE 6.0 application and download t e application onto e!o"-#$00 for testing and debug.0 <MCE 6. (isual Studio #001 wit S%: #.Part 2 !indows $m%edded &$ '(0 . !S%s Platform Builder . Corecon is t e component needed to establis lin/ between e!o"-#$00 and (S#001 de+elopment station for t e purpose of de+eloping CE 6.nstallation . X86 C%J support must be installed wit %! in order to use t e &CO%'(orte")6'60! !S% and build CE 6.o install %!.0 image for e!o"-#$00.0 application de+elopment using (S#001.0N= %latform !uilder <M%!N= is a plug-in for (isual Studio #001 <M(S#001N= and able to ta/e ad+antage of (S#0013s feature ric &ntegrated-De+elopment-En+ironment <M&DEN= > tools. !y default.0 image for t e ardware.0 and !S% must be installed in t e following se4uences. .0 %latform !uilder $. . %! installation program only selects and includes ARMV4I C%J support wit t e installation. Windows Embedded CE 6.nstallation %! is t e tool used to configure and build CE 6. !oard-Support-%ac/age <M!S%N= consists of all necessary CE 6. ICOP_Vortex86_60B !S% is pro+ided as part of t is -umpstart /it to create OS Design and build CE 6. (S#001.0 OS images. W ile %! installation does not re4uire (S#001 S%:. e!o"-#$00 is an ")6 de+ice.0 image for e!o"-#$00. CE 6. is latest +ersion Windows Embedded CE 6.

.0 de+ice e+ery time after reset to establis lin/ wit (S#001 de+elopment station is inefficient and waste of precious de+elopment time. pro+ides by . .o install t is component. .0 %! is needed in order to use &CO%'(orte")6'60! !S% to create OS Design and build CE 6.icrosoft. double clic/ on CoreCon_x86_VS2005.0 installation.0 image for e!o"-#$00.nstallation CoreCon is used to establis lin/ between CE 6. and use t em to establis lin/ between t e CE 6. e installation will create a folder.0 de+ice for testing and debug.nstallation e!o"-#$00 !S% for CE 6.0 is pro+ided wit t is -umpstart /it in t e form of . sub-folders and copy files to t e MC9OW&7CE600O%latformON directory. 6fter installation.i/e 0all wit . .Eig.an'")6 Eiles ComponentN. Corecon component files for ")6 de+ices are included as part of (S#001 installation and located in t e following default installation folder.0 image.MSI file in t e ?umpStart CD3s MOCoreConN directory. CoreCon files will be built into t e resulting CE 6.0 de+ice and (S#001 de+elopment station to download (S#001 application onto t e CE 6. ere are different sets of Corecon component files to support different type of C%J. $$3Progra 2iles3"o on 2iles34icrosoft Shared3"ore"on31$03Target3W"E50036"P783 CoreCon files can be included wit t e OS Design pro-ect to build as part of t e CE 6. supported C%J selection Board-Support-Package . .MSI file located in t e O!S% directory on t e -umpstart CD pro+ided wit t is /it. : - CE 6.0 %!. simply double clic/ on t e ICOP_Vortex86_60B_BSP. and located in t e relati+e folder wit name of t e C%J. e !S% installation will create folder.0 de+ice and (S#001 de+elopment station.0 image. CoreCon files can also be copied to a CE 6. !y including t is component as part of an OS Design pro-ect. $$3Progra 2iles3"o on 2iles34icrosoft Shared3"ore"on31$03Target3W"E5003x)#3 .S& installation file. in MC9OW&7CE600O%ublicN. is included in t e ?umpStart CD3s MOCoreConN folder. CoreCon component for CE 6.an'")6N.0 image after t e image is built.0 %! component catalog as MCon. -S200. e need to copy CoreCon files to a CE 6.o install t is !S%. . MOCon. t e CoreCon component s ows up on CE 6. &ore&on &omponent . 7ote9 ")6 C%J support for CE 6. w ere MC9OW&7CE600O%latformN is t e installation directory for all !S%.

(isual ?2 and %latform !uilder. smart de+ice application. . (S#001 &DE pro+ides support to create different type of pro-ects. suc as Windows 6pplication.Part 3 &onfigure an /S )esign . (isual CLL.o use %!. (isual C2. W en starting (S#001. you s ould see a (S#001 screen similar to t e following9 Eig. %! for CE 6. Web Control. Depending on t e de+elopment preference selected during t e installation of (S#001. Console 6pplication. is section will guide you t ru t e process of creating and configuring an OS design using t e 7ew %latform Wi.0 is one of t e a+ailable pro-ect types. you need to start (S#001 and access %! from (S#001 &DE. select MFile | Ne | Pro!e"t #N t e following pro-ect screen will appear. to create an initial OS design wor/space w ic you will t en modify by adding Windows CE components. applications and ma/ing c anges to t e registry. . t ere are options for different type of pro-ects. Erom (S#001 &DE. . your (S#001 screen may loo/ different from t e abo+e. Windows Ser+ices. Class *ibrary. # - (isual Studio #001 &DE (isual Studio #001 pro+ides a common &ntegrated De+elopment En+ironment <M&DEN= for (isual !asic.ard wit in %latform !uilder.0 %! is a (S#001 plug-in. -isual Studio 200.)$ CE 6. etcP W en starting a new pro-ect wit (S#001.

n. $ - (S#001 7ew %ro-ect • • • • • On t e left side of t e 7ew %ro-ect screen.Eig. t e 0in(o + )&1e((e( C) 6. A - Windows Embedded CE 6. clic/ to ig -lig t Pl$t%or& B'il(er %or C) 6.0.a/e sure t e Cre$te (ire"tor. Eig. %or +ol'tion c ec/ bo" is c ec/ed. !indows $m%edded &$ '(0 /S )esign !i0ard W en a new CE 6. clic/ to ig -lig t OS *e+i. Clic/ on t e O/ button to continue.0 OS Design pro-ect is selected.0 OS *e+i. . On t e rig t side of t e 7ew %ro-ect screen.n 0i2$r( starts automatically to guide you t ru t e process and elp configure an OS Design.ard . Enter eBox2-00 as t e name of t e pro-ect.0 OS Design Wi.

t e OS Design Wi.ard pro+ides t e options to select an OS Design . 1 - OS Design Wi. . 6ll of t e installed !S%s.ard pro+ides t e option to select one or more !S% for t e new pro-ect. from a list of a+ailable !S%.• Clic/ on t e Next button to continue /S )esign !i0ard Board Support Packages 1BSPs2 &n t e !S% selection step. Eig. t e OS Design Wi.ard C Select !S% • • Select ICOP_Vortex86_60B3 x86 !S% Clic/ on t e Next button to continue /S )esign !i0ard )esign +emplates &n t e design templates selection step. including !S%s from t ird party companies are listed.emplate.

.edia components.ard C Design . &nternet E"plorer.Eig. etc..emplate (ariants • • Clic/ to ig -lig t and select Internet A55li$n"e Clic/ on t e Next button to continue /S )esign !i0ard 3pplications 4 5edia &n t e applications > media selection step. D - OS Design Wi. .ard C Design . t e OS Design Wi. 6 - OS Design Wi. Windows .emplates • • Clic/ to ig -lig t and select In('+tri$l *e4i"e Clic/ on t e Next button to continue Eig. Compact Eramewor/ to support managed code applications.ard pro+ides t e options to select .7E.

e following components are selected for t is e"ercise.edia .edia %layer 6pplication Windows .edia (ideoF. networ/ing and security components.ard C 6pplications > .Eig.%EG-A (ideo Clic/ on t e Next button to continue /S )esign !i0ard #etworking 4 &ommunications &n t e networ/ing > communications step.0 &nternet E"plorer 6.edia %layer OC5 Windows . . • • • • • • • .ard pro+ides t e options to select communication.0 Windows . Compact Eramewor/ #. t e OS Design Wi. ) - OS Design Wi.edia 6udioF.7E.%$ Windows .

Clic/ on t e Next button to continue. &atalog . /S )esign !i0ard &omplete 6t t is point. B - OS Design Wi. a security warning is raised to pro+ide a warning for any components included in t e OS Design t at can pose a security ris/.ard C Completed • Clic/ on t e Fini+6 button to continue.ard completed its tas/ and collected t e necessary OS Design parameters to configure an OS Design based on t e selected template and support components.Eig.ard. :0 - OS Design Wi. .ard C 7etwor/ing > Communications We will use t e default settings for networ/ing and communications. Eig.tem #otification 6t t e completion of OS Design Wi. t e OS Design Wi.

ard steps. %latform !uilder will generate t e necessary OS Design pro-ect folders and pull in all t e components re4uired by t e &nternet 6ppliance OS Design template along wit t e components selected during t e OS Design Wi.Eig. :: - Catalog &tem 7otification C Security Warning Clic/ on t e A"7no le(.e button to complete t e OS Design Wi.ard steps. .

t e e!o"#$00 solution may include an Me!o"#$00 OS Design pro-ectN. :# - (S#001 &DE after OS Design Wi. an OS Design.0 %latform !uilder pro-ect..0 %latform !uilder3s OS Designs directory <. . 6ll OS Design pro-ects are created under t is directory by default. wit t e elp of t e OS Design Wi. M(isual !asic managed code application pro-ectN.ed wor/ en+ironment to /eep different pro-ect types supporting t e same solution in one location. Eor e"ample. t e eBox2-00 pro-ect is created using t e Internet A55li$n"e design template along wit ICOP_Vortex86_60B !S%.Part 6 &ustomi0e and %uild the /S )esign 6t t is point. M(isual C2 managed code application pro-ectN and M(isual CLL nati+e code application pro-ectN.ard . • C9OW&7CE600OOSDesignsOe!o"#$00O Eolder for t e e!o"#$00 Solution (S#001 supports different pro-ect types. e following pro-ect folders a+e been created for t e eBox2-00 pro-ect.n+8=. C9OW&7CE600OOSDesignsOe!o"#$00Oe!o"#$00O . • Iour (S#001 &DE s ould loo/ li/e t e following screen9 Eig.80INC)6008OS*e+i. 6 solution pro+ides a centrali. is is t e folder for t e e!o"#$00 CE 6.ard. under t e main CE 6.

SB =o+t S'55ort | . Ite&+ (iew to bring it up. including applications.e Cl$++ *ri4er . Catalog-&tems-(iew window is w ere CE 6.o en ance t e functions and features of t e OS image.0 components can be added or remo+ed from t e OS Design. additional components <dri+ers. &f t e Catalog-&tems-(iew window is not +isible on your (S#001 &DE.SB Stor$.nin+t$ller . &t3s needed for application de+elopment using (isual Studio . BSP and ICOP_Vortex86_60B3 x86 folders and t e A'(io and *i+5l$. c ec/ to confirm t e following dri+ers are selected as part of t e OS Design.ard based on t e !S% and design template selected during t e OS Design Wi. dri+ers. from (S#001 menu. etc. Eig.. utilities > $rd party components t at can be added to t e OS Design. library. A55li"$tion+:)n( . *e4i"e *ri4er+ | Vortex86_A'(io *e4i"e *ri4er+ | Vortex86_*i+5l$. 6n e"isting set of components are pulled into t e e!o"#$00 OS Design by t e Wi.7E. select Vie | Ot6er 0in(o + | C$t$lo. e"pand t e 96ir( P$rt.= selected from t e component catalog can be added to t e OS Design. :$ - Component Catalog • E"pand Core OS | C)BAS) folder. e Catalog &tem (iew window lists all of t e a+ailable Windows CE components. sub-folders under *e4i"e *ri4er+. utilities.ard p ase. #00$ and (isual Studio #001.+er | CAB File In+t$ller<. find and include t e following components to t e OS Design. Core OS Ser4i"e+ | . is component pro+ides application installation > remo+al.$nhancing the /S )esign 3dd 7unctions 4 7eatures . • On t e Catalog-&tems-(iew window. applications. .

. is component pro+ides support for ot pluggable JS! storage de+ice supporting most JS! flas dri+e and e"ternal JS! mass storage de+ice..

ConM$n_x86 File+ Co&5onent . catalog folder and select t e following component.0 de+ice and (S#001 de+elopment station. ot er components from t e catalog can be included into t e OS Design to pro+ide additional functions.i+tr.+te& Re. :A - Component Catalog • E"pand Core OS | C)BAS) | File S.ard steps. 0i+e-based registry is used to store and sa+e registry entries c anged between power reset. e RAS Ser4er<PP9P Ser4er ?In"o&in.+te& > Intern$l | ROM:onl. is component adds CoreCon files to t e final image. . ma/e sure t e following two components are selected. /ther !indows $m%edded &$ '(0 &omponents &n addition to t e components selected during t e OS Design wi. File S. File S.@ component can be added to pro+ide inbound dialup networ/ connection +ia t e serial port.N)9 Co&5$"t Fr$&e or7 2. Eig. . During t e OS Design wi. Compact Eramewor/ #. !ot of t e abo+e two components are needed to support 0i+e-based registry implementation.0 components were selected to include in t e OS Design.• .0 • E"pand 96ir( P$rt. &f not selected during t e OS Design wi. . t e File Ser4er component can be added to pro+ide files and folders s aring o+er a networ/ connection. needed to establis connection between CE 6. select and include t e following components to t e OS Design.e | =i4e:1$+e( Re. .0 OS *e5en(en"ie+ %or .i+tr.7E.ard p ase.+te&+ $n( *$t$ Store folder. Eor e"ample. Compact Eramewor/ #.N)9 Co&5$"t Fr$&e or7 2. Stor$. e F9P Ser4er component can be added to pro+ide remote file upload and download ser+ices.0 components are needed to support managed code application. . under t e Core OS | C)BAS) | A55li"$tion+ $n( Ser4i"e+ *e4elo5&ent folder.ard and t e components automatically got pull into t e OS Design by t e template.7E.

ro.s co-ponent catalo/) !'! 5 (Driver availa+le .ace= and does >4' support hotswap2 ?hen a 06 card is plu//ed into the slot prior to power on= the syste.o learn more about eac of t e components on t e catalog.B.s co-ponent catalo/) !'! 5 (Driver availa+le . .) slot on eBox-<*00 is lin( to the 5D% inter.ro.B.ro.B.Eollowing is a list of e!o"-#$00 &FO perip erals and t e associated CE 6.s co-ponent catalo/) 0o-#6550 (Driver availa+le . .0 ri!ers " #upport Components Vortex86_Display (Driver included with BS ) Vortex86_!udio (Driver included with BS ) &')8#*$ (Driver availa+le .B.0 de+ice dri+ers and support components.s co-ponent catalo/) 05 Bus 'he 0o-pact6lash (:06. refer to t e elp document.ro.will detect and reco/ni@e the 06 card as slave 5D% stora/e2 ?hen +ootin/ to 0% 620= the 06 card will shows up as :3ard Dis( <.ro.s co-ponent catalo/) 4305 (Driver availa+le .s co-ponent catalo/) Serial ort Support (Support co-ponents .B.B.ro. eBeBox-2300 Peripherals Video (SiS-550) !udio (SiS-"0#$) %thernet (&eal'e(-8#00) Serial orts Serial orts 1SB orts (1SB #2# 3ost) 0o-pact6lash78 5D% 9ini 05 (internal slot) 78 Windows Embedded CE 6.

&onfiguration 5anager

)e%ug 4 8elease Build

Jsing t e configuration manager, t e OS Design can be configured to generate a debug or release image. 6 debug image will pro+ide additional debug messages w en t e compiled OS image loads and e"ecutes applications and modules. , e si.e of t e debug image is generally about 10Q larger in si.e comparing to t e release image built from t e same OS design. Eor t e purpose of t is guide, let3s select t e release build.

Eig. :1 -

Configuration ;anager

Erom (S#001 &DE, select B'il( | Con%i,'r$tion M$n$,er# to bring up t e Con%i,'r$tion M$n$,er screen. Erom t e 6cti+e solution configuration selection options, select ICOP_Vortex86_60B x86 Rele$+e and clic/ t e Close button to set t e OS Design to generate a 8elease image. 7ote9 6 Debug image pro+ides more detailed system status and acti+ities information during startup of t e OS and w en application modules are e"ecuting. ,o generate a debug image, repeat t is step and select ICOP_Vortex86_60B x86 *e1', option instead, and continue to finis building a debug image.

&onfigure /S )esign Pro9ect Properties

Build /ptions

Wit different !uild Options, t e OS Design can be furt er customi.ed to include additional functions to t e final image, pro+ide additional debug resources, etcP Erom (S#001 &DE, select Pro!e"t | eBox2-00 Pro5ertie+# to bring up t e OS Design %roperty screen.

Eig. :A -

OS Design %roperty C !uild Options

• • •

Clic/ to e"pand Con%i,'r$tion Pro5ertie+ tree on t e left side of t e screen. Clic/ to ig -lig t B'il( O5tion+, a list of !uild Options wit c ec/ bo"es will be s own on t e rig t side of t e screen. Select Enable eboot space in memory <&;GE!OO,R:= , is option adds support for Et ernet debugging by bundling t e Et ernet boot loader in t e image. Select Enable s ip build <W&7CES0&%R:= , is option will enable a retail build and suppress debug messages. Disable @&,* C ;a/e sure t e Enable @&,* <no &;G7O@&,*R:= c ec/ bo" is NO9 selected. 7ote9 W en deploying a release image onto e!o"-#$003s local storage wit @&,* enabled, t e system may not boot or ta/es a long time to complete t e boot process. , is is caused by t e system loo/ing for an una+ailable @&,* connection.

• •

&onfigure /S )esign Pro9ect Propert:

$n*ironment -aria%les

En+ironment +ariables are used to furt er customi.e t e OS Design by includeFe"clude certain components from t e image, set de+ice memory range > etcP. Continuing wit t e OS Design %roperty screen from t e pre+ious stepP

Eig. :1 -

e!o"#$00 %roperty %ages C En+ironment +ariables

• •

Clic/ to ig -lig t )n4iron&ent on t e left side of screen. Clic/ on t e Ne # button, enter IMARAMB28 for (ariable name, and enter B for (ariable +alue and clic/ on t e O7 button. !y setting t e &;G86;:#) +ariable, t e resulting image is generated for a system wit :#);! 86;. 7ote9 , e &;G86;:#) <or &;G86;"""= +ariable is ardware specific and is different between different ardware +endors <0ardware may be built wit different memory capacity.=. 7ot all !S% implement t e &;G""" +ariable.

Clic/ t e A55l. followed by t e O/ button to complete t e configuration.

7ote9 , e abo+e en+ironment +ariable settings are not common to all ardware. W ile t ere are common en+ironment +ariables applicable to all ardware, customi.ed en+ironment +ariables can be created to set ardware memory boundaries, includeFe"clude files wit t e final image > etcP

7urther &ustomi0e the /S )esign

5odif:;3dd 8egistr: $ntr:

, e OS Design and be a+ior for t e final OS image can be furt er customi.ed by ma/e c anges to t e registry. ,o de+elop and test CE 6.0 application using (S#001, CoreCon is used to establis connection between CE 6.0 de+ice and (S#001 de+elopment station. 0owe+er, &%address is one of t e /ey dependencies to establis t e connection. W en using dynamic &%6ddress, t e system may not start wit t e same &%-address e+ery time. 6s t e result, de+eloper

6 static &%-address for t e CE 6."%m+"."%&'or&() "IpA&&r#ss"%m+"./_s0("1912138212131" "7+! #. we can add t e following registry entries to t e OS Design.regN.#'a. from (S#006 &DE. Eig.as to configure &%-address for t e CoreCon connection fre4uently. clic/ on t e MSolution E"plorerN tab.e t is problem.. . [HKEY_LOCAL_MACHINE\Comm\PCI\RTL81391\Parms\TcpIp] "E a!"#$HCP"%&'or&() "$#*a+"..e"t mode using an 6SC&& te"t editor. &mproper &%-address can cause conflict to t e networ/ t e de+ice is connecting to.0 de+ice can elp minimi.o enter t e abo+e entries to %8O?EC./_s0("199219921992)" 7ote9 . or select t e source mode to modify registry entries in . . .o assign and build an OS image wit a static &%-address. is is -ust an e"ample of assigning and builds CE OS wit static &%-address.mas8"%m+". Iou can use t e pro+ided registry editor to add and ma/e c anges to t e registry. :6 - (S#001 &DE C 8egistry editor . e abo+e entries s ould be added to t e OS Design3s %8O?EC.8EG registry file. e"pand t e M%arameter EilesN folder and select Mpro-ect./_s0("19121382121" "4s#5#ro6roa&cas.-a.8EG.

Building !indows $m%edded &$ '(0 /S . . t e output tab on (S#001 &DE displays compilation acti+ities. :6 - (S#001 &DE C OS Design being compile and build Depending on t e speed of t e de+elopment system. t e build process may ta/e appro"imately :1S#0 minutes. select B'il( | B'il( Sol'tion to build OS image from t e OS Design pro-ect. Eig. During t e build process.mage Erom t e (S#001 &DE.

e ne"t section will co+er connecting t e e!o"-#$00 to t e de+elopment station to download and e"ecute t e n/. t ere s ould be a N/.!indows $m%edded &$ '(0 /S .Build &omplete . t e (S#001 &DE s ould loo/ li/e t e following9 Eig. wit a successful build. is is t e Windows Embedded CE 6. :D - (S#001 &DE C !uild completed W en t e build process is completed.BIN file. Eor t e Debug image9 C9OW&7CE600OOSDesignsOe!o"#$00Oe!o"#$00O8elDirO&CO%'(orte")6'60!'")6'Debug Eor t e 8elease image9 C9OW&7CE600OOSDesignsOe!o"#$00Oe!o"#$00O8elDirO&CO%'(orte")6'60!'")6'8elease Searc ing t e abo+e directories. t e resulting files are generated in t e following build release directories. . . .bin image built in t is section for t e e!o"-#$00.mage <enerated W en t e build process is completed.0 OS image.

6 connection between t e e!o"-#$00 and t e de+elopment station needs to be establis ed to accomplis t is tas/. or pro-ect in+ol+ing multiple target ardware to be more efficient.o pro+ide more information about t e connecti+ity option. O5tion+# to bring up t e 9$r. let3s create a de+ice connecti+ity profile for t is pro-ect. )ownload /S . 7ote9 . :) Connecti+ity Options . e firewall utility may be bloc/ing t e connection. Erom (S#001 &DE.Part .ultiple de+ice connecti+ity profiles can be created to elp de+eloper wor/ing on multiple pro-ects.et | Conne"ti4it.et *e4i"e Conne"ti4it. . . . e image generated from t e pre+ious session is ready to be downloaded to t e de+ice. O5tion+ screen Eig.mage to eBox-2300 &onfigure +arget )e*ice &onnecti*it: /ptions . disable firewall utility.arget De+ice 6 connection can be establis by modifying t e default C) *e4i"e settings. &f t ere are problem establis connection. select 9$r. 7ote9 %lease refer to 6ppendi" 6 and ! for e!o"-#$00 and de+elopment station connecti+ity information.

3dd #ew +arget )e*ice Erom t e 9$r. :B - . Eig. clic/s on one of t e Settin.arget De+ice Connecti+ity Options $sta%lish &onnection with eBox-2300 Erom t e 9$r. Eig.et *e4i"e Conne"ti4it.+ screen. O5tion+ screen. #0 - Et ernet Download Settings .et *e4i"e Conne"ti4it.+ buttons to bring up t e )t6ernet *o nlo$( Settin. Enter eBox2-00 as t e new target de+ice name and clic/ on t e A(( button to continue. clic/s on A(( *e4i"e to bring up t e new target de+ice screen. O5tion+ screen.

:6). A or 1. select option #.+ dialog screen s ould loo/ similar to t e following. . select option 6.#$#.#. Option 6 S )9 Option B9 &f t e de+elopment station and e!o"-#$00 are connected to a *67 wit D0C% ser+ice. 6fter e!o"-#$00 boots-up and sends a boot-me re4uest. B.bin wit out display settings= !oot CEF%C <Static &%9 :B#.#$#=. $. t e )t6ernet *o nlo$( Settin.urn on power and boot up e!o"-#$00 wit t e pro+ided Windows CE SD@ boot image. e e!o"-#$00 will load eboot. $.bin <Windows CE image= from local storage wit :0#A"D6) display resolution.et (e4i"e+ list bo". wit out display settings= Clean !oot <no commands= .bin wit F*9)00"600"$#= !oot CEF%C <et er +ia eboot. A. . wit F*96A0"A)0"$#= !oot CEF%C <Static &%9 :B#. . !oots up to a clean DOS en+ironment.:6). #.#$#. 6.#$#. ).#.bin w ic in turn will send re4uest to an a+ailable D0C% ser+er to assign an &% address. en. it sends bootme re4uest to t e %latform-!uilder de+elopment station. wit a de+ice &D listed in t e A"ti4e t$r. . D or )..bin wit a static &% address <:B#.:6). wit F*9:0#A"D6)"$#= !oot CEF%C <Static &%9 :B#. 1.:6). &f e!o"-#$00 is connected directly to t e de+elopment station using a crosso+er Et ernet cable. &t will boot to DOS and pro+ide t e following menu selections. Option :9 Option # S 19 !oot CEF%C <local n/.#. e e!o"-#$00 will load 7@.bin wit F*9:0#A"D6)"$#= !oot CEF%C <et er +ia eboot. :. and sends a bootme re4uest to t e %latform-!uilder de+elopment station. D.bin wit F*9:0#A"D6)"$#= !oot CEF%C <et er +ia eboot. e e!o"-#$00 will load eboot.#.bin wit F*96A0"A)0"$#= !oot CEF%C <et er +ia eboot.

t ere may be multiple (e4i"e I*+ listed in t e A"ti4e *e4i"e+ windows. On t e . . .e to PN screen will come up.et T Att$"6 *e4i"e. wit multiple e!o"-#$00 sending bootme re4uest.Eig. e following M*o nlo$( R'nti&e I&$. Erom (S#001 &DE select 9$r.o identify t e e!o"#$00 you are wor/ing wit . )ownloading .mage to eBox-2300 Iou are now ready to download t e Windows CE image built during t e earlier steps to t e e!o"-#$00. and t en Clo+e. #: - Et ernet Download Settings • Clic/ and ig lig t t e de+ice &D listed in t e A"ti4e *e4i"e+ window • Clic/ O7 to continue 7ote9 &n t e en+ironment w ere t ere are multiple e!o"-#$00s connected to t e same networ/ segment. . clic/ on A55l. ma/e sure it3s t e only one booting and sending a bootme re4uest.arget De+ice Connecti+ity Options screen.

## - &mage-download F wait for bootme • • . 6gain.e screen s owing t e image being download to t e de+ice. #$ - Download 8untime &mage F downloading 6fter t e image download process is completed.urn on power and boot up eBox:2-00 Select an option from t e menu according to your setup and display preference 6fter e!o"-#$00 completes t e boot-up process and send boot-me re4uest. . W en t e Windows CE screen is displayed on e!o"-#$00.Eig. you will see acti+ities on t e *o nlo$( R'nti&e I&$. Eig. e!o"-#$00 will load t e Windows CE image it -ust recei+ed. be patientP &t may ta/e a few moments for t e image to come up. it3s an indication t e booting process is completed.

t e 7@.bin file to e!o"-#$00 &DE flas storage3s root directory <o+er written t e e"isting 7@.= . <. w en t e CE 6. e!o"-#$00 can be set to boot from JS! bootable storage de+ice.0 des/top running on e!o"-#$00 )eplo: the &$ '(0 /S . from OWinCE600OOSDesignsOe!o"#$00Oe!o"#$00O8elDirO&CO%'(orte")6'60!'")6'8elease directory to t e JS! bootable flas storage.0 image to t e e!o"-#$003s local storage.!&7 image file needs to be copy manually to e!o"-#$003s local storage. :. directly and is not sa+ed to t e local storage. 8efer to 6ppendi" E for setup information. !oot e!o"-#$00 wit t e JS! bootable flas storage and copy t e 7@.Eig. it3s being loaded to t e system 86. $.bin= from a s ared networ/ file folder to t e M0ard Dis/N folder.bin file=.0 image is downloaded and launc ed on t e e!o"-#$00.0 image downloaded from t e %latform !uilder de+elopment station.mage to the eBox-2300 &n t e pre+ious step.bin. .0 OS image file <7@. #A - Windows Embedded CE 6. copy t e CE 6. 7@. Jsing a JS! bootable flas storage.0 OS image file.0 OS image onto e!o"-#$003s local storage.o deploy a CE 6. 8emo+e t e EmbedDis/ <&DE bootable flas storage= from e!o"-#$00 and copy t e image file <7@. ere are multiple met ods to copy t e CE 6. #. copy CE 6. Jse a JS! bootable flas storage. W ile running a CE 6. is met od re4uires special ardware adapter. .bin= using ardware setup capable of copying file to &DE storage de+ice.

clic/ on In+t$ll and enter MSI %ol(er 5$t6 and MSI %ile n$&e on t e rig t side. a SD@ can be generated from t e same pro-ect.0 OS image for e!o"-#$00. configuring and building a SD@ from t e OS Design.03s ad+antages is t e ease of application de+elopment using (isual Studio #001. we will go t ru t e step of creating.0 applications using (isual Studio #001 and establis a connection to download applications to t e e!o"-#$00 for testing and debug. Eig.e. Jse t e default pat .&+i as t e file name.. (S#001 needs a SD@ for e!o"-#$00. P$.e+ screen. &reate and &onfigure !indows $m%edded &$ '(0 S)K Erom (S#001 &DE. we created and configured an OS Design to build a CE 6. &n t e pre+ious steps. &n order to create CE 6. P$. . select Pro!e"t | A(( Ne S*/# to bring up t e S*/ Pro5ert.Part ' !indows $m%edded &$ '(0 S)K 6not er one of CE 6. &n t is section. #1 - SD@ %roperty %age • • • Enter e!o"#$00'WinCE600'SD@ as t e name for t e SD@ Eill in t e company name and company website information On t e left side of S*/ Pro5ert. and enter eBox2-00_0inC)600_S*/.

e.e+.o ma/e c anges to t e SD@ before building. and t en O/ button to complete t e 6dd 7ew SD@ process. #6 - SD@ %roperty %age • On t e left side of S*/ Pro5ert. from (S#001 &DE. #D - SD@ %roperty %age • Clic/ on t e A55l. P$. .e( (e4elo5&ent +'55ort. 7ote9 . clic/ on De+elopment *anguages and select bot N$ti4e $n( M$n$. e"pand t e S*/+ folder. Eig.Eig. rig t clic/ on eBox2-00_0inC)600_S*/ and select Pro5ertie+ to bring up t e S*/ Pro5ert. select t e Sol'tion tab. P$.

Eig. #) - (S#001 &DE F Edit SD@ .

6 SD@ wit t e file name MeBox2-00_0inC)600_S*/.&+iN is generated in t e following directory..OW&7CE600OOS DesignsOe!o"#$00Oe!o"#$00OSD@sOSD@:O.Build !indows $m%edded &$ '(0 S)K Erom (S#001 &DE.0.S&O &nstall t is SD@ to t e (S#001 station used to de+elopment CE 6. 7ote9 (S#001 S%: must be installed before attempting to install SD@ for CE 6. select B'il( | B'il( All S*/+# to build and generate SD@ installation file.0 application for e!o"-#$00. . .

0. On t e rig t side of t e screen. let3s add some simple code to t e application. Select File | Ne | Pro!e"tC t e following new pro-ect screen will appear. • • • • 8esi. 7ote9 %ro-ect files for t is e"ercise are pro+ided in t e . is section will go t ru t e process to s ow ow to connect t e e!o"-#$00 to a de+elopment station wit (isual Studio #001 w ile de+eloping a managed code application using (isual !asic or (isual C2. &> Pro9ect Erom (isual Studio #001 &DE. we will use (isual C2. enter Me!o"#$00'DemoN as t e pro-ect name and clic/ MO/N.0. #B - (S#001 &DE F 7ew %ro-ect On t e left and side. . Eor t e e"ercise in t is section. e"pand M(isual C2N and MSmart De+iceN folders to select MWindows CE 1. C ange t e Eorm caption to Me!o"#$00 (isual C2 DemoN 6dd a te"t-bo" to t e form. 6fter t e pro-ect is created. Eig. e steps s ould be similar for de+eloping wit (isual !asic wit in (isual Studio #001.O(C2'Sample directory on t e CD. Step 1? &reate a #ew -isual Studio 200.Part = &> 3pplication with -isual Studio 200. c ange t e name to te"t0elloWorld. .e <$#0"#A0= to ma/e it easy to see t e application w en it runs on CE 6.e t e Eorm to a smaller si.0.. c ange t e name to button0elloWorld. (isual Studio #001 can be used to de+elop nati+e and managed code applications for CE 6. and clear t e content in t e te"t-bo" 6dd a button to t e form. select MDe+ice 6pplicationN. and c ange t e te"t on t e button3s caption to M0ello WorldN .

ese files are stored at t e following directory on t e (isual Studio #001 de+elopment wor/station.6dd t e following code to t e Mbutton0elloWorld'Clic/N e+ent.e"e C.. .dll .e"t R U0ello World. e following 1 files need to be included wit t e CE 6.e"e eDbg.dll .o perform t is portion of t e e"ercise. Eig.cpConnection6.0 image running on e!o"-#$00. Corecon components are used to connect e!o"-#$00 to (isual Studio #001 de+elopment wor/station. and e!o"#$00'WinCE600'SD@ must be installed. te"t0elloWorld. . CE 6.*.accept. Step 2? Preparing eBox-2300 to &onnect to -S200. $0 - (S#001 &DE F 7ew %ro-ect Compile and build t e (isual C2 application.e"e ConmanClient#.0 image configured and built during t e pre+ious sections of t is guide must be downloaded and running on e!o"-#$00. . • • • • • Clients utdown.UV (isual Studio #001 &DE screen may loo/ li/e t e following screen s ot.

O%rogram EilesOCommon EilesO.argetOwceA00O.0 des/top wit t e "&( command to open a console command window. e!o"-#$00 is designed using an ")6 C%J arc itecture..0O.N Corecon components supporting different C%J arc itectures are pro+ided. .icrosoft S aredOCoreConO:. e resulting CE 6. .an'")6 Eiles Component was added to t e OS Design. clic/ on St$rt | R'n from CE 6.o establis a connection between t e e!o"-#$00 and t e (isual Studio #001 de+elopment station. ere are folders. .0 image built from t e OS Design already as t e CoreCon files. .0 des/top C e"ecuting cmd command • Erom wit in t e console command window..O")6N sub folder are used. • Erom e!o"-#$00 des/top. CoreCon components in t e M. e e!o"-#$00 &% 6ddress is needed w en setting up t e de+ice properties wit in (S#001 to establis connection between e!o"-#$00 and (S#001 de+elopment station. type + I5Con%i.. $: - CE 6. . to +iew t e e!o"3s assigned &%-address. wit names corresponding to t e C%J.0 running. containing Corecon components for eac C%J family. Con. wit CE 6. Eig. &n t e earlier part of t is guide.M. carry out t e following steps.

Eig.0 console command window . $# - CE 6.

ools Options • • On t e left. select 9ool+ | O5tion+# Eig. let3s mo+e to (S#001 &DE to configure de+ice settings. Erom (S#001 &DE.7ow t at we a+e e!o"-#$003s &% address. set t e target de+ice to MeBox2-00_0inC)600_S*/ x86 *e4i"eN Eig. $A - (S#001 . &n order for t is to wor/. bot t e (S#001 de+elopment station and e!o"-#$00 must be connected to t e same *67 segment and ac4uire t eir &% address from t e same D0C% ser+er. . On t e rig t. clic/ to e"pand t e M*e4i"e 9ool+N folder and select t e M*e4i"e+N subfolder. select eBox2-00_0inC)600_S*/ from t e list of a+ailable platform in t e S6o (e4i"e+ %or 5l$t%or& combo te"t bo". $$ - (S#001 &DE F select target de+ice Erom (S#001 &DE.

• Clic/ on t e Pro5ertie+ button to bring up eBox2-00_0inC)600 x86 *e4i"e Pro5ertie+ setting screen Eig. $6 - Configure .C%F&% .'re button to bring up Con%i.+e +5e"i%i" IP $((re++ and enter e!o"-#$003s &% address Eig. . $1 - e!o"#$00'WinCE600 ")6 De+ice properties • • Clic/ on t e Con%i.ransport F Set de+ice &% 6ddress • Clic/ O/ and to commit de+ice &% address setting.'re 9CP<IP 9r$n+5ort Select .

Erom t e Windows folder. Eig. Station using &orecon . t e Connecting dialog bo" will display Connection succeeded to indicate a successful connection. ta/e t e following steps to launc Con&$nClient2. wit CE 6. • • • Erom e!o"-#$00 des/top. and clic/ on t e Conne"t button.o initiate connection between (S#001 de+elopment station and e!o"-#$00 using Corecon. $D - Connect to De+ice <e!o"-#$00= W en connection is successful.exe Corecon components from e!o"-#$00.0 image created in t e earlier steps running. *e4i"e and open t e 0in(o + folder.exe to launc Corecon connection ser+ice.Step 3? &onnecting eBox-2300 to -S200. double clic/ on Con&$nClient2. Erom (isual Studio #001 &DE.exe follow by double clic/ on "M$""e5t. select 9ool+ | Conne"t to (e4i"e# and select eBox2-00_0inC)600_S*/ from t e list of a+ailable de+ices. . double clic/ on M.exe and "M$""e5t.

select Debug | St$rt *e1'.0 des/top wit C2 managed code application running . $B - Deploy e!o"#$00'Demo • • Select eBox2-00_0inC)600_S*/ and clic/ *e5lo.Eig. e C2 managed code application will download and e"ecute on e!o"-#$00 as s own in t e following screen s ot. Eig. A0 - CE 6. . $) - e!o"-#$00 connected Step 6? )ownload &> 3pplication to eBox-2300 We are now ready to download t e C2 application to e!o"-#$00.. to bring up t e *e5lo. Eig. eBox2-00_*e&o screen. Erom (isual Studio #001 &DE.in.

select ICOP_Vortex86_60B x86 *e1'.nformation W ile it3s not wit in t e scope of t is guide to co+er in dept de+elopment and debug issues. Clic/ to e"pand t e Con%i. Eig. select Pro!e"t | eBox2-00 Pro5ertie+# to bring up t e OS Design %roperty screen. Me!o"#$00N. Erom (S#001 &DE.)e%ug .'r$tion M$n$.er screen. select B'il( | Con%i. Erom t e 6cti+e solution configuration selection options. we feel it3s informati+e to point out some of t e built-in debug resources %latform !uilder pro+ides. Jsing t e same %latform !uilder pro-ect. . and clic/ t e Close button to set t e OS Design to generate a debug image. created in t e earlier part of t is guide. A: - Configuration .anager Erom (S#001 &DE.er# to bring up t e Con%i. Switc to MDebugN build mode to build a MDebug &mageN wit t e following M!uild OptionsN.'r$tion Pro5ertie+ folder and select B'il( O5tion+.'r$tion M$n$.

6fter t e debug image is downloaded to e!o"-#$00.6A en+ironment +ariable w ic in turn sets t e system memory to 6A.er <no &.G86. e e!o"-#$00 as :#). . Clic/ MO@N to close Pl$t%or& Settin.e :#). A# - Configuration . is build option sets t e &. 6fter t e debug image build process is completed.! system memory.+ screen. . t e %latform !uilder &DE s ould loo/ similar to t e following screen.G7O@&.! system memory by default. Erom t e (S#001 &DE.*R:= Fl'+6 tr$"7e( e4ent+ to rele$+e (ire"tor.!. 1oot <&. <&. . <&. e !S% is configured to utili. follow t e procedure in MDownload &mage to e!o"-#$00N <page #A= to download t e debug image to e!o"-#$00. .GCE*OGE76!*ER:= )n$1le 7ernel (e1'. • • • • • )n$1le e1oot +5$"e in &e&or. select B'il( | B'il( Sol'tion to build t e debug image from t e OS Design pro-ect.G7ODE!JGGE8R:= )n$1le /I9D <no &.er t6$n -2MBN to disable t is build option.e C$n 1e D$r. ('rin..anager Enable t e associated c ec/ bo" to select t e following build options.G6J.GE!OO.OE*JS0R:= Jn-c ec/ MR'n:ti&e I&$.Eig.R:= )n$1le e4ent tr$"7in.

Debug output messages can be copied to a te"t file to be analy. . NO9)3 . e additional information is useful.e in detail. 8efer to %latform !uilder online document for more information about +arious debug and trouble s ooting resources a+ailable. !e patient and let t e image complete t e boot process. O't5't window. t e display s ows muc more detailed information about t e image3s boot up and de+ice dri+er loading process. . e debug image ta/es more time to complete t e boot process. A$ - (S#001 &DE Wit in %latform !uilder3s *e1'. to elp debug and sol+e problems and pre+ent potential problems. and may be critical.Eig.

Summar: Iou a+e now completed t e steps in t is guide. .0 Configure t e OS Design to build a debug image. 0ere3s w at we a+e co+ered9 • • • • • • • • Created an OS Design pro-ect Customi.ed t e OS Design by adding additional components !uilt a Windows CE image from t e OS Design Downloaded a Windows CE image to e!o"-#$00 Create a C2 managed code application using (isual Studio #001 Establis connection between e!o"-#$00 running CE 6.0 and (S#001 de+elopment station using Corecon Deploy C2 managed code application from (S#001 and launc on e!o"-#$00 running CE 6.

o learn more about (orte")6 ardware.comFembeddedFcommunityFcommunityFnewsgrpF .net 6dditional Windows CE information references are a+ailable in t e 6ppendi"es.com % one9 <6#6= AAA-6666 Jpdate to t is -umpstart guide and ot er Windows CE information resources are a+ailable at t e following web site9 ttp9FFwww.microsoft.asp" ttp9FFmsdn.comFembeddedFgetstartFdefault. ttp9FFwww.embeddedpc.comFembeddedFgetstartFbasicsFdefault.asp" ttp9FFmsdn. .asp"2cead+: ttp9FFmsdn.+orte")6. .microsoft.com ttp9FFwww. +isit t e following Web sites.Aou"*e completed all the steps( .microsoft. ere are many additional resources to elp you gain additional Windows CE /nowledge.icoptec .icrosoft Web sites. ttp9FFmsdn.&ongratulations@ .comFembeddedFusewinembFceFdefault.com Or contact &CO% email9 infoWicoptec .microsoft.

!ot t e de+elopment station and e!o"-#$00 s ould be connected to t e same *ocal-6rea-7etwor/ wit D0C% ser+ice.: port pro+ides additional debug information. . try disabling firewall on t e de+elopment station to see if a connection is establis ed. !ot t e de+elopment station and e!o"-#$00 are connected to a *ocal *67 wit D0C% ser+ice.ed for D0C% in t e D0C% ser+er.: and e!o"-#$003s CO. ports wit t e e!o"-#$003s CO. 7ote9 &f you are not able to download CE 6. e null serial debug cable is connected between de+elopment station3s CO.with )B&P ser*ice &t3s recommended t at you use Windows 5% %rofessional wit your de+elopment station. 6 7J** modem serial cable lin/ing one of t e de+elopment station3s CO. Some secure networ/s re4uire t at t e . .0 image to e!o"-#$00. &f t e e!o" does not boot wit t is configuration. you may need to enable D0C% ser+ice for eac new de+ice on your networ/.:.6C address be added to t e list of de+ices aut ori. $his is a t%pical setup.3ppendix 3 )e*elopment $n*ironment Setup .

port wit e!o"#$003s CO. 6 7J** serial cable lin/ing between one of t e de+elopment station3s CO. t e &% address for t e de+elopment station must be configured correctly for it to wor/. &n t is setup. :6) . Eollowing is t e &% address setting guideline for t e de+elopment station.3ppendix B )e*elopment $n*ironment Setup !ithout )B&P &t3s recommended t at you use Windows 5% %rofessional wit your de+elopment station. e!o"-#$00 is connected directly to t e de+elopment station3s Et ernet port using a Crosso+er 8?A1 Et ernet cable. :B#. &% address9 Subnet mas/9 :B# . 0 &f t e &% address is not setup correctly. #11 .#. 7ote9 &f you are not able to download CE 6. try disabling firewall on t e de+elopment station to see if a connection is establis ed .:6).#$# is t e preset static &% address for e!o"#$00. # .0 image to e!o"-#$00. """ <must be different from e!o"-#$003s &% address= #11 . e de+elopment wor/station3s &% address needs to be set correctly for t is to wor/. . e!o"-#$00 will not able to communicate wit t e de+elopment station.: pro+ides additional debug information. #11 . W en e!o"-#$00 is connected directly to t e de+elopment station as abo+e. W en wor/ing wit t is setup met od.

or-ation resources in Eapanese2 httpBCCwww2learnin/ce2co'his site has use.erence . use.erence .ault2-spx ?indows %-+edded ?orldwide .or this proFect2 hid/ets 1SB 5C4 driver shared source proFects httpBCCwww2codeplex2co-C roFectC)icense2aspxG roFect>a-eH hid/ets?in0%Driver 1SB 5C4 device with D 54= !CD= servo control= sensors= &65D reader K etcL )ther *se'ul +in.ro-5000 is the ?e+ca.or ?indows 0% shared source proFect httpBCCwww2/otdotnet2co-Cwor(spacesCwor(space2aspxGidH0e+8"e*5-#*eI-I.t2co-CFapanCwindowsCe-+eddedCde.ied 0hinese2 httpBCCwww2windowse-+edded2Fp 'his site provides ?indows %-+edded in.or-ation resources in %n/lish and 'raditional 0hinese2 httpBCCwww2windowse-+edded2co-2cn 'his site provides ?indows %-+edded in.or-ation resources in Si-pli.ul re.Eapan httpBCCwww2-icroso.)o/itech Juic(0a.ul re.ul in.ault2aspx ?indows %-+edded ?orldwide .or ?indows 0% .de-"#e$#*6.t2co-Ce-+eddedCco--unityCco--unityCnews/rpCde.I"de 1SB ?e+ca.t2co-Ce-+eddedC/etstartC+asicsCde.ault2aspx 'his site provides how-to tutorials on +asic and advanced topics a+out usin/ ?indows 0% in develop-ent o.0hina httpBCCwww2-icroso.s httpBCCwww2windowse-+edded2co-2tw 'his site provides ?indows %-+edded in.s +lo/2 ?indows %-+edded 'utorials httpBCC-sdn2-icroso.3ppendix & !indows &$ +echnical .driver .t2co-CchinaCwindowsCe-+eddedCde.ault2-spx Windows CE shared source pro(ects 1SB ?e+ca.used .or ?indows 0%2 httpBCCwww2e-+eddedpc2net 'his site has use.a*-$.or-ation related to ?indows 0% on 9i(e. e-+edded devices2 ?indows %-+edded >ews Droup httpBCC-sdn2-icroso.device driver .nformation 8eference Windows CE &e'erence 9i(e 3allAs Blo/ httpBCC+lo/s2-sdn2co-C-i(ehall !nythin/ has to do with ?indows %-+edded technolo/ies= 9i(e 3all pro+a+ly (nows a+out it2 'here are tons o.or ?indows 0%2 -ardware &e'erence In'ormation Vortex86 Syste--4n-0hip httpBCCwww2vortex862co- .

t as <005 artner-o.t.ication .ace internally to support %-+edDis( or any 5D% +oota+le .lash stora/e usin/ the standard II.s ?indows %-+edded partner pro/ra-= and reco/ni@ed +y 9icroso.eBox-<*00 is desi/ned and +uilt usin/ Vortex86(SiS-55x) Syste--4n-0hip2 Datasheet and technical in.ace used on the co--on <25.in 5D% inter.ace (the sa-e inter.or Vortex86 Syste--4n-0hip is availa+le on this we+ site2 3ppendix ) eBox-2300 +echnical .Speci.or-ation .D4S= ?indows $8= ?indows M = ?indows M %-+edded and ?indows 0% usin/ +oot loader2 eBox-<*00 is desi/ned and -anu.ro. 5D% note+oo( hard drive)2 eBox-<*00 uses !95 B54S and can +oot .actured +y 504 'echnolo/y 5nc2= a Dold )evel artner in 9icroso.nformation eBox-<*00 is desi/n and +uilt usin/ Vortex86 Syste--on-0hip2 5t has si-ilar architecture as typical x86 0 1 +ased 0% 02 eBox-<*00 has an 5D% inter.-'he-Near in the 5ndependent 3ardware Vendor (53V) cate/ory2 1&)B httpBCCwww2icoptech2co%-ailB wepOicoptech2coeBox-<*00 has all the typical 5C4 peripherals as the des(top 02 • VD! • SC< Pey+oard and 9ouse • %thernet • Serial • 1SB • !udio output • 9icrophone input • 0o-pact6lash eBox-<*00 Syste.

ace= II-pin +ox header x # Power &e5uirement Q5VD0 .unction only availa+le .ain .C 505/ 1udio !0$" 04D%0= 6ully 0o-pliant with !0$"v<2# )# #upport D4S ?indows 0%2>%' I2< ?indows 0% 520 ?indows %-+edded 0% 620 ?indows M %-+edded +12 &ealte( 8#00B= #0C#009+ps %thernet )n-Board I E %nhanced 5D% inter.on 0hip) 3e%board and .or eBox-<*00-ESP) *2 !udio(9ic-in= )ine-in) I2 'ype 5C55 06 Slot (Support 9icro Driver) BI)# !95 B54S /01 !D &ev2<20 0o-pliant &esolution up to #=<80x#=0<I 3i/h 0olors imension " Wei4ht ##5 x ##5 x *5 -.emor% #<89B SD&!9 Peripheral #2 1SB V#2# ports x * <2 Serial port x<('his .CP* Vortex86 So0 (Syste.ouse SC< Pey+oard and 9ouse .

6ront Connectors )utline 'or eBox-2300 06 Slot 1SB 9ic-in )ine-out ower B'> ?&= !0' )%D &ear Connectors )utline 'or eBox-2300 D0 ower Eac( SC< PBC9S VD! &E-I5 )!> 1SB ower Switch Serial orts (4ptional) ?ireless !>' (4ptional) Connectors #ummar% 'or eBox-2300 main s%stem board Connector E# E< E* EI E5 E6= E" E8 E$ E#0 E## E#< E#I E#6=#E"B escription VD! 0onnector ower Button 1SB (Bac() SC< (ey+oard or 9ouse &S' (&eset) 1SB (6ront) )!> )ine 4ut 9ic 5n 5D% connector 06 Device Eu-per D0 5V 5nput 049 ort $%pe o' Connections D-Su+ 0onnector ower Button 1SB 0onnector 9ini D5> 0onnector 3ear <x# <20-1SB 0onnector &E-I5 !udio Eac( !udio Eac( Box 3eader <<x< <20-0lose B 9aster 9ini-Din 0onnector Box 3eader 5x< <20-II-pin <-pin *-pin #0-pin 8-pin 6-pin <-pin 8-pin 8-pin 2umber o' Pins 8-pin .

E#8B 9ini 05 9ini 05 soc(et #<I-pin Pin 1ssi4nment E#B VD! R #5-pin D-Su+ 0onnector Pin 7 # < * I 5 #i4nal 2ame 9& 9D 9B >0 D>D Pin 7 #i4nal 2ame 6 D>D " 8 $ #0 D>D D>D >0 D>D Pin 7 ## #< #* #I #5 #i4nal 2ame >0 V00 3NSN>0 VSN>0 V00 E*B 1SB ($0o)R I-pin 1SB 'ype # 0onnector (Vertical 'ype) Pin 7 # < * I 5 6 #i4nal 2ame V00 1SB01SB0Q D>D DD>D DD>D .

or chan/e2 *2 ress S%scT to /o +ac( to -ain -enu2 I2 9ove your cursor to :Save Settin/s and %xit.i/ure the V%S! 0= depress or hit the SDelT (ey to enter your B54S setup -ain -enu2 <2 Select . to save the chan/es that you Fust -ade2 eBox-<*00 will restart accordin/ly to your new setup2 .= press :N.#%stem BI)# &econ'i4urin4 eBox-2300 #2 'a(e note that !95 B54S is used in the eBox-<*00 V%S! 02 'o recon.ro.the -enu= the desired setup .

0I*h 060h .006h 0<0h .*D6h *%8h .0B#h 000h .0D6h 060h .*06h *D0h .<66h *"8h .0<#h 0I0h .066h #60h .<"6h <%8h .*"6h *B0h .emor% .0$6h 0!0h ..*B6h *00h .06#h 068h .&!9 %D!CVD! Video 9e-ory 9D! &!9= 3ercules /raphics display &!9 0D! display &!9 %D!CVD! B54S &49 Boot &49 ena+le2 %xpansion &49 space2 1SB )e/acy S0S5 &49 space2 9other+oard B54S I8) .#68h <"8h .*%6h *60h .0"6h 080h .appin4 1ddress 0000B0000-$000B6666 !000B0000-!000B6666 B000B0000-B000B"666 B000B8000-B000B6666 0000B0000-0000BB666 0000B0000-0000B*666 D000B0000-%000B"666 %000B8000-%000B6666 6000B0000-6000B6666 escription Syste.066h 0"0h .*6"h e!ice 8<*" D9! 0ontroller U# 8<5$ 9aster 5nterrupt 0ontroller 8<5* ro/ra--a+le 'i-er 80I< Pey+oard 0ontroller &'0= >95 9as( &e/ister D9! a/e &e/isters 8<5$ Slave 5nterrupt 0ontroller 8<*" D9! 0ontroller U< 9ath 0oprocessor 9ath 0oprocessor 3ard Dis( 0ontroller U# arallel rinter 77 Serial ort I77 Serial ort < arallel rinter77 9D! !dapter arallel rinter77 VD!C%D! !dapter 0D! !dapter Serial ort *77 6loppy 0ontroller U#77 .*BBh *B0h .<%6h <68h .appin4 I8) 1ddress 000h .

*68h .#5 Serial ort < Serial ort # 1nassi/ned 1nassi/ned 1nassi/ned &eal 'i-e 0loc( 1nassi/ned 1SB %thernet #0C#009 )!> 9ouse 9ath 0oprocessor 3ard Dis( 0ontroller 1nassi/ned .appin4 I&97 5&J0 5&J# 5&J< 5&J* 5&JI 5&J5 5&J6 5&J" 5&J8 5&J$ 5&J#0 5&J## 5&J#< 5&J#* 5&J#I 5&J#5 e!ice Syste.*66h Serial ort # 77 eBox-<*00 does not expose these devices I&9 .'i-er Pey+oard 0ontroller 0ascade .or 5&J8 .

or in.ro.or-ation)2 1SB stora/e is one o.or the B54S to detect the devices. the -ost convenience -ethods to trans.the internal 5D% stora/e2 'o chan/e the +oot device= enter syste.er .ro. present2 4therwise= 1SB stora/e and 06 card will not +e availa+le as one o.iles .ault= eBox-<*00 is set to +oot .develop-ent station to eBox<*00.ollowin/ resources2 5nternal 5D% stora/e 0o-pact6lash 1SB 6loppy 1SB stora/e 1SB 0DCDVD-&49 drive &e-ote >etwor( Boot usin/ M% By de. -6 +oot option support 1SB +oota+le .1SB stora/e when it.or Boot Device options2 1SB stora/e and 06 card -ust +e plu//ed into eBox-<*00 prior to turnin/ on the power in order .lash stora/e vendor support site .B54S settin/ -ode to chan/e +oot settin/s2 'o enter systeB54S settin/ -ode= press the E+ (ey -ultiple ti-es i--ediate a.lash stora/e2 .lash stora/e can +e pro/ra. the +oot device options2 >oteB 'he *#B &.s plu//ed into the syste-2 4therwise= it will +oot .lash stora/e2 9ost 1SB .to +eco-e +oota+le to D4S (re.ro. -6 and 2nd Boot e!ice to I E-0= eBox-<*00 will atte-pt to +oot .the .ro.3ppendix $ • • • • • • eBox-2300 Boot /ptions By chan/in/ the B54S settin/s= eBox-<*00 can +e set to +oot .ro.s internal 5D% .er to the 1SB .lash stora/e2 By settin/ the :st Boot e!ice to *#B &.ter turnin/ on the power on2 Select !dvanced 094S Setup to +rin/ up B54S settin/s .the internal 5D% .