TREK-725 Vehicle Mounted Terminal with Intel XScale IXP420 533MHz, WinCE 5.0 and 10.
Copyright This document is copyrighted, © 2005. All rights are reserved. The original manufacturer reserves the right to make improvements to the products described in this manual at any time without notice. No part of this manual may be reproduced, copied, translated or transmitted in any form or by any means without the prior written permission of the original manufacturer. Information provided in this manual is intended to be accurate and reliable.
FCC Class B This equipment has been tested and found to comply with the limits for a Class B digital device, pursuant to Part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference when the equipment is operated in a residential environment. This equipment generates, uses and can radiate radio frequency energy. If not installed and used in accordance with this user's manual, it may cause harmful interference to radio communications.
Packing List Before you begin installing your card, please make sure that the following materials have been shipped: • l TREK-725 series Vehicle Mounted Terminal • l Accessories for TREK-725 • Advantech Software Support CD (Windows® CE.NET) - Readme.txt - Datasheet - User manual - Windows® CE .NET 5.0 platforms SDK (for Windows® CE .NET) - Microsoft ActiveSync Version 3.7 installs files (for Windows® CE .
Additional Information and Assistance Step 1. Visit the Advantech web site at www.advantech.com or www.advantech.com.tw where you can find the latest information about the product. Step 2. Contact your distributor, sales representative, or Advantech's customer service center for technical support if you need additional assistance.
Safety Instructions 1. Read these safety instructions carefully. 2. Keep this user manual for later reference. 3. Disconnect this equipment from any AC outlet before cleaning. Use a damp cloth. Do not use liquid or spray detergents for cleaning. 4. For plug-in equipment, the power outlet socket must be located near the equipment and must be easily accessible. 5. Keep this equipment away from humidity. 6. Put this equipment on a reliable surface during installation.
Wichtige Sicherheishinweise 1. Bitte lesen sie Sich diese Hinweise sorgfältig durch. 2. Heben Sie diese Anleitung für den späteren Gebrauch auf. 3. Vor jedem Reinigen ist das Gerät vom Stromnetz zu trennen. Verwenden Sie Keine Flüssig-oder Aerosolreiniger. Am besten dient ein angefeuchtetes Tuch zur Reinigung. 4. Die NetzanschluBsteckdose soll nahe dem Gerät angebracht und leicht zugänglich sein. 5. Das Gerät ist vor Feuchtigkeit zu schützen. 6.
DISCLAIMER: This set of instructions is given according to IEC704-1. Advantech disclaims all responsibility for the accuracy of any statements contained herein.
Contents Chapter 1 General Information ........................................2 1.1 1.2 1.3 1.4 1.5 1.6 1.7 Chapter Introduction ....................................................................... 2 General Specifications....................................................... 3 LCD Specifications ........................................................... 5 Touch screen Specifications.............................................. 5 Power Input Range & Power Consumption ......................
4.4.2 4.4.3 4.4.4 4.4.5 4.4.6 4.4.7 4.4.8 4.5 Network........................................................................... 46 4.5.1 4.5.2 4.5.3 4.6 System requirements..................................................... 49 Building programs for Windows CE ............................ 50 How to install the SDK................................................. 50 Running your application programs ............................. 54 TREK-725 Windows® CE 5.0 Default Components ..... 55 4.8.1 4.8.2 4.8.
4.9.11 Build a Platform with this library ................................. 74 Appendix A Programming the Watchdog Timer .............76 A.1 Programming the Watchdog Timer................................. 76 Appendix B Pin Assignments .............................................80 B.1 B.2 B.3 B.4 B.5 B.6 B.7 B.8 B.9 B.10 B.11 B.12 B.13 CPLD JTAG (JP1) .......................................................... 80 CPU JTAG (JP2).............................................................
Trek-725 User Manual xii
CHAPTER 1 General Information This chapter gives background Information of the TREK-725 Sections includes: • Introduction • General Specification • LCD Specification • Touchscreen Specification • Power Input Range & Consumption • I/O Ports Placement • Dimensions
Chapter 1 General Information 1.1 Introduction The TREK-725 Series integrates an Intel XScale IXP 420 ~ 533 MHz RISC processor and Windows CE .NET 5.0. It is designed to provide customers an in-vehicle panel computer which has good connectivity and a robust aluminum chassis. In TREK-725, Advantech provides compatible WLAN, GPRS/GSM, and GPS wireless solutions as well as rich connectivity like CAN bus, COM ports, Ethernet, and USB interfaces.
1.2 General Specifications Table 1.1: General Specifications System kernel CPU OS SDRAM Flash Buzzer RTC Display LCD Touch Screen VGA Chip I/O MiniPCI Intel IXP-420 533MHz on board Windows CE .NET 5.0 Professional Version 64 MB SDRAM on board (extendable to 128 MB or 256 MB) 32 MB on board for image & customer applications (extendable to 64 MB) Yes HT1381 backed up by 65 mAh Rechargeable Li-ion battery AUO 10.
Power Input Range Power Input Protection Power Switch Power Connector SW reset HW reset Battery Mechanical Dimension Weight Material Environmental Operating Temperature Storage Temperature Vibration/ Shock Water/Dust resistance EMC Safety Trek-725 User Manual DC 24 ~ 48 V as factory default, 12 V optional Over current protection and reverse pole protection by 4 A fuse 1 x water-proof power on/off switch 1 x water-proof power connector Yes (through system configurator) Yes (push button in back side) Option
1.3 LCD Specifications Table 1.2: LCD Specifications LCD model Display type Size (Diagonal) Resolution Maximum colors Pixel pitch (mm) Luminance (cd/m2) Lamp lifetime AU G104SN03 TFT color LCD 10.4" 800 x 600 (VGA) 262K colors 0.264 (H) x 0.264 (V) 230 cd/m2 20000 hours Note: The panel PC uses a reliable, high-quality color LCD display. However, it may contain a few defective pixels which do not always illuminate. With current technology, it is impossible to completely eliminate defective pixels.
1.6 I/O Ports Placement 1 1 2 3 4 5 6 7 8 9 10 11 12 13 2 3 4 8 9 10 11 5 12 13 Two PCMCIA slots RJ-45 10/100Base-T LAN port Audio jack socket (Mic-in & Line-out) COM port CAN bus port Waterproof DC power inlet Waterproof DC power inlet USB 2.0 host port USB 2.0 host port Audio jack socket (Mic-in & Line-out) COM port USB 1.
1.
Trek-725 User Manual 8
CHAPTER 2 Getting Started This chapter provides brief instructions for operating the TREK-725: • A Quick Tour of TREK-725 • Installation Procedures
Chapter 2 Getting Started 2.1 A Quick Tour of the TREK-725 When you place TREK-725 upright on the desktop, its front panel appears as shown in Figure 2-1 Figure 2.1: Front View of TREK-725 When you look at the side of TREK-725, you will see the holes for mounting as shown in Fig. 2-2. Figure 2.
When you turn TREK-725 around and look at its rear cover, you will find VESA standard holes and others for mounting. There are no ventilation holes, as shown in Figure 2-3. Figure 2.3: Rear Side View of TREK-725 The I/O placement is at the bottom of TREK-725, as shown in Fig. 2-4. Figure 2.
2.2 Installation Procedure 2.2.1 Connecting the Power Cord We provide one water-proof DC power inlet cable. You can find it in the accessory box. If you can not find this cable, please contact your distributor or sales representative. 1. Connect the positive terminal of the power source to the red wire of the water-proof DC power inlet cable. 2. Connect the ground terminal of the power source to the black wire of the water-proof DC power inlet cable.
CHAPTER 3 Hardware and Peripheral Installation This chapter details the installation of the TREK-725 panel PC hardware. Sections include: • Overview of Hardware Installation and Upgrading • Main Board • Charger Board • RF communication module installation • System backup battery module installation • Installing the 2.
Chapter 3 Hardware and Peripheral Installation 3.1 Overview of Hardware Installation and Upgrading The panel PC consists of a PC-based terminal that is housed in a ruggedized aluminum enclosure. Any maintenance or hardware upgrades can be completed after removing both panels. Warning! Do not remove the ruggedized aluminum covers until you have verified that no power is flowing within the panel PC. Power must be switched off and the power cord must be unplugged.
3.2.2 Connector Table Table 3.1: Connector Table of main board No.
3.3 Charger Board 3.3.1 Connector Layout Figure 3.2: Connector layout of charger board 3.3.2 Connector Table Table 3.2: Connector Table of charger board No.
3.4 RF communication module installation Advantech had already verified some RF communication modules (MiniPCI WLAN card, GSM/GPRS, and GPS) to increase customer choice. This section shows how to install these modules. GSM/GPRS Modular WiFi Card (Mini PCI Card) GPS Modular Figure 3.
3.4.1 Installation of MiniPCI WLAN Card Manufacturer name and model name of MiniPCI WLAN Card 1. ZCOM XG601 2. Realtek 8180 1 2 3 Figure 3.
3.4.2 Installation of GSM/GPRS module Manufacturer name and model name of GSM/GPRS module • SIEMENS MC45 • WaveCom Q2406 1 Figure 3.
1 2 3 4 Figure 3.
3.4.3 Installation of GPS module Manufacturer name and model name of GSM/GPRS module • Leadtek GPS9546 1 2 3 4 Figure 3.7: GPS module installation 1 2 3 4 Antenna cable Adaptor board COM port cable GPS module 3.5 System backup battery module installation Advantech reserve one system backup battery module for customer installation or replacement. This session will show how to install or replace this module. Manufacturer name and model name of system backup battery module.
3.5.1 Battery Installation Manufacturer name and model name of battery module • Advantech TREK-725-BP Figure 3.8: Loosen four screws and open the battery panel. Figure 3.9: Connect the battery.
Figure 3.10: Put the battery into unit. 3.6 Installing the 2.5" Hard Disk Drive (HDD) You can attach one Enhanced Integrated Device Electronics (EIDE) hard disk drive to the panel PC's internal controller which uses a PCI local-bus interface. The advanced IDE controller supports faster data transfer and allows the IDE hard drive to exceed 528 MB. The following are instructions for installation: 1. Detach the HDD bracket by unscrewing the four screws (#2) on the top of the HDD bracket.
2 Screw 2 1933030500-M3x5L 2. Place the HDD inside the HDD bracket and tighten four screws (#1) from both sides of the HDD bracket.
3. The HDD cable (1 x 44-pin to 1 x 44-pin) is next to the HDD bracket. Connect the HDD cable to the HDD. Make sure that the red wire corresponds to Pin 1 on the connector, which is labelled on the board. Plug the other end of the cable into the HDD, with Pin 1 on the cable corresponding to Pin 1 on the HDD. 3.7 Placing the Rubber Seal To ensure that your TREK-725 stays dry, the supplied rubber seal must be placed correctly between the front bezel and back cover. Please note the direction of the seal.
3.8 Installing the Universal Arm 1. Press latches at the same time and then rotate support-1 until you can see both of the screw holes. 2. Rotate support-2 until the angle is the same as support-1. 3. Use four M4x8L screws and attach the U-Arm with the TREK-725. The 4 stainless screws can be found in the universal arm's box. 4. Use latches adjust the angle of TREK-725 (every 14.4° on 360°). Note Support-1 can be on the right or left.
CHAPTER 4 Software Functionality This chapter details the Windows® Windows® CE 5.0 operating system. Sections include: • Introduction • Windows® CE Startup Procedure • Upgrade Procedure • Utilities • Network • M-system DOC Flash File System • Application Program Development • TREK-725 Windows® CE 5.
4.1 Introduction The TREK-725 is an embedded system using the Windows® CE 5.0 OS. Windows® CE 5.0 is a compact OS that occupies less storage space and system resources compared with other operating systems such as Windows® NT or Windows® XP. By its modular nature, it is possible to choose only those functions that are needed for a particular application. This not only reduces the system resources required, but also reduces start-up time.
4.2 Windows CE Startup Procedure Windows CE can be loaded by three methods, through on-board flash, PCMCIA/CF card, and Ethernet. The presence of an image file (NK.bin) on a PCMCIA/CF card forces TREK-725 to boot from this PCMCIA/CF card. Besides booting from PCMCIA/CF card, HyperTerminal can be used to configure the method of downloading a Windows CE image by connecting a null modem cable between a PC COM port and the TREK725 COM1 port then following these steps. 4.2.1 Setting up HyperTerminal on PC 1.
2. Name the HyperTerminal session. Press “OK” Figure 4.3: Naming HyperTerminal 3. Select the PC COM port used to connect to the TREK-725.
Figure 4.4: Choose HyperTerminal COM port 4. Setup HyperTerminal by selecting a Baud Rate of 38400 bps, 8 Data Bits, No Parity, one Stop Bit, and no Flow Control. Press “OK”. Figure 4.5: Configure COM port parameters Now, HyperTerminal is ready to use. Connect a null modem cable from the PC COM port to the TREK-725 COM1 port. See section 1.6 for the location of the TREK-725 COM1 port. 4.2.2 Choosing an image download method 1. Power on TREK-725.
2. Press “SPACE” to enter the EBOOT Configuration Options window when the HyperTerminal shows the screen below. Figure 4.6: TREK-725 boot up window 3. Configure EBOOT Configuration Options. Figure 4.
Option(0) IP address Choosing this option allows the configuration of the static IP address that is used if DHCP is not enabled. This information is configured once and stored in flash for subsequent downloads. The following prompt is displayed: Enter new IP address: You should enter a decimal representation of the IP address with each byte separated by a decimal point. If you enter no data at the prompt, the IP address is not changed. If you enter any numbers, they are used.
Option (5) Boot Delay Choosing this option allows the configuration of the number of seconds that the boot loader waits for user input before continuing with the image download or launch. The following prompt is displayed: Enter maximum number of seconds to delay [1-255]: Option (6) DHCP Choose this option to enable or disable DHCP. When DHCP is enabled the static IP address is not used. When DHCP is disabled, the static IP address is used.
Option (F) Format Flash Choose this option to format the flash. This will not overwrite EBOOT or EBOOT parameters. Option (L) Launch Existing Flash Resident Image Now Choose this option to exit the menu, save any applicable changes that were made and then launch the previously programmed flashed image. Option (M) Display Mode Setup Mode (0) (800x600), Mode (1) (640x480), Mode (2) (1024x768), Mode (3) (320x24) Choose this option to configure the display resolution.
4.2.3 EBOOT configuration examples Ex1: Launch on-board flash image Do not enter the EBOOT Configuration menu, or in the EBOOT Configuration menu choose option (L) to launch the on-board flash image. Ex2: Download a Windows CE image over Ethernet without programming an image into Flash. 1. Set option (7) to DISABLE. 2. Choose option (D) to start downloading the image. Ex3: Download Windows CE image from Ethernet and program this image into Flash. 1. Set option (7) to ENABLE. 2.
2. Insert the CF storage card in to the TREK-725, then launch UpgradeIXP_1.01.07.exe. Figure 4.8: Image files and upgrade utility in CF storage card 3. Check the items you want to upgrade as shown in Figure 4.8. If you want to upgrade the boot logo, you can input the path of the bitmap file in the edit box or click the ‘Browse’ button to select the file. Note: The option “NK.NB0 (Normal, XIP)” means that the nk.nb0 will be written directly to the flash ROM, and “NK.NB0 (Compressed)” means that nk.
4. Press the ‘Apply’ button. The items you selected will be written to the flash ROM. See Figure 4.9. Figure 4.9: Press Apply button to upgrade on-board flash ROM Reboot the system after the upgrade process is done. 4.4 Utilities There are several useful utilities added to the standard Windows® CE 5.0 OS. 4.4.1 System Configurator System Configurator is an outstanding utility designed by Advantech Windows® CE software team.
4.4.2 General Memory information including DRAM and FLASH file system information is displayed on the General page. This page also shows the versions of each part of the installed embedded OS, including Windows® CE 5.0, Bootloader, and System Configurator. Figure 4.
4.4.3 Calibration The Touch-screen page provides the calibration function. Click the “calibration” button. The “Stylus Properties” windows appears. Click the “calibrate” button in the Stylus Properties window to start the calibration process. During the calibration process, the user taps on the center of the target on the screen, then the target moves to the next position. After calibration, a dialog appears to ask the user if they want to save the registry. Figure 4.
Figure 4.
4.4.4 Display Sometimes it is unnecessary to have the display attached to the TREK725 fully powered all day. The Display page provides two frequently used functions—display resolution and brightness adjustment. Figure 4.13: Display configuration NOTE: Users can set the idle time to turn off the backlight automatically from the backlight page in the Display Properties applet of the Control Panel. When the backlight is off, the mouse, keyboard, or touchscreen can turn it on again.
Figure 4.14: Display Properties dialog 4.4.5 Watchdog timer It is important in industrial applications that control systems rarely crash, or are capable of self-recovery if they are halted somehow. The watchdog function is provided to reset the TREK-725 if the software crashes. There is a countdown timer inside the watchdog function. The user’s application program enables the watchdog timer, then regularly reloads this countdown timer.
Figure 4.15: Watchdog timer 4.4.6 Miscellaneous The Misc page provides several functions as described below. The “Registry” block provides registry save, clear, and view functions. The “MAC ID” block shows the network MAC address. The “COMM” block provides IPConfig and ActiveSync communication functions. The “Reset” Block provides “Cold Boot” and “Start Upgrade” functions. “Cold Boot” is used to reboot the system.
Figure 4.16: Miscellaneous settings 4.4.7 Startup execution The TREK-725 has a useful function called “Startup execution”. After the system boots up, the startup execution function automatically begins. This function is useful for control systems to initialize processes or other procedures. In TREK-725, there is one way to configure the “Startup” function. Method 1. Create a “startup” directory on a CF storage card or in a folder called “\Mounted Volume\”. 2.
4.4.8 Hotkey Configuration The TREK-725 provides a utility named HotkeyControl.exe for the user to configure the hotkeys. Figure 4.17: Hotkeys Control 4.5 Network 4.5.1 Networking via Ethernet TREK-725 has one built-in 100Base-T Ethernet controller. It appears in “Control Panel/Network and Dial-up Connections” as “IXP425ETHNPE1”. The user can configure Ethernet support as follows: 1. Click “Start/Settings/Control Panel”. 2. Double click “Network and Dial-up Connections”. 3.
5. If the TREK-725 is a node on a LAN with fixed IP addressing, the user has to ask MIS for a subnet mask and specific IP address. The user then enters them into the associated fields of the Properties Dialog that is opened by selecting the properties item on the pop-up menu described in step 3 above. Use “System Configurator\Misc\Registry\Save” on the desktop to save this changed registry. Reboot the system. The Ethernet functions are available as in the previous configuration. Figure 4.
5. Turn on your modem and use an RS-232 cable to connect the modem to the COM1 port of the TREK-725. 6. Double click the connection you made in Step 4. Type in the user name, password and domain for the dial-up connection and click “Connect”. Figure 4.19: Networking via PPP 4.5.3 Web browser The TREK-725 built-in Windows CE OS includes the IE browser. It can be used to browse web pages on World Wide Web via LAN or PPP connections. 4.6 M-system DOC Flash File System 4.6.
4.6.2 DiskOnChip folder in TREK-725 TREK-725 uses M-system DOC Flash to use the free space of flash ROMs for persistent storage. The M-system DOC Flash file system region of the system is located in the “\DiskOnChip” directory. Any file or directory stored in the “\DiskOnChip” directory is kept persistently, even if the TREK-725 is turned off. The user can store software or data in “\DiskOnChip” rather than on CF cards to avoid inconvenience. 4.
4.7.2 Building programs for Windows CE The platform SDK is bundled as standard with the TREK-725. Users can build the Windows CE runtime application program with the SDK and eMbedded Visual Tools. Figure 4.20: Flowchart of building the Windows® CE 5.0 runtime 4.7.3 How to install the SDK Copy the “IXP_BSP_BETA2_SDK.msi” TREK-725 SDK file to your PC, and launch it. You can install SDK by following these steps. 1. Launch the TREK-725 SDK file, and then click the “Next” button. Figure 4.
2. Accept the license agreement and click “Next”. Figure 4.22: 3. Type in your information and click “Next”. Figure 4.
4. Choose the setup type: “Embedded Visual C++”, “Microsoft .NET Compact Framework”, or “Documentation” in Custom Setup. Figure 4.24: Figure 4.
5. Click the “Install” button to install the SDK. Figure 4.26: The SDK begins to install. Figure 4.
6. Click “Finish” to complete the installation process. Figure 4.28: 4.7.4 Running your application programs ActiveSync automatically transfers the built application program to the TREK-725 platform. Choose IXP_BSP_BETA2 as the SDK type after compiling your application program. Figure 4.
4.8 TREK-725 Windows® CE 5.0 Default Components 4.8.1 Applications and Services Development Figure 4.30: Figure 4.
4.8.2 Applications – End User Figure 4.32: 4.8.3 Core OS Services Figure 4.
Figure 4.34: 4.8.4 Communication Services and Networking Figure 4.
Figure 4.36: Figure 4.
Figure 4.38: 4.8.5 Device Management Figure 4.
4.8.6 File Systems and Data Store Figure 4.40: Figure 4.
4.8.7 Fonts Figure 4.42: Figure 4.
4.8.8 International Figure 4.44: 4.8.9 Internet Client Services Figure 4.
Figure 4.46: 4.8.10 Graphics and Multimedia Technologies Figure 4.
Figure 4.48: Figure 4.
4.8.11 Security Figure 4.50: 4.8.12 Shell and User Interface Figure 4.
Figure 4.52: 4.8.13 Windows CE Error Reporting Figure 4.
4.8.14 Voice Over IP Phone Services Figure 4.54: 4.9 Advantech API Library Advantech Library for eVC Installation Guide 03/03/2005 Copyright (C) 2005 Advantech Co., Ltd. Latest update: 03/17/2005 4.9.1 Update History Date Description 20050317 Add AdvlibRegFlushKey() Remove AdvLibBrightApply() Dialog 4.9.2 Release notes This software package release is version 1.0.1. These Advantech API calls can support only the TREK-725.
4.9.3 File layout ReadMe.txt ADVLib.h Header file ADVLib.lib Library file AdvLib.dll Dynamic linked library release version TestAPI.zip An API demo project 4.9.4 Application development with this Library All API functions are exported from the Advlib.DLL dynamic link library. A header file Advlib.h and library Advlib.LIB for C/C++ are provided in the Include and Library directories. There are six classes of API functions.
4.9.5 Watchdog API If you are developing an eVC project, you can call these functions to control the watchdog timer. The normal procedure is call AdvLibWDSetConfig() to set the time interval, then the watchdog timer will be enabled. After setting and enabling the watchdog timer, you must trigger (ping) the watchdog timer within the time interval you set, or the system will reboot. Finally, you could call AdvLibWDDisable() to stop the watchdog function.
AdvLibWDTrigger Tell the watchdog timer that the application is still working. * BOOL AdvLibWDTrigger(void) + Parameters - No parameters + Return Value - TRUE (nonzero) on success. FALSE (zero) on failure. + Remarks After the watchdog timer is activated, the application should call this function regularly to indicate that it is still working properly. If the watchdog timer is activated, and the application doesn’t call AdvLibWDTrigger() after timeout seconds, the system will reboot.
4.9.6 Get MAC Address API If you want to know the MAC address of the on-board network card you can call AdvLibGetMacAddr() to get it. AdvLibGetMacAddr Call this function to get the on-board network card MAC address. * BOOL AdvLibGetMacAddr(char* tmpStr) + Parameters - tmpStr [out] On-board network card MAC id. + Return Value - TRUE (nonzero) on success. FALSE (zero) on failure. + Remarks None. 4.9.7 Adjust Brightness There are three functions to control LCD panel brightness.
AdvLibBrightSet Call this function to set the screen brightness. * BOOL AdvLibBrightSet(BYTE brightness); + Parameters - brightness [in] Specifies the new screen brightness. The range is set from 0 to 255. + Return Value - TRUE (nonzero) on success. - FALSE (zero) on failure. + Remarks The brightness range is the set of contiguous integer values that applications can control. The range is set from 0 to 255. The brightness 0 is darkest, and the brightness 255 is brightest.
4.9.8 Set Display Resolution Set the display resolution with AdvLibSetResolution(). You need to restart your TREK-725 before new settings take effect. AdvLibSetResolution Set display resolution * BOOL AdvLibSetResolution(int DisplayModeIndex) + Parameters - DisplayModeIndex [in] Display resolution index. The range is set from 0 to 2. Index 0, 1, and 2 correspond to 640x480, 800x600, and 1024x768 resolutions. + Return Value - TRUE (nonzero) on success. FALSE (zero) on failure.
AdvLibScreenOff Call this function to turn off the LCD panel backlight. * BOOL AdvLibScreenOff(void) + Parameters - No parameters + Return Value - TRUE (nonzero) on success. FALSE (zero) on failure. + Remarks Turns off the LCD panel. 4.9.10 Registry flush Writes all the attributes of the specified open registry key into the flash ROM. AdvLibRegFlushKey Call this function to flush the registry. * BOOL AdvLibRegFlushKey(void) + Parameters - No parameters + Return Value - TRUE (nonzero) on success.
Appendix A Programming the Watchdog Timer The TREK-725 is equipped with a watchdog timer that resets the CPU or generates an interrupt if processing comes to a standstill for any reason. This feature ensures system reliability in industrial standalone or unmanned environments.
Appendix A Programming the Watchdog Timer A.1 Programming the Watchdog Timer To program the watchdog timer, you must write a program which writes I/ O port address 440 (hex). The output data is a time interval value. The value range is from 01 (hex) to 3F (hex), and the related time interval is from 1 sec. to 63 sec. Data Time Interval 01 1 sec. 02 2 sec. 03 3 sec. 04 4 sec. ï ï ï ï ï ï 3F 63 sec.
;----------------------------------------------------------------------------; Configure logical device 8, configuration register CRF6 | ;----------------------------------------------------------------------------MOV DX,2EH MOV AL,07H ; point to Logical Device Number Reg.
;-----------------------------------------; Exit extended function mode | ;-----------------------------------------MOV DX,2EH MOV AL,AAH Trek-725 User Manual 78
Appendix B Pin Assignments This appendix contains information on TREK-725’s pin assignments.
Appendix B Pin Assignments B.1 CPLD JTAG (JP1) This is a JP6F-2mm-D90 connector. Pin Signal 1 CPLD_TCK 2 CPLD_TDI 3 CPLD_TDO 4 CPLD_TMS 5 SYS_VCC3.3 6 GND B.
B.3 GPS Adaptor (JP5) This is a 10 x 2 pin-header connector. Pin Signal Pin Signal 1 ANT_Power 2 5V 3 GPS_BAT 4 3.3 V 5 nGPS_RST 6 No Connection 7 No Connection 8 No Connection 9 UART4_RXD 10 GND 11 UART4_RXD 12 UART4_TXD 13 UART5_TXD 14 UART5_RXD 15 UART5_TXD 16 GND 17 No Connection 18 GND 19 No Connection 20 No Connection B.
B.
B.
B.7 Flat Panel Display Connector (CN7) (Reserved) Pin Signal Pin Signal 1 VDD 2 VDD 3 GND 4 GND 5 VDD 6 VDD 7 Vcon 8 GND 9 B0 10 B1 11 B2 12 B3 13 B4 14 B5 15 B6 16 B7 17 G0 18 G1 19 G2 20 G3 21 G4 22 G5 23 G6 24 G7 25 R0 26 R1 27 R2 28 R3 29 R4 30 R5 31 R6 32 R7 33 GND 34 GND 35 SHCLK 36 FLM 37 M/DE 38 LP 39 Reserved 40 ENAVEE B.8 USB Client (CN8 & JP13) This is a 4-pin 2 mm wafer connector.
B.9 Touchscreen (CN14) This is a 5-pin 2 mm wafer connector. Pin Signal 1 Y+_UR 2 Y-_LR 3 TS_IN3 4 X+_UL 5 X-_LL B.
B.11 GSM/GPRS Adaptor Board Connector (CN16) This is a DF13-20DP-1.25C connector. Pin Signal Pin Signal 1 UART3_CTS 2 nGSM_RST 3 UART3_RTS 4 GND 5 UART3_TXD 6 GND 7 UART3_RXD 8 GND 9 UART3_DCD 10 UART6_CTS 11 UART3_DSR 12 UART6_RTS 13 UART3_DTR 14 GSM_VCC 15 UART3_RI 16 GSM_VCC 17 UART6_TXD 18 GSM_VCC 19 UART6_RXD 20 GSM_VCC B.
B.
Trek-725 User Manual 88