The text of a manual · part 9 of 42
JANUS 2050 Vehicle-Mount Computer (4MB) User's Manual, pages 81 to 90
Pages 81 to 90 of 419
The original document is the PDF (2.0 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 Intermec J2050
Page 81
JANUS 2050 Vehicle-Mount Computer User’s Manual (4MB) CD39nugg where: path\ is the drive and directory of the file(s) you want loaded. filename is the name of the file(s) you want to load. You can specify more than one file, or use path\*.* to load all the files from a specified directory. Note: All existing files on drive C remain intact, unless they are replaced by new files with the same name. 2. Once you have typed in one of the LOAD commands, press e and follow any instructions displayed on the host computer’s screen. The auto-load procedure uses the Interlnk/Intersvr utilities to communicate with the JANUS 2050. 3. When the Intersvr screen appears on the host computer, perform a warm boot on the JANUS 2050 to begin executing Interlnk. 4. The JANUS 2050 drive C is updated with the files contained in the image file. After drive C is updated, the JANUS 2050 reboots automatically. 5. Press a - o to exit Intersvr on the host computer. Interlnk will still be loaded in memory on the JANUS 2050. If you need the memory, perform a warm boot on the JANUS 2050. The auto-load process saves all the files included in the drive C image file to the subdirectory NEWDRV_C\C_FINAL on the host computer. This subdirectory is overwritten each time a LOAD or MAKE batch file executes. The auto-load process also creates a copy of the new drive C image file and saves it in the file NEWDRV_C\IMAGE\DRIVEC.IMG on the host computer. You can load this image file onto another JANUS 2050. Enter the following command on the host computer: loadximg
Follow Steps 2 through 5 above to use Interlnk/Intersvr and load the image file on the JANUS 2050 drive C. Note: Any files residing on drive C are overwritten.
Creating an Image File You use the Auto-Loader MAKE batch files to create an image file and save it on the host computer. You do not have to connect the JANUS 2050 to the host computer when using the MAKE batch files. The image file is saved to NEWDRV_C\IMAGE\DRIVEC.IMG. Once you have created the image file, you can load the same image on one or more JANUS 2050s at a later date.
3-18
Page 82
nuggJVMUUsing the JANUS 2050 Software
3
All of the MAKE and LOAD batch files save the image file to the file NEWDRV_C\IMAGE\DRIVEC.IMG. This file allows you to create multiple drive C image files for two or more JANUS 2050s. If you are going to create more than one image file, you need to rename each image file after you create it. Otherwise, it is overwritten the next time you create a LOAD or MAKE batch file. Note: The Auto-Loader batch files must be installed on your host computer before you create an image file. For instructions and more information, see “Installing AutoLoader” earlier in this chapter. To create an image file 1. The default startup files are installed on your host computer in the subdirectory C_FILES\COMMON. You can create an image file that contains only the startup files, or an image file that contains other files in addition to the startup files. Use one of the following commands on the host computer to create the image file: •
To create an image file containing the startup files in the subdirectory C_FILES\COMMON and save it on the host computer, type one of the following commands on the host computer. If the JANUS 2050 is going to operate in English, type: make_usa
If the JANUS 2050 is going to operate in a language other than English, type: makelang
•
To create an image file containing the startup files in the subdirectory C_FILES\COMMON plus any additional files you specify, type the following command on the host computer: makenew {[path\][filename1]
[path\][filename2]} ...
where: path\ is the drive and directory of the file(s) you want to include in the image file. filename is the name of the file(s) you want to include in the image file. You can specify more than one file or use path\*.* to load all the files from the specified directory. 2. Once you have typed in one of the MAKE commands, press e . The image file is saved to the file DRIVEC.IMG on the subdirectory NEWDRV_C\IMAGE on your host computer. 3. To create another image file, rename the file DRIVEC.IMG. Then repeat Steps 1 and 2 to create a different image file.
3-19
Page 83
JANUS 2050 Vehicle-Mount Computer User’s Manual (4MB) CD39nugg
To load the image file on the JANUS 2050 drive C, continue with the next instructions for “Loading an Existing Image File.”
Loading an Existing Image File Once you have created an image file and stored it on your host computer, you can load the image file on the JANUS 2050 drive C. This procedure allows you to load an image file onto multiple JANUS 2050s. To create an image file, see the instructions for “Creating an Image File” earlier in this chapter. Before loading an existing image file, connect the JANUS 2050 to the host computer. Note: Any files residing on drive C are overwritten. To load an existing image file 1. Use one of the following commands to load an existing image file: •
To load an image file you have created with one of the MAKE batch files or by running a previous LOAD batch file, type the following command on the host computer: loadimg {[path\][filename]} where: path is the drive and directory of the file you want to load. filename is the name of the file you want to load. •
To load the image file NEWDRV_C\IMAGE\DRIVEC.IMG, type the following command on the host computer: loadximg
2. Once you have typed in one of the LOAD commands, press e and follow any instructions displayed on the host computer’s screen. The auto-load procedure uses Interlnk/Intersvr to communicate with the JANUS 2050. 3. When the Intersvr screen appears on the host computer, perform a warm boot on the JANUS 2050 to begin executing Interlnk. 4. The JANUS 2050 drive C is updated with the files contained in the image file. After drive C is updated, the JANUS 2050 reboots automatically. 5. Press a - o to exit Intersvr on the host computer. Interlnk will still be loaded in memory on the JANUS 2050. If you need the memory, perform a warm boot on the JANUS 2050.
3-20
Page 84
nuggJVMUUsing the JANUS 2050 Software
3
Using MakeDisk and PutDisk to Change Drives C or D You can use the MakeDisk and PutDisk utilities to perform these tasks on your 4MB JANUS device: •
Adding or editing files on drives C or D.
•
Replacing some files on drives C or D.
•
Replacing all of the files on drives C or D.
•
Deleting files from drives C or D.
Follow these steps, which the next sections describe in detail: 1. Create a working directory and fill it with files for drive C or D. 2. Create the new image file with MakeDisk. 3. Load the new image file onto the JANUS device with PutDisk. Note: Due to its large size, MakeDisk is not loaded on drive D. You must copy the self-expanding executable C_MAKE.EXE from the Boot Utilities companion disk to a drive on the host PC and run C_MAKE.EXE. After running C_MAKE.EXE, delete all of the extracted files except for MAKEDISK.EXE. Caution Do not run any Intermec-provided JANUS application programs (such as IC.EXE) on your PC. Also, do not run any .EXE programs that use Intermec interrupt extensions or libraries on your PC. These programs will lock up your PC and may corrupt the PC BIOS. Conseil N'exécutez pas sur votre PC de programmes d'application JANUS fournis par Intermec (tels que IC.EXE). N'exécutez pas non plus sur votre PC de programmes .EXE qui utilisent des bibiothèques ou des extensions d'interruption car ces programmes bloqueront votre PC et pourraient corrompre le BIOS du PC.
Deciding Where to Run MakeDisk You can run MakeDisk: • on the RAM drive. If you want to make images larger than 256K on the RAM drive, you need to change your CONFIG.SYS file to enlarge the drive. Use the following to estimate the amount of space needed to create a RAM drive for running MakeDisk.
3-21
Page 85
JANUS 2050 Vehicle-Mount Computer User’s Manual (4MB) CD39nugg
Note: On drive C you need to allocate space for your files, plus 15K, plus 512 bytes overhead per file, and 135K for the MS-DOS system files. Note: On drive D you can omit the 135K for the MS-DOS system files. • on a PC card inserted into the JANUS device.
• on a host computer with or without Interlnk. With Interlnk You can use Interlnk to copy files from drives C or D to the host’s working directory and then copy MAKEDISK.EXE to a working directory on the host computer. You can then run MakeDisk on the host computer. For more information on using Interlnk, see your JANUS user’s manual. Without Interlnk You can run MakeDisk on the host computer without Interlnk if you copy MAKEDISK.EXE to a working directory on the host computer. You can also use the DOS COPY commands to copy additional files from the companion disks instead of from drives C or D.
Creating and Filling the Working Source Directory 1. Create a working source directory where you will store the files you want on drives C or D. Since the use of subdirectories is fully supported by MakeDisk, you can create and populate subdirectories in the working source directory. 2. Create or copy files to the working directory. You can create or copy a maximum of 125 files to the drive C root directory or 128 files to drive D root directory. You can create or copy an infinite number of files to subdirectories below the root directory, provided they can fit in the allocated drive space. •
If you are adding new files to drives C or D, copy all files currently on drives C or D as well as the new files to the working directory and its subdirectories.
•
If you are changing or replacing some of the existing files on drives C or D, copy all files currently on drives C or D to the working directory and its subdirectories. Edit the files you want to change or replace.
•
If you are replacing all files on drives C or D, copy the files you want on drives C or D to the working directory and its subdirectories.
•
If you are deleting files from drives C or D, copy all files currently on drives C or D to the working directory and its subdirectories. Delete the files you want to remove from drives C or D.
You can use the DOS COPY command to copy files from the companion disks, or you can use Interlnk to copy files from the JANUS drives C or D.
3-22
Page 86
nuggJVMUUsing the JANUS 2050 Software
3
Creating the New Image File Create the image file by typing the command: makedisk /s=[path] {/o=[output file] /d=[drvletter]} where: path specifies the directory that contains the files for the image file. This directory is called the source directory. The path parameter is required. You may choose to include the drive letter if the source directory resides on another drive. For example, you could enter A:\JANUS\IMAGE as the path. If you do not specify the path correctly, the command fails.
output file specifies the full path and name of the image file to create. If you do not include this parameter, the image file is called DRIVE_C.IMG (DRIVE_D.IMG if you specified /d=d) and is placed in the current working directory. The output file parameter is optional.
drvletter specifies the target JANUS drive, either C or D. The default is drive C. The drvletter parameter is optional.
All files in the source directory are placed into the image file, including hidden and read-only files. If subdirectories exist, they are also incorporated in the image file. Note: If you have problems running MakeDisk or PutDisk, see Chapter 8 “Troubleshooting.”
Loading the New Image File Note: When you run PutDisk, all files on drives C or D are overwritten. Be sure to back up any files you want to keep before you continue. 1. Connect the JANUS device to the host computer. 2. If you created the image file on the host computer and want to load it to the JANUS device from the host, start Interlnk now (with the host as server, and the JANUS device as client). Note: You can simply reboot the JANUS device after the connected host has Interlnk installed.
3-23
Page 87
JANUS 2050 Vehicle-Mount Computer User’s Manual (4MB) CD39nugg
You do not have to start Interlnk if you followed one of these strategies: •
You created the image file on the JANUS device.
•
You created the image file on the host computer, copied the file to a PC card, and inserted the PC card into the JANUS device.
3. Type this command on the JANUS device: putdisk /d=[drvletter] /i=[image filename] where: drvletter is the target JANUS drive to be updated. The default is drive C.
image filename is the name of the drives C or D image file created by MakeDisk. If you do not specify a path and filename, PutDisk looks for DRIVE_C.IMG.
You may receive error messages in the following conditions: •
If the specified file does not exist, PutDisk displays an error message and terminates.
•
If you specify a path without a file name, PutDisk also displays an error message.
•
PutDisk generates an error message if you attempt to put a DRIVE_C.IMG on drive D or a DRIVE_D.IMG on drive C.
Note: PutDisk will overwrite all files on drives C or D. For example, to copy the C-ATA.IMG image file from a PC card on the JANUS device to the JANUS drive C, type this command: putdisk /i=g:\c-ata.img PutDisk tries to determine if there is adequate power before replacing the drive image. If a power problem exists, PutDisk displays an error message and terminates. You see messages on the JANUS device as PutDisk updates drives C or D, erases flash memory, and copies the DOS and new drives C or D image file to the JANUS device, and warm boots the JANUS device. If an error occurs, see Chapter 8, “Troubleshooting.”
Examples of Using MakeDisk and PutDisk Following are three examples of how you can use MakeDisk and PutDisk to change the contents of drives C or D: •
3-24
In the first example, you run MakeDisk on the host, transfer the image file to the JANUS device on a PC card, and run PutDisk on the JANUS device to load the image file to drive C.
Page 88
nuggJVMUUsing the JANUS 2050 Software
3
•
In the second example, you run MakeDisk on the host, use Interlnk to make the image file appear as if it were on the JANUS device, and run PutDisk on the JANUS device.
•
In the third example, you run MakeDisk on the host, transfer the image file to the JANUS device on a PC card, and run PutDisk on the JANUS device to load the image file to drive D.
Example 1 In this example, the resulting image file will be larger than 256K, so you must create the image file on the host computer if the JANUS RAM drive is configured at 256K (factory default). This example assumes that the host computer and the JANUS device can share a PC card. 1. Connect the JANUS device to a host computer using an appropriate serial connection. 2. Create a source directory on the host computer by typing this command at the host computer’s DOS prompt: mkdir c:\drivec
3. Fill the source directory with all the files you want to include in the new image file: a. Copy the files from the current drive C to the source directory. Because the host computer and JANUS device can share a PC card, you can insert the card into the JANUS PC card drive and copy all files from drive C to drive G. Then insert the card into the host computer’s PC card drive and copy all the files to the source directory. b. Add any other files and/or subdirectories to the working directory that you want on drive C. These files may include source read-only data files and applications for your JANUS device. c. Edit AUTOEXEC.BAT, CONFIG.SYS, and other files in the source directory as necessary. 4. Insert the JANUS Boot Utilities companion disk into a drive on the host PC. 5. Copy the self-expanding executable C_MAKE.EXE to drive C on the host PC by typing: copy a:\c_make.exe c:\
6
Run C_MAKE.EXE and delete all of the extracted files except for MAKEDISK.EXE.
7. Type this command at the host computer’s DOS prompt: makedisk /s=c:\drivec /o=newdrv.img
An image file, NEWDRV.IMG, is created in the working directory of the host computer’s drive C.
3-25
Page 89
JANUS 2050 Vehicle-Mount Computer User’s Manual (4MB) CD39nugg
Note: Do not create the image file in the directory where the source files reside. 8. Copy the image file from the host computer to the PC card and then insert the PC card into the JANUS PC card drive, drive G. Note: It is recommended that you provide an external power supply for the JANUS device before you execute PutDisk. 9. At the DOS prompt on the JANUS device, type this command to load the new image file onto drive C. putdisk /i=g:\newdrv.img
Example 2 In this example, you create the image file on the host computer, use Interlnk to make the image file appear as if it were on the JANUS device, and use PutDisk to load the image file to drive C. 1. Connect the JANUS device to a host computer using an appropriate serial connection. 2. Create a source directory on the host computer by typing this command at the host computer’s DOS prompt: mkdir c:\drivec
3. Fill the source directory with all the files you want to include in the new image file: a. Copy the files from the current JANUS drive C to the source directory on the host PC. Use Interlnk with the host computer as the client and the JANUS device as the server. b. Add any other files to the source directory that you want on drive C. These files may include read-only data files and applications for your JANUS device. Note: Do not create the image file in the directory where the source files reside. c. Edit AUTOEXEC.BAT, CONFIG.SYS, and other files in the source directory as necessary. 4. Insert the JANUS Boot Utilities companion disk into a drive on the host PC. 5. Copy the self-expanding executable C_MAKE.EXE to drive C on the host PC by typing: copy a:\c_make.exe c:\
6
3-26
Run C_MAKE.EXE and delete all of the extracted files except for MAKEDISK.EXE.
Page 90
nuggJVMUUsing the JANUS 2050 Software
3
7. Type this command at the host computer’s DOS prompt: makedisk /s=c:\drivec /o=newdrv.img
MakeDisk creates an image file, NEWDRV.IMG, in the working directory of the host computer’s drive C. 8. Restart Interlnk. Make the JANUS device the client, and the host computer the server. The new image file, NEWDRV.IMG, appears on the drive H root directory. 9. At the DOS prompt on the JANUS device, type this command to load the image file to drive C. putdisk /i=h:\newdrv.img
Example 3 In this example, the resulting image file will update drive D. Since the image file will be larger than 256K, you must create the image file on the host computer if the JANUS RAM drive is configured at 256K (factory default). This example assumes that the host computer and your JANUS device can share a PC card. 1. Connect the JANUS device to a host computer using an appropriate serial connection. 2
Create a source directory on the host computer by typing this command at the host computer’s DOS prompt: mkdir c:\drived
3. Fill the source directory with all the files you want to include in the new image file: a. Copy the files from the current drive D to the source directory. Because the host computer and your JANUS device can share a PC card, you can insert the card into the JANUS PC card drive and copy all files from drive D to drive G. Then insert the card into the host computer’s PC card drive and copy all the files to the source directory. b. Add any other files and/or subdirectories to the source directory that you want on drive D. These files may include read-only data files and applications for your JANUS device. 4. Insert the JANUS Boot Utilities companion disk into a drive on the host PC. 5. Copy the self-expanding executable C_MAKE.EXE to drive C on the host PC by typing: copy a:\c_make.exe c:\
6
Run C_MAKE.EXE and delete all of the extracted files except for MAKEDISK.EXE.
3-27