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 9 of 16

PDT 7200 Series Product Reference Guide for Windows CE: Chapter 6 Configuring the Terminal, pages 78 to 85

Pages 78 to 85 of 139, from PDT 7200 Series Product Reference Guide for Windows CE

The original document is the PDF (1.4 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 Symbol PDT-7200

Page 78

Configuring the Terminal

Creating the Script for the Hex Image On start-up, TCM displays the screen shown on page 5, with the Script1 window and File Explorer window pointing to your system drives. The Script1 Window directory pane displays three volumes: Volume1, Volume2, and Volume3. Depending on the type of flash chip you have, the number of volumes may change. Files can be added to each of the volumes. !

Create a new script file or open an existing script

!

Drag and drop existing files and directories to that script

!

Set the script parameters

!

Save the script

!

Review and modify the script.

Each process is described in the sections that follow.

Open a New or Existing Script Scripts are created in the Script Window. To open a new script: !

Choose New from the File Menu, OR

!

Click on from the tool bar.

To open an existing script (e.g., a standard script provided in the SDK): !

Choose Open from the File Menu and select the script file name, OR

!

Click on

!

Double click on an existing script in the Script Browser window.

from the toolbar and select the script file name, OR

Note: If you open and make changes to an existing script, saving the changes writes over the existing script. If you wish to use an original or Symbol-supplied standard script as a base and save the changes in a new script, use Save As instead of Save after making the changes.

6-9

Page 79

PDT 7200 Series Product Reference Guide for Windows® CE

Copy Components to the Script Copy files from the File Explorer Window to the Script Window using the drag and drop method with the mouse or the Copy command. To copy files or directories to the script being generated: 1. Click on the File Explorer Window to make it the active window. 2. Click on the source directory in the Directory Tree Pane. TCM displays the directory contents in the Contents Pane. 3. Click on the file(s) and/or directory in File Explorer. Note: Optionally, use the standard Windows® Shift+Left-click and Control+Left-click features to select multiple files and directories. 4. Drag and drop the selected file(s) and/or directory from File Explorer to the target directory in the Script Window. OR Click on the target directory and select the File Explorer Copy icon from the toolbar.

Save the Script To save the changes to a new script: 1. From the File menu, choose Save As. OR On the toolbar, click on

.

2. Enter the path and filename. TCM appends a .TCM extension to the script. 3. Choose the OK button. Note: If you save an untitled script, TCM by default saves the script to the directory that the Script Browser is pointing to. To save changes to an existing script: !

From the File menu, choose Save, OR

!

On the toolbar, click

6-10

.

Page 80

Configuring the Terminal

Note: If you open and make changes to an existing script, saving the changes writes over the existing script. If you wish to use an original or Symbol-supplied standard script as a base and save the changes in a new script, use Save As instead of Save after making the changes.

Building the Image As part of the build, TCM performs a check on the script which verifies that all files referenced in the script exist. If the image is bootable, TCM verifies that the boot files are available. Note: Performing a check is more important for previously existing scripts to ensure that files referenced in the script are still in the designated locations. To check a script: 1. In the Script Window, select the script. 2. Save the script, if not already saved. 3. From the Script Menu, choose Check. OR On the toolbar, choose

.

4. TCM verifies that files referenced in the script exist on available drives and lists an error message in the Errors found box for any missing files. 5. Choose the OK button to exit.

6-11

Page 81

PDT 7200 Series Product Reference Guide for Windows® CE

To build a script: 1. In the Script Window, select the script to be built. 2. From the Script menu, select Build. OR On the toolbar, choose

. The Configure Build window appears.

3. Select whether to build the partition table, or one volume. 4. Select ASCII format for your hex image, or Compression, which reduces the size of most hex images in order to speed downloading. Click OK. 5. TCM performs a check. If the script is has no errors, TCM proceeds with the build.

If the Build Fails If the build fails, TCM displays a message indicating which file(s) are missing. If the total amount of flash required by the script exceeds the image size, a TCM error results and the build fails. To correct this, reduce the number of files in the volume, or make the disk non-bootable. Refer to Defining Script Properties on page 6-7 for more information on setting the image size appropriately.

6-12

Page 82

Configuring the Terminal

Creating a Splash Screen To generate a custom splash screen, use a bitmap editor, such as Paintbrush. To create the screen: 1. Create a 16-color bitmap with dimensions of BX x BY where: " BX is less than or equal to 240 pixels " BY is less than or equal to 160 pixels Note: The splash screen is rotated 90º counterclockwise by the terminal prior to display. Therefore, after you create the splash screen, rotate it 90º clockwise. 2. Be sure to create the file with 16 colors, where 4 bits are used for each pixel of data in the file. IPL will not load if the number of bits of data for each pixel (bpp) does not equal 4. 3. After creating the bitmap the .bmp file should be run through a utility “bmptool.bat”, included in the SDK under the SPLASHSCREEN folder.

Sending the Hex Image Once the hex file is built, you are ready to download it to the terminal. A Hex image download requires both TCM and a program loader stored on the terminal. The terminal comes with a program loading utility, Initial Program Loader (IPL), stored in the terminal’s write-protected flash. To run IPL, the terminal must be inserted in a cradle or connected to a host PC by direct serial connection. Refer to Invoking IPL on page 6-16.

Saving the Script If you made changes to the script since last saving it, save the script again.

Connect The Terminal and Development PC To send the hex file to the terminal, first link the terminal and development PC by one of the following devices: !

Direct serial link

!

Cradle (refer to Chapter 4, Cradle Setup and Operation for more information on setting up the cradle).

6-13

Page 83

PDT 7200 Series Product Reference Guide for Windows® CE

Begin the Send in TCM In TCM on the PC: Note: IPL must be invoked before sending the image. 1. Select the script. 2. From the file menu, choose Load Terminal. OR On the toolbar, choose

. The Load Terminal screen displays.

3. If the correct hex file is not displayed in the Hex File to field, click on the browse button and navigate to the correct hex file to be downloaded. 4. Click on the Comm Port pull-down menu and select the COM port being used. Ports already in use display in the Unavailable Ports field. 5. Click on the Baud Rate pull-down menu and select the appropriate baud rate. Your options are 2400, 4800, 9600, 19200, 38400, 57600, 115200. 6. Click on the Protocol pull-down menu and select the XON/XOFF protocol.

6-14

Page 84

Configuring the Terminal

Initial Program Loader (IPL) Initial Program Loader (IPL) is a small utility program that is built into each terminal. The purpose of IPL is to provide a simple method of updating the flash contents via the serial port or cradle. The images that IPL can accept are in the form of “hex” files that contain not only the data to be downloaded to the terminal, but also sufficient extra information to ensure that each hex file contains an image for a single partition. Hex files for standard system components such as the boot loader and Windows® CE Core are provided by Symbol. Hex files for custom components, such as disk images or custom partition maps are built on a PC using the TCM program. IPL is only capable of loading whole partitions (it cannot update individual files in a disk image).

Using the Keyboard Operation of the IPL is controlled by the touchscreen. IPL recognizes the following controls: !

Cursor Up arrow

!

Cursor Down arrow

!

Enter or Trigger

!

Backlight icon

!

Contrast icon (lighter/darker)

The effects of these keys are as follows: Cursor Up/Down Touching the screen on the up/down arrows causes the previous/next item in the menu to be highlighted. Moving off the end of a menu causes a wrap to the other end of the menu list. If the menu is longer than the screen is deep, then screen will automatically scroll up or down to keep the highlighted item visible on the screen. Enter or Trigger

Touching the screen or pressing the trigger causes the currently highlighted item to be selected, and IPL advances to the next screen.

Backlight

Pressing this icon toggles the backlight (if present) between on and off. This icon is always active (even if IPL is not in a menu screen).

Lighter/Darker

Each press of this icon adjusts the screen contrast up. Holding this icon down adjusts the screen contrast down. The keys are always active (even if IPL is not in a menu screen).

6-15

Page 85

PDT 7200 Series Product Reference Guide for Windows® CE

Invoking IPL To deliberately invoke the IPL, hold the trigger while performing a cold boot by pressing and holding the Power Key for the required amount of time. If the trigger is pressed when the terminal is reset, then control is passed to IPL instead of to the Boot Loader. If the trigger is not pressed, then IPL verifies all mandatory partitions to ensure that they are present, and verifies the checksum on all checksummed partitions (IPL, Partition Map, Boot Loader, Splash Screen, and Windows® CE). If any of these partitions is missing or corrupted, then control is automatically passed to IPL instead of the Boot Loader, so that the corrupted data can be reloaded before it causes any problems. If IPL is invoked accidentally, then either reset the terminal again without holding the trigger, or select Run System option in the baud rate menu. When IPL is invoked (by cold booting while pressing the trigger, or by detecting a corrupt flash partition), IPL sounds the beeper to indicate that IPL has been invoked, and displays the Copyright Screen. The terminal displays the copyright screen for three seconds. During this time, IPL is verifying the Partition Map and the mandatory and checksummed partitions. Elan IPL

Ver. x.xx Copyright 2000 Symbol Tech. Flash Type 0818a

The version number on the top of the screen identifies the version of IPL you are using. The flash type at the bottom of the screen identifies the size and type of flash chip installed in the terminal, which you need for your TCM script generation. See Defining Script Properties on page 6-7.

6-16