Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 21 of 26

WT4070/90 Wearable Terminal Integrator Guide: Application Deployment, pages 155 to 160

Pages 155 to 160 of 206, from WT4070/90 Wearable Terminal Integrator Guide

The original document is the PDF (7.2 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

For the Motorola WT4090

Page 155

Application Deployment 7 - 17

Table 7-3 TCM Error Messages (Continued)

Error

Description/Solution

INVALID DIRECTORY

In Script Properties window, the selected System File Path is not a valid directory.

One of the disk sizes is one sector in size

In Script Properties window, one of the disks is too small (one sector in size). This may cause problem while building images, especially when cushion is enabled. Increase the disk size.

INVALID VOLUME NAME

In Script Properties window, one of the volume labels is not valid.

Corrupt TCM.INI file! (Invalid value of VolumeDivisor)

The VolumeDivisor entry is missing or invalid in the TCM.ini. Reinstall TCM or recover TCM.ini.

Invalid version of TCM script file

The TCM script was not created by this version of TCM.

Corrupt or missing TCM.ini file

TCM could not find TCM.ini file.

FAILED CONNECTION TO COM PORT (Could not get status)

While downloading images to wearable terminal, TCM failed to connect to the selected COM port. Check if the COM port is free and is properly configured.

FAILED CONNECTION TO TERMINAL (Terminal Not Connected Properly/Terminal Not Ready to Receive)

While downloading images, TCM failed to connect to the wearable terminal. Check if the correct flow control protocol is selected and the wearable terminal is properly connected and is in a listening state.

IPL Error Detection While receiving data, IPL performs many checks on the data to ensure that the data is received correctly. If an error is detected, IPL immediately aborts the download, and reports the error on an error screen on a WT4070/90 or with the LEDs on a Voice Only WT4090.

WT4070/90 Error Indications Error screens may vary depending on the action being performed. A sample error screen may look like the screen pictured below:

Downloading: Platform via Serial Port 115200 Error # -2: Messages: Cancelled by user Press any key to continue

Figure 7-16 IPL Error Screen

Page 156

7 - 18 WT4070/90 Wearable Terminal Integrator Guide

This error message screen displays until you press any key. Once the screen is acknowledged, IPL returns to the Initial Program Loader main menu to wait for a new selection. To find the probable cause of the error, use the error number and/or the error text displayed on the screen to look up the error in Table 7-4. Table 7-4 IPL Errors

Error Number

Error Text

Probable Cause

Unknown error

-1

A general error occurred. Retry the download. If the failure persists, it is most likely due to a hardware failure; the wearable terminal requires servicing.

Cancelled by user

-2

The user canceled the download.

Can't open the source

-7

An error occurred opening the source device (either radio card or Serial port). Check source device connectivity and retry.

Can't open the destination

-8

An error occurred opening the destination device (either flash ROM or Power Micro). Retry the download. If the failure persists, it is most likely due to a hardware failure; the wearable terminal requires servicing.

Can't read from the source device

-9

The source device (either radio card or Serial port) could not be read from. Check source device connectivity and retry.

Can't write to the destination device

-10

The destination device (either flash ROM or Power Micro) could not be written to. Retry the download. If the failure persists, it is most likely due to a hardware failure; the wearable terminal requires servicing.

Transmission checksum error

-11

An error occurred during transmission from the source device (either radio card or Serial port) and the checksum check failed. Check source device connectivity and retry.

Readback checksum error

-12

A checksum, generated from reading back data that was written to the destination device, was incorrect. An error during transmission or a write error to the destination device could cause this.

There is no more heap space available

-14

There is no more heap space available for the download procedure. Restart IPL and retry the download. If the failure persists, contact service with details of what is being downloaded.

Insufficient data available to complete record

-21

A Symbol HEX file download was attempted but the HEX file is invalid. Ensure the file is in Symbol HEX file format.

Invalid Symbol HEX file

-23

A Symbol HEX file download was attempted but the HEX file is invalid. Ensure the file is in Symbol HEX file format.

Unrecognized or unsupported HEX record

-24

The Symbol HEX file being downloaded contains an invalid or unrecognized HEX record. Ensure the file is in proper Symbol HEX file format.

Invalid data in HEX file

-25

The Symbol HEX file being downloaded contains invalid data. Ensure the file is in proper Symbol HEX file format with valid HEX data.

Page 157

Application Deployment 7 - 19

Table 7-4 IPL Errors (Continued)

Error Number

Error Text

Probable Cause

Exceeded max size

-26

The download file is too large to fit into the space allocated for it. Either make the file smaller or increase the space allocated for it by altering the partition table.

Partition is not valid on this device

-27

The downloaded file specifies a partition entry that does not exist on the device. Only download files that are valid for this device, or change the partition table so that the new file is valid on the device.

Wrong destination code

-28

A specific partition was chosen from the Main Menu (not Auto Select) but the file selected for download was for another partition. Ensure that the partition selected from the Main Menu matches the file selected for download.

File type does not support IPL Auto Select

-29

Monitor, Power Micro and Partition Table cannot be loaded with Auto Select. Select the appropriate area, and try again.

Non-contiguous record found

-30

A Symbol HEX file download was attempted but the HEX file is invalid. Ensure the file is in Symbol HEX file format.

Timed Out - No data

-31

IPL was waiting for data from the source device but timed out before receiving any. Check the source device connectivity and retry.

Fail: Buffer Overrun

-32

The serial port device could not keep up with incoming data. Retry the serial download with a lower baud rate.

Partition Table not Valid

-33

The size of flash memory is different than that described in the partition table. Retry the download with the correct partition table file.

Invalid file format

-34

The file format is invalid. Only Symbol HEX files are supported by IPL.

Voice Only WT4090 IPL Error Indications While downloading if there are any errors all three LEDs blink for three seconds and then turn solid.

Creating a Splash Screen The source bitmap files used to create the default splash screens for the wearable terminal are supplied with the DCP for WT40x0c50. These files can be modified using any of the standard windows image editors, allowing customization for particular customers. To create a custom splash screen, perform the following steps: 1.

For wearable terminals with monochrome screens, open the Splashmono.bmp file supplied with the DCP for WT40x0c50 using an image editor.

2.

For wearable terminals with color screens, open the Splashcolor.bmp file supplied with the DCP for WT40x0c50 using an image editor.

3.

Modify the bitmap file and save.

4.

Create a splash partition using the steps shown in the Building the Image on page 7-9.

5.

Splash Screen Format

Page 158

7 - 20 WT4070/90 Wearable Terminal Integrator Guide

If the default files are not used to create the new splash screens, be sure to preserve the image format. The formats are as follows: Table 7-5 Splash Screen Format

Screen Type Color

Dimensions 320 x 216

Color Format 8 bits per pixel*

* 8 bits per pixel only applies to splash screen images. Once Windows CE is running, the color density is 16 bits per pixel. See Sending the Hex Image Using IPL on page 7-11 for information about loading the splash screen using TCM and IPL.

Flash Storage In addition to the RAM-based storage standard on Windows CE wearable terminals, the wearable terminal is also equipped with a non-volatile Flash-based storage area which can store data (partitions) that can not be corrupted by a cold boot. This Flash area is divided into two categories: Flash File System (FFS) Partitions and Non-FFS Partitions.

FFS Partitions The wearable terminal includes two or three FFS partitions. These partitions appear to the wearable terminal as a hard drive that the OS file system can write files to and read files from. Data is retained even if power is removed. The two or three FFS partitions appear as two or three separate folders in the Windows CE file system and are as follows:

• Platform: The Platform FFS partition contains Zebra-supplied programs and Dynamic Link Libraries (DLLs). This FFS is configured to include DLLs that control system operation. Since these drivers are required for basic wearable terminal operation, only experienced users should modify the content of this partition.

• Application: The Application FFS partition is used to store application programs needed to operate the wearable terminal.

• On-Board IDE: An additional 64 MB of FLASH memory available only on 128 MB/128 MB configurations. This partition can be used for additional application or data storage.

Working with FFS Partitions Because the FFS partitions appear as folders under the Windows CE file system, they can be written to and read like any other folder. For example, an application program can write data to a file located in the Application folder just as it would to the Windows folder. However, the file in the Application folder is in non-volatile storage and is not lost on a cold boot (e.g., when power is removed for a long period of time). Standard tools such as ActiveSync can be used to copy files to and from the FFS partitions. They appear as the “Application”, “Platform” and “On-Board IDE” folders to the ActiveSync explorer. This is useful when installing applications on the wearable terminal. Applications stored in the Application folder are retained even when the wearable terminal is cold booted. There are two device drivers included in the Windows CE image to assist developers in configuring the wearable terminal following a cold boot: RegMerge and CopyFiles.

Page 159

Application Deployment 7 - 21

RegMerge.dll RegMerge.dll is a built-in driver that allows registry edits to be made to the Windows CE Registry. Regmerge.dll runs very early in the boot process and looks for registry files (.reg files) in certain Flash File System folders during a cold boot. It then merges the registry changes into the system registry located in RAM. Since the registry is re-created on every cold boot from the default ROM image, the RegMerge driver is necessary to make registry modifications persistent over cold boots. RegMerge is configured to look in the root of two specific folders for .reg files in the following order: \Platform \Application Regmerge continues to look for .reg files in these folders until all folders are checked. This allows folders later in the list to override folders earlier in the list. This way, it is possible to override Registry changes made by the Platforms partitions folders. Take care when using Regmerge to make Registry changes. The DCP for WT4000c50 contains examples of .reg files. NOTE

Regmerge only merges the .reg files on cold boots. The merge process is skipped during a warm boot.

Typically, do not make modifications to registry values for drivers loaded before RegMerge. However, these values may require modification during software development. Since these early loading drivers read these keys before RegMerge gets a chance to change them, the wearable terminal must be cold booted. The warm boot does not re-initialize the registry and the early loading driver reads the new registry values. Do not use Regmerge to modify built-in driver registry values, or merge the same Registry value to two files in the same folder, as the results are undefined.

CopyFiles Windows CE expects certain files to be in the Windows folder, residing in volatile storage. Windows CE maintains the System Registry in volatile storage. CopyFiles copies files from one folder to another on a cold boot. Files can be copied from a non-volatile partition (Application or Platform) to the Windows or other volatile partition during a cold boot. During a cold boot CopyFiles looks for files with a .CPY extension in the root of the Platform and Application FFS partitions (Platform first and then Application). These files are text files containing the source and destination for the desired files to be copied separated by “>”. The following example from the file application.cpy is contained on the demo application partition included in the DCP for WT40x0c50. It can also be obtained from the Support Central web site at http://www.zebra.com/support. Files are copied to the Windows folder from the Flash File System using copy files (*.cpy) in the following order: \Platform \Application Example: \Application\ScanSamp2.exe>\Windows\ScanSamp2.exe This line directs CopyFiles to copy the ScanSamp2.exe application from the \Application folder to the \Windows folder.

Page 160

7 - 22 WT4070/90 Wearable Terminal Integrator Guide

Non-FFS Partitions Non-FFS Partitions include additional software and data pre-loaded on the wearable terminal that can be upgraded. Unlike FFS Partitions, these partitions are not visible when the operating system is running. They also contain system information. Non-FFS partitions include the following:

• Windows CE: The complete Windows CE operating system is stored on Flash devices. If necessary, the entire OS image may be downloaded to the wearable terminal using files provided by Zebra. The current OS partition on the wearable terminal is included as part of the TCM installation package. Any upgrades must be obtained from Zebra. This partition is mandatory for the wearable terminal.

• Splash Screen: a bitmap smaller than 16 kb (and limited to 8 bits per pixel) is displayed as the wearable terminal cold boots. To download a customized screen to display, see Creating a Splash Screen on page 7-19. NOTE

8 bits per pixel only applies to splash screen images. Once Windows CE is running, the color density is 16 bits per pixel.

• IPL: This program interfaces with the host computer and allows downloading via cradle or serial cable any or all of the partitions listed above, as well as updated versions of IPL. Use caution downloading updated IPL versions; incorrect downloading of an IPL causes permanent damage to the wearable terminal. IPL is mandatory for the wearable terminal.

• Partition Table: Identifies where each partition is loaded in the wearable terminal.

Downloading Partitions to the Wearable Terminal TCM is used to specify a hex destination file for each partition and download each file to the wearable terminal. This download requires a program loader stored on the wearable terminal. The wearable terminal comes with a program loading utility, Initial Program Loader (IPL), stored in the wearable terminal’s write-protected flash.