TPC-31T 61T Manual Ed1 PDF
TPC-31T 61T Manual Ed1 PDF
TPC-31T 61T Manual Ed1 PDF
TPC-31/61
Acknowledgements
IBM, PC/AT and VGA are trademarks of International Business Machines Corpora-
tion.
Microsoft Windows and MS-DOS are registered trademarks of Microsoft Corp.
All other product names or trademarks are properties of their respective owners.
Declaration of Conformity
CE
FCC Class A
Note: 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 commercial environment. This equipment generates, uses, and can
radiate radio frequency energy and, if not installed and used in accordance with the
instruction manual, may cause harmful interference to radio communications. Opera-
tion 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.
Warning! Warnings indicate conditions, which if not observed, can cause personal
injury!
Caution! Cautions are included to help you avoid damaging hardware or losing
data. e.g.
There is a danger of a new battery exploding if it is incorrectly installed.
Do not attempt to recharge, force open, or heat the battery. Replace the
battery only with the same or equivalent type recommended by the man-
ufacturer. Discard used batteries according to the manufacturer's
instructions.
1.2 Specifications
1.2.1 System Kernel
CPU: TI Cortex-A8 AM3517 600 MHz
Memory: DDR2 256MB on board
Storage Memory: 512MB on board micro SD card;1Mb FRAM for Data back-up
Ethernet: 10/100Base-T x 1
Watchdog Timer: Programmable as 250 ms, 500 ms, 1 second
SD Slot: Secure Digital Slot
1.2.3 Storage
TPC-31/61 panel computers provide two methods for storage. One is the on-board
512MB micro SD card and the other one is an external SD card.
Chapter 1
Safety
FCC Class A, CE, BSMI, UL certified
The front bezel is compliant with NEMA 4/ IP65
Environment
Operating Temperature: 0~50°C (32 ~ 122°F)
Storage Temperature: -20 ~ 60°C (-4 ~ 140°F)
Humidity: 10~95% @ 40°C relative humidity (non-condensing)
General Information
Vibration: 1 Grms (Random, Operating)
TPC-31/61
Display Type TFT LCD
Size (diagonal) 3.5”/5.7”
Maximum Resolution 320 x 240 (QVGA)
Maximum Colors 64K
Viewing Angle 120/110; 160/140
Luminance (cd / m2) 450/800
Contrast Ratio 300:1 / 800:1
Backlight LED
Backlight MTBF 30000 / 50000hrs
Note! There is no pointer/cursor shown using the touch screen. The cursor
only appears when closing or minimizing the window.
1.2.7 Power
Input Voltage: 18~32 VDC
Maximum Current: 1 A
Chapter 1
There is an adhesive waterproof gasket on the front bezel. Make sure the waterproof
gasket is in position before installing a TPC-31/61 panel computer into the panel
opening.
TPC-31T:
1. Install the panel computer into the panel opening.
2. Find the mount bracket, four short screws and four long screws in the accessory
pack. Fix the mount bracket on the rear cover with four short screws and then
fasten the long screws. These screws will then push the mounting panel and fix
General Information
the unit. The mounting panel thickness is suggested to be less than 3.5 mm
(0.137 inch).
TPC-61T:
1. Install the TPC into the panel opening.
2. Find the six clamps and six long screws in the accessory pack. Hook the clamps
to the holes around the four sides of the bezel. Insert the screws into every
clamp and fasten them. These screws will push the mounting panel and fix the
unit.
3. The suggested mounting panel thickness is less than 6 mm (0.236”).
Warning! The system may be damaged when the power is turned on if the power
source is not connected to the correct pins.
Chapter 2
on.
System Setup
Figure 2.3 Power Line into the Power Receptor
4. Turn on the System
5. Calibrate the touchscreen.
To set the time to automatically turn off, tick the check box “turn off backlight” and set
the time to elapse by inputting a number in the edit box.
Chapter 3
You can calibrate the touchscreen through “Start” -> “Setting” -> “Control Panel” ->
“Stylus” as shown in the Figure below.
System Tuning
Figure 3.3 Style
The window of the stylus properties will display after you click the stylus. There are
two tabs in this screen: Double-Tap and Calibration. Double-Tap is used to record the
time period between the two taps when double-tapping in Windows CE. Calibration is
for users to calibrate the touch screen.
Chapter 4
There are several utilities built into Windows CE in the TPC series.
4.2.1 Soft-Keyboard
The TPC-31/61 series also has a small-sized operator interface. Since it is not con-
venient to attach a keyboard to such a small device, a software keyboard is built into
the standard Windows CE OS. Upon boot-up, a small keyboard icon will appear on
the status bar. Tap this icon with the stylus to activate/hide this Soft-keyboard.
Windows CE
Figure 4.2 Soft-Keyboard
Network
This page shows information about the active network adapter. You can select the
network adapter from the combo box as shown in Figure 4.5. Release the current IP
and retrieve the new IP through the provided button, “Renew”. Use the “Ping” button
to ping a specified IP address if you wish to test the connection.
Chapter 4
tion contains the default gateway, DHCP server, WINS and DNS server address as
shown in Figure 4.6 below.
Windows CE
Figure 4.6 Advanced Network
Watchdog
Watchdog is a function to let the device automatically reset if a program does not
respond in time. This prevents system crashes and hangs to stop your critical appli-
cations, as the watchdog will automatically restart the machine when required.
Set the response time through the combo box as shown below. The timer is the
period that the watchdog will wait for a response.
Only when you select a time span and enable the watchdog, will the response time
be effective. When the watchdog is enabled and the "Test" button is clicked, the NO
resetting signal will be periodically sent to the watchdog hardware onboard. The
watchdog will suppose the machine to be deadlocked and REBOOT it after the
watchdog response time. If the machine reboots as expected after the watchdog
response time, the watchdog is proved to be working properly.
Startup Programs: You can easily set the startup programs without editing. The pro-
grams listed in the combo box will be automatically executed after the system has
successfully booted. Click the “Add” button to insert a file to the startup. If you would
like to remove the file from the startup or the combo box, please click “Delete”.
Note! Do NOT try to insert a NON-executable file into the startup program.
Reboot: You can reboot TPC-31/61 panel computers by clicking the “Reboot” button.
Once this button is clicked, the dialog below will be displayed.
Chapter 4
the status bar and executing a command, reboot.exe, through a command line pro-
gram.
Registry: You can click the “Save” button to save the registry to a solid state disk,
and click the “View” button to view, edit, create, or delete registry information. You
also can backup or restore the registry setting by clicking the backup or restore but-
ton.
Note! It is not allowed to backup and restore over different image versions.
Windows CE
Figure 4.10 Registry Saving Success
Web Server Root: Input the root path of the web server here. The root path will only
be effective after the machine has been rebooted.
FTP Server Root: Input the root path of the ftp server here. The root path will only be
effective after the machine has been rebooted.
ActiveSync
This program synchronizes data and monitors the connection between TPC-31/61
panel computers and their host computer. By default, it will be executed automatically
when you want to establish a connection to a target device with ActiveSync.
Registry Editor
When Registry Editor is executed as shown in the Figure 4.11, you can use this pro-
gram to view, edit, enter, delete or save registry data.
Registry Saver
When Registry Saver is executed, the system registry will be saved. Also, you can
execute it in a command-line environment to save the registry like “regsave.exe” or
“regsave.exe -s” for the silence mode.
Chapter 4
NotepadPlus is a text editor as shown in Figure 4.17.
Windows CE
Figure 4.13 NotepadPlus
TPC Configurator
TPC Configurator is an integrated utility to configure the basic settings of the panel
computer. Refer to section 4.1.2.
RegSave.exe [-s]:
Saves registry settings. If you use “RegSave.exe -s”, no message box is displayed
whether you are successful or fail.
Reboot.exe:
Saves the registry settings and reboots the panel computer.
Screen.exe [on/off]:
Turns the display on/off. Use “Screen.exe on” to turn on and “Screen.exe off” to turn
off the display.
4.3 Networking
4.3.1 Network via Ethernet
This section shows how to configure the Ethernet port of the TPC series properly.
The procedure is listed below step by step.
1. Press Start in the task bar of Windows and select “Setting” -> “Networking and
Dial-up connections”.
Chapter 4
that has the connection you want to configure. For example, double click
DM9CE1 icon to configure.
Windows CE
Figure 4.16 Selected Connection
5. Press “Start” in of task bar of Windows and select “Run”. Execute “regsave” to
save the registry settings to a storage card.
Chapter 4
This section introduces how to setup the connection between the TPC series and a
host PC via Microsoft ActiveSync.
Windows CE
age). Make sure the connection is solid on both RS-232 Serial ports.
Setup the communication environment of the TPC and the host
Check the COM box and select your desired port from the list.
Chapter 4
Windows CE
Figure 4.23 Change Connection
You can find the change is active. The connection is via serial1 - COM1.
Chapter 4
Windows CE
Figure 4.28 Get Connected
Chapter 4
pop up to display the file resources and information of TPC. For example, you could
click the icon “My documents” to see the content of storage in TPC.
Windows CE
Figure 4.32 Explore the TPC
Note! If you choose to install the Common files or Microsoft eMbedded Visual
C++ 4.0 on a partition other than the system partition, the figure repre-
senting the amount of space required reflects only the amount of space
for files being installed on that non-system partition. It does not reflect
the total amount of space required to install the entire product. This is
because some files must be installed on the system partition, regardless
of where other files are installed.
Note! The selected CPU type must be Win32 (WCE ARM V4) or Win32 (WCE
ARMV4I).
Chapter 4
Windows CE
Figure 4.34 Selecting
After you complete the configuration procedure, you can start to develop your appli-
cation. Press “Build” to compile your program to a.exe file and download it to TPC.
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. This value identifies the specific
operation to be performed and the type of device on which the operation is to be
performed. No specific values are defined for the dwIoControlCode parameter.
However, the writer of a custom device driver can define IOCTL_XXXX control
codes, per the CTL_CODE macro. These control codes can then be advertised,
and an application can use these control codes with DeviceIoControl to perform
driver-specific functions.
lpInBuffer
[in] Long pointer to a buffer that contains the data required to perform the opera-
tion. This parameter can be NULL if the 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 opera-
tion that does not produce output data.
nOutBufferSize
[in] Size, in bytes, of the buffer pointed to by lpOutBuffer.
lpBytesReturned
[out] Long pointer to a variable that receives the size, in bytes, of the data stored
into the buffer pointed to by lpOutBuffer. The lpBytesRe-turned parameter can-
not be NULL. Even when an operation produces no output data, and lpOutBuf-
fer can be NULL, the DeviceIoControl function makes use of the variable
pointed to bylpBytesReturned. After such an operation, the value of the variable
is without meaning.
A.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 appli-
cation must trigger the Watchdog once during the Watchdog timer period. If your
application has not triggered at the specified period, the device will reboot automati-
cally.
lpInBuffer: unused. nInBufferSize: unused.
lpOutBuffer: unused. nOutBufferSize: unused.
A.2.4 IOCTL_WDT_GETTIMEOUT:
Gets the Watchdog time setting.
lpInBuffer: unused.
nInBufferSize: unused.
lpOutBuffer: The DWORD pointer to your Watchdog time setting. The Watchdog time
setting is just a number. 0 means 2 seconds, 1 means 5 seconds, 2 means 10 sec-
onds, 3 means 15 seconds, 4 means 30 seconds, others means 40 seconds. The
default setting is 5 seconds.
nOutBufferSize: unused.
A.2.6 IOCTL_WDT_REBOOT:
If you want your application to trigger the Watchdog by itself, please use
IOCTL_WDT_REBOOT to notify the WDT driver. Otherwise, the WDT will trigger
itself automatically.
lpInBuffer :unused.
nInBufferSize: unused.
lpOutBuffer: unused.
nOutBufferSize: unused.
A.3 Examples
#define WDT_CODE(ID) CTL_CODE(FILE_DEVICE_UNKNOWN, ID,
METHOD_BUFFERED, FILE_ANY_ACCESS)
#define IOCTL_WDT_ENABLE WDT_CODE (0x900)
#define IOCTL_WDT_DISABLE WDT_CODE (0x901)
#define IOCTL_WDT_STROBE WDT_CODE (0x902)
#define IOCTL_WDT_GET_TIMEOUT WDT_CODE (0x903)
#define IOCTL_WDT_SET_TIMEOUT WDT_CODE (0x904)
#define IOCTL_WDT_REBOOT WDT_CODE (0x905)
HANDLE m_hWDT=NULL;
TCHAR szClassName[66];
DWORD dwTemp;
DWORD nIndex=2;
// Set the Watchdog Timer as 10 seconds. Number 2 means 10 seconds.
DeviceIoControl(m_hWDT, IOCTL_WDT_SET_TIMEOUT, &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);
Note! The fuse is set to break if the input voltage exceeds 32VDC.
Click "My device", you can see two HardDisk (external SD card & internal storage)
inside. HardDisk2 (External SD Card) is the image file source while HardDisk (Inter-
nal Storage) is destination.
There are three files needed for image and bootloader update (MLO, EBOOTST.nb0,
NK.nbl). You need to copy them to an SD card before updating process.
1. Copy new "MLO" and "EBOOTSD.nb0 " files to root directory of HardDisk from
HardDisk2.
2. Copy new "NK.nbl" file to "WINCE" folder under HardDisk from HardDisk2
Note! This update process is only for image version V3.03 B240.From next
image version, TPC-31T/61T system will check image status from exter-
nal SD card and update latest image to bootloader automatically.
ISO_COM2_R_DATA- Pin 4
Default