Arcom SBC-GX1 Instruction manual

SBC-GX1 Windows XP Embedded Quickstart
SBC-GX1
Windows XP Embedded
Development Kit
Quickstart Manual
company
a
www.arcom.com

SBC-GX1 Windows XP Embedded Quickstart
Definitions
Arcom is the trading name for Arcom Control Systems Inc and Arcom Control Systems Ltd.
Disclaimer
The information in this manual has been carefully checked and is believed to be accurate. Arcom assumes no responsibility
for any infringements of patents or other rights of third parties, which may result from its use.
Arcom assumes no responsibility for any inaccuracies that may be contained in this document. Arcom makes no commitment
to update or keep current the information contained in this manual.
Arcom reserves the right to make improvements to this document and /or product at any time and without notice.
Warranty
This product is supplied with a full 3 year warranty. Product warranty covers failure caused by any manufacturing defects.
Arcom will make all reasonable effort to repair the product or replace it with an identical variant. Arcom reserves the right to
replace the returned product with an alternative variant or an equivalent fit, form and functional product. Delivery charges will
apply to all returned products. Please go to www.arcom.com/support for information about product return forms.
Trademarks
ROM-DOS™, FlashFX®and Sockets are trademarks of Datalight Inc.
Windows XP and Windows XP Embedded, Windows Embedded Studio, Target Designer, Component Designer and Visual
Studio are all trademarks of the Microsoft Corporation.
CompactFlash is a registered trademark of SanDisk Corp.
Linux is a registered trademark of Linus Torvalds.
All other trademarks and copyrights referred to are the property of their respective owners.
This product includes software developed by the University of California, Berkeley and its contributors.
Revision History
Manual PCB Date Comments
Issue A
Issue B
Issue C
Issue D
3rd May 2002
26th Sep 2002
8th Jun 2004
18th Jun 2004
First full release of manual.
TSC1 added to LCD kit.
Second full release of manual.
Minor changes, updated layout.
© 2004 Arcom.
Arcom is a subsidiary of Spectris plc.
For contact details, see page 54.
Arcom operates a company-wide
quality management system, which
has been certified by the British
Standards Institution (BSI) as
compliant with ISO9001:2000

SBC-GX1 Windows XP Embedded Quickstart Contents
Contents
Important notice .................................................................................................................................5
Introduction ........................................................................................................................................6
Handling your board safely ....................................................................................................7
About this manual ..............................................................................................................................8
Related documents ................................................................................................................8
Conventions ...........................................................................................................................8
Getting started ...................................................................................................................................9
What’s in the kit?....................................................................................................................9
What else do I need? ...........................................................................................................10
Unpacking and connecting up..........................................................................................................11
BIOS settings .......................................................................................................................13
Flat panels .......................................................................................................................................14
Using Windows XP Embedded ........................................................................................................15
Networking ...........................................................................................................................16
Application development......................................................................................................17
Device drivers ......................................................................................................................18
Touchscreen.....................................................................................................................................19
Installing the support software .........................................................................................................21
Sample images ....................................................................................................................22
.NET framework ...................................................................................................................23
Network settings ..............................................................................................................................24
Remote Desktop Connection ...........................................................................................................25
Enhanced Write Filter ......................................................................................................................27
EWF usage flowchart...........................................................................................................28
Changing the startup logo................................................................................................................29
Reinstalling Windows XP Embedded...............................................................................................30
Installing the Windows XP Embedded Minimal XPe image .................................................31
Using PXE to remote boot Windows XP Embedded........................................................................32
Setting up Windows Embedded Studio............................................................................................33
Installation............................................................................................................................33
Target Designer extensions .................................................................................................34
Configuration information.....................................................................................................38
Transferring a new image to the SBC-GX1......................................................................................39
Using the supplied utilities ...................................................................................................39
Assigning an IP address ......................................................................................................40
Preparing a new CompactFlash module..............................................................................41
Formatting a CompactFlash module....................................................................................42
Transferring an image ..........................................................................................................43
An alternative method of transferring the image ..................................................................44
Adding the XP boot loader ...................................................................................................46
© 2004 Arcom Issue D 3

SBC-GX1 Windows XP Embedded Quickstart Contents
Recreating the utility floppy..............................................................................................................47
Security and image duplication ........................................................................................................48
CompactFlash requirements................................................................................................48
Duplication of Windows XP Embedded images ...................................................................48
Expansion boards ............................................................................................................................53
Appendix A – Contacting Arcom.......................................................................................................54
Appendix B – End User License Agreement (EULA) .......................................................................55
Attachment A........................................................................................................................56
Index ................................................................................................................................................58
© 2004 Arcom Issue D 4

SBC-GX1 Windows XP Embedded Quickstart Important notice
Important notice
Arcom’s Windows XP Embedded Development Kit is supplied with a Microsoft Windows
XP Embedded license. This allows you to develop, download and debug your Windows
XP application on the CompactFlash card. The Windows XP Embedded operating
system has been configured to run on the Arcom SBC-GX1 processor. A copy of the
operating system image is included on the Development Kit CD and may be used to
restore the image on the SBC-GX1 Development Kit. The Windows XP Embedded
License label is attached to the solder side of the SBC-GX1 board. The operating
system image on the CD may also be used to create production copies of the supplied
operating system.
The Windows XP Embedded product may be used in your product under one of the
following license options:
By purchasing boards or systems from Arcom with the operating system pre-loaded
onto a CompactFlash card, Arcom can supply Windows XP Embedded licenses.
The Microsoft OEM Customer License Agreement signed by Arcom states that we
must supply the Windows XP Embedded software pre-installed onto our equipment
or drives. The license label is attached to the solder side of the SBC-GX1 board.
Please contact Arcom for information about license label costs.
•
•
•
If you intend to use the Windows XP Embedded operating system image supplied
by Arcom and purchase the Windows XP Embedded licenses directly from your
local Microsoft distributor, you must sign an OEM Customer License Agreement,
which is supplied by your Microsoft distributor. You are responsible for installing the
operating system on the Arcom product and applying the license label to your
finished product. Contact your local Microsoft distributor for license label costs.
If you intend to build your own version of the operating system and then purchase
Windows XP Embedded licenses, you must purchase a copy of the authoring tools
Windows Embedded Studio (consisting of Target Designer and Component
Designer) and sign an OEM Customer License Agreement. Windows Embedded
Studio is only available from a Microsoft distributor; it is not supplied by Arcom.
Please contact your local Microsoft OEM distributor for price information and to
obtain your OEM Customer License Agreement. On receipt of the signed OEM
Customer License Agreement, Microsoft (or the distributor) will issue you with a PID
number, which is an electronic key that allows you to create a specific operating
system from your Target Designer tool set. You must buy licenses for Windows XP
Embedded images you have created using Target Designer. You are responsible for
installing the operating system onto the Arcom product and applying the license
label to your finished product.
For more information about the End User License Agreement, see Appendix B – End
User License Agreement (EULA), page 55.
© 2004 Arcom Issue D 5

SBC-GX1 Windows XP Embedded Quickstart Introduction
Introduction
Arcom’s Windows XP Embedded Development Kit is designed to provide a complete
environment and thus allow software engineers to concentrate on the development of
their application. The remainder of this manual describes the Windows XP Embedded
Development Kit. More information about the features available within Windows XP
Embedded can be found on the Microsoft web site, at
www.microsoft.com/windows/embedded/xp.
This Development Kit supports Windows XP Embedded Service Pack 1.
© 2004 Arcom Issue D 6

SBC-GX1 Windows XP Embedded Quickstart Introduction
Handling your board safely
Anti-static handling
The boards in this Development Kit contain CMOS devices. These could be damaged in
the event of static electricity being discharged through them. Please observe anti-static
precautions at all times when handling circuit boards. This includes storing boards in
appropriate anti-static packaging and wearing a wrist strap when handling them.
Battery
The board contains a Lithium non-rechargeable battery. Do not short-circuit the battery
or place it on a metal surface where the battery terminals could be shorted. During
shipment, the battery is isolated from the board’s circuitry. It should be connected
before using the board. For details, refer to the Jumper and Connections section of the
SBC-GX1 Technical Manual.
If the battery needs to be replaced, please ensure that the new part conforms to the
same specification.
Packaging
Should a board need to be returned to Arcom, please ensure that it is adequately
packed, preferably in the original packing material.
Electromagnetic Compatibility (EMC)
The SBC-GX1 is classified as a component with regard to the European Community
EMC regulations. It is the user’s responsibility to ensure that systems using the board
comply with the appropriate EMC standards.
© 2004 Arcom Issue D 7

SBC-GX1 Windows XP Embedded Quickstart About this manual
About this manual
This manual is designed to help you get your SBC-GX1 up and running as quickly as
possible. It explains the components of your SBC-GX1 Development Kit you have
received and tells you how to unpack and connect the board. It also explains, amongst
other things, the use of Windows XP Embedded in the board and how you can transfer
images to the board.
Related documents
The SBC-GX1 Quickstart Manual is supplied as part of the SBC-GX1 Development Kit.
This kit also includes a CD-ROM with a copy of this manual and a copy of the SBC-GX1
Technical Manual. Other manuals may be referred to from time to time. These are
normally provided on the CD-ROM that accompanies your Development Kit.
Conventions
Symbols
The following symbols are used in this guide:
Symbol
Explanation
Note - information that requires your attention.
Tip - a handy hint that may provide a useful
alternative or save time.
Caution – proceeding with a course of action may
damage your equipment or result in loss of data.
Jumper fitted on pin A.
Jumper fitted on pin B.
Jumper is fitted.
Jumper is not fitted.
A
B
B
A
© 2004 Arcom Issue D 8

SBC-GX1 Windows XP Embedded Quickstart Getting started
Getting started
What’s in the kit?
Arcom’s SBC-GX1 Windows XP Embedded basic kit comprises the following items:
SBC-GX1 processor board with 256MB RAM and 16MB Flash.
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
+5V @ 8A, +12V @ 1.7A (100-240V AC input) power supply.
A power supply cable with either US-, UK- or European-style plug.
Power supply adapter cable.
PS/2 mouse.
PS/2 to AT keyboard adapter.
VGA adapter cable.
Serial adapter cable.
Floppy drive cable.
Crossed RJ45 Ethernet cable.
512MB CompactFlash module pre-loaded with Windows XP Embedded.
SBC-GX1 Windows XP Embedded Development Kit CD-ROM.
Floppy disk containing the download utilities.
Microsoft Windows XP Embedded license, attached to the board.
Datalight Sockets license, attached to the floppy disk.
Datalight ROMDOS license, attached to the floppy disk.
Printed copy of the Windows XP Embedded Quick Start manual.
USB CompactFlash reader/writer.
Reset switch.
The following items are also included with the flat panel kit:
NEC 6.5'' color TFT flat panel display (NL6448BC20-08).
Backlight inverter module.
Flat panel cable assembly.
Four wire resistive touchscreen.
Arcom TSC1 (TouchScreen Controller).
© 2004 Arcom Issue D 9

SBC-GX1 Windows XP Embedded Quickstart Getting started
What else do I need?
A PS/2 or AT keyboard.•
•
•
•
•
•
A VGA monitor (if not using the flat panel kit).
A PC with an Ethernet adapter configured for TCP/IP, running Windows XP or
Windows 2000 Professional and with about 150MB of disk space.
(If you intend to run Microsoft Windows Embedded Studio your system must have a
Pentium III 600MHz or greater with 256MB, Microsoft Windows 2000 service pack 2
or later, Windows XP Professional, IE 5.5 or later, a CD-ROM or a DVD-ROM drive
and about 1.2GB of free disk space.)
A Win32 development tool to develop your application, such as Visual C++ or Visual
Basic.
A floppy drive if you want to download a new Windows XP Embedded image to the
CompactFlash module on the target system.
Microsoft Windows Remote Desktop. This is used to download files to the target and
to provide access to headless systems.
© 2004 Arcom Issue D 10

SBC-GX1 Windows XP Embedded Quickstart Unpacking and connecting up
Unpacking and connecting up
Arcom’s Windows XP Embedded Development Kits are shipped ‘ready to run’. You
simply remove the various items from their packaging and connect them up. Remember
that a number of these items are static-sensitive, so you must take standard anti-static
precautions while unpacking. See Anti-static handling, page 7.
Refer to the diagram and procedure below to ensure that everything is connected up
correctly.
POWER
SUPPLY
MOUSE
KEYBOARD
CRT MONITOR
LCD DISPLAY
INVERTER
FLAT PANEL CABLE
INVERTER CABLE
SBC-GX1
FDD
POWER I/F CABLE
TOUCH SCREEN
4
5
1
1
8
1
TSC1
CAB-TOUCHSCREEN-4W
9 WAY D - 10 WAY IDC
COMMS CABLE
HDD
TSC POWER I/F CABLE
TTL-CONV.
POWER
PIN 1
1Remove the SBC-GX1 CPU board from its packaging and place it on a static-free
work surface.
2Enable the battery by moving the jumper labelled LK7 to position A.
3Plug the mouse into the socket labelled PL9 MOUSE.
4Plug a keyboard into the socket labelled PL7 KEYBOARD (using the PS/2
adapter if required).
© 2004 Arcom Issue D 11

SBC-GX1 Windows XP Embedded Quickstart Unpacking and connecting up
5Plug one end of the Ethernet cable into the socket labeled PL5 10/100-TX and the
other end into your development system.
The cable supplied in the kit is crossed cable, designed to go directly
between the SBC-GX1 and another PC. If you want to use a hub you must
use a straight-through cable instead.
6Do one of the following:
If your kit does not include an LCD, plug one end of the supplied adapter cable
into a video monitor and the other end into the socket labelled PL11 VGA.
•
• If your kit includes an LCD, plug the interface cable into the SBC-GX1 flat
panel connector PL15. Plug the larger cable into the flat panel and the smaller
cable into the backlight inverter.
Make sure the power is off while connecting the LCD, as the backlight
inverter generates high voltages.
7If the touchscreen is to be used, do the following:
Use the serial adapter cable provided to connect the 9-way D type on the
TSC1 to COM3 on the SBC-GX1.
•
• Connect the touchscreen to the TSC1 using the 4-way ribbon cable.
Pin 1 is marked on the touchscreen and the cable, but it can be difficult
to see.
• Connect the TSC1 to the power supply.
8Fit the SBC-GX1 power supply to the socket labelled PL12 POWER.
9Fit the appropriate power lead to the power supply unit.
© 2004 Arcom Issue D 12

SBC-GX1 Windows XP Embedded Quickstart Unpacking and connecting up
BIOS settings
The BIOS on the SBC-GX1 is from General Software Inc. Should you need to reset the
BIOS, follow these steps:
1Reset the board and press Delete. The BIOS set up screen is displayed.
2Select Reset CMOS to Factory Defaults and press Enter.
3Press Delete immediately to display the BIOS set up screen as the system
reboots.
4Select Basic CMOS Configuration and press Enter.
5Set the Date and Time to current values.
6Press Esc and choose Save & Exit Setup from the main BIOS menu.
7Press Enter. The following message is displayed:
SAVE to CMOS and EXIT (Y/N)? Y
8Press Enter to save your changes.
We use these settings when assembling the SBC-GX1 and recommend
that you use them if you need to reset the BIOS.
© 2004 Arcom Issue D 13

SBC-GX1 Windows XP Embedded Quickstart Flat panels
Flat panels
The default BIOS can be used to drive the following flat panels:
A 6.5" NEC TFT flat panel (part number NL6448AC20-08), as supplied in the flat
panel variant of the Development Kit.
•
• A 10.4" NEC TFT flat panel (part number NL6448AC33-18/-27/-29).
For information about other flat panels supported by the SBC-GX1, contact Arcom
technical support. See Appendix A – Contacting Arcom, page 54.
© 2004 Arcom Issue D 14

SBC-GX1 Windows XP Embedded Quickstart Using Windows XP Embedded
Using Windows XP Embedded
The SBC-GX1 loads the installed copy of Windows XP Embedded. This may take up to
2 minutes. When loading is complete, a Windows XP Embedded desktop icon appears.
You do not need to enter a user name and password, because clicking on this icon logs
you in automatically.
The user name and password used in the automatic log in are both
‘Administrator’.
At this point the target system behaves in much the same way as the normal desktop
version of Windows XP, but with fewer applications available. Commands and utilities
can be run from the Start menu in the normal way.
© 2004 Arcom Issue D 15

SBC-GX1 Windows XP Embedded Quickstart Using Windows XP Embedded
Networking
The SBC-GX1 appears on a standard Windows network in a workgroup called
‘WORKGROUP’. The name assigned to the machine begins with ‘GX1-’, followed by a
random series of characters unique to your system (generated by Windows XP
Embedded) i.e. GX1-xxxxxxxx, where xxxxxxx is the random part of the name, for
example GX1-TLTYYX.
To find out the name assigned to your SBC-GX1, follow these steps:
1Click on the Start button, right-click on My Computer and select Properties.
2Select Computer Name in the System Properties dialog box.
Files and folders on the SBC-GX1 can be shared, allowing easy access from another
system. To share a folder on the target system right-click on the folder, select Sharing
and Security and give it a name.
© 2004 Arcom Issue D 16

SBC-GX1 Windows XP Embedded Quickstart Using Windows XP Embedded
Application development
From an application development viewpoint, Windows XP Embedded behaves in the
same way as desktop Windows XP. This means you can use the full range of Microsoft
development tools including, for example, Visual Basic, Visual C++, and so on. The
Windows XP Professional versions of the software development and driver
development kits can also be used with Windows XP Embedded.
A copy of MSVCMON.EXE, Microsoft’s remote debugging tool, is included on the target
board, in the folder C:\Windows\System32. A shortcut to MSVCMON.EXE is available
on the desktop, called Remote Debugging. To debug applications on the SBC-GX1,
follow these steps:
1Launch MSVCMON.EXE by double-clicking on the Remote Debugging shortcut
on the desktop and then clicking on Connect.
2Build your application on your host system in the normal way, using tools such as
Visual C++.
3Select Debug Remote Connection from the Build menu and then select
Network (TCP/IP).
4Click on Settings and enter the name or IP address of your SBC-GX1 system.
When the debug session is started from Visual C++, the code actually runs on the
SBC-GX1. For further details visit Microsoft’s developer network site at
www.msdn.microsoft.com and search for ‘debugging remote applications’.
© 2004 Arcom Issue D 17

SBC-GX1 Windows XP Embedded Quickstart Using Windows XP Embedded
Device drivers
Installation of any new plug and play device and its driver on Windows XP Embedded
should be carried out as follows:
If Windows XP Embedded is successful in detecting your device, the following
screen is displayed:
•
If you have specific driver files, do not carry out automatic installation. Instead,
Cancel the Found New Hardware Wizard and follow these steps:
•
•
1Open the Device Manager by selecting Start →Control Panel →System →
Hardware →Device Manager.
2Right-click on your device, which is displayed in Other devices.
3Click on Update Driver.
4Follow the instructions on-screen to complete the installation.
If device drivers are available with Windows XP Embedded, carry out automatic
installation.
For non plug and play devices, the installation procedure is same as desktop Windows
XP Professional. Any device drivers for Windows XP Professional should also work on
Windows XP Embedded.
© 2004 Arcom Issue D 18

SBC-GX1 Windows XP Embedded Quickstart Touchscreen
Touchscreen
The LCD version of the development kit is supplied with a touchscreen. A driver for the
touchscreen is included, but is disabled by default as it takes over a COM port. The
TSC1 touchscreen drivers include the following programs:
Main driver: Touchscreen.exe•
•
•
Calibration program: Touchcal.exe.
Diagnostic program: Touchraw.exe.
To use the touchscreen on your flat panel, follow these steps:
1Ensure the SBC-GX1 is powered off and the touchscreen is fixed securely to the
flat panel.
2Ensure that all electrical connections for the touchscreen and touchscreen
controller are made.
3Connect a +5V supply to the touchscreen controller, using the supplied cable.
4Connect the touchscreen to the touchscreen controller, using the 4-wire
connector.
Make sure that pin 1 of the TSC1 goes to pin 1 of the touchscreen.
5Connect the output of the touchscreen controller to serial port COM3 (PL27) on
the SBC-GX1 board.
6Start the SBC-GX1.
7Create a shortcut to touchscreen.exe and place the shortcut in the Startup folder
of Windows XP Embedded.
8Restart the system.
The touchscreen and TSC1 are configured and calibrated as part of the production
process, so are ready to use.
The touchscreen driver includes an automatic detection routine. This determines which
COM port and baud rate to use. This is not normally required, but can be initiated by
deleting the following two registry values in the key:
HKEY_LOCAL_MACHINE\Software\Arcom Control Systems\Touchscreen
"Calibrated"=dword:00000001
"TSC1Detected"=dword:00000001
© 2004 Arcom Issue D 19

SBC-GX1 Windows XP Embedded Quickstart Touchscreen
If you download a new XP image to the SBC-GX1, this detection routine is carried out
the first time the touchscreen driver is run. The calibration process must be completed
and the results saved.
If the jumpers LK2 and LK3 are fitted on the TSC1, then TSC1 is in 10-bit mode.
Otherwise it is in 8-bit mode.
For more details, refer to the document Touchscreen.html. This is on the CD that
accompanies this Development Kit, in the folder
\Documentation\DataSheets\Touchscreen.
© 2004 Arcom Issue D 20
Other manuals for SBC-GX1
2
Table of contents