The text of a manual · part 20 of 26
WT4070/90 Wearable Terminal Integrator Guide: Application Deployment, pages 147 to 154
Pages 147 to 154 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 147
Application Deployment
7-9
The Script1 window directory pane displays two partitions: Platform and Application. Depending on the type of flash chip, the number of partitions may change. Files can be added to each of the partitions. TCM functionality includes:
• Opening a new or existing script file • Copying components to the script window • Saving the script file.
Opening a New or Existing Script A script file can be created from scratch or based on an existing script file. Click Create to create a new script or click Open to open an existing script (for example, a script provided in the DCP for MC40x0c). If an existing script is opened and changes are made, saving the changes overwrites the original script. To use an original or Zebra supplied standard script as a base and save the changes in a new script, use the Save As function to save the script using a different file name.
Updating TCM 1.X Scripts Script files that were created with older versions of TCM can be upgraded to TCM 2.0 scripts. Click Open to open an existing script created with an older version of TCM. The Conversion window appears automatically.
Figure 7-6 Conversion Window - Upgrading to TCM 2.0
Copying Components to the Script Script contents are managed using standard file operations such as New Folder, Delete and Rename. Items can be added to the script by clicking files and folders in the File Explorer window and dragging them to the Script window. The File Explorer window supports standard windows; multiple files may be selected by clicking while holding the SHIFT or CTRL keys.
Saving the Script Modifications to a script file can be saved using the Save or the Save As function. Saving changes to an existing script writes over the original script. To use a Zebra-supplied standard script as a base and save the changes in a new script, use the Save As function.
Building the Image Once the script is created, the hex image defined by the script can be built. As part of the build, TCM performs a check on the script which verifies that all files referenced in the script exist. This check is important for previously created scripts to ensure that files referenced in the script are still in the designated locations. To build scripts: 1.
Click Build on the TCM toolbar. The Configure Build window appears.
Page 148
7 - 10 WT4070/90 Wearable Terminal Integrator Guide
Figure 7-7 Configure Build Window 2.
Select the items (partitions) to build using the check box(es) to the left of each named partition.
3.
The Build Path defines where to store all built partitions.
4.
Select (hex image) COMPRESSION to reduce the size and speed up the download.
5.
Click OK and follow the on-screen instructions. If one of the partitions being built is the ESSID, a prompt appears requesting the ESSID value. Deselect the HR (High Rate) check box when building ESSID images for a device with an FH radio.
Figure 7-8 Build ESSID Partition Window
If one of the partitions being built is the Splash Screen, a prompt appears requesting both the source Bitmap file and the destination HEX file. 6.
A check is performed and if there are no errors, the partition hex files are created.
If the build fails, the hex files are not be created and TCM displays an error message. Two of the most common reasons for a build failure are:
• Files defined in the script can not be found. This error can occur when the files referenced by the script are no longer stored on the development computer or the folders where they are stored were renamed.
• The total amount of flash memory space required by the script exceeds the image size. To correct this, reduce the number of files in the partition or increase the size of the partition. See Defining Script Properties on page 7-7 for more information about setting the image size appropriately.
Page 149
Application Deployment 7 - 11
Sending the Hex Image Using IPL Once the hex file is built, it can be downloaded to the wearable terminal using IPL.
NOTE
The wearable terminal must be inserted in the cradle with appropriate power supply connected to a power source, for the wearable terminal to reset into IPL.
WT4070/90 1.
Press the 1, 9 and Power button. The wearable terminal performs a cold boot.
2.
The screen blanks and three brackets display “} } }”. Immediately press the P2 key. The Initial Program Loader menu displays. Initial Program Loader Platform Application Config Block Windows CE Monitor Splash Screen Power Micro Partition Table Command File System Reset Auto Select
Figure 7-9 Initial Program Loader (IPL) Menu
CAUTION
NOTE
To insure a successful download, do not remove power from the wearable terminal while in IPL mode.
The hex images must be downloaded in the following order: 1. Monitor (wearable terminal resets after downloading monitor) 2. Config Block 3. Partition Table and Power Micro 4. Platform, Splash Screen, Application and Windows CE. If the platform or application partition sizes are changed, you must download a new partition table first.
3.
Choose Auto Select or use the up and down scroll buttons to select the partition to download, then press Enter.
Page 150
7 - 12 WT4070/90 Wearable Terminal Integrator Guide
Table 7-2 IPL Menu Partitions
Partition Name
Description
Platform
Contains the files in the Platform folder.
Application
Contains the files in the Application folder.
Windows CE
Contains the operating system for the wearable terminal.
Monitor
Contains the Monitor and IPL programs.
Splash Screen
Contains the splash screen that displays while booting the wearable terminal. Note: Splash screens are generated from .bmp images and must be less than or equal to 240 pixels wide and 296 pixels deep. For color screens the color depth must be 8 bpp. Note: 8 bits per pixel only applies to splash screen images. Once Windows CE is running, the color density is 16 bits per pixel.
Power Micro
The Power Micro is a small computer contained within the wearable terminal that controls several system resources. In the unlikely event that the Power Micro Firmware needs updating, selecting this item allows the device to be programmed.
Partition Table
Contains the partition information for all other partitions. Note: The partition table should never need changing unless the sizes of the platform and application images are changed within TCM. If this is done, then the new partition table should be loaded first, followed by both platform and application in any order.
Command File
Select to load a command file. A command file is a file that allows you to automatically load a number of partitions in a batch process.
System Reset
Selecting this item provides a simple method to exit IPL and to boot the operating system.
Auto Select
Selecting this item allows one or more files to be downloaded without having to manually select the destination. (The content of the files being downloaded automatically directs the file to the correct destination.) For technical reasons, Auto Select cannot be used to download Monitor, Power Micro, or Partition Table. These items must be specifically selected.
4.
IPL displays the Select Transport menu which lists the available methods of downloading the file. Select Transport USB SD/MMC Lighthouse 0 - Serial Previous Top
Figure 7-10 Select Transport Menu
Page 151
Application Deployment 7 - 13
5.
Use the up and down scroll buttons to select USB and press Enter. If this is the first time using USB transport, you might need to install the Zebra USB driver. Follow the screen prompts.
6.
The USB Configuration menu appears. USB Configuration USB Standard Previous Top
7.
Select USB Standard and press ENTER. The Download File? menu appears. Download File? Download Cancel Show Parms Previous Top
Figure 7-11 Download File? Menu 8.
Use the up and down scroll buttons to select Show Parms to verify the file to download. Press ENTER to display the Parameters screen.
Page 152
7 - 14 WT4070/90 Wearable Terminal Integrator Guide
Download: “Partition Name” via USB USB Standard Press Enter to continue
Figure 7-12 Parameters Screen Partition Name is the name of the partition selected in the Initial Program Loader menu. 9.
Press Enter to return to the Download File? menu.
10. Use the up and down scroll buttons to select Download. Press Enter. The Downloading screen appears.
Downloading: Partition Name via USB USB Standard waiting for input . . .
Figure 7-13 Downloading Screen 11. On the development computer, click Load on the TCM toolbar. The Load Terminal window > Serial tab appears.
Figure 7-14 Load Terminal Window - Serial and Ethernet Tabs
Page 153
Application Deployment 7 - 15
12. Select the Image Files To Load. 13. In the Comm Port drop-down list, select USB: Symbol Device. 14. Click Download to begin the operation. 15. During download, the Downloading screen on wearable terminal displays the Device Status and a progress bar. 16. When complete, Device Status displays Result was: Success!, or in the case of an error, the cause of the error. 17. On completion, press ENTER to return to the IPL menu to select the next partition to download. 18. To exit IPL, select the System Reset item from the IPL menu (see Figure 7-9 on page 7-11).
Voice Only WT4090 1.
Press the P1 and P2 keys and Power button.
2.
The Voice Only WT4090 performs a cold boot.
3.
Press the P2 key. The three LEDs turn on indicating that the Voice Only WT4090 is in IPL mode.
4.
On the development computer, click Load on the TCM toolbar. The Load Terminal window > Serial tab appears.
Figure 7-15 Load Terminal Window - Serial and Ethernet Tabs
CAUTION
NOTE
To insure a successful download, do not remove power from the Voice Only WT4090 while in IPL mode.
The hex images must be downloaded in the following order: 1. Monitor (Voice Only WT4090 resets after downloading monitor) 2. Config Block 3. Partition Table and Power Micro 4. Platform, Splash Screen, Application and Windows CE. If the platform or application partition sizes are changed, you must download a new partition table first.
5.
Select the Image Files To Load.
6.
In the Comm Port drop-down list, select USB: Symbol Device.
7.
Click Download to begin the operation. As soon as the download starts, all three LEDs turn on and then the three LEDs indicate the progress of the download. When 33% is completed the first LED turns on, followed by second LED when 66% is completed and finally the third LED when 100% of the download. Depending on the size of each image the time taken to indicate this progress may vary.
Page 154
7 - 16 WT4070/90 Wearable Terminal Integrator Guide
8.
When complete, the message “Transfer Complete. Check the terminal for successful completion.”
9.
Click OK.
10. Repeat steps 5 through 9 for each file to download. 11. To exit IPL, perform a cold boot.
TCM Error Messages TCM validates the cells in the partition table when the Execute button is clicked. Cells highlighted in red contain an error. Partition loading is disabled until all errors are corrected. Table 7-3 TCM Error Messages
Error
Description/Solution
Failed to build images: flash file system DLL not loaded!
TCM could not load the DLL required to build images for the targeting flash file system. Reinstall TCM or recover the DLL.
Failure finding directory xxx
Building process failed because directory xxx was not found.
Failure creating volume
Building process failed because a certain disk volume could not be created.
Failure adding system file to image
Build process failed because TCM failed to add a certain system file to the disk image.
INVALID PATH
The path for the image file to build is not valid.
Nothing Selected To Build
In the Config Build window, no item is selected to build.
Illegal ESS ID
In the Build ESSID Partition window, no ESS ID was entered or the ESS ID entered was illegal.
Disk Full
TCM failed to create Hex image file at the selected path. Check available disk space.
Target Disk Full
Build process failed because TCM failed to add file to the image of a disk volume. Remove some files or increase the disk size.
Hex file is READ ONLY
The Hex image file to be created exists and is read-only. Delete the existing file or change its attribute.
Error opening the file xxx with write access
TCM could not open file xxx with write access. Check if file is in use.
Failure creating binary file
TCM failed to open/create an intermediate binary file.
Hex File To load is missing or invalid
In Load Terminal window, the file selected to load has invalid status.
Could not locate wearable terminal name in TCM.ini file
While loading the Script Properties window, TCM could not find the TCM.ini section corresponding to the wearable terminal type specified by the current opening script. Either TCM.ini or the script file is invalid.
Incorrect disk sizes in TCM.ini file
The total disk size specified in the script does not match the total disk size defined in the corresponding TCM.ini section. Check if the script is corrupt or the TCM.ini has changed after the script was created.