The text of a manual · part 11 of 40
700 Series Color Mobile Computer User's Manual: Section 3 - Installing Applications and Updating System Software
Pages 76 to 87 of 346, from 700 Series Color Mobile Computer User's Manual
The original document is the PDF (2.9 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.
Filed in the catalog under the Intermec Model 720, Intermec Model 740, Intermec Model 741, Intermec Model 751, Intermec Model 760, Intermec Model 710, Intermec Model 730 and Intermec Model 761
Page 76
Section 3
Installing Applications and Updating System Software "
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
There are multiple ways to get an application to your 700 Series Color Mobile Computer; just as there are multiple ways to package the application for delivery. Use any of the following methods to package an application for installation: For very simple applications, the application itself might be the only file that needs to be delivered. " It could be a directory structure that contains the application, supporting files like ActiveX controls, DLLs, images, sound files, and data files. " Via a CAB file. Consider either of the following when choosing a location into which to store your application: "
"
"
In the basic 700 Series Computer, there are no built-in storage options other than the Object Store. The Object Store is RAM that looks like a disk. Anything copied here will be deleted when a cold-boot is performed on the 700 Series Computer. If the optional SecureDigital or CompactFlash storage card is in the system, then consider this card the primary location for placing an applications install files. The following folders represent either card: The SecureDigital storage card creates the “\SDMMC Disk” folder. The CompactFlash storage card creates the “\Storage Card” folder. Files copied to either of these locations will be safe when a cold-boot is performed on a 700 Series Computer, providing the AutoRun system is installed onto the storage card. You can find this system on the Tools CD. Copying a CAB file to the “\CABFILES” folder on one of these cards will automatically extract that CAB file on every cold boot to ensure that your system is properly set up. See page 3-11 for more details on how this works.
700 Series Color Mobile Computer User’s Manual
3-1
Page 77
Installing Applications and Updating System Software
SECTION 1
Installing Applications Consider any of the following options to get the package to the preferred location on your 700 Series Computer. " " " "
Microsoft ActiveSync FTP Server (page 3-3) Application Manager in Unit Manager (page 3-3) SecureDigital or CompactFlash storage card (page 3-3)
Using Microsoft ActiveSync " NOTE:
These instructions assume that the 700 Color Management Tools portion of the 700 Series Color (700C) Software Tools CD was installed onto your desktop.
The Microsoft ActiveSync tool is located on the 700C Companion CD, which contains Microsoft products, such as Outlook and ActiveSync. See Section 2, “Pocket PC 2002,” for information about this tool as provided by Microsoft Corporation. This can be a serial, USB, Ethernet, InfraRed, or 802.11b ActiveSync connection. Files can then be copied using File Explorer on a PC or a laptop computer. This option is usually only good when updating a few 700 Series Computers. These instructions assume that Microsoft ActiveSync had been installed onto your desktop computer and is up and running. If not, go to Section 2, “Pocket PC 2002,” for an URL from which you can download the latest application. 1. Connect your 700 Series Computer to your desktop computer via an ActiveSync cable or IrDA. 2. Wait for a “Connected” message to appear in the Microsoft ActiveSync application to signal a connection to the 700 Series Computer. If necessary, select File → Get Connected to initiate a connection.
3-2
700 Series Color Mobile Computer User’s Manual
Page 78
Installing Applications and Updating System Software
SECTION 3
3. Click Explore to access the Mobile Device directory on your 700 Series Computer. 4. From your desktop, select Start → Windows Explorer, then browse the applicable path for any of the system files needed for your 700 Series Computer (listed with their paths). Select to highlight the appropriate file, right-click the file for a pop-up menu, then select Copy. " Base operating system files: “C:\Intermec\Intermec 700 Color Mgmt Tools\Drive Images” " CAB files: “C:\Intermec\Intermec 700 Color Mgmt Tools\Cab Files” 5. Within the Mobile Device directory, go to the directory where you want the files located on the 700 Series Computer, do a right-click for a pop-up menu, then select Paste. 6. When all of the files are pasted, perform a warm-boot on the 700 Series Computer. When the computer reboots, wait for the LED on the top left of your keypad to stop blinking. Tap Start → Programs → File Explorer to locate the newly copied executable files, then tap these files to activate their utilities.
Using the FTP Server The 700 Series Computer has a built-in FTP Server that connects to a network via Ethernet or 802.11b. This “ftp”s to the IP address of the 700 Series Computer and places files. The benefit of using FTP is that a script can be created that will automate the process of copying files to the 700 Series Computer. This option is good for when a large number of 700 Series Computers need to be updated. See Section 7, “Programming,” for more information.
Using the Application Manager in Unit Manager This requires the 700 Series Computer to connect to the network via Ethernet or 802.11b. The process is still manual so it would take longer than the FTP method but it would still be a better option than ActiveSync where many 700 Series Computers need to be updated. See the Software Tools Help for information.
Using a Storage Card The following steps pertain to installing an application using a storage card.
Copying to a CompactFlash Card
Follow the steps below to install your application on the device using a CompactFlash storage card: 1. Suspend the 700 Series Color Mobile Computer and remove its CompactFlash drive, which holds a SanDisk CompactFlash storage card. 2. Using a CompactFlash Adapter card, place the CompactFlash Drive in your desktop PC card drive. 3. Create a subdirectory on the PCMCIA CompactFlash drive in which to store your application. 4. Add the autorun system to the storage card using the CEImager application. See the Software Tools Help for information about CEImager. 5. Copy your application, data files, and all required DLLs and drivers to the subdirectory created on the CompactFlash drive. 700 Series Color Mobile Computer User’s Manual
3-3
Page 79
Installing Applications and Updating System Software
SECTION 3
6. Add your application to the AUTOUSER.DAT file on the “\Storage Card\2577” directory that contains the following statement, where your directory is the directory on the CompactFlash storage card where the application was installed, and yourapp.exe is the name of your application. Finish the “RUN=” statement with a carriage return linefeed combination. There may be multiple run statements in the file. RUN=\<your directory>\<yourapp.exe> 7. Remove the CompactFlash drive from your desktop computer and reinstall it into the 700 Series Computer. 8. Warm-boot the 700 Series Computer to add these files to the CompactFlash storage card. If the AUTOUSER.DAT file is found and the “RUN=” statement is correct, then the task manager will launch and execute your program on startup.
Copying to a SecureDigital Storage Card
Do the same steps as for the CompactFlash storage Card, except replace the “\Storage Card\2577” directory with the “\SDMMC Disk\2577” directory.
Updating the System Software " NOTE:
Before performing this update, please ensure that the 700 Series Computer to be updated has a fully charged battery. A power failure during the update will corrupt the computer flash, thus the computer would not boot. You will have to send the 700 Series Computer to service to recover the computer flash.
Use any of the following instructions to update your 700 Series Computer: " "
Microsoft ActiveSync SecureDigital or CompactFlash storage card (page 3-6)
Updating with Microsoft ActiveSync " NOTE:
These instructions assume that the 700 Color Management Tools portion of the 700 Series Color (700C) Tools CD was installed onto your desktop.
The Microsoft ActiveSync tool is located on the 700C Companion CD, which contains Microsoft products, such as Outlook and ActiveSync. See Section 2, “Pocket PC 2002,” for information about this tool as provided by Microsoft Corporation. This can be a serial, USB, Ethernet, or 802.11b ActiveSync connection. Files can then be copied using File Explorer on a PC or laptop computer. This option is usually only good when updating a few 700 Series Computers. The upgrade will install the latest version of bootloader and operating system. To see what version is on your 700 Series Computer, tap Start → Internet Explorer → the Intermec logo.
3-4
700 Series Color Mobile Computer User’s Manual
Page 80
SECTION 3
Installing Applications and Updating System Software
These instructions assume that Microsoft ActiveSync had been installed onto your desktop computer and is up and running. If not, go to Section 2, “Pocket PC 2002,” for an URL from which you can download the latest application. Use Microsoft ActiveSync to update the bootloader in the Flash ROM on the 700 Series Computer as instructed below: 1. Connect your 700 Series Computer to your desktop computer via an ActiveSync cable or IrDA. 2. Wait for a “Connected” message to appear in the Microsoft ActiveSync application to signal a connection to the 700 Series Computer. If necessary, select File → Get Connected to initiate a connection (see page 3-2). 3. Click Explore to access the Mobile Device directory on your 700 Series Computer. 4. From your desktop, select Start → Windows Explorer to browse the “C:\Intermec\Intermec 700 Color Mgmt Tools\Drive Images” directory. Select to highlight the appropriate file, right-click the file for a pop-up menu, then select Copy. " If you want to update both the bootloader and the operating system image on your 700 Series Computer, then double-click the “\AutoFlash” folder, and copy the AUTOFLASH.NB0 file. " If you want to update a particular region in your operating system, then double-click the “\BinBackup” folder and copy the respective .BIN file and the EFLASH.EXE executable file. See page 3-6 for more information about EFlash. " To update just the bootloader, double-click the “\Eboot” folder and copy the EBOOT.NB0 file. 5. Within the Mobile Device directory, go to the root of the 700 Series Computer, do a right-click for a pop-up menu, then select Paste. 6. From the 700 Series Computer, tap Start → Programs → File Explorer. Tap My Documents → My Device, then double-tap EFLASH.EXE to execute the flash. Do not cold-boot the 700 Series Computer as instructed via the Flash program. 7. If the 700 Series Computer has a laser scanner and a S9CUPGRADEUTILITY.CAB file is in the “\Intermec 700 Color Mgmt Tools\Cab Files\Programs” directory on the 700C Tools CD, you will need to upgrade the scanner firmware. Copy this CAB file to the 700 Series Computer, then extract this file. The S9CUpgradeUtility application will start automatically. Tap Upgrade to initiate the process. 8. Copy any of the additional system files needed for your 700 Series Computer (listed with their paths): " Base operating system files: “C:\Intermec\Intermec 700 Color Mgmt Tools\Drive Images” " CAB files: “C:\Intermec\Intermec 700 Color Mgmt Tools\Cab Files” 9. When all of the files are pasted, perform a cold-boot on the 700 Series Computer. When the computer reboots, wait for the LED on the top left of your keypad to stop blinking. Tap Start → Programs → File Explorer to locate the newly copied executable files, then tap these files to activate their utilities. After the update, you can remove the AUTOFLASH.NB0, EFLASH.EXE, or EBOOT.NB0 file from the 700 Series Computer. 700 Series Color Mobile Computer User’s Manual
3-5
Page 81
Installing Applications and Updating System Software
SECTION 3
Updating with a Storage Card To update the 700 Series Computer image, copy the AUTOFLASH.NB0 file to either a CompactFlash or SecureDigital storage card, insert this card into the 700 Series Computer, then perform a cold-boot (or hard reboot) on the 700 Series Computer. Do the following to automatically update the system software on a 700 Series Computer. Note that the 700 Series Computer needs to be on power while upgrading the operating system to prevent corrupting the ROM. Should ROM be corrupted, you will have to send your 700 Series Computer in to be serviced. 1. Copy the AUTOFLASH.NB0, FLASHKBD.EXE, and 740CUP.KBF files to the root of either the SecureDigital or CompactFlash storage card. See page 3-2 to choose a method with which to copy these files. 2. Place AUTORUN.EXE and AUTORUN.DAT in the “\2577” directory on the storage card. 3. Put FLASHKBD.EXE and 740CUP.KBF in the “\Update” directory on the SecureDigital storage card or the “\Update” directory on the CompactFlash storage card. 4. Edit the AUTORUN.DAT file to include the following command. Include “SDMMC Disk” if you are using a SecureDigital storage card, or “Storage Card” if you are using a CompactFlash storage card: RUN
" NOTE:
“\SDMMC Disk\Update\FlashKbd.exe” \SDMMC Disk\Update\740cup.kbf
Use quotes in the first path, do not include quote marks in the second path.
5. Perform a cold-boot on the 700 Series Computer. The Autoflash procedure will automatically start on the cold-boot. The 700 Series Computer will cold-boot again when the process is complete. 6. The files that were copied to the storage card can now be deleted.
EFlash EFlash is a process that reflashes the Pocket PC operating system, in whole or in part, to nonvolatile flash memory. Its primary purpose is to install operating system upgrades on ROM-based systems. The biggest advantage EFlash has over other flashing techniques is that it can be run remotely over FTP (or other remote support service) and requires no user interaction at the level of the 700 Series Computer. Thus system upgrades can be managed from a remote central location. Normally, this would be done offduty while 700 Series Computers are docked. EFlash also has the advantage in that there is no restriction as to what part of the system can be upgraded.
3-6
700 Series Color Mobile Computer User’s Manual
Page 82
Installing Applications and Updating System Software
SECTION 3
How it Works An upgrade file must exist in the root of the Object Store or the root of a storage card, such as CompactFlash or SecureDigital. EFlash supports BIN, LST, and NB0 files (see “File Types” on page 3-8). 1. When EFLASH.EXE is executed on a 700 Series Computer, as described in step 4 on page 3-5, the following dialog appears with a list of available upgrade files. Select the file to be flashed onto the 700 Series Computer, then tap the appropriate button, then tap EFlash to flash the selected file. CF To flash the upgrade file onto a CompactFlash storage card. SDMMC To flash the upgrade file onto a SecureDigital storage card. OS To flash the upgrade file into the root of the Object Store directory.
The name of the desired upgrade file can also be supplied via a command line argument, like the following example. Using the command line argument to specify an upgrade file bypasses the selection dialogue. EFLASH -F\sdmmc disk\misc.bin
2. After selecting an upgrade file, the file is copied into memory and a special warm boot is performed. During this warm boot, the file that was copied into memory is written to flash according to the rules of the file type selected. 3. Once the reflash is completed without error, a cold boot is performed, a standard procedure. Note that data in volatile RAM will be lost during this cold-boot. After the cold-boot, the 700 Series Computer is ready for use. 4. If this process is done remotely, download the upgrade file before running the EFlash process. This process will usually execute remotely with the downloaded upgrade file included as a command line argument. 700 Series Color Mobile Computer User’s Manual
3-7
Page 83
Installing Applications and Updating System Software
SECTION 3
File Types
EFlash supports BIN, LST, and NB0 files. Their characteristics are as follows: BIN A file with an extension of .BIN also contains ROM image data, but is more compact than an NB0. A BIN file includes only the ROM data, which needs to be programmed, eliminating large areas of unnecessary programming. BIN files also contain information as to where exactly the ROM data is to be placed in flash as well as error detection. BIN files are the most common type of upgrade file. LST A file with an extension of .LST is simply an ASCII text file containing zero or more BIN and NB0 files to be flashed. Use this type of file when you want to reflash more than one upgrade file in a single session. Only BIN and NB0 files can be in the list file. You cannot call a list file from within another list file. NB0 (NBzero) A file with an extension of .NB0 is a binary ROM image. Its contents are an exact copy of how flash should look after it is written. These files tend to be bigger than BIN files and have less error checking and are thus less desirable than the BIN files. NB0 files are always written starting at the beginning of flash. The boot loader is typically an NB0 file.
Command Line Syntax
EFlash can be invoked as process with the following syntax: EFlash
[-f<filename>] where the optional - f<filename> argument specifies the file to flash (BIN, LST, or NB0). When specified, EFlash bypasses the file selection dialog and runs in noninteractive mode.
IFTP Server Command Line Syntax
EFlash can be invoked as process with the following syntax after logging into a 700 Series Computer using any conventional FTP client that allows interactive mode. The following site command can be used with Microsoft FTP Client: ftp> QUOTE SITE RUN [program] [arguments]
An example of a session is as follows: C:\>ftp 136.179.84.165 Connected to 136.179.84.165. 220 Connected to Intermec IFTP Server. Version 2.01. User (136.179.84.165:(none)): intermec 331 Password required! Password: cr52401 230-============================ Intermec FTP Server ready! Version 2.01. WINCE 00C0B26E8C47 6024866 740 Binary transfer mode only! ============================ 230 Logon successful. ftp> put \kernel.bin 200 Port command successful. 150 STOR: Command accepted! 226 Transfer Complete. ftp: 2341747 bytes sent in 40.31Seconds 58.10Kbytes/sec. ftp> ftp> quote site run \windows\eflash.exe -f\kernel.bin 250 \eflash.exe launched, process id is 0x4053038E ftp>ls Connection closed by remote host.
3-8
700 Series Color Mobile Computer User’s Manual
Page 84
Installing Applications and Updating System Software
SECTION 3
Application Migration " NOTE:
These instructions assume that the 700 Color Management Tools portion of the 700C Tools CD was installed onto your desktop and that a storage card has been added to the base configuration of the 700 Color Computer.
The following steps are required to ensure that the following will happen on a cold-boot: " CAB files can be restored, " applications will automatically start, " and the registry will be restored. Do the following for the cold-boot procedure: 1. From your desktop, double-click the Intermec CE Imager desktop icon to access the Intermec CEImager application. If this icon is not on your desktop, then double-click the CEIMAGER.EXE executable from the “C:\Intermec\Intermec 700 Color Mgmt Tools\Tools\CEImager” folder. 2. Click Default under Components List to activate the components. 3. Click (+) to expand the AutoRun System component, click (+) to expand the Destination Media option, then select either the CompactFlash Card option or the SecureDigital Card option. Do not select both storage cards, as the AutoRun files copied will work for one storage card, but not work on the other storage card.
4. Click Install to install the AUTORUN files onto the storage card. 5. Create a “\Cabfiles” folder on the storage card. Copy any CAB files that are to be extracted on every startup into this folder. 700 Series Color Mobile Computer User’s Manual
3-9
Page 85
Installing Applications and Updating System Software
SECTION 3
6. In the “\2577” directory, add your custom AUTOUSER.DAT file. See the Software Tools Help for more information on how to set up an AUTOUSER.DAT file. 7. If you are using the RegFlushKey() API, the application must use a special API to make sure the registry is written to the appropriate card; or you can use the Utilities control panel applet, as follows: a. From the 700 Series Computer, tap Start → Settings → the Utilities icon → the Registry Save tab. b. Tap Enable Registry Storage, then tap either of the following: Save Registry to SD To write the registry to the SecureDigital storage card. Save Registry to CF To write the registry to the CompactFlash storage card. c. Tap ok to save your entry and exit the Utilities control panel applet.
" NOTE:
If you are using a SecureDigital storage card, you must change any disk access from “Storage Card” to “SDMMC Disk.”
8. Remove the storage card from the desktop PC and install the card into the 700 Series Color Computer. 9. Perform a cold-boot on the 700 Series Color Computer. Files will automatically install from the storage card upon reboot. Any calls to the RegFlushKey() API will automatically write the registry to the appropriate location. When converting a 700 Series Monochrome Computer application to run on the 700 Series Color Computer, most APIs should work without changes. Below are a few exceptions: " The 700 Series Monochrome Computer used the “\Storage Card” folder for nonvolatile storage. You may need to change the application to store data in a volatile location or onto the “SDMMC Disk” if a SecureDigital storage card is present in the system. " If the application uses the RegFlushKey() API, it must first verify that the proper media is available in the system and call the special API mentioned in Step 7 on the previous page. " If the application will be using the 700 Color switchable dock, use the API to set the proper port on the dock before communications. 3-10
700 Series Color Mobile Computer User’s Manual
Page 86
Installing Applications and Updating System Software
SECTION 3
"
"
"
Some WAN radio options have changed. Review the WAN radio section to determine if any changes will be required in your application. The arrow and tab keys are swapped from the way they were on the 700 Series Monochrome Computers. Keyboard remapping is available on the 700 Series Color Computer if these keys need to be changed. See page 3-4 for more details. No special SDK is needed to compile applications for the Xscale processor. Targeting the SA1110 processor will create applications that run on the 700 Series Color Computer.
Cabinet File Installation CAB files (short for cabinet files) are like .ZIP files, plus they register DLLs, create shortcuts, modify registry entries, and run custom set up programs. Tap a CAB file to extract that file or place the CAB file on one of the approved storage devices in the “\Cab Files” folder, then perform a warm-boot on the 700 Series Computer. There are two methods available to extract a CAB file: "
"
Tap a CAB file to extract it. When using this method, the CAB file is automatically deleted when the extraction process is successful, unless the CAB file is set with the read-only attribute. Use the AUTOCAB method where all files are extracted when a cold-boot is performed on the 700 Series Computer. This AutoCab application is on the Tools CD, see its “Software Tools Help” for more information.
700 Series Color Mobile Computer User’s Manual
3-11
Page 87
Installing Applications and Updating System Software
3-12
700 Series Color Mobile Computer User’s Manual
SECTION 3