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.

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

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

Part 1

!hat"s #ew

!indows $m%edded &$ '(0


, e Windows Embedded CE 6.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, connected, and small-footprint de+ices. , e latest +ersion, Windows Embedded CE 6.0, e"pands upon t e solid foundation de+eloped in pre+ious Windows CE +ersions by pro+iding9 Supports $#,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, ser+ers, Web ser+ices, and de+ices Compact Operating System image

Windows Embedded CE 6.0 deli+ers reliable, secure performance in a small footprint along wit t e latest multimedia, networ/ing and communications tec nologies. Windows Embedded CE 6.0 pro+ides de+elopers wit broad de+ice support and en anced features and tec nologies, including +oice o+er &% <(o&%= p one and gateway configurations, platform de+elopment tool en ancements, greater application compatibility wit ot er Windows CE-based de+ices, &nternet E"plorer 6.0, Windows ;edia Codecs, ;icrosoft .7E, Compact Eramewor/, and a number of ot er newly supported protocols and ser+ices. (isit ttp9FFmsdn.microsoft.comFembeddedFwindowsceFdefault.asp" for more information about Windows Embedded CE 6.0.

!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. %latform !uilder is also t e de+elopment tool used to de+elop de+ice dri+ers for ardware. 6lt oug %latform !uilder can be use to de+elop application, (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, (isual CLL and (isual C2 programming language. 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, it0s good +ractice to install all u+date, 12E and +atches$

Part 2

!indows $m%edded &$ '(0 ,nstallation

, is latest +ersion Windows Embedded CE 6.0 <MCE 6.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. !oard-Support-%ac/age <M!S%N= consists of all necessary CE 6.0 de+ice dri+ers and ardware abstraction library for t e ardware is needed by %! to create OS Design and build CE 6.0 image for t e ardware. ICOP_Vortex86_60B !S% is pro+ided as part of t is -umpstart /it to create OS Design and build CE 6.0 image for e!o"-#$00. 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.0 application and download t e application onto e!o"-#$00 for testing and debug. (S#001, CE 6.0 and !S% must be installed in t e following se4uences. :. (isual Studio #001 wit S%: #. Windows Embedded CE 6.0 %latform !uilder $. !S%s

Platform Builder ,nstallation


%! is t e tool used to configure and build CE 6.0 OS images. ,o install %!, (S#001 must already be installed onto t e de+elop station. W ile %! installation does not re4uire (S#001 S%:, it3s re4uired to use t e SD@ generated by %! for t e OS Design to support CE 6.0 application de+elopment using (S#001. !y default, %! installation program only selects and includes ARMV4I C%J support wit t e installation. e!o"-#$00 is an ")6 de+ice. X86 C%J support must be installed wit %! in order to use t e &CO%'(orte")6'60! !S% and build CE 6.0 image for e!o"-#$00.

Eig. :

CE 6.0 installation, supported C%J selection

Board-Support-Package ,nstallation
e!o"-#$00 !S% for CE 6.0 is pro+ided wit t is -umpstart /it in t e form of ;S& installation file. ,o install t is !S%, simply double clic/ on t e ICOP_Vortex86_60B_BSP.MSI file located in t e O!S% directory on t e -umpstart CD pro+ided wit t is /it. , e !S% installation will create folder, sub-folders and copy files to t e MC9OW&7CE600O%latformON directory, w ere MC9OW&7CE600O%latformN is t e installation directory for all !S%. 7ote9 ")6 C%J support for CE 6.0 %! is needed in order to use &CO%'(orte")6'60! !S% to create OS Design and build CE 6.0 image for e!o"-#$00.

-S200. &ore&on &omponent ,nstallation


CoreCon is used to establis lin/ between CE 6.0 de+ice and (S#001 de+elopment station to download (S#001 application onto t e CE 6.0 de+ice for testing and debug. Corecon component files for ")6 de+ices are included as part of (S#001 installation and located in t e following default installation folder. $$3Progra 2iles3"o on 2iles34icrosoft Shared3"ore"on31$03Target3W"E5003x)#3 , ere are different sets of Corecon component files to support different type of C%J, and located in t e relati+e folder wit name of t e 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.0 image. CoreCon files can also be copied to a CE 6.0 image after t e image is built, and use t em to establis lin/ between t e CE 6.0 de+ice and (S#001 de+elopment station. , e need to copy CoreCon files to a 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. CoreCon component for CE 6.0 %!, pro+ides by ;i/e 0all wit ;icrosoft, is included in t e ?umpStart CD3s MOCoreConN folder. ,o install t is component, double clic/ on CoreCon_x86_VS2005.MSI file in t e ?umpStart CD3s MOCoreConN directory. , e installation will create a folder, MOCon;an'")6N, in MC9OW&7CE600O%ublicN. 6fter installation, t e CoreCon component s ows up on CE 6.0 %! component catalog as MCon;an'")6 Eiles ComponentN. !y including t is component as part of an OS Design pro-ect, CoreCon files will be built into t e resulting CE 6.0 image.

Part 3

&onfigure an /S )esign

, is section will guide you t ru t e process of creating and configuring an OS design using t e 7ew %latform Wi.ard wit in %latform !uilder, 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.

-isual Studio 200. ,)$


CE 6.0 %! is a (S#001 plug-in. ,o use %!, you need to start (S#001 and access %! from (S#001 &DE. W en starting (S#001, you s ould see a (S#001 screen similar to t e following9

Eig. #

(isual Studio #001 &DE

(isual Studio #001 pro+ides a common &ntegrated De+elopment En+ironment <M&DEN= for (isual !asic, (isual CLL, (isual C2, (isual ?2 and %latform !uilder. Depending on t e de+elopment preference selected during t e installation of (S#001, your (S#001 screen may loo/ different from t e abo+e. (S#001 &DE pro+ides support to create different type of pro-ects, suc as Windows 6pplication, Console 6pplication, Class *ibrary, smart de+ice application, Windows Ser+ices, Web Control, etcP W en starting a new pro-ect wit (S#001, t ere are options for different type of pro-ects. %! for CE 6.0 is one of t e a+ailable pro-ect types. Erom (S#001 &DE, select MFile | Ne | Pro!e"t #N t e following pro-ect screen will appear.

Eig. $

(S#001 7ew %ro-ect

On t e left side of t e 7ew %ro-ect screen, clic/ to ig -lig t Pl$t%or& B'il(er %or C) 6.0. On t e rig t side of t e 7ew %ro-ect screen, clic/ to ig -lig t OS *e+i,n. Enter eBox2-00 as t e name of t e pro-ect. ;a/e sure t e Cre$te (ire"tor. %or +ol'tion c ec/ bo" is c ec/ed. Clic/ on t e O/ button to continue.

!indows $m%edded &$ '(0 /S )esign !i0ard


W en a new CE 6.0 OS Design pro-ect is selected, t e 0in(o + )&1e((e( C) 6.0 OS *e+i,n 0i2$r( starts automatically to guide you t ru t e process and elp configure an OS Design.

Eig. A

Windows Embedded CE 6.0 OS Design Wi.ard

Clic/ on t e Next button to continue

/S )esign !i0ard

Board Support Packages 1BSPs2

&n t e !S% selection step, t e OS Design Wi.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%. 6ll of t e installed !S%s, including !S%s from t ird party companies are listed.

Eig. 1

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, t e OS Design Wi.ard pro+ides t e options to select an OS Design ,emplate.

Eig. 6

OS Design Wi.ard C Design ,emplates

Clic/ to ig -lig t and select In('+tri$l *e4i"e Clic/ on t e Next button to continue

Eig. D

OS Design Wi.ard C Design ,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, t e OS Design Wi.ard pro+ides t e options to select .7E, Compact Eramewor/ to support managed code applications, &nternet E"plorer, Windows ;edia components, etc...

Eig. )

OS Design Wi.ard C 6pplications > ;edia

, e following components are selected for t is e"ercise. .7E, Compact Eramewor/ #.0 &nternet E"plorer 6.0 Windows ;edia 6udioF;%$ Windows ;edia %layer 6pplication Windows ;edia %layer OC5 Windows ;edia (ideoF;%EG-A (ideo Clic/ on t e Next button to continue

/S )esign !i0ard

#etworking 4 &ommunications

&n t e networ/ing > communications step, t e OS Design Wi.ard pro+ides t e options to select communication, networ/ing and security components.

Eig. B

OS Design Wi.ard C 7etwor/ing > Communications

We will use t e default settings for networ/ing and communications. Clic/ on t e Next button to continue.

/S )esign !i0ard

&omplete

6t t is point, t e OS Design Wi.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. :0 -

OS Design Wi.ard C Completed

Clic/ on t e Fini+6 button to continue.

&atalog ,tem #otification


6t t e completion of OS Design Wi.ard, 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/.

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. %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.ard steps.

Part 6

&ustomi0e and %uild the /S )esign

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

Iour (S#001 &DE s ould loo/ li/e t e following screen9

Eig. :# -

(S#001 &DE after OS Design Wi.ard

$nhancing the /S )esign

3dd 7unctions 4 7eatures

, e Catalog &tem (iew window lists all of t e a+ailable Windows CE components, including applications, library, dri+ers, utilities > $rd party components t at can be added to t e OS Design. 6n e"isting set of components are pulled into t e e!o"#$00 OS Design by t e Wi.ard based on t e !S% and design template selected during t e OS Design Wi.ard p ase. ,o en ance t e functions and features of t e OS image, additional components <dri+ers, utilities, applications, etc.= selected from t e component catalog can be added to t e OS Design. Catalog-&tems-(iew window is w ere CE 6.0 components can be added or remo+ed from t e OS Design. &f t e Catalog-&tems-(iew window is not +isible on your (S#001 &DE, from (S#001 menu, select Vie | Ot6er 0in(o + | C$t$lo, Ite&+ (iew to bring it up. On t e Catalog-&tems-(iew window, e"pand t e 96ir( P$rt., BSP and ICOP_Vortex86_60B3 x86 folders and t e A'(io and *i+5l$. sub-folders under *e4i"e *ri4er+, c ec/ to confirm t e following dri+ers are selected as part of t e OS Design. *e4i"e *ri4er+ | Vortex86_A'(io *e4i"e *ri4er+ | Vortex86_*i+5l$.

Eig. :$ -

Component Catalog

E"pand Core OS | C)BAS) folder, find and include t e following components to t e OS Design. A55li"$tion+:)n( ;+er | CAB File In+t$ller<;nin+t$ller , is component pro+ides application installation > remo+al. &t3s needed for application de+elopment using (isual Studio .7E, #00$ and (isual Studio #001. Core OS Ser4i"e+ | ;SB =o+t S'55ort | ;SB Stor$,e Cl$++ *ri4er

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

.7E, Compact Eramewor/ #.0 components are needed to support managed code application. During t e OS Design wi.ard steps, .7E, Compact Eramewor/ #.0 components were selected to include in t e OS Design. &f not selected during t e OS Design wi.ard p ase, ma/e sure t e following two components are selected, under t e Core OS | C)BAS) | A55li"$tion+ $n( Ser4i"e+ *e4elo5&ent folder. .N)9 Co&5$"t Fr$&e or7 2.0 OS *e5en(en"ie+ %or .N)9 Co&5$"t Fr$&e or7 2.0

E"pand 96ir( P$rt. catalog folder and select t e following component. ConM$n_x86 File+ Co&5onent , is component adds CoreCon files to t e final image, needed to establis connection between CE 6.0 de+ice and (S#001 de+elopment station.

Eig. :A -

Component Catalog

E"pand Core OS | C)BAS) | File S.+te&+ $n( *$t$ Store folder, select and include t e following components to t e OS Design. File S.+te& > Intern$l | ROM:onl. File S.+te& Re,i+tr. Stor$,e | =i4e:1$+e( Re,i+tr. !ot of t e abo+e two components are needed to support 0i+e-based registry implementation. 0i+e-based registry is used to store and sa+e registry entries c anged between power reset.

/ther !indows $m%edded &$ '(0 &omponents


&n addition to t e components selected during t e OS Design wi.ard and t e components automatically got pull into t e OS Design by t e template, ot er components from t e catalog can be included into t e OS Design to pro+ide additional functions. Eor e"ample, t e File Ser4er component can be added to pro+ide files and folders s aring o+er a networ/ connection. , e F9P Ser4er component can be added to pro+ide remote file upload and download ser+ices. , e RAS Ser4er<PP9P Ser4er ?In"o&in,@ component can be added to pro+ide inbound dialup networ/ connection +ia t e serial port.

Eollowing is a list of e!o"-#$00 &FO perip erals and t e associated CE 6.0 de+ice dri+ers and support components.
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.0 ri!ers " #upport Components

Vortex86_Display (Driver included with BS ) Vortex86_!udio (Driver included with BS ) &')8#*$ (Driver availa+le ,ro- B.s co-ponent catalo/) 0o-#6550 (Driver availa+le ,ro- B.s co-ponent catalo/) Serial ort Support (Support co-ponents ,ro- B.s co-ponent catalo/) 4305 (Driver availa+le ,ro- B.s co-ponent catalo/) !'! 5 (Driver availa+le ,ro- B.s co-ponent catalo/) !'! 5 (Driver availa+le ,ro- B.s co-ponent catalo/) 05 Bus

'he 0o-pact6lash (:06;) slot on eBox-<*00 is lin( to the 5D% inter,ace= and does >4' support hotswap2 ?hen a 06 card is plu//ed into the slot prior to power on= the syste- 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( <;

,o learn more about eac of t e components on t e catalog, refer to t e elp document.

&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

as to configure &%-address for t e CoreCon connection fre4uently. 6 static &%-address for t e CE 6.0 de+ice can elp minimi.e t is problem. ,o assign and build an OS image wit a static &%-address, we can add t e following registry entries to t e OS Design.
[HKEY_LOCAL_MACHINE\Comm\PCI\RTL81391\Parms\TcpIp] "E a!"#$HCP"%&'or&() "$#*a+",-a,#'a."%m+",/_s0("19121382121" "4s#5#ro6roa&cas,"%&'or&() "IpA&&r#ss"%m+",/_s0("1912138212131" "7+! #,mas8"%m+",/_s0("199219921992)"

7ote9 , is is -ust an e"ample of assigning and builds CE OS wit static &%-address. &mproper &%-address can cause conflict to t e networ/ t e de+ice is connecting to. , e abo+e entries s ould be added to t e OS Design3s %8O?EC,.8EG registry file. ,o enter t e abo+e entries to %8O?EC,.8EG, from (S#006 &DE, clic/ on t e MSolution E"plorerN tab, e"pand t e M%arameter EilesN folder and select Mpro-ect.regN. Iou can use t e pro+ided registry editor to add and ma/e c anges to t e registry, or select t e source mode to modify registry entries in ,e"t mode using an 6SC&& te"t editor.

Eig. :6 -

(S#001 &DE C 8egistry editor

Building !indows $m%edded &$ '(0 /S ,mage


Erom t e (S#001 &DE, select B'il( | B'il( Sol'tion to build OS image from t e OS Design pro-ect.

Eig. :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. During t e build process, t e output tab on (S#001 &DE displays compilation acti+ities.

Build &omplete - !indows $m%edded &$ '(0 /S ,mage <enerated


W en t e build process is completed, t e (S#001 &DE s ould loo/ li/e t e following9

Eig. :D -

(S#001 &DE C !uild completed

W en t e build process is completed, t e resulting files are generated in t e following build release directories. 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, wit a successful build, t ere s ould be a N/.BIN file. , is is t e Windows Embedded CE 6.0 OS image. , 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/.bin image built in t is section for t e e!o"-#$00.

Part .

)ownload /S ,mage to eBox-2300

&onfigure +arget )e*ice &onnecti*it: /ptions


, e image generated from t e pre+ious session is ready to be downloaded to t e de+ice. 6 connection between t e e!o"-#$00 and t e de+elopment station needs to be establis ed to accomplis t is tas/. 7ote9 %lease refer to 6ppendi" 6 and ! for e!o"-#$00 and de+elopment station connecti+ity information. &f t ere are problem establis connection, disable firewall utility. , e firewall utility may be bloc/ing t e connection. Erom (S#001 &DE, select 9$r,et | Conne"ti4it. O5tion+# to bring up t e 9$r,et *e4i"e Conne"ti4it. O5tion+ screen
Eig. :) Connecti+ity Options ,arget De+ice

6 connection can be establis by modifying t e default C) *e4i"e settings. ,o pro+ide more information about t e connecti+ity option, let3s create a de+ice connecti+ity profile for t is pro-ect. 7ote9 ;ultiple de+ice connecti+ity profiles can be created to elp de+eloper wor/ing on multiple pro-ects, or pro-ect in+ol+ing multiple target ardware to be more efficient.

3dd #ew +arget )e*ice


Erom t e 9$r,et *e4i"e Conne"ti4it. O5tion+ screen, clic/s on A(( *e4i"e to bring up t e new target de+ice screen. Enter eBox2-00 as t e new target de+ice name and clic/ on t e A(( button to continue.

Eig. :B -

,arget De+ice Connecti+ity Options

$sta%lish &onnection with eBox-2300


Erom t e 9$r,et *e4i"e Conne"ti4it. O5tion+ screen, clic/s on one of t e Settin,+ buttons to bring up t e )t6ernet *o nlo$( Settin,+ screen.

Eig. #0 -

Et ernet Download Settings

,urn on power and boot up e!o"-#$00 wit t e pro+ided Windows CE SD@ boot image. &t will boot to DOS and pro+ide t e following menu selections. :. #. $. A. 1. 6. D. ). B. Option :9 Option # S 19 !oot CEF%C <local n/.bin wit F*9:0#A"D6)"$#= !oot CEF%C <et er +ia eboot.bin wit F*9:0#A"D6)"$#= !oot CEF%C <et er +ia eboot.bin wit F*9)00"600"$#= !oot CEF%C <et er +ia eboot.bin wit F*96A0"A)0"$#= !oot CEF%C <et er +ia eboot.bin wit out display settings= !oot CEF%C <Static &%9 :B#.:6).#.#$#, wit F*9:0#A"D6)"$#= !oot CEF%C <Static &%9 :B#.:6).#.#$#, wit F*96A0"A)0"$#= !oot CEF%C <Static &%9 :B#.:6).#.#$#, wit out display settings= Clean !oot <no commands= , e e!o"-#$00 will load 7@.bin <Windows CE image= from local storage wit :0#A"D6) display resolution. , e e!o"-#$00 will load eboot.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. , e e!o"-#$00 will load eboot.bin wit a static &% address <:B#.:6).#.#$#=, and sends a bootme re4uest to t e %latform-!uilder de+elopment station. !oots up to a clean DOS en+ironment.

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, select option #, $, A or 1. &f e!o"-#$00 is connected directly to t e de+elopment station using a crosso+er Et ernet cable, select option 6, D or ). 6fter e!o"-#$00 boots-up and sends a boot-me re4uest, t e )t6ernet *o nlo$( Settin,+ dialog screen s ould loo/ similar to t e following, wit a de+ice &D listed in t e A"ti4e t$r,et (e4i"e+ list bo".

Eig. #: -

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, wit multiple e!o"-#$00 sending bootme re4uest, t ere may be multiple (e4i"e I*+ listed in t e A"ti4e *e4i"e+ windows. ,o identify t e e!o"#$00 you are wor/ing wit , ma/e sure it3s t e only one booting and sending a bootme re4uest. On t e ,arget De+ice Connecti+ity Options screen, clic/ on A55l. and t en Clo+e.

)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. Erom (S#001 &DE select 9$r,et T Att$"6 *e4i"e. , e following M*o nlo$( R'nti&e I&$,e to PN screen will come up.

Eig. ## -

&mage-download F wait for bootme

,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, you will see acti+ities on t e *o nlo$( R'nti&e I&$,e screen s owing t e image being download to t e de+ice.

Eig. #$ -

Download 8untime &mage F downloading

6fter t e image download process is completed, e!o"-#$00 will load t e Windows CE image it -ust recei+ed. 6gain, be patientP &t may ta/e a few moments for t e image to come up. W en t e Windows CE screen is displayed on e!o"-#$00, it3s an indication t e booting process is completed.

Eig. #A -

Windows Embedded CE 6.0 des/top running on e!o"-#$00

)eplo: the &$ '(0 /S ,mage to the eBox-2300


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

Part '

!indows $m%edded &$ '(0 S)K

6not er one of CE 6.03s ad+antages is t e ease of application de+elopment using (isual Studio #001. &n order to create CE 6.0 applications using (isual Studio #001 and establis a connection to download applications to t e e!o"-#$00 for testing and debug, (S#001 needs a SD@ for e!o"-#$00. &n t e pre+ious steps, we created and configured an OS Design to build a CE 6.0 OS image for e!o"-#$00. a SD@ can be generated from t e same pro-ect.. &n t is section, we will go t ru t e step of creating, configuring and building a SD@ from t e OS Design.

&reate and &onfigure !indows $m%edded &$ '(0 S)K


Erom (S#001 &DE, select Pro!e"t | A(( Ne S*/# to bring up t e S*/ Pro5ert. P$,e+ screen.

Eig. #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. P$,e, clic/ on In+t$ll and enter MSI %ol(er 5$t6 and MSI %ile n$&e on t e rig t side. Jse t e default pat , and enter eBox2-00_0inC)600_S*/.&+i as t e file name.

Eig. #6 -

SD@ %roperty %age

On t e left side of S*/ Pro5ert. P$,e, clic/ on De+elopment *anguages and select bot N$ti4e $n( M$n$,e( (e4elo5&ent +'55ort.

Eig. #D -

SD@ %roperty %age

Clic/ on t e A55l. and t en O/ button to complete t e 6dd 7ew SD@ process.

7ote9 ,o ma/e c anges to t e SD@ before building, from (S#001 &DE, select t e Sol'tion tab, e"pand t e S*/+ folder, rig t clic/ on eBox2-00_0inC)600_S*/ and select Pro5ertie+ to bring up t e S*/ Pro5ert. P$,e+.

Eig. #) -

(S#001 &DE F Edit SD@

Build !indows $m%edded &$ '(0 S)K


Erom (S#001 &DE, select B'il( | B'il( All S*/+# to build and generate SD@ installation file. 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;S&O &nstall t is SD@ to t e (S#001 station used to de+elopment CE 6.0 application for e!o"-#$00. 7ote9 (S#001 S%: must be installed before attempting to install SD@ for CE 6.0.

Part =

&> 3pplication with -isual Studio 200.

(isual Studio #001 can be used to de+elop nati+e and managed code applications for CE 6.0. , 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. Eor t e e"ercise in t is section, we will use (isual C2. , e steps s ould be similar for de+eloping wit (isual !asic wit in (isual Studio #001. 7ote9 %ro-ect files for t is e"ercise are pro+ided in t e ..O(C2'Sample directory on t e CD.

Step 1? &reate a #ew -isual Studio 200. &> Pro9ect


Erom (isual Studio #001 &DE, Select File | Ne | Pro!e"tC t e following new pro-ect screen will appear.

Eig. #B -

(S#001 &DE F 7ew %ro-ect

On t e left and side, e"pand M(isual C2N and MSmart De+iceN folders to select MWindows CE 1.0. On t e rig t side of t e screen, select MDe+ice 6pplicationN, enter Me!o"#$00'DemoN as t e pro-ect name and clic/ MO/N. 6fter t e pro-ect is created, let3s add some simple code to t e application. 8esi.e t e Eorm to a smaller si.e <$#0"#A0= to ma/e it easy to see t e application w en it runs on CE 6.0. C ange t e Eorm caption to Me!o"#$00 (isual C2 DemoN 6dd a te"t-bo" to t e form, c ange t e name to te"t0elloWorld, and clear t e content in t e te"t-bo" 6dd a button to t e form, c ange t e name to button0elloWorld, and c ange t e te"t on t e button3s caption to M0ello WorldN

6dd t e following code to t e Mbutton0elloWorld'Clic/N e+ent. te"t0elloWorld.,e"t R U0ello World.UV (isual Studio #001 &DE screen may loo/ li/e t e following screen s ot.

Eig. $0 -

(S#001 &DE F 7ew %ro-ect

Compile and build t e (isual C2 application.

Step 2? Preparing eBox-2300 to &onnect to -S200.


,o perform t is portion of t e e"ercise, CE 6.0 image configured and built during t e pre+ious sections of t is guide must be downloaded and running on e!o"-#$00, and e!o"#$00'WinCE600'SD@ must be installed. Corecon components are used to connect e!o"-#$00 to (isual Studio #001 de+elopment wor/station. , e following 1 files need to be included wit t e CE 6.0 image running on e!o"-#$00. Clients utdown.e"e ConmanClient#.e"e C;accept.e"e eDbg,*.dll ,cpConnection6.dll

, ese files are stored at t e following directory on t e (isual Studio #001 de+elopment wor/station.

M..O%rogram EilesOCommon EilesO;icrosoft S aredOCoreConO:.0O,argetOwceA00O..N Corecon components supporting different C%J arc itectures are pro+ided. , ere are folders, wit names corresponding to t e C%J, containing Corecon components for eac C%J family. e!o"-#$00 is designed using an ")6 C%J arc itecture. CoreCon components in t e M..O")6N sub folder are used. &n t e earlier part of t is guide, Con;an'")6 Eiles Component was added to t e OS Design. , e resulting CE 6.0 image built from t e OS Design already as t e CoreCon files. ,o establis a connection between t e e!o"-#$00 and t e (isual Studio #001 de+elopment station, carry out t e following steps. , 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. Erom e!o"-#$00 des/top, wit CE 6.0 running, clic/ on St$rt | R'n from CE 6.0 des/top wit t e "&( command to open a console command window.

Eig. $: -

CE 6.0 des/top C e"ecuting cmd command

Erom wit in t e console command window, type + I5Con%i, to +iew t e e!o"3s assigned &%-address.

Eig. $# -

CE 6.0 console command window

7ow t at we a+e e!o"-#$003s &% address, let3s mo+e to (S#001 &DE to configure de+ice settings. &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. Erom (S#001 &DE, set t e target de+ice to MeBox2-00_0inC)600_S*/ x86 *e4i"eN

Eig. $$ -

(S#001 &DE F select target de+ice

Erom (S#001 &DE, select 9ool+ | O5tion+#

Eig. $A -

(S#001 ,ools Options

On t e left, clic/ to e"pand t e M*e4i"e 9ool+N folder and select t e M*e4i"e+N subfolder. On t e rig t, 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".

Clic/ on t e Pro5ertie+ button to bring up eBox2-00_0inC)600 x86 *e4i"e Pro5ertie+ setting screen

Eig. $1

e!o"#$00'WinCE600 ")6 De+ice properties

Clic/ on t e Con%i,'re button to bring up Con%i,'re 9CP<IP 9r$n+5ort Select ;+e +5e"i%i" IP $((re++ and enter e!o"-#$003s &% address

Eig. $6

Configure ,C%F&% ,ransport F Set de+ice &% 6ddress

Clic/ O/ and to commit de+ice &% address setting.

Step 3? &onnecting eBox-2300 to -S200. Station using &orecon


,o initiate connection between (S#001 de+elopment station and e!o"-#$00 using Corecon, ta/e t e following steps to launc Con&$nClient2.exe and "M$""e5t.exe Corecon components from e!o"-#$00. Erom e!o"-#$00 des/top, wit CE 6.0 image created in t e earlier steps running, double clic/ on M. *e4i"e and open t e 0in(o + folder. Erom t e Windows folder, double clic/ on Con&$nClient2.exe follow by double clic/ on "M$""e5t.exe to launc Corecon connection ser+ice. Erom (isual Studio #001 &DE, select 9ool+ | Conne"t to (e4i"e# and select eBox2-00_0inC)600_S*/ from t e list of a+ailable de+ices, and clic/ on t e Conne"t button.

Eig. $D -

Connect to De+ice <e!o"-#$00=

W en connection is successful, t e Connecting dialog bo" will display Connection succeeded to indicate a successful connection.

Eig. $) -

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. Erom (isual Studio #001 &DE, select Debug | St$rt *e1',,in, to bring up t e *e5lo. eBox2-00_*e&o screen.

Eig. $B -

Deploy e!o"#$00'Demo

Select eBox2-00_0inC)600_S*/ and clic/ *e5lo. , 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.0 des/top wit C2 managed code application running

)e%ug ,nformation
W ile it3s not wit in t e scope of t is guide to co+er in dept de+elopment and debug issues, 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, Me!o"#$00N, created in t e earlier part of t is guide. Switc to MDebugN build mode to build a MDebug &mageN wit t e following M!uild OptionsN. 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 *e1', and clic/ t e Close button to set t e OS Design to generate a debug image.

Eig. A: -

Configuration ;anager

Erom (S#001 &DE, select Pro!e"t | eBox2-00 Pro5ertie+# to bring up t e OS Design %roperty screen. Clic/ to e"pand t e Con%i,'r$tion Pro5ertie+ folder and select B'il( O5tion+.

Eig. A# -

Configuration ;anager

Enable t e associated c ec/ bo" to select t e following build options. )n$1le e1oot +5$"e in &e&or. <&;GE!OO,R:= )n$1le e4ent tr$"7in, ('rin, 1oot <&;GCE*OGE76!*ER:= )n$1le 7ernel (e1',,er <no &;G7ODE!JGGE8R:= )n$1le /I9D <no &;G7O@&,*R:= Fl'+6 tr$"7e( e4ent+ to rele$+e (ire"tor. <&;G6J,OE*JS0R:=

Jn-c ec/ MR'n:ti&e I&$,e C$n 1e D$r,er t6$n -2MBN to disable t is build option. , is build option sets t e &;G86;6A en+ironment +ariable w ic in turn sets t e system memory to 6A;!. , e e!o"-#$00 as :#);! system memory. , e !S% is configured to utili.e :#);! system memory by default. Clic/ MO@N to close Pl$t%or& Settin,+ screen. Erom t e (S#001 &DE, select B'il( | B'il( Sol'tion to build t e debug image from t e OS Design pro-ect. 6fter t e debug image build process is completed, follow t e procedure in MDownload &mage to e!o"-#$00N <page #A= to download t e debug image to e!o"-#$00. 6fter t e debug image is downloaded to e!o"-#$00, t e %latform !uilder &DE s ould loo/ similar to t e following screen.

Eig. A$ -

(S#001 &DE

Wit in %latform !uilder3s *e1', 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 additional information is useful, and may be critical, to elp debug and sol+e problems and pre+ent potential problems. Debug output messages can be copied to a te"t file to be analy.e in detail. 8efer to %latform !uilder online document for more information about +arious debug and trouble s ooting resources a+ailable. NO9)3 , e debug image ta/es more time to complete t e boot process. !e patient and let t e image complete t e boot process.

Summar:
Iou a+e now completed t e steps in t is guide. 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.0 Configure t e OS Design to build a debug image.

&ongratulations@ - Aou"*e completed all the steps(


, ere are many additional resources to elp you gain additional Windows CE /nowledge. ;icrosoft Web sites. ttp9FFmsdn.microsoft.comFembeddedFgetstartFdefault.asp" ttp9FFmsdn.microsoft.comFembeddedFusewinembFceFdefault.asp" ttp9FFmsdn.microsoft.comFembeddedFgetstartFbasicsFdefault.asp"2cead+: ttp9FFmsdn.microsoft.comFembeddedFcommunityFcommunityFnewsgrpF ,o learn more about (orte")6 ardware, +isit t e following Web sites. ttp9FFwww.+orte")6.com ttp9FFwww.icoptec .com Or contact &CO% email9 infoWicoptec .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.embeddedpc.net 6dditional Windows CE information references are a+ailable in t e 6ppendi"es.

3ppendix 3

)e*elopment $n*ironment Setup - with )B&P ser*ice

&t3s recommended t at you use Windows 5% %rofessional wit your de+elopment station. !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. 6 7J** modem serial cable lin/ing one of t e de+elopment station3s CO; ports wit t e e!o"-#$003s CO;: port pro+ides additional debug information.

$his is a t%pical setup. !ot t e de+elopment station and e!o"-#$00 are connected to a *ocal *67 wit D0C% ser+ice. , e null serial debug cable is connected between de+elopment station3s CO;: and e!o"-#$003s CO;:. &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/. Some secure networ/s re4uire t at t e ;6C address be added to t e list of de+ices aut ori.ed for D0C% in t e D0C% ser+er. 7ote9 &f you are not able to download CE 6.0 image to e!o"-#$00, try disabling firewall on t e de+elopment station to see if a connection is establis ed.

3ppendix B

)e*elopment $n*ironment Setup

!ithout )B&P

&t3s recommended t at you use Windows 5% %rofessional wit your de+elopment station. &n t is setup, e!o"-#$00 is connected directly to t e de+elopment station3s Et ernet port using a Crosso+er 8?A1 Et ernet cable. 6 7J** serial cable lin/ing between one of t e de+elopment station3s CO; port wit e!o"#$003s CO;: pro+ides additional debug information.

W en e!o"-#$00 is connected directly to t e de+elopment station as abo+e, t e &% address for t e de+elopment station must be configured correctly for it to wor/. W en wor/ing wit t is setup met od, :B#.:6).#.#$# is t e preset static &% address for e!o"#$00. , e de+elopment wor/station3s &% address needs to be set correctly for t is to wor/. Eollowing is t e &% address setting guideline for t e de+elopment station. &% address9 Subnet mas/9 :B# . :6) . # . """ <must be different from e!o"-#$003s &% address= #11 . #11 . #11 . 0

&f t e &% address is not setup correctly, e!o"-#$00 will not able to communicate wit t e de+elopment station. 7ote9 &f you are not able to download CE 6.0 image to e!o"-#$00, try disabling firewall on t e de+elopment station to see if a connection is establis ed

3ppendix &

!indows &$ +echnical ,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, use,ul in,or-ation related to ?indows 0% on 9i(e.s +lo/2 ?indows %-+edded 'utorials httpBCC-sdn2-icroso,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, e-+edded devices2 ?indows %-+edded >ews Droup httpBCC-sdn2-icroso,t2co-Ce-+eddedCco--unityCco--unityCnews/rpCde,ault2aspx ?indows %-+edded ?orldwide - 0hina httpBCCwww2-icroso,t2co-CchinaCwindowsCe-+eddedCde,ault2-spx ?indows %-+edded ?orldwide - Eapan httpBCCwww2-icroso,t2co-CFapanCwindowsCe-+eddedCde,ault2-spx

Windows CE shared source pro(ects


1SB ?e+ca- driver ,or ?indows 0% shared source proFect httpBCCwww2/otdotnet2co-Cwor(spacesCwor(space2aspxGidH0e+8"e*5-#*eI-I,a*-$,de-"#e$#*6,I"de 1SB ?e+ca- device driver ,or ?indows 0% - )o/itech Juic(0a- ro-5000 is the ?e+ca- used ,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,s


httpBCCwww2windowse-+edded2co-2tw '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,ied 0hinese2 httpBCCwww2windowse-+edded2Fp 'his site provides ?indows %-+edded in,or-ation resources in Eapanese2 httpBCCwww2learnin/ce2co'his site has use,ul re,erence ,or ?indows 0%2 httpBCCwww2e-+eddedpc2net 'his site has use,ul re,erence ,or ?indows 0%2

-ardware &e'erence In'ormation


Vortex86 Syste--4n-0hip httpBCCwww2vortex862co-

eBox-<*00 is desi/ned and +uilt usin/ Vortex86(SiS-55x) Syste--4n-0hip2 Datasheet and technical in,or-ation ,or Vortex86 Syste--4n-0hip is availa+le on this we+ site2

3ppendix )

eBox-2300 +echnical ,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,ace internally to support %-+edDis( or any 5D% +oota+le ,lash stora/e usin/ the standard II- in 5D% inter,ace (the sa-e inter,ace used on the co--on <25; 5D% note+oo( hard drive)2 eBox-<*00 uses !95 B54S and can +oot ,ro- D4S= ?indows $8= ?indows M = ?indows M %-+edded and ?indows 0% usin/ +oot loader2 eBox-<*00 is desi/ned and -anu,actured +y 504 'echnolo/y 5nc2= a Dold )evel artner in 9icroso,t.s ?indows %-+edded partner pro/ra-= and reco/ni@ed +y 9icroso,t as <005 artner-o,-'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- Speci,ication

CP*
Vortex86 So0 (Syste- on 0hip)

3e%board and .ouse


SC< Pey+oard and 9ouse

.ain .emor%
#<89B SD&!9

Peripheral
#2 1SB V#2# ports x * <2 Serial port x<('his ,unction only availa+le ,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 -- 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,ace= II-pin +ox header x #

Power &e5uirement
Q5VD0

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

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

.emor% .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- &!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) .appin4 I8) 1ddress


000h - 006h 0<0h - 0<#h 0I0h - 0I*h 060h - 066h 0"0h - 0"6h 080h - 0$6h 0!0h - 0B#h 000h - 0D6h 060h - 06#h 068h - 066h #60h - #68h <"8h - <"6h <%8h - <%6h <68h - <66h *"8h - *"6h *B0h - *BBh *B0h - *B6h *00h - *06h *D0h - *D6h *%8h - *%6h *60h - *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

*68h - *66h Serial ort # 77 eBox-<*00 does not expose these devices

I&9 .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- 'i-er Pey+oard 0ontroller 0ascade ,or 5&J8 - #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

3ppendix $

eBox-2300 Boot /ptions

By chan/in/ the B54S settin/s= eBox-<*00 can +e set to +oot ,ro- the ,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,ault= eBox-<*00 is set to +oot ,ro- the internal 5D% stora/e2 'o chan/e the +oot device= enter syste- B54S settin/ -ode to chan/e +oot settin/s2 'o enter systeB54S settin/ -ode= press the E+ (ey -ultiple ti-es i--ediate a,ter turnin/ on the power on2

Select !dvanced 094S Setup to +rin/ up B54S settin/s ,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 ,or the B54S to detect the devices. present2 4therwise= 1SB stora/e and 06 card will not +e availa+le as one o, the +oot device options2 >oteB 'he *#B &. -6 +oot option support 1SB +oota+le ,lash stora/e2 9ost 1SB ,lash stora/e can +e pro/ra- to +eco-e +oota+le to D4S (re,er to the 1SB ,lash stora/e vendor support site ,or in,or-ation)2 1SB stora/e is one o, the -ost convenience -ethods to trans,er ,iles ,ro- develop-ent station to eBox<*00.s internal 5D% ,lash stora/e2 By settin/ the :st Boot e!ice to *#B &. -6 and 2nd Boot e!ice to I E-0= eBox-<*00 will atte-pt to +oot ,ro- 1SB stora/e when it.s plu//ed into the syste-2 4therwise= it will +oot ,ro- the internal 5D% ,lash stora/e2

You might also like