PCM-7130 Intel StrongARM SA1110-based Single Board Computer with Windows CE.
Copyright This document is copyrighted, © 2002. 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.
Packing List Before you begin installing your card, please make sure that the following materials have been shipped: • Support CD • Windows CE end user license agreement • USB client ActiveSync cable • Y-shaped adapter for PS/2 mouse and keyboard • Audio cable • RS-232 and RS-485 combo cable If any of these items are missing or damaged, contact your distributor or sales representative immediately. Additional Information and Assistance Step 1. Visit the Advantech web site at www.advantech.
FCC Class A This equipment has been tested and found to comply with the limits for a Class A 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.
Warning! Input voltage rated 12 V ~ 24 Vdc, 0.
Safety Instructions 1. Read these safety instructions carefully. 2. Keep this User's 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.
PCM-7130 User’s Manual viii
Contents Chapter 1 General Information ........................................2 1.1 1.2 1.3 1.4 Introduction ....................................................................... 2 Features ............................................................................. 3 Specifications .................................................................... 4 Dimensions and Board Layout.......................................... 6 Figure 1.1:Component Side ............................................
2.3.4 2.3.5 2.3.6 2.3.7 Chapter USB Host ...................................................................... 26 USB Client.................................................................... 26 RS-232/RS-485 COM Port ........................................... 27 DI/DO ........................................................................... 27 3 Windows CE on the PCM-7130 ....................30 3.1 Introduction ..................................................................... 30 3.
Appendix A Registry Searching Sequence ........................58 A.1 Appendix A Registry Searching Sequence .................... 58 Figure A.1:A.1 Registry Searching Sequence .............. 58 Appendix B Passive Matrix LCD Display .........................60 B.1 Appendix B Passive Matrix LCD Display ..................... 60 Figure B.1:6.4” LCD .................................................... 60 Figure B.2:7.4” LCD .................................................... 61 Figure B.3:10.4” LCD .........
PCM-7130 User’s Manual xii Table of Contents
CHAPTER 1 General Information This chapter gives background information on the PCM-7130 StrongARM-based single board computer.
Chapter 1 General Information 1.1 Introduction The PCM-7130 is an Intel StrongARM low-power RISC processor single board computer that is designed to serve power/environment critical applications. It is integrated with Windows CE and provides complete functions. With the Windows CE operating system built into the 32 MB onboard flash memory and 64 MB DRAM, the PCM-7130 frees itself from working with hard disk drivers and therefore reduces the risk of such vulnerable devices.
1.2 Features • Ultra-compact size single board computer as small as a 3.5" hard disk drive (145 mm x 102 mm) • On-board Intel StrongARM SA-1110 CPU • 64 MB system memory on board (SDRAM) • 32 MB flash memory on board (16MB for those models with Linux on board) • Windows CE.NET OS built in the flash memory • One 10Base-T Ethernet port • Two RS-232 ports and one RS-485 port with automatic data flow controlling.
1.3 Specifications General • CPU: Onboard Intel® StrongARM SA-1110, 206 MHz • Flash memory: 32 MB flash memory on board • Memory: 64 MB SDRAM on board • Watchdog timer: Dallas DS1670 real time clock/watchdog timer • Audio: AC’97 stereo audio interface • Battery: Smart Battery interface (SM bus) • Power consumption: 12 V @ 0.3 A • Power input: 12 VDC • Operating system: Microsoft®Windows CE.
Display • Chipset: Epson S1D13806 VGA controller • LCD interface: 18-bit TFT active color LCD/16-bit DSTN passive color LCD, 18-bit LVDS interface Note: Up to the date that this manual is written, the following LCDs prove to work well with the PCM-7130: PrimeView 6.4” VGA TFT LCD (PD064VT2T1) Nan-ya 7.4” VGA DSTN LCD (LCBLDT163M9T) Unipac 10.4" SVGA LVDS TFT LCD (UB104S01-1) Advantech keeps adding new LCDs into the compatibility list.
1.4 Dimensions and Board Layout • Dimensions (L x W): 145 mm x 102 mm (5.9" x 4.2") • Weight: 0.2 kg Figure 1.
Figure 1.2: Component side Figure 1.
PCM-7130 User’s Manual 8
CHAPTER 2 Installation This chapter tells how to set up the PCM-7130 hardware. It includes all connector locations and respective pin assignments. Be sure to read all the safety precautions before you begin the installation procedure.
Chapter 2 Installation 2.1 Connectors The PCM-7130 has abundance of I/O ports and interfaces that allow you to configure your system to suit your application. The table below lists the function of each of the connectors: CN3 CN8 Figure 2.
Figure 2.2: Solder side of the PCM-7130 Table 2.1 shows the list of all connector/ports on the PCM-7130. Table 2.
JP14 4-wire resistive touchscreen FPC connector CN6 DC power connector JP1 Audio connector CN5 Battery signals control connector CN10 System wake-up connector CN7 System reset connector JP6 Digital inputs and digital output connector JP9 Hot-key connector JP15 IrDA connector CN12 CompactFlash card connector CN11 PCMCIA card connector CN15 Expansion connector (reserved) JP12 SA-110 JTAG* *For moreJTAG information, please visit the Advantech RISC Alliance Partner Zone web site at www
2.2 Pin Assignments This section lists all the pin assignments of the connectors shown in the Table 2.1. CN1 is the COM1 full function RS-232 serial port connector PAD 5 4 3 2 1 5 9 4 8 3 7 2 6 1 9 8 7 6 PAD Table 2.
JP2 is COM2, the full function RS-232 and COM3 RS-485 serial ports Table 2.
CN2: 10Base-T Ethernet port Table 2.5: 10Base-T Ethernet port (CN2) Pin Function 1 XMT+ 2 XMT- 3 RCV+ 4 N/C 5 N/C 6 RCV- 7 N/C 8 N/C CN13: PS/2 keyboard/mouse connector Table 2.
J2: USB client port Table 2.7: USB client port (J2) Pin Function 1 N/C 2 USB_DATA- 3 USB_DATA+ 4 GND CN14: USB host port Table 2.
CN9: CRT display port (VGA-out) Table 2.9: CRT display port VGA-out (CN9) Pin Function 1 RED 2 GREEN 3 BLUE 4 N/C 5 GND 6 GND 7 GND 8 GND 9 N/C 10 GND 11 N/C 12 N/C 13 H-SYNC 14 V-SYNC 15 N/C CN8: TV-out connector Table 2.
CN3: 40-pin LCD connector Table 2.
LCD singal mapping Table 2.
J1: 20-pin LVDS display connector Table 2.13: 20-pin LVDS connector (J1) Pin Signal Pin Signal 1 VDD (+3V) 2 VDD (+3V) 3 GND 4 GND 5 TX0- 6 TX0+ 7 GND 8 TX1- 9 TX1+ 10 GND 11 TX2- 12 TX2+ 13 GND 14 TX3- 15 TX3+ 16 GND 17 TXCK- 18 TXCK+ 19 GND 20 GND CN4: LCD inverter connector Table 2.14: LCD inverter connector (CN4) Pin Signal 1 DC_IN (+12V) 2 GND 3 ENABKL 4 VBR 5 N/C JP13, JP14: 4-wire touchscreen connector Table 2.
CN6: DC power connector Table 2.16: DC power connector (CN6) Pin Signal 1 DC_IN (+12V) 2 GND 3 GND 4 N/C JP1: Audio connector Table 2.17: Audio connector (JP1) Pin Signal Pin Signal 1 SPEAKER OUT R+ 2 SPEAKER OUT R- 3 SPEAKER OUT L+ 4 SPEAKER OUT L- 5 LINE OUT R 6 LINE OUT L 7 GND 8 GND 9 GND 10 GND 11 GND 12 GND 13 N/C 14 N/C 15 MIC IN 16 GND CN5: Battery signal control connector Table 2.
CN10: System wake-up connector Table 2.19: System wake-up connector (CN10) Pin Signal 1 nWake-up in* 2 GND *active low CN7: System reset connector Table 2.20: System reset connector (CN7) Pin Signal 1 nReset in* 2 GND *active low JP6: DI/DO connector Table 2.21: DI/DO connector (JP6) Pin Signal Pin Signal 1 DI 0 2 DO 0 3 DI 1 4 DO 1 5 DI 2 6 DO 2 7 DI 3 8 DO 3 9 DI 4 10 DO 4 11 DI 5 12 DO 5 13 DI 6 14 DO 6 15 DI 7 16 DO 7 17 Vcc (+3.3V) 18 Vcc (+3.
JP9: Hot-key connector Table 2.22: Hot-key connector (JP9) Pin Signal Pin Signal 1 Hot key 1* 2 GND 3 Hot key 2* 4 GND 5 Hot key 3* 6 GND 7 Hot key 4* 8 GND 9 Hot key 5* 10 GND 11 Hot key 6* 12 GND 13 Hot key 7* 14 GND 15 Hot key 8* 16 GND Note: All hot keys (GPIOs) are low active JP15: IrDA connecor Table 2.23: IrDA connector (JP15) Pin Signal 1 Vcc (+3.
CN 15: Expansion connector Table 2.24: Expansion connector (CN15) Pin Signal Pin Signal 1 SA1110_A0 2 nSA1110_RST_OUT* 3 SA1110_A1 4 SA1110_RD_nWR 5 SA1110_A2 6 SA1110_RDY 7 SA1110_A3 8 nSA1110_CS3* 9 SA1110_A4 10 SA1110_PWR_EN 11 SA1110_A5 12 nSA1110_IOIS16* 13 SA1110_A6 14 Reserved 15 SA1110_A7 16 Reserved 17 SA1110_A8 18 GND 19 SA1110_A9 20 +3.
Table 2.
2.3 Peripherals Connection The RISC/Windows CE combination is good for purposed applications. However, it means at the same time that this kind of platform could not be the same as ordinary personal computers. This section provides a reference for connecting peripherals. 2.3.1 LCD Display PCM-7130 supports both active and passive LCD displays. Nevertheless, the specifications of various LCD diverse substantially. Hereby a list is given to show those LCD supported by PCM-7130.
2.3.6 RS-232/RS-485 COM Port There are 3 serial ports on the PCM-7130. The COM1 has a DB-9 connector. On the other hand, the COM2 and COM3 (RS-232 and RS-485) share the same 14-pin header. 2.3.7 DI/DO There are 8-channel digital input and 8-channel digital output on the PCM-7130. They can be used for simple on/off control.The high level voltage is 3.3V. Warning! Be careful when these DI/DO are used. Surge or over voltage may damage the circuits.
PCM-7130 User’s Manual 28
CHAPTER 3 Windows CE.NET on the PCM-7130 This chapter details the Windows CE.NET operating system on the PCM7130. Sections include: • Starting PCM-7130 • Windows CE.NET utility on the PCM-7130 • PCM-7130 Networking • Intel Persistent Storage Manager(IPSM) • Application Program Development • Advantech Windows CE.
Chapter 3 Windows CE on the PCM-7130 3.1 Introduction The PCM-7130 is a single board platform that integrates complete I/O and Windows CE.NET operating system. The Windows CE is a compact OS that occupies less storage space or system resources compared with other operating systems such as Windows NT or Windows XP. By its modular nature, it is possible to choose those functions that are useful for specific application. Not only reducing the system resources required, it also reduces start-up time.
Figure 3.2: Soft-keyboard 3.2.2 Regflash The utility "Regflash" is a convenient tool to save, overwrite or delete registry data, as well as erase the content of IPSM folder. From the Windows CE status bar, tap "Start/Run". Use the soft-keyboard to type "regflash" command in the command text box and press "OK". Note: Please be careful using this utility "Regflash". This utility is able to overwrite all registry data.
Figure 3.3: Regflash It is important to keep the power normal during "Save to Flash" process. If the power break down during the registry saving process, then the registry would be lost and corrupt. On the next time you turn on PCM-7130, the system would load the default registry setting in the Windows CE image file 3.2.3 System Configurator Double click the icon of System Configurator on the desktop to open the PCM-7130 utility.
3.2.3.2 Touchscreen The Touchscreen page provides the calibration function. Click the "calibration" button, the "Stylus Properties" windows would appear. Then click "calibrate" button in the Advantech Touchscreen Properties window to enter calibration process. In the calibration process, user taps on the center of the target on the screen then the target will move to the next position.
Figure 3.6: Display controls The lowest block is “Display Mode”.
Figure 3.7: Display mode setting Note: 1. VGA TFT LCD and CRT display is the default setting of the PCM-7130. This will facilitate users to develop AP or products if the LCD has not been determined. However, it is recommend to change the display mode because 8 bpp color depth may not be appreciated for most users. 2. As new display mode is set, the PCM-7130 takes reset or reboot to activate new setting. 3.2.3.
The RTC TIME region of the page shows the time of watchdog timer (DS1670) and system time. The user can press "Start" button to show the current time. Figure 3.8: Watchdog timer 3.2.3.
Figure 3.9: Default GPIO settings 3.2.3.6 DIO There are 8 digital inputs and 8 digital outputs. This DIO page of the System Configurator can show their status. When the “Start” button is pressed, the 8 DI will try to retrieve external inputs, then those pins having positive inputs will mark respective radial buttons inside the “Digital Input Status” block, others will make their radial buttons empty.
3.2.3.7 Miscellaneous The Misc page provides several functions as described below. The "Registry" block provides registry save and registry view function. The “A. Sync” button invokes ActiveSync to the host computer. The "reset" button manually resets the keyboard/mouse for hot-plug keyboard/mouse. The "HTTP Server Root" block was used to specify the root directory of http server.
Figure 3.12: Reboot the system 3.2.5 Startup execution The PCM-7130 has a useful function call "Startup execution". After the system boot up, the startup execution function would automatically perform. This function is useful for control system to do the initialization processes or some other programs. In PCM-7130, there are two ways to perform "Starup" function. Method 1: Step1: Create "startup" directory in Compact Flash or in "\IPSM\".
Example: Create "Startup.ini" in "\IPSM\Startup" directory and reboot the system. The content of startup.ini was listed below: \windows\tty.exe \windows\registry.exe After the system reboot, "\windows\ tty.exe" and "\windows\ registry.exe" would be executed automatically. Be sure that the two methods are independent, it means they can be used simultaneously. 3.2.6 Safemode PCM-7130 utilities allow user to alter registry setting, and save it by either "regflash.
3.3 PCM-7130 Networking 3.3.1 Networking via Ethernet The PCM-7130 is equipped with one 10Base-T Ethernet controller. To utilize it, change the device name when the PCM-7130 is first turned on. 1. Click "Start/Settings/Control Panel" 2. Double click "Network and Dial-up Connections" 3. This window will display all available connections. Right-click the connection icon users could disable, rename or modify IP addresses. 4. If the PCM-7130 is a node of a LAN with DHCP servers, it is now available. 5.
3.3.2 Networking via serial port or USB cable The PCM-7130 with built-in Windows CE supports serial and USB port connection to host computers. The host computer must install the Microsoft ActiveSync service offered by Microsoft. Use a null modem cable bundled with the PCM-7130 to connect the serial ports of the host computer and the PCM-7130. Or use the USB cable to connect the USB ports of them. Then activate ActiveSync service on the host computer.
8. If the ActiveSync service on the host PC has been activated, the above seven steps will make the PCM-7130 automatically try to connect the host, ;otherwise you can invoke "\windows\reglog.exe" to do the activesync connection. 3.3.3 Networking via PPP The PCM-7130 with built-in Windows CE supports PPP protocol. To setup and utilize it, follow the steps below: 1. Click "Start/Settings/Network and Dial-up Connections” 2. Make a new connection.
3.3.4 Web browser The PCM-7130 built-in Windows CE OS includes IESample. It can be used to browse web pages on World Wide Web via LAN or PPP. 3.4 Intel Persistent Storage Manger (IPSM) 3.4.1 Introduction to Intel Persistent Storage Manger Intel Persistent Storage Manager was designed and developed specifically as an enhancement to Microsoft Windows CE operating systems. PSM eliminates extra disk-like storage such as storage cards, redundant RAM and ROM. 3.4.
3.5 Application Program Development The PCM-7130 is bundled with built-in Windows CE operating system. In real applications users need to execute various application programs on it. However, unlike its other family the Windows CE is a hardwaredependent operating system. That is to say, Windows CE application programs are only portable in the source code level. Users must rebuild the runtime file for a different Windows CE platform even though the source code may not be changed at all. 3.5.
AP Source Code ADV_ARM Socer-320 SDK eMbedded Visual Tools AP Runtime Figure 3.13: Flow-chart Windows CE runtime 3.5.3 Running your application programs Use the Activesync function to put your application programs onto the PCM-7130 platform (reference 3.3). Users can run your application with startup execution (reference 3.2.5). 3.5.4 WDT Modules PCM-7130 is targeted to be the embedded device for web-enabled and data-acquisition systems. It is built-in with Watchdog timer and LCD onoff control.
BOOL DeviceIoControl( HANDLE hDevice, DWORD dwIoControlCode, LPVOID lpInBuffer, DWORD nInBufferSize, LPVOID lpOutBuffer, DWORD nOutBufferSize, LPDWORD lpBytesReturned, LPOVERLAPPED lpOverlapped ); - Parameters hDevice [in] Handle to the device that is to perform the operation. Call the CreateFile function to obtain a device handle. dwIoControlCode [in] Specifies the control code for the operation.
[out] Long pointer to a variable that receives the size, in bytes, of the data stored into the buffer pointed to by lpOutBuffer. The lpBytesReturned parameter cannot be NULL. Even when an operation produces no output data, and lpOutBuffer can be NULL, the DeviceIoControl function makes use of the variable pointed to by lpBytesReturned. After such an operation, the value of the variable is without meaning. lpOverlapped [in] Ignored; set to NULL. - Return Values Nonzero indicates success.
4. IOCTL_SET_WDTPERIOD (0x1004): lpInBuffer : the DWORD pointer to your Watchdog time setting. Its vlaue should be greater 1000. The unit is mini-second. If your application open the WDT driver, the default Watchdog Time is set to 5000 mini-seconds. nInBufferSize:.unused. lpOutBuffer: unused. nOutBufferSize: unused. 5. IOCTL_ACCESS_WDT (0x1005): Your application must trigger the Watchdog once during the your Watchdog timer period.
Examples: #define IOCTL_ENABLE_WDT 0x1001 #define IOCTL_DISABLE_WDT 0x1002 #define IOCTL_GET_WDTPERIOD 0x1003 #define IOCTL_SET_WDTPERIOD 0x1004 #define IOCTL_ACCESS_WDT 0x1005 #define IOCTL_GET_SCREENOFFTIME 0x1006 #define IOCTL_SET_SCREENOFFTIME 0x1007 HANDLE m_hWDT=NULL; TCHAR szClassName[60]; ...
3.5.5 DIO Modules PCM-7130 has 8 DI(Digital Input), 8 DO(Digital Output). Users can access these resources by writing windows programs with WIN32 API. PCM-7130 is built-in the DIO driver to allow users accessing DI and DO values. Users should use WIN32 APIs to access them. The driver name is "DIO1:". The programmers must open this driver before using the resources. Then programmers could use DeviceIOControl functions to access DO and DI values.
g_hDIO = CreateFile(szClassName, GENERIC_READ | GENERIC_WRITE, 0, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL); if ( g_hDIO == INVALID_HANDLE_VALUE ) { DebugMsg(CString("DIO driver fail")); return; } ... // Get the DO 2 value into nV DWORD dwTemp; DWORD nDO = 2; int nV; DeviceIoControl(g_hDIO, IOCTL_GET_DO, (LPVOID)&nDO, 4, (LPVOID)&nV, 4, &dwTemp, NULL); CloseHandle(g_hDIO); 3.6 Advantech Windows CE.
3.6.
3.6.2 Windows CE.NET Components Component Sub-comp.
XML 3.0 Games XML core services & Document Object Model (DOM) V XML minimal parser X Free cell X Solitaire X Help V Inbox X Remote Desktop Protocol (RDP) V Terminal emulator V Windows messenger V Wordpad V Networking Network bridging V Real-time Communication (RTC) client API V Universal Plug and Play (UpnP) V LAN WLAN zero configuration & 802.1x V Personal Area Network (PAN) IrDA V Bluetooth X Dial-up Networking (RAS/PPP) V VPN (PPTP) V Telephony API (TAPI 2.
Browser Multimedia Telnet server V RAS server/PPTP server (incoming) V Web server (HTTPD) V ASP support V IESample 5.
Appendix Registry Searching Sequence A
Appendix A Registry Searching Sequence A.1 Appendix A Registry Searching Sequence The following diagram demonstrates the sequence which the PCM-7130 follows to search for registry during bootup period.
Appendix B Passive Matrix LCD Display
Appendix B Passive Matrix LCD Display B.1 Appendix B Passive Matrix LCD Display As mentioned in Section 1.3 of Chapter 1, the PCM-7130 supports passive matrix LCD display such as STN/DSTN LCD panels. However, there is a power input, the Vcontrast, varies according to different STN LCD. Therefore every system having STN LCD display must provide different Vcontrast to its specific mating panel. The PCM-7130 is verified to support Nan-ya 7.4” VGA DSTN LCD (LCBLDT163M9T).
Figure B.2: 7.4” LCD Figure B.3: 10.
PCM-7130 User’s Manual 62
Index A L T audio 4 automatic data flow control 4 LCD interface 5 technical support iii touchscreen 5 TV-out 5 C M memory 4 color depth 5 U USB 4 D dimensions 6 DIO 4 DRAM 2 E Ethernet 4 F FCC Class B iv flash memory 2, 4 G GPIO 4 I Input voltage v IrDA 4 J Jumpers 11 O operating humidity 5 operating system 4 operating temperature 5 V P W Packing List iii Part No. 2008L12600 ii PCMCIA 4 Pin Assignments 60 PS/2 4 Watchdog Timer 57 watchdog timer 4 weight 6 Windows CE.