The text of a manual · part 19 of 26
WT4070/90 Wearable Terminal Integrator Guide: Application Deployment, pages 139 to 146
Pages 139 to 146 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 139
Chapter 7 Application Deployment Software Installation on Development PC To develop applications to run on the wearable terminal, use one or all of the following:
• Enterprise Mobility Developer Kit (EMDK) for C • Windows CE Platform SDK for WT40x0 • Device Configuration Package (DCP) for WT40x0. The EMDK for C is a development tool used to create native C and C++ applications for the WT4070/90. It includes documentation, header files (.H), and library files (.LIB) for native code application development that targets Zebra value-add APIs. NOTE
Refer to the EMDK WT4090-VOW Programming page for full information on programming the Voice Only WT4090.
The Windows CE Platform SDK for the WT40x0 is used in conjunction with the SMDK for C to create Windows CE applications for the WT40x0 wearable terminal. The Platform SDK installs a new Windows CE device type and its associated libraries onto the development PC. The Device Configuration Package (DCP) is required to create and download hex images that represent flash partitions to the wearable terminal. The DCP includes the user documentation, flash partitions, Terminal Configuration Manager (TCM) and the associated TCM scripts.
Device Configuration Package To install the DCP for WT40x0: 1.
2.
Download the DCP from the Support Central web site, http://www.zebra.com/support: a.
On http://www.zebra.com/support, select Software Downloads.
b.
Select Mobile Computers and then select WT4000.
c.
Select the Device Configuration Package (DCP).
d.
Save the .exe file to the development computer.
Locate the .exe file on the development computer, double-click the file, and follow the install screen prompts.
Page 140
7-2
WT4070/90 Wearable Terminal Integrator Guide
3.
Once installed, access the major components of the DCP from the Device Configuration Package (DCP) for WT40x0 program group of the Windows Start Menu.
Platform SDK Different Platform SDKs are required for the Microsoft® Windows CE 5.0 Professional and Microsoft® Windows CE 5.0 Core platforms. To download and install the appropriate Platform SDK: 1.
2.
Download the appropriate Platform SDK from the Support Central web site, http://www.zebra.com/support: a.
On http://www.zebra.com/support, select Software Downloads.
b.
Select Mobile Computers and then select WT4000.
c.
Select the Platform SDK.
d.
Save the .exe file to the development computer.
Run the file and follow the screen prompts to install.
Enterprise Mobility Developer Kits To install an EMDK: 1.
2.
Download the EMDK from the Support Central web site, http://www.zebra.com/support: a.
On http://www.zebra.com/support, select Developer Downloads and sign in.
b.
Select Mobile Computers and then select WT4000.
c.
Select the latest version of the Symbol Mobility Developer Kit.
d.
Download the .exe file to the development computer.
Double-click the executable file and follow the install screen prompts.
Installing Other Development Software Developing applications for the wearable terminal may require installing other development software such as application development environments on the development PC. Follow the installation instructions provided with this software.
Deployment With the appropriate accessory, software, and connection, the wearable terminal can share information with the host device. This chapter provides information about installing software and files on the wearable terminal. Download/Install software using:
• OSUpdate • ActiveSync • IPL.
Page 141
Application Deployment
7-3
OSUpdate The wearable terminal contains tools that update all operating system components. All updates are distributed as packages and/or hex images. Update packages can contain either partial or complete updates for the operating system. Zebra distributes the update packages on the Support Central Web Site, http://www.zebra.com/support. Update an operating system component using one of the following:
• MSP. See Chapter 8, Staging and Provisioning for information. • OSUpdate.
Update Loader To initiate an update using the wearable terminal temp directory: 1.
Go to the Support Central web site, http://www.zebra.com/support.
2.
Download the appropriate update package to a host computer.
3.
Connect the wearable terminal to a host computer using the Single Slot Serial/USB Cradle. See Chapter 2, Accessories.
4.
Using ActiveSync, copy the update package to the \temp directory. NOTE
To control the Voice Only WT4090, it must be connected to a host computer running remote desktop software. See Chapter 4, Voice Only WT4090 Remote Control for more information.
5.
On the wearable terminal, use Windows Explorer to navigate to the temp directory.
6.
Open the OSUpdate folder.
7.
Launch the file: 4000c50Ben_TEMP.lnk file.
8.
When the Update Loader application finds the appropriate file, it loads the package onto the wearable terminal. NOTE
On the WT4070/90, a progress bar displays until the update completes. On the Voice Only WT4090, as soon as OSUpdate 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 image is downloaded. This process is repeated for each image included in the OSUpdate package. Depending on the size of each image the time taken to indicate this progress may vary.
9.
When complete, the wearable terminal re-boots.
ActiveSync Use ActiveSync to copy files from a host computer to the wearable terminal. Ensure that ActiveSync is installed and that a partnership has been created, see Chapter 3, ActiveSync. 1.
Connect the wearable terminal to the host computer using a USB cradle or an appropriate cable, see Chapter 2, Accessories for connection information.
2.
On the host computer, select Start > Programs > ActiveSync.
3.
Select Explore.
Page 142
7-4
WT4070/90 Wearable Terminal Integrator Guide
Figure 7-1 ActiveSync Explorer 4.
Double-click the folder to expand the contents of the folder.
Figure 7-2 My Pocket PC Contents 5.
Use Explorer to locate the host computer directory that contains the file to download. Tap that directory in the left pane to display its contents in the right pane.
6.
Drag the desired file(s) from the host computer to the desired mobile device folder.
• Program Files folder: files stored in this folder are discarded after a cold boot. • Application folder: files stored in this folder are retained after a cold boot.
IPL Use IPL to download files onto the wearable terminal, to download customized flash file system partitions to the wearable terminal and load hex files to the flash memory of the wearable terminal. There are two types of update supported by the wearable terminal: partitions and files. The file system used by the wearable terminal is the same as the file system used on a desktop computer. A file is a unit of data that can be accessed using a file name and a location in the file system. When a file is replaced, only the contents of the
Page 143
Application Deployment
7-5 previous file are erased. The operating system must be running for a file to be updated, so the IPL cannot perform individual file updates as it is a stand-alone program that does not require the operating system to be running. A typical partition is a group of files, combined into a single “partition” that represents a specific area of storage. Examples of partitions are the flash file systems such as Platform or Application. (Using the desktop computer comparison, these partitions are roughly equivalent to a C: or D: hard disk drive.) In addition to the “hard disk” partitions, some partitions are used for single items such as the operating system, monitor, or splash screen. (Again using a desktop computer comparison, these partitions are roughly the equivalent of the BIOS or special hidden system files.) When a partition is updated, all data that was previously in its storage region is erased - i.e. it is not a merge but rather a replacement operation. Typically, the operating system is not running when partitions are updated, so IPL can perform partition updates. Partition images for selected partitions can be created by TCM. All partition images suitable for use by IPL are in hex file format for transfer by TCM from the development computer to the wearable terminal. Upgrade requirements:
• The hex files to be downloaded (on development computer) • A connection from the host computer and the wearable terminal (either serial or wireless) • TCM (on development computer) to download the files. Once these requirements are satisfied, the wearable terminal can be upgraded by invoking IPL and navigating the menus. See Sending the Hex Image Using IPL on page 7-11 for procedures on downloading a hex file to the wearable terminal.
Creating Hex Images Terminal Configuration Manager (TCM) is an application used to customize flash file system partitions for the wearable terminal. The most common use is to create an application partition hex file that contains the customer's application. TCM can also be used to load hex files to the flash memory of the wearable terminal. The program resident on the wearable terminal that receives the hex file and burns it to the flash memory is called Initial Program Loader (IPL). The customization of partitions is controlled by TCM scripts. The scripts contain all of the necessary information for building an image. The script is a list of copy commands specifying the files to copy from the development computer to the partition. TCM works with a pair of directory windows, one displaying the script and the other displaying the source files resident on the development computer. Using standard windows drag and drop operations, files can be added and deleted from the script window. The DCP for WT40x0c50 includes scripts used by Zebra to build the standard factory installed Platform and Application partitions provided on the wearable terminal. The standard Platform partition contains drivers while the Application partition contains demo applications and optional components. The standard TCM scripts can be found in the following folder: C:\Program Files\Symbol Device Configuration Packages\WT40x0c50 v1.0\TCM Scripts. NOTE
Before creating a script to build a hex image, identify the files required (system files, drivers, applications, etc.) and locate the files’ source directories to make the script building process easier.
The required processes for building a hex image in TCM include:
• Starting TCM • Defining script properties
Page 144
7-6
WT4070/90 Wearable Terminal Integrator Guide
• Creating the script for the hex image • Building the image • Sending the hex image • Creating a splash screen • Flash storage.
Starting Terminal Configuration Manager Click the Windows start menu TCM icon (Device Configuration Packages, WT40x0c50) to start TCM. The TCM window appears displaying two child windows: Script1 and File Explorer. The Script1 window contains a newly created script and the File Explorer window contains a file explorer view used for selecting files to be placed in the script.
Figure 7-3 TCM Startup Window
The following table lists the components of the TCM window. Table 7-1 TCM Components
Icon
Component
Function
Script Window
Displays the files to be used in the creation of the partition(s).
File Explorer Window
Used to select the files to be added to the script.
Create button
Create a new script file.
Open button
Open an existing script file.
Page 145
Application Deployment
7-7
Table 7-1 TCM Components (Continued)
Icon
Component
Function
Save button
Save the current script file.
Large icons button
View the current script items as large icon.
Small icons button
View the current script items as small icon.
List button
View the current script items as a list.
Details button
View the current script items with more details.
About button
Display version information for TCM.
Properties button
View/change the current script properties.
Build button
Build the current script into a set of hex files.
Check button
Check the script for errors (files not found).
Send button
Download the hex image to the vehicle computer.
Tile button
Arrange the sub-windows in a tiled orientation.
Build and Send
Build the current script into a set of hex images and send the hex images to the vehicle computer.
Preferences button
View/change the global TCM options.
Defining Script Properties Before a script is created, the script properties must be defined. This defines the type of wearable terminal, flash type, number of disks being created and the memory configuration of each disk partition. To define the script properties: 1.
Select the Script window to make it active.
2.
Click the Properties button. The Script Properties window > Partition Data tab appears.
Page 146
7-8
WT4070/90 Wearable Terminal Integrator Guide
Figure 7-4 Script Properties Window - Partition Data Tab 3.
In the Terminal drop-down list, select the terminal type.
4.
Use the default Flash Type.
5.
In the Disks drop-down list, select the number of disk partitions to create.
6.
Select the (memory) Size for each partition. Note that adding space to one disk. partition subtracts it from another.
7.
In the Access drop-down list for each disk partition, determine and select the Read/Write access option.
8.
Click the Options tab. The Script Properties window Options tab appears.
Figure 7-5 Script Properties Window - Options Tab 9.
Set the paths for the Script File, Flash File and Hex File Build.
10. Click OK.
Creating the Script for the Hex Image On start-up, TCM displays the TCM window with the Script1 window and File Explorer window pointing to the following directory: \Program Files\Symbol Device Configuration Packages\MC40x0c\v0.1\TCMScripts\