Advantech SPC-57 manual

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85

Ir a la página of

Buen manual de instrucciones

Las leyes obligan al vendedor a entregarle al comprador, junto con el producto, el manual de instrucciones Advantech SPC-57. La falta del manual o facilitar información incorrecta al consumidor constituyen una base de reclamación por no estar de acuerdo el producto con el contrato. Según la ley, está permitido adjuntar un manual de otra forma que no sea en papel, lo cual últimamente es bastante común y los fabricantes nos facilitan un manual gráfico, su versión electrónica Advantech SPC-57 o vídeos de instrucciones para usuarios. La condición es que tenga una forma legible y entendible.

¿Qué es un manual de instrucciones?

El nombre proviene de la palabra latina “instructio”, es decir, ordenar. Por lo tanto, en un manual Advantech SPC-57 se puede encontrar la descripción de las etapas de actuación. El propósito de un manual es enseñar, facilitar el encendido o el uso de un dispositivo o la realización de acciones concretas. Un manual de instrucciones también es una fuente de información acerca de un objeto o un servicio, es una pista.

Desafortunadamente pocos usuarios destinan su tiempo a leer manuales Advantech SPC-57, sin embargo, un buen manual nos permite, no solo conocer una cantidad de funcionalidades adicionales del dispositivo comprado, sino también evitar la mayoría de fallos.

Entonces, ¿qué debe contener el manual de instrucciones perfecto?

Sobre todo, un manual de instrucciones Advantech SPC-57 debe contener:
- información acerca de las especificaciones técnicas del dispositivo Advantech SPC-57
- nombre de fabricante y año de fabricación del dispositivo Advantech SPC-57
- condiciones de uso, configuración y mantenimiento del dispositivo Advantech SPC-57
- marcas de seguridad y certificados que confirmen su concordancia con determinadas normativas

¿Por qué no leemos los manuales de instrucciones?

Normalmente es por la falta de tiempo y seguridad acerca de las funcionalidades determinadas de los dispositivos comprados. Desafortunadamente la conexión y el encendido de Advantech SPC-57 no es suficiente. El manual de instrucciones siempre contiene una serie de indicaciones acerca de determinadas funcionalidades, normas de seguridad, consejos de mantenimiento (incluso qué productos usar), fallos eventuales de Advantech SPC-57 y maneras de solucionar los problemas que puedan ocurrir durante su uso. Al final, en un manual se pueden encontrar los detalles de servicio técnico Advantech en caso de que las soluciones propuestas no hayan funcionado. Actualmente gozan de éxito manuales de instrucciones en forma de animaciones interesantes o vídeo manuales que llegan al usuario mucho mejor que en forma de un folleto. Este tipo de manual ayuda a que el usuario vea el vídeo entero sin saltarse las especificaciones y las descripciones técnicas complicadas de Advantech SPC-57, como se suele hacer teniendo una versión en papel.

¿Por qué vale la pena leer los manuales de instrucciones?

Sobre todo es en ellos donde encontraremos las respuestas acerca de la construcción, las posibilidades del dispositivo Advantech SPC-57, el uso de determinados accesorios y una serie de informaciones que permiten aprovechar completamente sus funciones y comodidades.

Tras una compra exitosa de un equipo o un dispositivo, vale la pena dedicar un momento para familiarizarse con cada parte del manual Advantech SPC-57. Actualmente se preparan y traducen con dedicación, para que no solo sean comprensibles para los usuarios, sino que también cumplan su función básica de información y ayuda.

Índice de manuales de instrucciones

  • Página 1

    SPC-57 5.7” STN LCD Smart Panel Computer with Intel R Xscale R CPU and Windows R CE.NET Users Manual[...]

  • Página 2

    Copyright This document is copyrighted, © 2004. All rights are reserved. The original manufacturer reserves the right to make im provements to the products described in this manual at any time without notice. No part of this manual m ay be reproduced, copied, translated or transm itted in any form or by any means without the prior written perm iss[...]

  • Página 3

    FCC Class A This equipment has been tested and found to comply with the lim its for a Class A digital device, pursuant to Part 15 of th e FCC Rules. These limits are designed to provide reasonable protection against harmf ul interference when the equipment is operated in a residential environment. This equipment generates, uses, and can radiate rad[...]

  • Página 4

    Packing List Before you begin to use SPC, please make sure that the following materials have been shipped. z SPC-57 Smart Panel Computer z Windows ® CE.NET end user license agreement (for W indows ® CE.NET version) z Advantech Software Support CD (Windows ® CE.NET) • Readme.txt • Datasheet • User manual •Windows ® CE.NET 4.2 platform s [...]

  • Página 5

    Safety Instructions 1. Read these safety instructions carefully. 2. Keep this User's Manual for later ref erence. 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 so cket must be located near the equipm ent and must [...]

  • Página 6

    disclaims all responsibility for the accur acy of any statements contained herein.[...]

  • Página 7

    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 vo m Stromnetz zu trennen. Verwenden Sie Keine Flüssig-oder Aerosolreiniger. Am be sten dient ein angefeuchtetes Tuch zur Reinigung. 4. Die NetzanschluBsteckdose s[...]

  • Página 8

    CHAPTER 1 General Information This chapter gives back ground Information of the SPC-57 Sections include: • Introduction • Specification • LCD Specification • Touchscreen Specification • Power • I/O ports • Mounting • Dime nsion and cut out[...]

  • Página 9

    1.1 Introduction Intel® XScale®, Ultra Low Power, Embedded Applications Anywhere!! Advantech smart panel com puters enable great embedded flexibility when powered by Intel® XScale® technology. Built with an Intel PXA255 CPU, LCD display, touchscreen, and pre-installed with Micr osoft® Windows CE .NET 4.2 and LAN, the SPC series provide the bes[...]

  • Página 10

    1.2 Specifications There are 2 models of SPC-57 series, SPC -57E and SPC-57C. SPC-57C is the fully enclosure with standard external I/O c onnector. SPC-57E is without back cover, without standard external I/O connect or, and without Flash memory on board. SPC-57E and SPC-57C can fulfill different applications and various demands from the customer. [...]

  • Página 11

    Power switch 1 power switch Power conn 1 power connector SW reset Through system configurator to execute the SW reset Mechanical Dimension 210 X 155 X 41 (mm) Material SPCC Certification CE, FCC class A, UL Environmental Operating temp 0 degree C ~ 50 degree C S torage tem p -20 degree C ~ 60 degree C W ater/dust resistance IP65 for front bezel SPC[...]

  • Página 12

    Power V -in range DC 10V ~ 28V Protection Over current protection; Electric pole re verse protection SM bus For smart battery , pin headers Power switch 1 power switch Power conn 1 power connector SW reset Through system configurator to execute the SW reset Mechanical Dimension 210 X 155 X 41 (mm) Material SPCC Certification CE, FCC class A, UL Bac[...]

  • Página 13

    1.3 LCD Specifications LCD model Nan Ya LMB61-23 Display type STN color LCD Size (Diagonal) 5.7” Resolution 320 x 240 (VGA) Maximum colors 256 Pixel pitch (WxH, mm) 0.36 X 0.36 Luminance (cd/m 2 ) 165 cd/m 2 Contrast ratio 35 Response time Rise 300 ms, Fall 80 ms Lamp lifetime 20000 hours 1.4 Touchscreen Specifications Type Resistive Base glass c[...]

  • Página 14

    1.6 I/O Ports Arrangement RS-232 RS-485 Line out j ac k RJ-45 USB Client USB Host Power Connector Power Switch PCMCI A Slot Compact Flash T ypeI I Slot[...]

  • Página 15

    1.7 Mounting[...]

  • Página 16

    [...]

  • Página 17

    1.8 Dimension and cutout[...]

  • Página 18

    CHAPTER 2 Getting Start This chapter pr ovi des brief instructions for operating the SPC-57[...]

  • Página 19

    2.1 Quick Starting Step1 : Unpack the SPC-57 from its packing. Please check the packing list at the beginning of this manual. Step2 : Connect the power connect or to 10 ~ 28 Vdc power source. The power source can either be from a power adap ter or an in-house power source. Step3 : Connect the power source to the system power supply. Step4 : Plug in[...]

  • Página 20

    Vcc GND 4. Plug the male power connector into female power connector in SPC.[...]

  • Página 21

    [...]

  • Página 22

    5. Turn on the power switch 2.1.2 Supplying Power to SPC-57E 1. SPC accepts only DC power, not AC power 2. The DC input range for SPC is 10V ~ 28V. 3. Use the power cable (in SPC-57E packag e) to connect the board of SPC-57 and power source.[...]

  • Página 23

    Power Connector Connect to the p ower source 4. If the power cable included in the SPC- 57E package is not suitable to users’ application, users have to make thei r own cable to supply power to SPC.[...]

  • Página 24

    CHAPTER 3 The Engine of the SPC-57 This chapter details hardware’s setting and functio nality in the SPC-57 Sections include: • PCM-7230 SBC for SPC-57 • I/O Board • LCD and touch-scr een • Power system[...]

  • Página 25

    This chapter will detail hardware setting and functionality in the SPC-5 7. Following will introduce (1) PCM-7230 SBC for SPC-57; (2) The I/O Board (there is no I/O board of SPC-57E) (3) LCD and touch-screen; (4) Power system. 3.1 PCM-7230 Mainboard for SPC-57 The Engine of SPC-57 is constructed by the combination of 2 PCBA – one mainboard and on[...]

  • Página 26

    3.1.1 Specification Model PCM-7230 SBC for SPC-57 Model PCM-7230 SBC for SPC-57 CPU Intel ® PXA255 processor at 200 MHz System memor y 1MB NOR flash for bootloader and 64MB SDRAM Memory Module N/A WDT PXA-255 Internal (2, 5, 10 Sec as default) RTC HT-1381 with rechargeable coin battery Power Input DC 10V~28V, with power protect (protect for over v[...]

  • Página 27

    Audio AC’97 Stereo Audio w/ 2W Amp. - Line-In, Line-Out, Speaker-out and Mic-In SM Bus For sensing DC power and ba ttery status. 2x2 2.00mm pin header Backup Battery For RTC LED Indicator On board : IO_VCC3P3 indicato r(beside CN12), CF interface busy indicator(beside CN20). Pin header: SYS_VCC3P3, CF card busy indicator , PCMCIA card busy indica[...]

  • Página 28

    [...]

  • Página 29

    [...]

  • Página 30

    Figure 3.1 The PCM-7230 for SPC-57 Block Diagram[...]

  • Página 31

    31 3.1.2 Headers and connectors This section locates head ers and connectors of PC M-7230 and describes their functionality. CN9 CN3 CN12 JP1 CN14 JP4 CN29 CN31 CN20 JP2 CN1 CN8 CN10, CN11 J1 CN18 CN26 JP6 JP3 Figure 3.2: Component side of the PCM-7230[...]

  • Página 32

    32 Figure 3.3: Solder side of the PCM-7230 T able 3.1 Header Description Label Function JP 1 CPLD JT AG port JP 2 CPU PXA255 JT AG port JP 3 LCD signal voltage level select JP 4 Power switch header CN 1 PCMCIA accessing status port CN 3 multi-function I/O header(I) CN 8 CR T -out header CN 9 multi-function I/O header(II) CN 12 HotKey function heade[...]

  • Página 33

    33 3.1.3 Headers and connectors pin definition Because the board size limitation & wants to keep the flexible of I/O connector placement, The following lists are I/O pin definitions of PCM-7230 SBC. All the pin headers’ pin order is the same as the figure. As you see, the first pin has a white mark on PCB. Except the pin headers, all the othe[...]

  • Página 34

    34 JP 3 : LCD signal voltage level select ★ Pin Number Pin function Ps. 1 SYS_VCC +5V 2 LCD_VCC power of LCD-signal buffers 3 VCC3P3 +3.3V . VCC3P3 will change to 0V when system enter sleep mode. Note: when User wants to use CN18 (40 pin TTL level LCD signal) to drive LCD panel, user needs to setup th is pin header . If the LCD pane l signal is 3[...]

  • Página 35

    35 17 DI 5* Digital input bit 5. 18 DO 5* Digital output bit 5. 19 DI 6* Digital input bit 6. 20 DO 6* Digital output bit 6. 21 DI 7* Digital input bit 7. 22 DO 7* Digital output bit 7. 23 GND 24 VCC3P3 25 SPK_OUT_RP positive por t of right channel speaker -out function 26 SPK_OUT_RN negative port of right channel speaker -out function 27 SPK_OUT_ [...]

  • Página 36

    36 the circuits. CN 8 : CR T ★ -out header Pin Number Pin function Ps. 1 Reserv . reserve for the future 2 CR T _Vsync 3 Reserv . reserve for the future 4 CR T _Hsync 5 CR T_B CR T blue signal 6 GND 7 CR T _G CR T green signal 8 CR T _R CR T red signal CN 9 : multi ★ -function I/O header(II) Pin Number Pin function Ps. 1 TPTX100P Lan TX signal [...]

  • Página 37

    37 touch screen function 30 YP touch screen signal 31 XN touch screen signal 32 YN touch screen signal 33 nUAR T1_DCD 34 UAR T1_RXD 35 UAR T1_TXD 36 nUAR T1_DTR 37 GND 38 nUAR T1_DSR 39 nUAR T1_R TS 40 nUAR T1_CTS 41 nUAR T1_RI 42 VCC_UAR T1 +5V 43 GND 44 VCC_UAR T1 45 N.C. No function 46 N.C. No function 47 USB_VCC5 48 GND 49 SA_BUSB_DPR 50 SA_BUS[...]

  • Página 38

    38 CN 18 : TTL level LCD signal conn ★ ector Pin Number Pin function Ps. 1 VCC +5V 2 VCC +5V 3 GND 4 GND 5 VCC3P3 +3.3V 6 VCC3P3 +3.3V 7 LCD_VEE 8 GND 9 LCD_D0 10 LCD_D1 1 1 LCD_D2 12 LCD_D3 13 LCD_D4 14 LCD_D5 15 LCD_D6 16 LCD_D7 17 LCD_D8 18 LCD_D9 19 LCD_D10 20 LCD_D1 1 21 LCD_D12 22 LCD_D13 23 LCD_D14 24 LCD_D15 25 LCD_D16 26 LCD_D17 27 LCD_D[...]

  • Página 39

    39 CN 20 : LAN status LED header ★ Pin Number Pin function Ps. 1 CF_VR compact flash slot LED indicator , positive pole 2 CF_RDY compact flash slot LED indicator , negative pole 3 LED_LINK_P positive pole of LAN link status LED 4 LED_LINK_N negative pole of LAN link status LED 5 LED_SPEED_P negative pole of LAN 10/100 speed status LED 6 LED_SPEED[...]

  • Página 40

    40 CN 31 : SM bus port ★ Pin Number Pin function Ps. 1 I2CSCL clock pin of SM bus for smart battery 2 GND 3 I2CSDA data pin of SM bus for smart battery 4 nDC_IN This pin is pulled low on PCM-7230 by 2M ohm. 3.1.4 COM1~COM4 serial ports The PCM-7230 offers four full-functions RS-232 (COM1, COM2, and COM3) and one RS-485 w/ AFC (COM5) serial commun[...]

  • Página 41

    41 3.1.9 LCD inverter connector for 5V inverter(CN26, Pin1~Pin4) Connect the PCM-7230 with the 5V inverter for adjusting LCD panel’ s brightness. The voltage range of this si gnal is from 0 to 5V . When enable backlight is on, the voltage of this signal is 5V ; otherwise is 0V . Brightness voltage is adjustable by Advantech SW utility . 3.1.10 Au[...]

  • Página 42

    42 Figure 3.4: Component Si de of Memory Module Figure 3.5 Solder side of Memory Module 3.1.16 Backup Battery (BT1) The PCM-7230 series build in one 3.0V, coin -type rechargeable backup battery for external RTC. This backup battery is charging when system power is on.[...]

  • Página 43

    43 3.1.17 Form factor Figure 3.6 Form factor of the PCM-7230 3.2 I/O Board The I/O Board can expand its I/O function th ru two I/O cables. The expand functions have RS-232*1(COM1); RS-485*1(COM4) ; A udio(Line-out) ; RJ-45 for Ethernet port ; USB Client ; 2 port USB Host ; Po wer connector (10~28 V) ; Power switch ; Power Source to main board ; Mul[...]

  • Página 44

    44 Figure 3.7 Component side of the I/O Board PN Position Description 1 CN4 COM1 (RS-232) Serial Port 2 CN6 COM4(RS-485) Serial Port 3 CN2 Audio(Line-out) Port 4 CN5 RJ-45 for Ethernet Port 5 CN3 USB Client Port 6 CN1 USB Host Port 7 CN9 Power Connector 8 SW1 Power Switch 9 CN10 Power Source to main board 10 CN7 Multi-function I/O header (I) CN ★[...]

  • Página 45

    45 Pin Signal 1 DCD 2 RXD 3 TXD 4 DTR 5 GND 6 DSR 7 RTS 8 CTS 9 RI Figure 3.8 I/O Board COM1(RS-232) serial port CN ★ 4 : RS-485 serial port[...]

  • Página 46

    46 Pin Signal 1 N/C 2 Data+ 3 Data- 4 N/C 5 GND 6 N/C 7 N/C 8 N/C 9 N/C Figure 3.8 I/O Board COM4(RS-485) serial port CN ★ 2 : Audio (Line-out) port Pin Signal 1 Right channel 2 Left channel 3 GND 4 Left channel Figure 3.9 I/O Board Audio(Line-out) port CN ★ 5 : RJ-45 for Ethernet port[...]

  • Página 47

    47 Figure 3.10 I/O Board RJ-45 for Ethernet port CN ★ 3 : USB Client port Pin Signal 1 TPTX100P 2 TPTX100N 3 TPRX100P 4 N/C 5 N/C 6 TPRX100N 7 N/C 8 N/C 9 NC 10 NC 11 GND 12 GND 13 LED1+ 14 nLINK 15 LED2+ 16 nSPEED100[...]

  • Página 48

    48 ripheral Board USB Client port Figure 3.11 I/O board USB client port CN ★ 1 : USB Host port F 3.12 I/O Board USB Host port CN ★ 9 : Power Connector Pin Signal 1 USB_VCC5 2 SA_BUSB_DNR 3 SA_BUSB_DPR 4 GND Pin Signal 1 VCC_USB_H1 2 USB_N1 3 USB_P1 4 GND 5 VCC_USB_H2 6 USB_N2 7 USB_P2 8 GND[...]

  • Página 49

    49 Figure 3.12 I/O Board Power connector CN ★ 10 : Power source to Main Board Figure 3.13 I/O Board Power source to main board CN ★ 7 : Multi-function I/O header (I) Pin Signal 1 19 VDC (+) 2 19 VDC (-) 3 GND Pin Signal 1 GND 2 GND 3 DC in 4 DC in[...]

  • Página 50

    50 Pin Number Pin function Ps. 1 UAR T1_RDCD 2 UAR T1_RRXD 3 UAR T1_R TXD 4 UAR T1_RDTR 5 GND 6 UAR T1_RDSR 7 UAR T1_RR TS 8 UAR T1_RCTS 9 UAR T1_RRI 10 IO_VCC3P3 1 1 C950_485_R TXP 12 C950_485_R TXN 13 GND 14 GND 15 SPK_OUTRP 16 SPK_OUTLP 17 USB_VCC5 18 GND 19 SA_BUSB_DPR 20 SA_BUSB_DNR CN ★ 8 : Multi-function I/O header (Il)[...]

  • Página 51

    51 Pin Number Pin function Ps. 1 AC97_AGND 2 AC97_AGND 3 TPRX100N 4 TPRX100P 5 TPTX100N 6 TPTX100P 7 nSPEED100 8 nLINK 9 AC97_AGND 10 AC97_AGND 1 1 IO_VCC3P3 12 IO_VCC3P3 13 VCC_USB_H1 14 VCC_USB_H2 15 USB_P1 16 USB_N1 17 USB_P2 18 USB_N2 19 AC97_AGND 20 AC97_AGND 3.3 Power system The power system of the SPC-57 include s IO board, adapter and power[...]

  • Página 52

    52 CHAPTER 4 Software Functionality This chapter details the Windows ® CE.NET opera ting system on the Sections include: • Introduction •Windows® CE Startup Procedure • Upgrad e Proced ure • Utilities • Network • Intel Persistent Storage Manger • Applicati on Program Developm ent • Windows ® CE.NET 4.2 Requi re Components[...]

  • Página 53

    53 4.1 Introduction The SPC series is one embedded system with Windows ® CE.NET OS. The W indows ® CE.NET is a compact OS that occupies less storage space or sys tem resources compared with other operating sys tems such as Windows ® NT or Windows ® XP. By its modular nature, it is possible to choose t hose functions that ar e useful for specifi[...]

  • Página 54

    54 want to Compact Flash card, and then load this image by BOOTLOADER. 2, Flexible Hardware desi gn : Flash on board design is unnecessary . The W indows CE can be loaded by Compact Flash card. 4.3 Upgrade Procedur e After the OS image was built, we may want to burn it to the on-board flash ROM. Advantech provides the upgrade utility “Upg rade”[...]

  • Página 55

    55 Figure 4.3 Upgrade utility Note: The dif ference between NK.NB0 (Compressed) and NK.NB0 (Normal, XIP) : The option “NK.NB0 (Normal, XIP)” means that the nk.nb0 will be upg raded directly to the flash ROM, and “NK.NB0 (Compre ssed)” means that we com press nk.nb0 first, and then write the compressed data to the flash ROM. : (1) Boot time [...]

  • Página 56

    56 Figure 4.5 Regflash utility It is important to keep the power normal dur ing "Save to Flas h" process. If the power were broken down during the registry saving pr ocess, then the registry would be lost and corrupted. On the next time you turn on platform, the system would load the default registry setting rather than the previously cus[...]

  • Página 57

    57 there are two ways to pe rform "Starup" function. Method 1: Step1: Create "startup" di rectory in CF storage card or in folder "IPSM". Step2: Copy executable file s to "startup" directory th at is created by Step 1. Example: We copy two executable files "REGFLASH.exe" and "Notepad.exe"[...]

  • Página 58

    58 4.4.5 System Configurator System Configurator is an outstanding utility de signed by Advantech Windows ® CE.NET software team. It is an integra ted environment where user can get useful system information as well as con figure fa vorite system settings and apply system control function on demand. Double click the icon of System Configurator on [...]

  • Página 59

    59 Figure 4.8 Touch-screen calibration 4.4.5.3 Display From time to tim e it is unnecessary to turn on the display attached to the SPC all the day. The Display page provides several freque ntly used functions such as turning off the LCD and backlight to elongate the displa y repair period, adjusting brightness or contrast. For example, if user want[...]

  • Página 60

    60 4.4.5.4 WatchDog timer It is important in industrial applications th at the control system s are rarely crashed, or are capable of self-reset if they are ha lted somehow. W atchdog function of automatic resetting system is therefore provided in SPC. There is a timer inside the watchdog function. User’s AP could invoke the associ ated APIs in W[...]

  • Página 61

    61 These settings can be freely revised by keying in new paths in the edit boxes. Figure 4.11 Hotkeys setting 4.4.5.6 DIO There are 8 digital inputs and 8 digital outputs. This DIO page of the System Configurator can show their status. W hen the “Start” button is pressed, the 8 DI will try to retrieve external inputs, then those pins having pos[...]

  • Página 62

    62 4.4.5.7 Miscellaneous The Misc page provides several functions as described below. The "Registry" block provides registry save and registry vi ew function. The “A. Sync” button invokes ActiveSync to the host computer. ”The "HTTP Server Root" block was used to specify the root directory of http server. The default direct[...]

  • Página 63

    63 4.5 Network 4.5.1 Networking via Ethernet SPC build in one 100Base-T Ethernet controlle r. It appears at “C ontrol Panel/Network and Dial-up Connections” via “DM9CE1”. User can configure its Ethernet support as follows: 1. Click "Start/Settings/Control Panel" 2. Double click "Network and Dial-up Connections" 3. This w[...]

  • Página 64

    64 2. Connect the USB port of the host PC and the SPC by a USB ActiveSync cable. 3. If users are using the Microsoft eM bedded Visual Tools to develop Windows ® CE.NET application runtim es, make su re the SPC SDK provided in the SPC support CD is also properly installed in the host PC. 4. Click "Start/Settings/Netwo rk and Dial-up Connection[...]

  • Página 65

    65 Figure 4.15 Networking via USB port 4.5.3 Networking via PPP The SPC supports PPP protocol. To setup and utilize it, follow the steps below: 1. Click "Start/Settings/Netwo rk and Dial-up Connections” 2. Make a new connection. As the dialogue box pops ou t, choose the "Dial-Up Connection". Click "Next". 3. Click "C[...]

  • Página 66

    66 Figure 4.16 Networking via PPP 4.5.4 Web browser The SPC builds-in Windows CE OS includes IE Browser. It can be used to browse web pages on World Wide W eb via LAN or PPP.[...]

  • Página 67

    67 4.6 Intel Persistent Storage Manger (IPSM) 4.6.1 Introduction to Intel Pe rsistent Storage Manger Intel Persistent Storage Manager was desi gned and developed specifically as an enhancement to Microsoft Windows CE opera ting systems. IPSM elim inates extra disk-like storage such as stor age cards, redundant RAM and ROM. 4.6.2 IPSM folder in SPC [...]

  • Página 68

    68 4.7 Application Program Development The SPC is bundled with built-in Windows ® CE.NET operating system. In real application user need to execute various application programs on it. However, unlike its other CPU family, the Windows ® CE.NET is a hardware-dependent operating system. That is to say, Windows ® CE.NET application progr am s are on[...]

  • Página 69

    69 Figure 4.17 Flow-chart of Building Windows ® CE.NET runtime 4.7.3 How to install SDK Copy SPC SDK file “SOM_A_SDK.msi” to your PC, and launch it. You can install SDK by steps. Step 1, Launch SPC SDK file, and then tap Next button. Figure 4.18[...]

  • Página 70

    70 S tep 2, Accept License Agreement and go next. Figure 4.19 Step 3, Key in your information and go next.[...]

  • Página 71

    71 Figure 4.20 Step 4, Choose setup type. There are 3 options “Embedded Visual C ++”, “Microsoft .NET Compact Framework”, and “Documentation” in Custom Setup. Figure 4.21[...]

  • Página 72

    72 Figure 4.22 Step 5, Tap “Install” button to install SDK. Figure 4.23[...]

  • Página 73

    73 Install SDK……. Figure 4.24 Step6, Finish installing.[...]

  • Página 74

    74 Figure 4.25 4.7.4 Running your application programs ActiveSync would automatically transfer th e built app lication program to platf orm. Choose SDK type as SOM_A once compile your application program. Figure 4.26 4.7.5 WDT Modules SPC is targeted to be the embedded devi ce for web-enabled a nd data-acquisition systems. It is built-in with a use[...]

  • Página 75

    75 This function sends a control code directly to a specified device driver, causing the corresponding device to perfor m the specified operation. BOOL DeviceIoCon trol( HANDLE hDevice , DWORD dwIoControlCod e , LPVOID lpInBuffer , DWORD nInBuffer Size , LPVOID lpOutBuffer , DWORD nOutBufferSiz e , LPDWORD lpBytesReturned , LPOVERLAPPED lpOv erla p[...]

  • Página 76

    76 This parame ter can be NULL if the dwIoContr olCode param eter specifies an ope ration that does not produce out put data. nOutBufferSize [in] Size, in bytes, of the buffer pointed to by lpOutB uffer. lpBytesReturned [out] Long pointer to a variable that receives the size, in bytes, of the data stor ed in to th e buffe r pointed t o by lpO utBuf[...]

  • Página 77

    77 nInBuffe rSize : unuse d. lpOutBuffer : unused. nOutBufferSize : unused. 3. IOCTL_GET_WDTPERIOD (0x1003): lpInBuffer :unused. nInBuffe rSize : unuse d. lpOutBuffer : the DWORD poin ter to your Watchdog time setting. The unit is mini-second. Its value should be greater 1000. The default setting is 5000 mini-seconds. nOutBufferSize : unused. 4. IO[...]

  • Página 78

    78 lpOutBuffer : the DWORD pointer to your screen off ti m e if user-interface idled. The unit is mini-second. I f the value is 0, screen-off f unction is disabled. nOutBufferSize : unused. 7. IOCTL_SET_SCREENOFFTIME (0x1007) : lpInBuffer : the DWORD pointer to your screen off time if user-inter face idled . The unit is mini-second . If the value i[...]

  • Página 79

    79 HANDLE m_hWDT=NULL; TCHAR szClassName[60]; ... // assign the WDT driver name wsprintf(szClassName, TEXT(" WDT1:")); // Open the WDT driver m_hWDT = CreateFile(szClassNa me, GENERIC_READ | G ENERIC_WRITE, 0, NULL, OPEN_EX ISTING, FILE_A TTRIBUTE_NORMAL, N ULL); if ( m_hWDT == INVALID_HANDLE_VALUE ) { DebugMsg(CString("WDT driver fa[...]

  • Página 80

    80 4.8 Windows ® CE.NET 4.2 Require Components (Advantech Recommend) Applications and Services Development ( ■ : with; □ : without) Feature Default Selection Active T emplate Library (A TL) ■ C Libraries & Runtimes ■ Component Services (COM) ■ Device Management ■ Lightweight Directory Access Protocol (LDAP) ■ Message Queuing (MSM[...]

  • Página 81

    81 Kernel Features ■ Communication Services and Networkin g Feature Default Selection Networking Features ■ Networking - Local Area Network (LAN) ■ Networking - Personal Area Network (P AN) ■ Networking - W ide Area Network (W AN) ■ Servers (HTTPD) ■ File Systems and Data Store Feature Default Selection S torage Manager ■ File & D[...]

  • Página 82

    82 Locale Specific Support (Input Method Selector Sample Application) ■ Multilingual User Interface (MUI) ■ Internet Client Services Feature Default Selection Browser Application (Interne t E xplorer 5.5 for W i ndows CE - S tandard Components) ■ Internet Explorer 5.5 for W indows CE Components - Internet Explorer Browser Control Host ■ - I[...]

  • Página 83

    83 Shell and User Interface Feature Default Selection Shell ■ User Interface ■ - Accessibility ■ - Customizable UI ■ - Mouse ■ - T ouch Display (Stylus) ■ - Network User Interface ■ - Overlapping Menus ■ - Software Input Panel ■ - Speech Interface ■[...]

  • Página 84

    84 Appendix A Boot & Registry Searching Sequence The followin g diagram dem onstrates the boot sequence a nd registry searching se quence whe n SPC boot-up. Power On SAFEMODE *1 Image on CompactFlash Registry on C F Image on Flash Memory Boot Failure *2 Boot by Default Registry Boot Success Image on Compact Flash Image on Flas h Me mor y Boot b[...]

  • Página 85

    85[...]