background image

49

Appendix C  

C.2.4 IOCTL_WDT_GETTIMEOUT:

Gets the Watchdog time setting.
lpInBuffer: unused.
nInBufferSize: unused.
lpOutBuffer: The DWORD points to your watchdog time setting. The 
Watchdog time setting is just a number. 0 means 2 seconds, 1 means 5 
seconds, 2 means 10 seconds, 3 means 15 seconds, 4 means 30 seconds, 5 
means 45 seconds and 6 means 60 seconds. The default setting is 5 sec-
onds.
nOutBufferSize: unused.

C.2.5 IOCTL_WDT_SETTIMEOUT:

Sets the watchdog time setting.
lpInBuffer : The DWORD points to your watchdog time setting. The 
watchdog time setting is just a number. 0 means 2 seconds, 1 means 5 
seconds, 2 means 10 seconds, 3 means 15 seconds, 4 means 30 seconds, 5 
means 45 seconds and 6 means 60 seconds. The default setting is 5 sec-
onds.
nInBufferSize:.unused.
lpOutBuffer: unused.
nOutBufferSize: unused.

C.2.6 IOCTL_WDT_REBOOT:

If you want your application to trigger the watchdog by itself, please use 
IOCTL_WDT_REBOOT to notify the watchdog driver timer (WDT). 
Otherwise, the WDT will trigger itself automatically.
lpInBuffer :unused.
nInBufferSize: unused.
lpOutBuffer: unused.
nOutBufferSize: unused.

Summary of Contents for Intel XScale PXA Touch Panel Computer TPC-66 Series

Page 1: ...TPC 66X Series AMD LX800 Touch Panel Computers with 6 4 5 6 VGA TFT LCD User Manual ...

Page 2: ...rmission of Advantech Co Ltd Information provided in this manual is intended to be accurate and reli able However Advantech Co Ltd assumes no responsibility for its use nor for any infringements of the rights of third parties which may result from its use Acknowledgements Intel and Pentium are trademarks of Intel Corporation Microsoft Windows and MS DOS are registered trademarks of Microsoft Corp ...

Page 3: ...placement materials service time and freight Please consult your dealer for more details If you think you have a defective product follow these steps 1 Collect all the information about the problem encountered For example CPU speed Advantech products used other hardware and software used etc Note anything abnormal and list any onscreen messages you get when the problem occurs 2 Call your dealer an...

Page 4: ... and used in accordance with the instruction manual may cause harmful interference to radio communications Operation of this equipment in a residential area is likely to cause harmful interference in which case the user will be required to correct the interference at his own expense Technical Support and Assistance Step 1 Visit the Advantech web site at www advantech com support where you can find...

Page 5: ...r cord so that people cannot step on it Do not place anything over the power cord 10 All cautions and warnings on the equipment should be noted 11 If the equipment is not used for a long time disconnect it from the power source to avoid damage by transient overvoltage 12 Never pour any liquid into an opening This may cause fire or elec trical shock 13 Never open the equipment For safety reasons th...

Page 6: ... REPLACE ONLY WITH THE SAME OR EQUIVALENT TYPE RECOMMENDED BY THE MANUFACTURER DISCARD USED BATTERIES ACCORD ING TO THE MANUFACTURER S INSTRUCTIONS The sound pressure level at the operator s position according to IEC 704 1 1982 is no more than 70 dB A DISCLAIMER This set of instructions is given according to IEC 704 1 Advantech disclaims all responsibility for the accuracy of any statements contai...

Page 7: ...ure 2 3 Power Connector and Power Lines 11 Figure 2 4 Pin Assignment on the Power Receptor 11 Figure 2 5 Plugging in the Power Line 12 Figure 2 6 Turn on the System 12 Chapter 3 System Engine 14 Table 3 1 Mainboard Connectors Jumper Settings 14 Figure 3 1 Main Board Connectors 1 15 Figure 3 2 Main Board Connectors 2 15 Chapter 4 Software Configuration 18 4 1 VGA Driver Installation 18 Figure 4 1 D...

Page 8: ...ndix C Watchdog Timer Programming on WinCE 46 C 1 DeviceIOControl 46 C 1 1 Parameters 47 C 2 How to Use the Control Code 48 C 2 1 IOCTL _WDT_ENABLE 48 C 2 2 IOCTL _WDT_DISABLE 48 C 2 3 IOCTL_WDT_STROBE 48 C 2 4 IOCTL_WDT_GETTIMEOUT 49 C 2 5 IOCTL_WDT_SETTIMEOUT 49 C 2 6 IOCTL_WDT_REBOOT 49 C 3 Examples 50 Appendix D Accessory Kit Assembly Procedure 54 D 1 CompactFlash to IDE Transfer Kit 54 Figure...

Page 9: ...E 7 Standard Calibration 1 61 Figure E 8 Standard Calibration 2 62 Figure E 9 Standard Calibration 3 62 Figure E 10 Advanced Calibration 1 63 Figure E 11 Advanced Calibration 2 64 Figure E 12 Plot Calibration Data 64 Figure E 13 Draw 65 Figure E 14 Clear Screen 66 Figure E 15 Option 66 Appendix F Fuse Specifications 68 F 1 Fuse Specifications 68 F 2 Fuse Replacement 68 Figure F 1 Fuse Replacement ...

Page 10: ...TPC 66X Series User Manual x ...

Page 11: ...APTER 1 General Information This chapter gives background infor mation on TPC 66X Series Sections include Introduction Specifications I O Ports Arrangement Panel Mounting Exploded Diagram Dimensions Cutout ...

Page 12: ...CD display suits industrial demands for clear interfaces Powerful Communication Capability TPC 66X Series provides a powerful I O interface for easily communi cating with other devices The I O interface includes serial ports Ethernet and USB 2 0 support TPC 66X Series also supports the expansion slot PC 104 This makes it easy to expand with the required PC 104 modules Windows CE Support In additio...

Page 13: ...rddrive Slave 1 2 2 I O Ports 2 serial ports RS 232 COM1 andRS 232 422 485 COM2 or TPC 662G 1 RJ 45 Ethernet port 1 PS 2 port 6 pin mini DIN ports for keyboard and mouse 2 USB 2 0 Ports compliant with USB 1 0 and 1 1 PC 104 slot supports 8 bit I O card only 1 2 3 Safety and Environment Safety FCC Class A CE certificated The front bezel is compliant with NEMA 4 and IP65 Environment Operating Temper...

Page 14: ...t 1 CCFL Backlight Life Time 20 000 hours 1 4 Touchscreen Specifications Touch Type Resistive Base Glass Construction Tempered Glass Resolution 1024 x 1024 Light Transmission 75 typical Controller RS 232 Interface Lifespan 1 million touches at single point 1 5 Power Input Voltage 18 32VDC the fuse will become an open circuit if the input level exceeds 33 VDC Typical 24VDC 1 82Amp Note There might ...

Page 15: ...ket is in position before installing TPC 66X Series into the panel opening 2 Install the TPC 66X Series into the panel opening 3 Find the eight clampers and eight long screws in the accessory pack Hook the clampers to the holes around the four sides of the bezel Insert the screws into every clamper and fasten them These screws will push the mounting panel and fix the unit 4 The suggested mounting ...

Page 16: ...TPC 66X Series User Manual 6 Figure 1 2 Panel Mounting 1 8 Exploded Diagram Figure 1 3 Assembly exploded ...

Page 17: ...7 Chapter1 1 9 Dimensions and Cutout Weight 0 8 kg Dimensions 195 x 148 x 44 5 mm W x H x D Cutout 188 x 141 mm suggested Figure 1 4 Dimensions Cutout ...

Page 18: ...TPC 66X Series User Manual 8 ...

Page 19: ...2 CHAPTER 2 System Setup This chapter provides a brief explana tion for operating TPC 66X Series ...

Page 20: ...struc tions below 1 Unpack the TPC 66X Series package Please check the packing list at the beginning of this manual to make sure every item is there Figure 2 1 Unpack the Package 2 Install a CompactFlash card containing Windows CE embedded Windows XP or another operating system Figure 2 2 Install CompactFlash Memory Card ...

Page 21: ...ines can either be from some power adapter or an in house power source Figure 2 3 Power Connector and Power Lines Figure 2 4 Pin Assignment on the Power Receptor Warning The system may be damaged when the power is turned on if the power source is not con nected to the correct pins ...

Page 22: ...l 12 4 Plug the power lines into the system power receptor Figure 2 5 Plugging in the Power Line 5 Turn on the System Figure 2 6 Turn on the System 6 Calibrate the touchscreen The detailed procedure is described in the appendix ...

Page 23: ...2 CHAPTER 3 System Engine ...

Page 24: ...l CN5 ETHERNET RJ45 LAN PORT CN6 PS2 Standard Mini DIN 6 pin support K B and Mouse on panel CN8 LINE OUT Audio Line OUT only TPC 660G CN9 MIC IN Audio MIC IN only TPC 660G CN8A1 PC104 PC104 32 2 CONNECTOR CN8B1 PC104 PC104 20 2 CONNECTOR CN10 DC IN DC Power in Connector HOUSING 5 08 MM 3P CN11 COM2 Serial port COM2 RS232 485 422 CAN Bus TPC 662 CN12 COM1 Serial port COM1 RS232 CN14 PANEL PANEL CON...

Page 25: ...15 Chapter3 Figure 3 1 Main Board Connectors 1 Figure 3 2 Main Board Connectors 2 ...

Page 26: ...TPC 66X Series User Manual 16 ...

Page 27: ...2 CHAPTER 4 Software Configuration Sections include VGA Driver Installation Advantech COM Installation Entertainment Encryption Decryption Driver Installation ...

Page 28: ...CD ROM into your CD ROM driver and install the VGA graphics driver Advantech com driver Touch screen driver and WDM driver sequentially Touchscreen installation is described in the appendix 4 1 VGA Driver Installation Please follow the steps to install VGA driver Step 1 Please go to Device Manager control panel system hard ware and then click Video Controller Figure 4 1 Device Manager Step 2 Pleas...

Page 29: ...19 Chapter4 Figure 4 2 Update Driver Step 3 Then follow the update wizard processures Figure 4 3 Update Wizard 1 ...

Page 30: ...TPC 66X Series User Manual 20 Figure 4 4 Update Wizard 2 Figure 4 5 Update Wizard 3 ...

Page 31: ...21 Chapter4 Figure 4 6 Update Wizard 4 Figure 4 7 Update Wizard 5 ...

Page 32: ...6X Series User Manual 22 Figure 4 8 Update Wizard 6 Step 4 After you successfully update the driver you can see the VGA successfully installed from the device manager Figure 4 9 Driver Installation Complete ...

Page 33: ... Decryption Driver Step 1 Insert the CD ROM and go to Device Manager Click Enter tainment Encryption Decryption Controller Figure 4 10 Device Manager Step 2 Following the install shield wizard to finish the setup Figure 4 11 Install Wizard 1 ...

Page 34: ...TPC 66X Series User Manual 24 Figure 4 12 Install Wizard 2 Figure 4 13 Install Wizard 3 ...

Page 35: ...25 Chapter4 Step 4 The driver is successfully installed You can check via Device Manager as the below Figure 4 14 Driver Installation Complete ...

Page 36: ...TPC 66X Series User Manual 26 ...

Page 37: ...2 CHAPTER 5 Features in Windows XP Embedded Sections include EWF HORM Advantech Utilities ...

Page 38: ...te access The benefits are as the following Write protect one or more partitions on your system Enable read only media such as CD ROM or flash to boot and run Prolong the lifespan of write sensitive storage such as CompactFlash TPC 66X Series XPE provides EWF RAM RDG mode on system parti tion All wirte to system partition will be redirected to RMA once this mode is enabled This mode is manually en...

Page 39: ...y use after system resume from hibernation Hibernate via Advantech HORM utility Please Click Start Menu All Programs Advantech HORM HORM environment remains all along unless the following events occur Run EWF commit command ewfmgr c commit and then reboot sys tem Select Discard hibernation file by clicking F8 when system is starting up Also HORM cannot fit your system if free space in C partition ...

Page 40: ...G Mode In this mode any changes on C partition including modification on files or registry will be redirected to memory thus these changes will be discarded in the next system startup To exit this environment is via OSUnLock Please visit MSDN website for further information about EWF 5 3 3 HORM This is to create HORM environment Please go to Start Menu All Pro grams Advantech This utility firstly ...

Page 41: ...2 APPENDIX A Serial Port Settings ...

Page 42: ...e set to RS 232 RS 422 or RS 485 This port is designed with auto data flow control capability In other word the TPC 66X Series can automatically detect the data flow direction at this port when the two wired RS 485 communication is acti vated Please refer the below section to adjust the COM2 A 1 Jumper Setting Note TPC 662G series has no RS 232 at COM2 only CAN BUS COM2 Mode Jumper RS 232 RS 422 R...

Page 43: ... RS 232 RS 422 RS 485 1 NDCD TX D 2 NRX TX D 3 NTX RX 4 NDTR RX 5 GND GND GND 6 NDSR 7 NRTS 8 NCTS 9 NRI Function 1 2 Data Format 3 4 RS422 x o 9 bits o o 10 bits x o RS485 RTS Control o x 11 bits o x 12 bits x x Auto Flow Control o o x On o Off Default ...

Page 44: ...SW3 X On 0 Off Default Baud Rate 1 2 3 4 5 6 7 8 1200 bps X 0 0 0 0 0 0 0 2400 bps 0 X 0 0 0 0 0 0 4800 bps 0 0 X 0 0 0 0 0 9600 bps 0 0 0 X 0 0 0 0 19 2 Kbps 0 0 0 0 X 0 0 0 38 4 Kbps 0 0 0 0 0 X 0 0 57 6 Kbps 0 0 0 0 0 0 X 0 115 2 Kbps 0 0 0 0 0 0 0 X ...

Page 45: ...2 APPENDIX B Watchdog Timer Programming ...

Page 46: ...ter the programmed period This section describes the operation of the watchdog timer and how to program it The watchdog timer is built into the super I O controller W83627HF It provides the following functions for user programming Can be enabled and disabled by user s program Timer can be set from 1 to 255 seconds or 1 to 255 minutes Generates an interrupt or resets signal if the software fails to...

Page 47: ...er is 2E hex and 2F hex 2E hex is the address port 2F hex is the data port You must first assign the address of register by writing address value into address port 2E hex then write read data to from the assigned register through data port 2F hex Figure B 1 Watchdog Timer Programming ...

Page 48: ...ult Write 1 to bit 3 set minute as counting unit F6 hex write 0 stop timer default 01 FF hex The amount of the count in seconds or minutes depends on the value set in register F5 hex This number decides how long the watchdog timer waits for strobe before gener ating an interrupt or reset signal Writing a new value to this register can reset the timer to count with the new value F7 hex rd wr Bit 6 ...

Page 49: ...l Mov al 07h Select registers of watchdog timer Out dx al Inc dx Mov al 08h Out dx al Dec dx Enable the function of watchdog timer Mov al 30h Out dx al Inc dx Mov al 01h Out dx al Dec dx Set second as counting unit Mov al 0f5h Out dx al Inc dx In al dx And al not 08h Out dx al Dec dx Set timeout interval as 10 seconds and start counting Mov al 0f6h ...

Page 50: ...g timer and set 5 minutes as timeout interval Mov dx 2eh unlock W83627H Mov al 87h Out dx al Out dx al Mov al 07h Select registers of watchdog timer Out dx al Inc dx Mov al 08h Out dx al Dec dx Enable the function of watchdog timer Mov al 30h Out dx al Inc dx Mov al 01h Out dx al Dec dx Set minute as counting unit Mov al 0f5h ...

Page 51: ...ov al 0f6h Out dx al Inc dx Mov al 5 Out dx al Dec dx lock W83627HF Mov al 0aah Out dx al 3 Enable watchdog timer to be reset by mouse Mov dx 2eh unlock W83627H Mov al 87h Out dx al Out dx al Mov al 07h Select registers of watchdog timer Out dx al Inc dx Mov al 08h Out dx al Dec dx Enable the function of watchdog timer ...

Page 52: ...to be reset by mouse Mov al 0f7h Out dx al Inc dx In al dx Or al 80h Out dx al Dec dx lock W83627HF Mov al 0aah Out dx al 4 Enable watchdog timer to be reset by keyboard Mov dx 2eh unlock W83627H Mov al 87h Out dx al Out dx al Mov al 07h Select registers of watchdog timer Out dx al Inc dx Mov al 08h Out dx al ...

Page 53: ...timer to be strobed reset by keyboard Mov al 0f7h Out dx al Inc dx In al dx Or al 40h Out dx al Dec dx lock W83627HF Mov al 0aah Out dx al 5 Generate a time out signal without timer counting Mov dx 2eh unlock W83627H Mov al 87h Out dx al Out dx al Mov al 07h Select registers of watchdog timer Out dx al Inc dx Mov al 08h Out dx al ...

Page 54: ...the function of watchdog timer Mov al 30h Out dx al Inc dx Mov al 01h Out dx al Dec dx Generate a time out signal Mov al 0f7h Out dx al Write 1 to bit 5 of F7 register Inc dx In al dx Or al 20h Out dx al Dec dx lock W83627HF Mov al 0aah Out dx al ...

Page 55: ...2 APPENDIX C Watchdog Timer Programming on WinCE ...

Page 56: ...ing the resources Then programmers can use DeviceIOControl func tions to enable disable the watchdog timer The introduction below includes DeviceIOControl the definition of the parameter and an exam ple C 1 DeviceIOControl This function sends a control code directly to a specified device driver causing the corresponding device to perform the specified operation BOOL DeviceIoControl HANDLE hDevice ...

Page 57: ...dwIoControlCode parameter specifies an operation that does not require input data nInBufferSize in Size in bytes of the buffer pointed to by lpInBuffer lpOutBuffer out Long pointer to a buffer that receives the operation s output data This parameter can be NULL if the dwIoControlCode parameter speci fies an operation that does not produce output data nOutBufferSize in Size in bytes of the buffer p...

Page 58: ...used lpOutBuffer unused nOutBufferSize unused C 2 2 IOCTL _WDT_DISABLE Disables the watchdog time of your application lpInBuffer unsed nInBufferSize unused lpOutBuffer unused nOutBufferSize unused C 2 3 IOCTL_WDT_STROBE Triggers the watchdog If your application uses IOCTL_WDT_ENABLE to enable the watchdog first and then sends IOCTL_WDT_REBOOT to the WDT driver your application must trigger the wat...

Page 59: ... watchdog time setting lpInBuffer The DWORD points to your watchdog time setting The watchdog time setting is just a number 0 means 2 seconds 1 means 5 seconds 2 means 10 seconds 3 means 15 seconds 4 means 30 seconds 5 means 45 seconds and 6 means 60 seconds The default setting is 5 sec onds nInBufferSize unused lpOutBuffer unused nOutBufferSize unused C 2 6 IOCTL_WDT_REBOOT If you want your appli...

Page 60: ...for compatibility reasons you can define IOCTL as below define IOCTL_WDT_ENABLE 0x1001 define IOCTL_WDT_DISABLE 0x1002 define IOCTL_WDT_STROBE 0x1003 define IOCTL_WDT_GETTIMEOUT 0x1004 define IOCTL_WDT_SETTIMEOUT 0x1005 define IOCTL_WDT_REBOOT 0x1006 HANDLE m_hWDT NULL TCHAR szClassName 60 assign the WDT driver name wsprintf szClassName TEXT WDT1 Open the WDT driver m_hWDT CreateFile szClassName G...

Page 61: ...UT nIndex sizeof nIndex NULL 0 dwTemp NULL Enable the Watchdog timer DeviceIoControl m_hWDT IOCTL_WDT_ENABLE NULL 0 NULL 0 dwTemp NULL While 1 do your job here Sleep 8000 DeviceIoControl m_hWDT IOCTL_WDT_STROBE NULL 0 NULL 0 dwTemp NULL DeviceIoControl m_hWDT IOCTL_WDT_DISABLE NULL NULL 0 dwTemp NULL CloseHandle m_hWDT ...

Page 62: ...TPC 66X Series User Manual 52 ...

Page 63: ...2 APPENDIX D Accessory Kit Assembly Procedure This appendix shows how to connect to a CD ROM via the CompactFlash slot ...

Page 64: ...rocedure D 1 CompactFlash to IDE Transfer Kit Please follow this assembly procedure to use the CompactFlash slot to connect with a CD ROM drive 1 Connect the IDE cable to the adapter board Figure D 1 Adapter Board and IDE Cable Figure D 2 Connecting the Adapter Board ...

Page 65: ...AppendixD 2 Insert the adapter board into the CompactFlash slot Figure D 3 CompactFlash Slot Figure D 4 Insert the Adapter Board into the CF slot Figure D 5 Inserted Adapter Board Note Pin 1 is marked red ...

Page 66: ... User Manual 56 Connect the CD ROM to the adapter board via the IDE cable and then connect the external power line to the CD ROM Figure D 6 Connect the CD ROM via the IDE Cable Figure D 7 Plugging in the CD ROM Drive ...

Page 67: ...2 APPENDIX E Touchscreen Installation Configuration This appendix demonstrates how to install the touchscreen and set the con figuration on TPC 66X Series This section uses Windows XP as an exam ple ...

Page 68: ...ert the x86 TPC series support CD and go to the driver folder TPC 66X Series Driver DMC9000 Windows 2000 XP Driver V5 0N 1006 Click setup exe Figure E 1 Setup exe The screen displays the installation wizard for the PenMount software Click Next Follow the installation wizard step by step Figure E 2 Install Wizard 1 ...

Page 69: ...59 AppendixE Figure E 3 Install Wizard 2 Figure E 4 Install Wizard 3 ...

Page 70: ... Please go to Settings and then select Control Panel Please click Add Remove Programs Figure E 5 Uninstall 1 Select PenMount DMC9000 and DMC9100 Click Remove button Then select Yes to remove the PenMount driver and reboot the system Figure E 6 Uninstall 2 ...

Page 71: ...ion Please click the icon PM to call Pen Mount Control Panel It contains six functions Calibrate Draw Option and About About shows the driver version Calibrate Two ways to calibrate the touchscreen include Standard Calibration and Advanced Calibration Standard Calibration is to adjust most touch screens Figure E 7 Standard Calibration 1 ...

Page 72: ...TPC 66X Series User Manual 62 Figure E 8 Standard Calibration 2 Figure E 9 Standard Calibration 3 ...

Page 73: ...the aged touchscreens by using 4 9 16 or 25 points to calibrate touch panel Figure E 10 Advanced Calibration 1 Note Touch the red squares in sequence The cali bration is completed after the fifth touch red point is calibrated Press ESC to skip ...

Page 74: ...TPC 66X Series User Manual 64 Figure E 11 Advanced Calibration 2 Figure E 12 Plot Calibration Data ...

Page 75: ...uch loca tion Figure E 13 Draw Click menu and then click clear screen to clear the drawing Note Plot Calibration Data enabled provides the blue lines to show linearity before calibration and black lines to show linearity after calibration when you finished the advanced calibration ...

Page 76: ...ion mode stream mode and point mode is to enable disable the mouse s ability to drag on screen icons Stream mode lets the mouse function as normal and dragging onscreen Point mode is only let the mouse a click function The dragging onscreen is disabled Users can turn on off the beep sound by clicking the enable beep sound Figure E 15 Option ...

Page 77: ...2 APPENDIX F Fuse Specifications ...

Page 78: ...t Step 1 Remove the fuse cover Step 2 Replace the damaged fuse with a new one Step 3 Place the fuse cover back into position Figure F 1 Fuse Replacement Note For your protection the fuse is set to break if the input voltage exceeds 33 V DC Warning Do NOT replace the fuse unless it is damaged Do NOT replace the fuse with a different rated fuse ...

Reviews: