Icop Vortex86DX-MSJK User manual

Vortex86DX-MSJK
Windows Embedded CE 6.0 R3
Jum Start Kit
Getting Started Guide
Samuel Phung
Windows Embedded MVP
ICOP Technology Inc.

Vortex86DX-MSJK Windows Embedded CE 6.0 R3 Jump Start Rev 2.2
Page 2 of 144
Table of Contents
Introduction ............................................................................................................................................ 6
Vorte 86DX-MSJK CE 6.0 Jump Start Kit ................................................................................................... 7
Part 1 – Development Environment Overview ......................................................................................... 9
Windows Embedded CE 6.0 R3 ............................................................................................................ 9
Windows Embedded CE 6.0 – Platform Builder .................................................................................... 9
Windows Embedded CE 6.0 – Remote Tools ...................................................................................... 10
Visual Studio 2005 Integrated Development Environment ................................................................. 10
CE 6.0 Device Development: Typical Development Steps .................................................................. 11
CE 6.0 Application Development - VS2005 and VS2008 ...................................................................... 11
The Target Device ............................................................................................................................. 11
Common Terminology ....................................................................................................................... 13
CE 6.0 Environment and Directory Variables ...................................................................................... 14
Part 2 – Development Environment Connectivity................................................................................... 15
Ethernet Connectivity ........................................................................................................................ 15
CE 6.0 OS Runtime Image Development – OS Design ................................................................. 15
CE 6.0 Application Development with Visual Studio .................................................................. 15
Serial Port Connectivity ..................................................................................................................... 15
Development Environment Setup with DHCP .................................................................................... 16
Using Wireless Access Point Router ................................................................................................... 16
Development Environment Setup with Static IP................................................................................. 17
Local Area Network without DHCP Service ................................................................................ 17
Direct Connection using Cross-Over RJ-45 Ethernet Cable ......................................................... 17
Static IP Addresses .................................................................................................................... 17
Part 3 – Required Software & Installation .............................................................................................. 18
Recommended Software Installation ................................................................................................. 18
Windows Embedded CE 6.0 Installation ............................................................................................. 19
Board-Support-Package Installation .................................................................................................. 20
SDK Installation ................................................................................................................................. 20
CoreCon Component Installation ....................................................................................................... 21
AutoLaunch Component Installation ................................................................................................. 21
RegFlushApp Component Installation ................................................................................................ 21
Part 4 – CE 6.0 OS Design Project ........................................................................................................... 22
Visual Studio 2005 ............................................................................................................................. 22
Windows Embedded CE 6.0 OS Design Wizard................................................................................... 23

Vortex86DX-MSJK Windows Embedded CE 6.0 R3 Jump Start Rev 2.2
Page 3 of 144
OS Design Wizard – Board Support Packages (BSPs) .......................................................................... 24
OS Design Wizard – Design Templates ............................................................................................... 24
OS Design Wizard – Applications & Media ......................................................................................... 25
OS Design Wizard – Networking & Communications .......................................................................... 26
Security Warning - Catalog Item Notification ..................................................................................... 27
Part 5 – Configure and Customize CE 6.0 OS Design ............................................................................... 28
Customize the OS Design – Add Additional Components ................................................................... 28
Customize the OS Design – Locate Component by Search .................................................................. 32
Customize the OS Design – Configuration Manager ........................................................................... 34
Customize the OS Design – Build Options .......................................................................................... 34
Customize the OS Design – The Registry ............................................................................................ 35
Static IP Address ................................................................................................................................ 37
Other CE 6.0 Components ................................................................................................................. 37
Part 6 – Build and Generate CE 6.0 OS Runtime Image ........................................................................... 39
The Build Process – Starting .............................................................................................................. 39
The Build Process – Completed ......................................................................................................... 39
Part 7 – Download CE 6.0 OS Runtime to Target Device ......................................................................... 41
Target Device Preparation ................................................................................................................. 41
Configure Target Device Connectivity Options ................................................................................... 42
Add New Target Device Profile .......................................................................................................... 43
Associate VDX-6326 to MyTargetDevice Connectivity Profile ............................................................. 44
Download CE 6.0 OS Runtime Image to Target Device ....................................................................... 46
Deploy CE 6.0 OS Runtime Image to Target Device ............................................................................ 48
Part 8 – Software Development Kit (SDK)............................................................................................... 49
Create and Configure CE 6.0 SDK ....................................................................................................... 49
Build and Generate CE 6.0 SDK .......................................................................................................... 51
Part 9 – Develop Native Code App with VS2005 ..................................................................................... 52
Create a New Native Code Application Project .................................................................................. 52
Add Codes and Build the Application Project ..................................................................................... 55
Preparing Target Device to Connect to VS2005 IDE ............................................................................ 56
Configure VS2005 Device Connectivity Settings ................................................................................. 58
Establish Connectivity to CE 6.0 Target Device ................................................................................... 59
Download Application to Target Device ............................................................................................. 60
Part 10 – Develop Managed Code App with VS2005 .............................................................................. 61
Create a New Managed Code Application Project .............................................................................. 61

Vortex86DX-MSJK Windows Embedded CE 6.0 R3 Jump Start Rev 2.2
Page 4 of 144
Add Codes and Build the Application Project ..................................................................................... 62
Preparing Target Device to Connect to VS2005 IDE ............................................................................ 63
Configure VS2005 Device Connectivity Settings ................................................................................. 63
Establish Connectivity to CE 6.0 Target Device ................................................................................... 63
Download Application to Target Device ............................................................................................. 65
Debug Application Running on Target Device .................................................................................... 65
Part 11 – Develop Native Code App with VS2008 ................................................................................... 69
Create a New Native Code Application Project .................................................................................. 69
Add Codes and Build the Application Project ..................................................................................... 72
Preparing Target Device to Connect to VS2008 IDE ............................................................................ 73
Configure VS2008 Device Connectivity Settings ................................................................................. 75
Establish Connectivity to CE 6.0 Target Device ................................................................................... 76
Download Application to Target Device ............................................................................................. 77
Part 12 – Develop Managed Code App with VS2008 .............................................................................. 79
Create a New Managed Code Application Project .............................................................................. 79
Add Codes and Build the Application Project ..................................................................................... 81
Preparing Target Device to Connect to VS2008 IDE ............................................................................ 82
Configure VS2008 Device Connectivity Settings ................................................................................. 82
Establish Connectivity to CE 6.0 Target Device ................................................................................... 82
Download Application to Target Device ............................................................................................. 83
Debug Application Running on Target Device .................................................................................... 84
Part 13 – Debug and Remote Tools ........................................................................................................ 88
Download KITL Enabled CE 6.0 OS Image to Target Device ................................................................. 88
Remote Tool: Process Viewer ........................................................................................................... 89
Remote Tool: Registry Editor ............................................................................................................ 90
Remote Tool: System Information .................................................................................................... 91
Congratulations! – You’ve completed all the steps ................................................................................ 93
Appendi A – Development Workstation Setup with DHCP .................................................................... 94
Connecting to Local Area Network with DHCP ................................................................................... 94
Using Wireless Access Point Router ................................................................................................... 94
Capturing Serial Debug Messages ...................................................................................................... 95
Appendi B – Development Workstation Setup with Static IP ................................................................ 96
Connecting to Ethernet Hub or Switch without DHCP ........................................................................ 96
Direct Connection with Cross-Over RJ-45 Ethernet Cable ................................................................... 96
Static IP Address ................................................................................................................................ 97

Vortex86DX-MSJK Windows Embedded CE 6.0 R3 Jump Start Rev 2.2
Page 5 of 144
Capturing Serial Debug Messages ...................................................................................................... 97
Appendi C – Windows Embedded CE Resources ................................................................................... 98
Appendi D – VDX-6326 SBC Technical Information ............................................................................. 100
Appendi E – VDX-6326 SBC Startup Options ....................................................................................... 115
Appendi F – BIOSLoader Boot Options ............................................................................................... 116
Primary BIN File ............................................................................................................................... 116
Alternative BIN File ......................................................................................................................... 116
Appendi G – Using Static IP Address ................................................................................................... 118
Configure Static IP for Prebuilt CE 6.0 OS Runtime ........................................................................... 118
Configure OS Design with Static IP Address ..................................................................................... 119
Appendi H – Deploy OS Runtime with DiskPrep .................................................................................. 120
Appendi I – CoreCon Connectivity ...................................................................................................... 123
Appendi J – Recover Jump Start Kit’s Original Files ............................................................................. 125
Vorte 86DX-MSJK Preconfigured Files ............................................................................................. 125
Recover Damaged Files ................................................................................................................... 125
Preparing USB Flash Storage to Boot to DOS ................................................................................... 126
Configure VDX-6326 SBC to Boot from USB Flash Storage ................................................................ 127
Boot Device Priority ........................................................................................................................ 129
Steps to Recover All Files (USB Flash boot to DOS) ........................................................................... 130
Recover Files with DiskPrep ............................................................................................................. 132
Appendi K – VDX-6326 SBC System BIOS ............................................................................................ 133
Appendi L – Using Watchdog Timer ................................................................................................... 135
Using WDT0 .................................................................................................................................... 135
Using WDT1 .................................................................................................................................... 136
WDT.dll ........................................................................................................................................... 137
Appendi M – Using GPIO .................................................................................................................... 138
Using the GPIO ................................................................................................................................ 138
Windows Embedded CE Sample Codes.................................................................................... 138
Configure GPIO to Output Mode ............................................................................................. 138
Configure GPIO to Intput Mode............................................................................................... 140
GPIO.DLL ......................................................................................................................................... 140
Appendi N – Modify DOS Startup Option ........................................................................................... 142

Vortex86DX-MSJK Windows Embedded CE 6.0 R3 Jump Start Rev 2.2
Page 6 of 144
Introduction
This getting started guide, with hands-on e ercises written in step by step format, is created to show
how to develop Windows Embedded CE 6.0 R3 (CE 6.0) OS design, generate customized runtime image
from the OS design, configure the development environment to download the runtime image to a target
device and CE 6.0 application development.
The following subjects are covered in this guide:
•What’s included in the jump start kit.
•Development environment overview.
•Required software and recommended installation sequences.
•Develop and configure CE 6.0 OS design project
•Generate CE 6.0 OS runtime image from the OS design project
•Establish connectivity and download OS runtime image from the development workstation to
target device.
•Develop manage and native code application for CE 6.0 using Visual Studio 2005, establish
connectivity and download the application to target device.
•Develop manage and native code application for CE 6.0 using Visual Studio 2008, establish
connectivity and download the application to target device.
•Debugging and Remote Tools for CE 6.0.
While it’s possible to use the emulator or VirtualPC as the target device and work through similar
e ercises, a real hardware provides a more practical learning environment. The VDX-6326 single-board-
computer, configured with the necessary software components, is used as the target device for the
e ercises in this guide.
The e ercises in this guide are tested on 32-bit version of Windows XP, Windows Vista and Windows 7
development workstation. The CE 6.0 development tools are not designed to support 64-bit version of
the Windows XP, Windows Vista and Windows 7 OS.
To minimize unnecessary problem caused by missing software components and improper development
environment configuration, follow the recommended software installation sequences and development
environment setup provided as part of this getting started guide.
The primary objective for this guide is to show you the different development facility available as part of
the CE 6.0 and Visual Studio 2005 to support CE 6.0 development tasks.
It’s not within this guide’s objective to talk about programming languages and concept. Short and
simple e ercises are used in this guide to provide direct and to the point information about the covered
subject matter.
Update to this getting started guide and other CE 6.0 resources are available from the following:
http://www.embeddedpc.net/Vorte 86DXMSJK/

Vortex86DX-MSJK Windows Embedded CE 6.0 R3 Jump Start Rev 2.2
Page 7 of 144
Vortex86DX-MSJK CE 6.0 Jum Start Kit
The Vorte 86DX-MSJK CE 6.0 jump start kit includes the following:
•VDX-6326, an 800 MHz single-board-computer (SBC), built with the following features:
o800 MHz Vorte 86DX System-On-Chip
oXGI Z9s Video with VGA output
o256MB soldered on DDR2 system memory
oEnhanced IDE (UltraDMA-100/66/33) interface
oCM119 USB Audio
oOnboard 4MB SPI flash
oThree 10/100Mbps Ethernet interfaces
oThree USB 2.0 Host interfaces
oThree RS-232 Serial ports and one RS-232/422/485 serial port
oParallel port
o16-bit GPIO (Can be configured as PWM)
oInternal Mini-PCI e pansion slot
oType I/II Compact Flash slot (Support storage card only)
oPC/104 e pansion bus
oPS/2 keyboard & mouse interface
oTwo watchdog timers (Programmable from 30.5µs to 512 seconds
•Enclosure to house the VDX-6326 SBC
•Power supply (supports 100~240VAC 50/60 Hz input)
•512 MB Compact Flash
The 512 MB Compact Flash is preconfigured with Loadcepc bootloader to launch a prebuilt CE 6.0 OS
runtime image. In addition, the Compact Flash also included an Ethernet bootloader, needed to support
custom OS development to download OS runtime image from the development workstation to the target
device.
•One RJ-45 Ethernet Crossover cable
With a crossover Ethernet cable and proper static IP address settings, the target device can be connected
directly to the development workstation and create a standalone development environment with support
to download CE 6.0 OS runtime image and deploy application to the target device from the development
workstation.
•One RS-232 null serial cable for serial debug
The RS-232 null serial cable is used to establish connectivity between one of the serial port on the target
device to an available serial port on the development workstation. With proper configuration, debug
messages from target device can be captured by the development workstation using Hyper Terminal or
similar application.
•Windows Embedded CE 6.0 R3 MSJK software kit, which includes the following:
oWindows Embedded CE 6.0 R3 (180 days evaluation version) development software.
The evaluation version of the CE 6.0 software is fully functional. Other than the 180 days usage
limit, it has all of the function and feature as the full version.
oVorte 86DX-MSJK Windows Embedded CE 6.0 R3 jump start CD – This jump start CD
includes the following:

Vortex86DX-MSJK Windows Embedded CE 6.0 R3 Jump Start Rev 2.2
Page 8 of 144
VDX-6326 SBC Board-Support-Package (BSP) for CE 6.0
VDX-6326 SDK for CE 6.0
CoreCon component for CE 6.0
AutoLaunch component for CE 6.0
Sample project codes for the e ercises in this guide
Note: Kit contents and specifications are subject to change without notice.

Vortex86DX-MSJK Windows Embedded CE 6.0 R3 Jump Start Rev 2.2
Page 9 of 144
Part 1 –
Develo ment Environment Overview
All CE 6.0 development tasks are supported within the VS2005 IDE, a developer friendly, efficient and
intuitive development environment with templates and wizard to help simplify complicate development
tasks.
Windows Embedded CE 6.0 R3
Windows Embedded CE 6.0 R3 (CE 6.0) is a hard Real-time operating system with ability to handle
32,000 concurrent processes and 2GB memory footprint for each process. CE 6.0 delivers reliable,
secure performance in a small footprint package along with the latest networking, multimedia and
communications technologies. CE 6.0 provides broad range of device support with enhanced
features, including robust file system, Web services for device, voice over IP phone, network
gateway configurations, platform development tool enhancements, greater application
compatibility with other Windows Embedded CE based devices, Internet E plorer, Windows Media
CODECs, Microsoft .NET Compact Framework, and a number of other newly supported protocols
and services.
In addition to improvement to the OS and development tool, the CE 6.0 R3 release added the
following components:
•Silverlight for Windows Embedded
•Flash Lite Browser plug-in to render Flash contents
•Touch and Gesture
•Microsoft Office application files viewers
•PDF file viewer
•QQ Messenger
•Connection Manager
Combining large pool of production quality BSP, device drivers, programming libraries and efficient
development tools, CE 6.0 provides the ideal Rapid Application Development environment to help
create the ne t generation of smart, media rich, connected and service oriented devices. For more
information about CE 6.0, visit:
http://www.microsoft.com/windowsembedded/en-us/products/windowsce/default.msp
Windows Embedded CE 6.0 – Platform Builder
Platform Builder is the development tool used to develop CE 6.0 OS design project and generate
custom CE 6.0 OS runtime image from the OS design project. It also provides the remote tools to
debug CE 6.0 OS runtime image on a target device, built with Kernel Independent Transport Layer
(KITL) enabled.
Windows Embedded CE Platform Builder releases prior to CE 6.0 are standalone development tool.
For the CE 6.0 release, Platform Builder is a plug-in to the VS2005 IDE, and requires the VS2005 IDE
to function.

Vortex86DX-MSJK Windows Embedded CE 6.0 R3 Jump Start Rev 2.2
Page 10 of 144
Windows Embedded CE 6.0 – Remote Tools
Using remote tools provided as part of the CE 6.0 development environment, developer is able to
remotely debug CE 6.0 OS runtime image running on a target device, built with KITL enabled.
The following remote tools are provided as part of the CE 6.0 development environment:
•Remote Call Profiler
•Remote File Viewer
•Remote Heap Walker
•Remote Kernel Tracker
•Remote Performance Monitor
•Remote Process Viewer
•Remote Registry Editor
•Remote Spy
•Remote System Information
•Remote Zoom-in
Visual Studio 2005 Integrated Develo ment Environment
VS2005 is a popular developer friendly development tool to develop broad range of applications
that can run on different version of the Windows operating system. Using the VS2005 IDE,
developer is able to create applications for the following Windows operating system:
•Windows 95, Windows 98, Windows ME and Windows 2000 legacy operating system.
•Windows XP
•Windows Vista
•Windows 2000 Server
•Windows 2003 Server
•Windows 2008 Server
•PocketPC
•Windows Mobile Smartphones
•Windows Embedded CE devices
•Etc…
The VS2005 IDE provides a centralized development environment to develop broad range of
applications, such as:
•Windows Form application
•Win32, ATL and MFC project
•DLL, ActiveX control, ASP.NET Web service, Windows service
•SQL Server project, Console application, Class libraries
•Windows Embedded CE and Mobile Smart Device application,
•Windows Embedded CE OS design
•Etc…

Vortex86DX-MSJK Windows Embedded CE 6.0 R3 Jump Start Rev 2.2
Page 11 of 144
CE 6.0 Device Develo ment: Ty ical Develo ment Ste s
Here are the typical steps to develop a CE 6.0 device after the hardware platform is selected:
•Develop CE 6.0 BSP for the selected hardware (some hardware vendors provide BSP to
support their hardware).
•Create and customize an OS design project for the hardware.
•Generate customized CE 6.0 OS runtime image for the hardware.
•Deploy CE 6.0 OS runtime image to the hardware for testing and debug.
•Generate CE 6.0 SDK from the OS design to support application development.
•Application development can take place concurrently, using VS2005 or VS2008, as the
hardware and OS design being fine tuned.
•After the satisfied CE 6.0 OS runtime image and application are created, deploy the solution
to the final hardware.
CE 6.0 A lication Develo ment - VS2005 and VS2008
Both VS2005 and VS2008 support application development for CE 6.0 device. There are multiple
options to develop CE 6.0 applications.
•Develop Native code application with C programming language.
•Develop Native code application with Visual C++, using the VS2005 IDE.
•Develop Managed code application with Visual C#, using the VS2005 IDE.
•Develop Managed code application with Visual Basic, using the VS2005 IDE.
•Develop Native code application with Visual C++, using the VS2008 IDE.
•Develop Managed code application with Visual C#, using the VS2008 IDE.
•Develop Managed code application with Visual Basic, using the VS2008 IDE.
A Software Development Kit (SDK), generate from the OS design for the target device, is needed to
support application development for the target device using VS2005 or VS2008.
The Visual Studio IDE provides an efficient development environment, making it possible to
download the application from the IDE to the target device for testing and debug using CoreCon
connectivity.
Using the Visual Studio IDE with CoreCon connectivity, application developer is able deploy
application to a CE 6.0 target device, launches the application, set breakpoint, e ecutes the
application codes and stepping through the codes one-line-at-a-time while it’s running on the target
device.
The Target Device
The term target device is referring to the hardware platform used in a CE 6.0 development project.
For the e ercises in this guide, the VDX-6326 SBC is used as the target device.
The
ICOP_VDX6326_60B
BSP which includes the necessary hardware adaptation codes, device
drivers and configuration files to support CE 6.0 OS development for the VDX-6326 SBC, is used for
the e ercises in this guide, as shown in Figure 1.

Vortex86DX-MSJK Windows Embedded CE 6.0 R3 Jump Start Rev 2.2
Page 12 of 144
Fig. 1 – ICOP_VDX6326_60B BSP for CE 6.0
In addition to the device drivers, the following DLLs are provided to help developers access the VDX-
6326 SBC’s GPIO and Watchdog timers:
•GPIO.dll (To access the 16-bit GPIOs)
•IO.dll (To access the VDX-6326 SBC’s hardware I/O)
•WDT.dll (To access the Watchdog timers)
When developing an OS design with the ICOP_VDX6326_60B BSP, these DLLs are included to the OS
design and compile into the OS runtime image by default.
Sample native and managed code projects showing how to use these DLLs are provided on the jump
start CD-ROM.
Refer to appendi L and M for more information about GPIO and watchdog timer.

Vortex86DX-MSJK Windows Embedded CE 6.0 R3 Jump Start Rev 2.2
Page 13 of 144
Common Terminology
To minimize the need to write long description to identify the product or component, it’s a common
practice for developer in different industry to use abbreviated key word. To the new comer, without
knowing the terminology used and what the abbreviated key words represent can cause quite a bit
of confusion.
The following table contains abbreviation for some of the common key words used in the CE 6.0
development environment and within this jump start kit:
Abbreviation/ key word
Description and Representation
CE 6.0
“Windows Embedded CE 6.0”
, “
Windows Embedded
CE 6.0 R2” and
“Windows Embedded CE 6.0 R3”
VS2005
Visual Studio 2005
VS2008
Visual Studio 2008
IDE
Integrated Development Environment
BSP
Board
Support Package:
A
group of Windows Embedded CE
software
components that includes the OEM adaptation layer code, device drivers
and configuration files, needed to create the OS design project to
generate OS runtime image for the targeted hardware.
OAL
OEM Adaptation Layer
Component
Component can be a device driver, BSP,
programming library,
application, utility, configuration settings, fonts, etc... The OS design is
made up by a group of components.
Catalog
The component catalog lists all of the components provided by Platform
Builder and installed 3
rd
party components. The component catalog
provides the interface to add components to the OS design project and
remove components from the project. This is also the interface to view
which components are included to the OS design project.
OS design
OS design is a Platfor
m Builder project, containing components that
make up the OS runtime image. Windows Embedded CE OS runtime
image is generated from an OS design project.
Hardware Platform
Refer to the physical hardware for runnin
g the CE 6.0 OS and
application, also refer to as the target device.
Target Device
Refer to the device used in the CE 6.0 development environment. When
working on e ercise using an emulator, the emulator is the target
device. Virtual PC can be a target device for the CE 6.0 development
environment. For the e ercise in this guide, the VDX-6326 SBC is the
target device.
SBC
Short for Single
-
Board
-
Computer.
OS Runtime Image
The binary file generated from the OS design project
to deploy to the
target device.
Release Directory or
Build Release Directory
Referring to the directory where all files related to the OS design
projects are placed by the build tools prior to compiling the OS runtime
image.

Vortex86DX-MSJK Windows Embedded CE 6.0 R3 Jump Start Rev 2.2
Page 14 of 144
CE 6.0 Environment and Directory Variables
Within the CE 6.0 development environment, environment variables are used to configure the OS
design to include, e clude associated components and control certain system behaviors. Directory
variables representing the associated directory are used to help make the codes and script easier to
understand and read. Here are some of these variables:
Variable Name
Description
-
Purpose
BSP_DISPLAY_NOP
Configure the OS design to
include the stub display driver
(DDI_NOP.dll) to support headless device.
BSP_NOAUDIO
Configure the OS design to e clude all audio components from the
build.
IMGRAM256
Configure the OS design to generate runtime image supporting
256MB of RAM
PRJ_ENABLE_
FSREGHIVE
Configure the OS design to enable Hive
-
based registry support
_WINCEROOT
Defines the root directory for the CE 6.0 install. The default directory
is:
C:\WINCE600
The above table lists a small sampling of variables used in the CE 6.0 development environment. For
more information about these environment variables, visit the following URLs:
About Environment Variables:
http://msdn.microsoft.com/en-us/library/ee479020.aspx
BSP Environment Variables:
http://msdn.microsoft.com/en-us/library/ee478674.aspx
BSP_NO Environment Variables:
http://msdn.microsoft.com/en-us/library/ee478672.aspx
IMG Environment Variables:
http://msdn.microsoft.com/en-us/library/ee479025.aspx
PRJ Environment Variables:
http://msdn.microsoft.com/en-us/library/ee479112.aspx
Miscellaneous Environment Variables:
http://msdn.microsoft.com/en-us/library/ee479008.aspx

Vortex86DX-MSJK Windows Embedded CE 6.0 R3 Jump Start Rev 2.2
Page 15 of 144
Part 2 –
Develo ment Environment Connectivity
It’s important to establish a proper development environment and understand different options
available to establish connectivity between the development workstation and target device to download
CE 6.0 OS runtime image, and deploy application, from the development workstation to the target
device for testing and debug. In this section, we will cover some of the common connectivity for the CE
6.0 development environment.
Ethernet Connectivity
For the e ercises in this guide, Ethernet is the primary connectivity in use for CE 6.0 development
with both the development workstation and target device connected to the same Local Area
Network.
CE 6.0 OS Runtime Image Develo ment – OS Design
OS Design is one of the project type supported by the VS2005 IDE, to generate customized CE
6.0 OS runtime Image.
As part of the OS design development process, connectivity between the development
workstation and target device is needed to download the OS runtime image to the target device
and debug. While it’s possible to use the serial port and other connectivity, Ethernet connection
is one of the practical options for debugging and downloading OS runtime image from the
development workstation to the target device for testing and debug.
CE 6.0 A lication Develo ment with Visual Studio
Both Visual Studio 2005 and 2008 support CE 6.0 managed and native code application
development, and able to deploy application from the development workstation to the target
device for testing and debug, using an Ethernet connection.
As part of the application development e ercises in this guide, CoreCon connectivity established
over the Ethernet connection is used to transport VS2005 and VS2008 application from the
development workstation to the target device and provides connectivity for debugging.
VDX-6326 SBC Connectivity
The VDX-6326 SBC has 3 built-in Ethernet interfaces. One of the interfaces uses the R6040 Ethernet
controller, built-in to the Vorte 86DX SoC, and uses the R6040 Ethernet driver provided as part of
the ICOP_VDX6326_60B BSP. The other two interfaces use Realtek-8100 controller, supported by
the Realtek-8139 (RTL-8139) Ethernet driver provided by the Platform Builder.
For the e ercises in this guide, the R6040 Ethernet interface is used. The R6040 Ethernet interface is
located on the back of the enclosure, between the USB and PS/2 interfaces.
Serial Port Connectivity
Serial port connectivity is established by connecting a null RS-232 serial modem cable between one
of the target device’s serial ports and an available serial port on the development workstation.
Serial connection is useful for debugging headless device and startup process during the bootloader
phase where the CE 6.0 OS runtime has not been fully launched.

Vortex86DX-MSJK Windows Embedded CE 6.0 R3 Jump Start Rev 2.2
Page 16 of 144
A Hyper-Terminal or similar application, running on the development workstation, is used to capture
serial debug messages from the target device.
Develo ment Environment Setu with DHCP
It’s common to setup the development environment where the development workstation and
target device are connected to the same Local Area Network with DHCP service, with a null RS-232
serial modem cable connected from one of the serial port on the target device and an available
serial port on the development workstation.
Here is a typical setup to connect both the development workstation and target device to a Local
Area Network with DHCP service, as shown in Figure 2.
Fig. 2 - Development environment with DHCP service provider
If the target device fails to establish connectivity with the development workstation as e pected
with this configuration, it may be caused by one of the following:
•The development workstation’s firewall software may be blocking the connection.
•DHCP service for the target device needs to be enabled on your network. Some secured
network may require the target device’s MAC address to be added to the authorized device
list to be serviced by the DHCP server.
Using Wireless Access Point Router
When using a wireless-access-point-router with multiple Ethernet ports, connecting both the
development workstation and target device directly to the Ethernet port on the wireless-access-
point-router may be problematic with certain model of access point, and prevent the development
environment from functioning as e pected.
Note:
The wireless
-
access
-
point
-
router device’s
routing function filter and route network packets based
on the packet’s associated origin, destination and other information. In some router, the routing
algorithm may prevent some of the packets between the development workstation and target
device from reaching its destination and cause problem.
Instead of connecting directly to the wireless-access-point-router device’s Ethernet ports, attach an
Ethernet network hub to the wireless-access-point-router device, to access the DHCP service
provided by the wireless-access-point-router, and connect both the development workstation and

Vortex86DX-MSJK Windows Embedded CE 6.0 R3 Jump Start Rev 2.2
Page 17 of 144
target device to the Ethernet network hub. With both the development workstation and target
device connecting to the same Ethernet hub, the network traffics between them are not filtered.
Develo ment Environment Setu with Static IP
It’s possible to establish a CE 6.0 development environment with Static IP addresses. Here are two
scenarios for setting up the development environment using static IP addresses:
Local Area Network without DHCP Service
The development workstation and target device are connected to the same Local Area Network
or an Ethernet Hub, without DHCP service, as shown in Figure 3.
Fig. 3 - Local Area Network without DHCP
Direct Connection using Cross-Over RJ-45 Ethernet Cable
Connectivity can be established by attaching the target device to the development workstation
directly, using a cross-over RJ-45 Ethernet cable and proper static IP addresses configuration, as
shown in Figure 4.
Development Workstation Target Device
Null RS-232
Serial Modem Cable
Cross over RJ- 5
Ethernet cable
Fig. 4 - Direct connection with cross-over RJ-45 Ethernet cable
Static IP Addresses
Without DHCP service to assign IP addresses dynamically, the target device and development
workstation must be configured with appropriate static IP addresses in order to establish
connectivity.
To establish connectivity to the target device, both the development workstation and target
device must be configured with static IP addresses within the same subnet.
Refer to appendi G for more information about using static IP addresses.

Vortex86DX-MSJK Windows Embedded CE 6.0 R3 Jump Start Rev 2.2
Page 18 of 144
Part 3 – Required Software & Installation
The following software components are required to develop CE 6.0 solution, and needed to work
through the e ercises in this getting started guide:
•Visual Studio 2005 with Service Pack 1
•Windows Embedded CE 6.0 R3
•ICOP_VDX6326_60B_BSP.msi
•MyWinCE600_SDK.msi
•CoreCon_v200_ 86_WINCE600.msi
•AutoLaunch_v200_ 86_WINCE600.msi
•RegFlushApp_v100_ 86_WINCE600.msi
Recommended Software Installation
It’s important to install the software in their proper sequences. Here is the recommended software
installation sequence:
•Visual Studio 2005
•Visual Studio 2005 SP1
If you have the full retail or evaluation version of Windows Embedded CE 6.0 R2 or R3, The VS2005
SP1 installation file is provided on one of the DISC. Otherwise, download from following URL:
http://www.microsoft.com/downloads/details.asp ?FamilyID=bb4a75ab-e2d4-4c96-b39d-
37baf6b5b1dc&DisplayLang=en
•Visual Studio 2005 SP1 update for Vista
If you are using a Windows XP workstation, skip this step.
If you have the full retail or evaluation version of Windows Embedded CE 6.0 R2 or R3, The VS2005
SP1 update for Vista installation file is provided on one of the DISC. Otherwise, download from
following URL:
http://www.microsoft.com/downloads/details.asp ?displaylang=en&FamilyID=90e2942d-3ad1-4873-a2ee-
4acc0aace5b6
•Windows Embedded CE 6.0
•Windows Embedded CE 6.0 SP1
If you have the full retail or evaluation version of Windows Embedded CE 6.0 R2 or R3, The CE 6.0 SP1
is provided on one of the DISC. Otherwise, download from the following URL:
http://www.microsoft.com/downloads/details.asp ?FamilyID=bf0dc0e3-8575-4860-a8e3-
290adf242678&DisplayLang=en
•Windows Embedded CE 6.0 R2
If you have the full retail or evaluation version of Windows Embedded CE 6.0 R2 or R3, The CE 6.0 R2
update is provided on one of the DISC. Otherwise, download from the following URL:
http://www.microsoft.com/downloads/details.asp ?FamilyID=f41fc7c1-f0f4-4fd6-9366-
b61e0ab59565&DisplayLang=en
•Windows Embedded CE 6.0 R3

Vortex86DX-MSJK Windows Embedded CE 6.0 R3 Jump Start Rev 2.2
Page 19 of 144
If you have the full retail or evaluation version of Windows Embedded CE 6.0 R3, The CE 6.0 R3
update is provided on one of the DISC. Otherwise, download from the following URL:
http://www.microsoft.com/downloads/details.asp ?displaylang=en&FamilyID=bc247d88-ddb6-4d4a-a595-
8eee3556fe46
•ICOP_VDX6326_60B_BSP.msi
This BSP is provided on the jump start kit CD, in the
\Software
folder.
•MyWinCE600_SDK.msi
This SDK is provided on the jump start kit CD, in the
\Software
folder.
•CoreCon_v200_ 86_WinCE600.msi
This CoreCon component is provided on the jump start kit CD, in the
\Software
folder.
•AutoLaunch_v200_ 86_WinCE600.msi
This AutoLaunch component is provided on the jump start kit CD, in the
\Software
folder.
•RegFlushApp_v100_ 86_WinCE600.msi
This RegFlushApp component is provided in the jump start kit CD, in the
\Software
folder.
Windows Embedded CE 6.0 Installation
Since the CE 6.0 development tool, Platform Builder, is a plug-in to the VS2005 IDE
, the
VS2005 development tool must be installed to the develop workstation prior to installing the CE 6.0
software packages. While the CE 6.0 installation does not require VS2005 SP1 to be installed, it’s
required to install SDK generated from the CE 6.0 OS design. The SDK is needed to support VS2005
and VS2008 application development. For Windows Vista workstation, VS2005 SP1 Update for Vista
is also needed.
By default, the CE 6.0 installation program only selects and includes support for the ARMV4I
processor during installation. The VDX-6326 SBC is built with an 86 processor. Support for the 86
processor must be selected and included as part of the installation in order to work through the
e ercises in this guide.
When installing the CE 6.0 software, during the supported processor selection step, include support
for the 86 processor, as shown in Figure 5.
Fig. 5 - Windows Embedded CE 6.0 setup

Vortex86DX-MSJK Windows Embedded CE 6.0 R3 Jump Start Rev 2.2
Page 20 of 144
Note:
It’s strongly recommended to install all software to the default installation directory. Some of the 3
rd
party components used for the e ercises in this guide assume all software components are installed to
the default directory. When the software components are installed to a different directory, these 3
rd
party components may not function as e pected.
Windows Embedded CE 6.0 SP1 Installation
After installing the CE 6.0 software, install the CE 6.0 SP1 update. Depending on the version of
CE 6.0 CD or DVD being used to install the software, the CE 6.0 SP1 update may be provided as
part of the CD or DVD. Otherwise, download and install CE 6.0 SP1 from the following URL:
http://www.microsoft.com/downloads/details.asp ?FamilyID=bf0dc0e3-8575-4860-a8e3-
290adf242678&DisplayLang=en
Windows Embedded CE 6.0 R2 Installation
After installing the CE 6.0 SP1, install the CE 6.0 R2 update. Depending on the version of CE 6.0
CD or DVD being used to install the software, the CE 6.0 R2 update may be provided as part of
the CD or DVD. Otherwise, download and install CE 6.0 R2 from the following URL:
http://www.microsoft.com/downloads/details.asp ?FamilyID=f41fc7c1-f0f4-4fd6-9366-
b61e0ab59565&DisplayLang=en
Windows Embedded CE 6.0 R3 Installation
After installing the CE 6.0 R2, install the CE 6.0 R3 update. Depending on the version of CE 6.0
CD or DVD being used to install the software, the CE 6.0 R3 update may be provided as part of
the CD or DVD. Otherwise, download and install CE 6.0 R3 from the following URL:
http://www.microsoft.com/downloads/details.asp ?displaylang=en&FamilyID=bc247d88-ddb6-4d4a-a595-
8eee3556fe46
Board-Su ort-Package Installation
VS2005, CE 6.0, CE 6.0 SP1, CE 6.0 R2 and CE 6.0 R3 must be installed prior to installing the Board-
Support-Package (BSP). The ICOP_VDX6326_60B BSP is provided on the jump start CD, in the
\Software
folder.
\Software\ICOP_VDX6326_60B_BSP.msi
After installation, this BSP shows up on the CE 6.0 Platform Builder component catalog as
“ICOP_VDX6326_60B: 86” under the “\Third Party\BSP” folder.
Note:
86 CPU support for CE 6.0 PLATFORM BUILDER is needed in order to use
ICOP_
VDX6326_60B
BSP to create
OS design and build CE 6.0 image for the VDX-6326 SBC.
SDK Installation
VS2005, CE 6.0, CE 6.0 SP1 and CE 6.0 R3 must be installed prior to installing the SDK. The CE 6.0
SDK needed to support application development e ercises in this guide,
MyWinCE600_SDK.msi
, is
provided on the jump start CD, in the
\Software
folder.
\Software\MyWinCE600_SDK.msi
Table of contents