The text of a manual · part 5 of 7
6220 Hand-Held Computer Technical Reference, pages 41 to 50
Pages 41 to 50 of 70
The original document is the PDF (358 KB). 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 6220
Page 41
SECTION 4
System Information
Prerequisites " " "
" NOTE:
AN Intermec host PC and associated network. An application that supports the flash soft downloading. A soft download include file contained on diskette #1 of the flash release kit: either 6220FL2A.INC or 6620FF2A.INC.
If certain that all the terminals being reflashed currently contain the previous release of the 6220FL2A flash, then use 6620FL2A.INC to quickly update to this version. Otherwise, use the 6220FF2A.INC full flash soft-download file.
Procedure Use this procedure to reflash a 6220 Computer via an application softĆdownload. 1. Copy the appropriate softĆdownload file to the network download directory for the host PC. 2. Set up the download specifications for the application, such that the apĆ propriate softĆdownload file is downloaded when a different version of flash is detected by the application. Details for this step should be documented with the application. 3. Perform a typical application download. During the reboot that occurs after that TCOM, the flash will be updated automatically.
Updating Flash using INTERLNK Use this procedure to reflash a 6220 Computer using a serial connection between the 6220 Computer and a DOSĆbased PC.
Prerequisites "
A PC with MS-DOS 5 (or greater) installed. Note that PCs with Windows 95 and Windows 98 do not come with INTERLNK and do not work well with it.
"
"
A serial cable connection between the PC and the 6220 Computer. This could be a connection to the 15Ćpin D-Sub or to a single dock in which the 6220 Computer is resting. The selfĆextracting executable contained on diskette #2 of the flash release kit, 230125-2.EXE. Note the BBS file equivalent has a different name.
Procedure 1. On the 6220 Computer, press and release the reset button, then press and hold F4. Once booted to Norand Utilities, release F4. 2. Press Yes to go to the main menu of Norand Utilities. 3. Press [2], then [6], to configure INTERSVR for the COMM SETTING. 4. Press [1] to begin a COMM session. If INTERLNK is not loaded on the PC, you first need to add the following line to CONFIG.SYS, then reboot. DEVICE=C:\DOS\INTERLNK.EXE /NOSCAN
5. Using a cabled connection to the PC, run INTERLNK on the PC to connect to drive C of the 6220 Computer. For example, mapping a nonĆexistent PC drive (such as E), sets up drive E as the PC drive connection to drive C of the 6220 Computer. This will connect PC drive E: with 6220 drive C:. INTERLNK E=C 6220 Hand-Held Computer Technical Reference
4-3
Page 42
System Information
" NOTE:
SECTION 4
If INTERLNK is run with no drive letters first, the available drive letters will be displayed.
6. Build a temporary directory on the PC to contain files required to reflash the 6220 Computers. C: CD C:\ MD 6220FLSH CD 6220FLSH ..\230125-2
7. Copy the reflash code to the 6220 RAM drive. Copy IFL\*.* E:\ /Y
8. Reset the 6220 Computer. Place it on charge if not already done so. Press [5] to reflash as prompted.
Updating Flash Using an ATA Card Use this procedure to prepare a bootable ATA card to reflash the 6220 Computer.
Prerequisites " " " "
"
A PC with either Windows 95 or Windows 98 installed. A PC Card slot (in the PC). For this example, drive D:. A partitioned ATA card (usually partitioned, formatted by manufacturer). A directory with the flash release files contained within. For this example, C:\6220FLSH. The appropriate selfĆextracting executable from diskette #2 of the flash reĆ lease kit, 230125-2.EXE.
Procedure to Build an ATA Card 1. Build a temporary directory to hold the files required to build a boot card. C: CD C:\ MD 6220FLSH CD 6220FLSH ..\230125-2
2. Format the ATA card without any operating system components. The /U switch ensure that all previous data is destroyed and that read and write erĆ rors are checked. However, this does prevent the card being unreformatted afterwards. FORMAT /U d:
3. Add the MS-DOS 6.22 components to the card. Note that COMMAND.COM, IO.SYS, and MSDOS.SYS must reside in the current directory with the SYS6.COM program. SYS6 d:
4. Copy the additional files required to perform the reflash process onto the formatted ATA card. COPY IFL\*.* d:
Procedure to Reflash with an ATA Card To boot the ATA card. place the card in either 6220 PC card slot, then press and release the reset button. Follow the display prompts to update the 6220 flash. 4-4
6220 Hand-Held Computer Technical Reference
Page 43
SECTION 4
System Information
Updating Flash Using a 4 MB SRAM Card Do this procedure to prepare a 4 MB bootable SRAM card to reflash a 6220 ComĆ puter. You can use an SRAM card to reprogram the 6620 Computer flash even if the flash is corrupted or perhaps never programmed.
Prerequisites " " "
" "
A PC with either Windows 95 or Windows 98. A PC Card slot (in the PC). For this example, drive D: A directory with the flash release files contained within. For this example, C:\6220FLSH. A 4 MB SRAM card. SelfĆextracting executable from diskette #3 of the flash release kit, 230125-3.EXE.
Procedure to Build IFL SRAM Card Use this procedure to build an SRAM IFL card: 1. Build a temporary directory to hold the files required to build a boot card. C: CD C:\ MD \6220FLSH CD \6220FLSH ..\230125-3
2. Format the SRAM card and verify that FORMAT indicates a 4 MB card. FORMAT /U d:
3. Reprogram the card with the IFL card image: DD 6220FL2A.IFL d:
4. Remove the temporary directory. CD .. DELTREE 6220FLSH " NOTE:
" NOTE:
It is possible for verify to fail even though the write operation succeeded. If that happens, use the CRC32 program on all the individual files and check the results against what is shown in the RELNOTES.TXT file. Do not use the DOS COPY or XCOPY command to create the IFL card. Master mode booting requires certain files at specific locations on the SRAM card. DD.EXE places every byte in a specific location on the media; the DOS commands do not attempt to place files in the same locations from one media to another.
Procedure to Reflash with an IFL Card Place the IFL card in the 6220 PC Card slot closest to the display, then press and release the reset button. Follow the prompts on the display to update the 6220 flash.
6220 Hand-Held Computer Technical Reference
4-5
Page 44
System Information
SECTION 4
Recommended Methods Partial Flash Download 6220FL2A.INC and 6220FL2B.INC are small (54 KB) download include files that can be used during an application TCOM session to softĆdownload the flash update. For this method to work, all reflashed 6220 Computers must start with the same version of the same flash. If there is a mix of 6220FL2A.IFL and 6220FL2B.IFL then this method does not work. The best approach is to use this method to upĆ date the majority of the terminals. An ATA card can then be used on any termiĆ nals that fail during this process because of which flash they had initially.
ATA Boot Card You can place the 230125-2.EXE or 230126-2.EXE reflash code on an ATA card and boot the code from either PC card slot to reflash a 6220 Computer. After reĆ flashing and removing the card, boot the 6220 Computer back to the application. The only major drawback to this approach is the amount of involvement required per unit.
SRAM Boot Card You can use a 4 MB SRAM card (230125-3.EXE or 230126-3.EXE) to reflash your 6220 Computer. The only advantage to using an SRAM card over an ATA card is that an SRAM card can be used even when flash in the 6220 is corrupted. Since that is unlikely and SRAM cards are more expensive, the ATA card is the preĆ ferred method.
Full Flash Download 6220FF2A.INC and 6620FF2B.INC are large (900 KB) download include files that can be used during an application TCOM session to softĆdownload the full new flash. It can be used to reflash regardless the current flash version.
4-6
6220 Hand-Held Computer Technical Reference
Page 45
Section 5
Communications "
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
This section covers INTERLNK and INTERSVR products from Microsoft CorpoĆ ration and are bundled with MS-DOS. This also includes NorandR Utilities from Intermec Technologies Corporation and a telecommunications session overview.
Using INTERLNK and INTERSVR INTERLNK connects a PEN*KEYR 6000 Series Computer and a PC through serial ports. INTERSVR is the INTERLNK server, a communication option in Norand Utilities. These two resources are shipped with the DOS Toolkit. The cable that connects the PC to your handĆheld computer can be either a standard null modem cable or a TTY TCOM cable. You also need a dock. INTERLNK makes the handĆheld computer drives appear as virtual drives on the PC, with drive letters beyond the highest drive letter used on the PC. After installing INTERLNK, type from the PC command line to display the designations for the redirected drives. See the diagram below. For more details, refer to the DOS online help text. Port=COM2 This Computer (Client) ––––––––––––––– I:
Other Computer (Server) –––––––––––––––––– equals D: (519Kb)
Norand Utilities The Norand Utilities program, PSROM0C.EXE and PSROB0C.EXE, provides the basic functions required to prepare the 6000 Series Computer for use. It can also be called from applications to perform data communications.
Initial Program Load Most of the communication options for performing an initial program load (IPL) require a download include file on the host computer. See page 2-3 for details on creating a download include file. The following file names cannot be used in a download list file because they are used by Norand Utilities to perform communications: NRTLOG.DAT " PSROM0C.DAT " NRUPLD.CTL " PSROM0C.INI The Norand Utilities program specifically requests a <workgroup>.INC file, where <workgroup>.INC is the WORKGROUP field value in the UNIT ID menu. "
6220 Hand-Held Computer Technical Reference
5-1
Page 46
Communications
SECTION 5
NPCP Network
NPCP is the Norand Portable Communications Protocol supported by the 6920 Communications Server, the 4920 Series Telecommunications Packages, 498x Communication Controllers, and 6980/6985 Network Managers. 1. Create a download include file, as described on page 2-3. 2. Create a 4920 boot disk, if necessary. The only file on a 4920 boot disk is a download include file. The include file is copied to the DOWNLOAD subdiĆ rectory of the 4920. " NOTE:
4000 Series applications are copied to a BOOT subdirectory. 6000 Series applications are copied to the DOWNLOAD subdirectory.
3. Create a 4980 boot disk, if necessary (there is limited space on the 4980 system). Place the 4980 system files on the 4980 boot disk as is done for 4000 Series applications (such as using the 4980 Boot Toolkit). Place the download include file on the disk by executing the following commands: MD A:\DATA COPY <include file> A:\DATA NCDIR.EXE A:\DATA " NOTE: " NOTE:
NCDIR.EXE is included in the 4980 Boot Toolkit. Norand Utilities first attempts a session to NORAND_SERVER, which allows the application to be retrieved from a 498x Communications Controller or 6980/6985 Network Manager. If the application is not stored on the network manager, a session is initiated to NORAND_HOST, which connects to the host.
NRInet
NRInet is a protocol that performs a Norand file transfer session over TCP/IP Ethernet. It is supported by the 6920 Communications Server. 1. Create a download include file, as described in the preceding paragraphs, and place it in the download directory of the 6920 Communications Server. 2. Optionally, configure a DHCP server to provide information required by the handĆheld computer, including the IP addresses of the client, router, and subnet mask. Any information not provided by DHCP must be entered manually by the user on the handĆheld computer. A DHCP server can also provide a domain name and IP addresses of domain name servers, which allows you to enter a host name rather than an IP address. If the SERVER_NAME field on the handĆheld computer is left blank, a connection to the name is attempted, as a default. Version 2.xx of the Norand Utilities program creates a NET.CFG file and a PCTCP.INI file on the RAM drive. The NET.CFG and PCTCP.INI files are not erased, so they may be used by applications.
TFTP
TFTP (Trivial File Transfer Protocol) is a standard TCP/IP protocol supported on many TCP/IP servers. 1. A TFTPD service must be running on a TCP/IP server. 2. Optionally, configure a DHCP server to provide information required by the handĆheld computer (IP addresses of the client, router, and subnet mask). Any information not provided by DHCP must be entered manually by the user on the handĆheld computer. A DHCP server can also provide a domain name and IP addresses of domain name servers, which allows the handĆheld computer user to enter a server name rather than an IP address. If the SERVER NAME field on the handĆheld computer is left blank, a connection is attempted to the name as a default. 5-2
6220 Hand-Held Computer Technical Reference
Page 47
SECTION 5
Communications
3. Create a download list file, as described previously, and place it in the default working directory for the tftpd service. The list file must be named <workgroup>.BCF where <workgroup> is the value of the WORKGROUP field in the UNIT ID menu.
TTY TTY is a protocol that is supported by the 6920 Communications Server and 4920 Series Telecommunications Package. "
" NOTE:
Create a 4920/6920 boot disk, as described in the preceding paragraphs for the NPCP Network.
See the 6220 Hand-Held Computer User’s Guide (P/N: 961-028-104) for a list of errors that may be displayed during an IPL.
Calling Norand Utilities from Application The following paragraphs describe how an application can use the communicaĆ tions facilities of the Norand Utilities to perform data communications. PSROM0C.EXE is the primary program module that supports data communicaĆ tions between a 6000 Series Computer and a host computer. It supports the twoĆ way TTY, NPCP Local Area Network (LAN), and NRInet protocols. PSROB0C.EXE is not called directly by applications, but is called by PSROM0C.EXE. Use the PSROM0C.EXE ctl–file syntax on the command line, where ctlĆfile is the name of a text file containing parameters that control the telecommunications session. Valid parameters are described in the following paragraphs. Parameters that are not applicable may be omitted. The return value from PSROM0C.EXE is a session status code. Values for this code are described on page 5-8.
System Setup Requirements To use PSROM0C.EXE, the file NRTCMERR.TBL must exist in the current working directory or in the PATH. When using PSROM0C.EXE Ver. 2.00 or later, if the application uses CardSoft device drivers to access PC Cards, it must reassign the drive letters A and B. For example: ASSIGN.COM A:=E: B:=F:
NPCP To use NPCP, you must load the program MININET.EXE. You can install this program by inserting the INSTALL=MININET.EXE statement into the CONFIG.SYS file or by placing the <path>\MININET.EXE statement into the ROMINIT.BAT or AUTOEXEC.BAT file, where <path>\ is the drive letter and pathname where MININET.EXE is located.
TTY To use the TTY protocol, the NRTTYM.TBL file must exist in the current directory or in the Path. NRTTYM.TBL is the modem table. For information about creating a customized modem table, see the PSMDM0C, DOS HHC MODEM TABLES product, P/N: 215-968-001. If the application uses NORMOD.SYS or NGENMOD.SYS to support PC Card modems but uses different command line settings than the default Norand Utilities configuration, the command line for the driver must include where is the COM port number used by the driver. 6220 Hand-Held Computer Technical Reference
5-3
Page 48
Communications
SECTION 5
NRInet Using PSROM0C Version 3.xx To use the NRInet protocol version 3.xx, the PATH must include the directories of the following drivers: LAN9000.COM " ODIPKT.COM " LSL.COM " RS485ODI.COM Optionally, configure a DHCP server to provide IP information required by the computer, such as the IP addresses of the client, server, router and domain name servers. "
The NET.CFG and WATTCP.CFG files are overwritten by PSROM0C. Some computers support two network interfaces for NRInet: Ethernet and RS-485. The network interface is selected in a menu in Norand Utilities during the initial program load sequence. This setting is stored on the RAM drive so it is lost any time the RAM drive is removed or formatted. For example, applicaĆ tions that boot from a PC Card often format the RAM drive before installing the application. In these cases, return to the Norand Utilities menu to reselect the setting in order for NRInet sessions to work correctly.
NRInet Using PSROM0C Version 2.xx To use the NRInet protocol version 2.xx, the PATH must include the directories of the following drivers: BOOTP.EXE " LAN9000.COM " DHCP.EXE " LSL.COM " ETHDRV.EXE " ODIPKT.COM " INET.EXE " RS485ODI.COM BOOTP.EXE and DHCP.EXE are required only if IP information is retrieved from a BOOTP server or a DHCP server as described below. PSROM0C.EXE exĆ ecutes BOOTP.EXE first. DHCP.EXE is executed only if BOOTP.EXE fails. "
The files NET.CFG and PCTCP.INI are required to load these drivers. NET.CFG must exist in the current working directory and must include the following, indented as shown: Link driver LAN9000 INT 5 PORT 300 MEDIA_TYPE AUTO Frame Ethernet_II Link driver RS485ODI Frame Ethernet_II
PCTCP.INI must include: [pctcp ifcust 0] async–send = yes ip–address = nnn.nnn.nnn.nnn subnet–mask = nnn.nnn.nnn.nnn router = nnn.nnn.nnn.nnn [pctcp general] etc–dir = d:\tcp\etc domain = xxxxxxxx.com [pctcp addresses] domain–name–server = nnn.nnn.nnn.nnn [pctcp kernel] interface = ifcust 0 5-4
6220 Hand-Held Computer Technical Reference
Page 49
SECTION 5
Communications
The field must specify a directory that contains a SERVICES file. A minimal SERVICES file exists in the flash at d:\tcp\etc. For NRInet, SERVICES must contain a protocol entry for with a protocol type of For example: nrinet 44965/tcp #Norand Inet File Transfer The fields and are not required if the host is speĆ cified by IP address rather than domain name. Also, the fields that specify IP addresses (nnn.nnn.nnn.nnn) and the field can be omitted if BOOTP.EXE or DHCP.EXE loads the information from a BOOTP server or a DHCP server. Set the environment variable PCTCP to the path of PCTCP.INI. For example, in AUTOEXEC.BAT: SET PCTCP=C:\PCTCP.INI
Valid Control File Parameters For all protocols: PROTOCOL, TRIES " For TTY: COM, CONFIG, DATABITS, MODEMSELECT, MODEMTYPE, PARITY, PHONE, SPEED, STOPBITS " For NPCP: COM, NPCPHOST " For NRInet: IPCLIENT, IPHOST, NETMASK, ROUTER The following is a list of control file parameters and their descriptions. "
COM=
The COM port to use for twoĆway TTY or NPCP communications. (Example: COM=4) Default Values: 1 (COM1) = TwoĆway TTY 2 (COM2) = NPCP
CONFIG=
Modem command string to configure a HayesĆcompatible modem. (Example: CONFIG=ATE0V0Q0X4&C1&D2&M0&RS0=0)
DATABITS=
Valid only if twoĆway TTY protocol was specified. (Example: DATABITS=7) Valid values: 7, 8
IPCLIENT=
Supported in PSROM0C V3.xx only. This is the IP address of the client computer. If this parameter is specified, the NETMASK parameter is also required. If this parameter is omitted, PSROM0C attempts to retrieve IP information from a DHCP server or a BOOTP server.
IPHOST=
This is the IP address or domain name of the Ethernet host. The value can be at most 18 characters long. If this parameter specifies a domain name, the IPCLIENT parameter must be omitted because DHCP information about domain name servers is required to resolve the host name. For PSROM0C V3.xx, if IPHOST and IPCLIENT are both omitted, the host name is retrieved from DHCP if available. Otherwise, this parameter defaults to
MODEMSELECT= Valid only if twoĆway TTY protocol was specified. This is the modem ID of of a record in the modem table file NRTTYM.TBL. If this parameter is specified, the COM= and CONFIG= parameters may be omitted. The parameters MODEMSELECT= and MODEMTYPE= are mutually exclusive; therefore only one may be specified in a control file. (Example: MODEMSELECT=30) 6220 Hand-Held Computer Technical Reference
5-5
Page 50
Communications
SECTION 5
MODEMTYPE= Valid only if twoĆway TTY protocol was specified. It indicates the type of modem, if any, to which the handĆheld computer is connected. The parameters MODEMSELECT= and MODEMTYPE= are mutually exclusive; therefore only one may be specified in a control file. (Example: MODEMTYPE=1) Valid Values: 0 = No modem, i.e. direct connect (default) 1 = Norand modem, or other HayesĆcompatible modem NETMASK=
Supported in PSROM0C V3.xx only. This is the local subnet mask and is required if IPCLIENT is specified. (Example: NETMASK=255.255.240.0)
NPCPHOST=
NPCP host name. Valid values: NORAND_HOST NORAND_SERVER
PARITY=
Valid only if twoĆway TTY protocol was specified. (Example: PARITY=2) Valid values: 0 = None (default) 1 = Odd 2 = Even
PHONE=
Dials a HayesĆcompatible modem. This value can be at most 20 characters long. (Example: PHONE=ATDT3693361)
PROTOCOL=
Indicates the protocol to be used. (Example: PROTOCOL=3) 3 = TTY 4 = NPCP (LAN) " 14 = NRInet Supported in PSROM0C V3.xx only. This is the router IP address. " "
ROUTER= SPEED=
TCOM speed for twoĆway TTY. Valid only if twoĆway TTY protocol was specified. (Example: SPEED=2400) Valid values: 1200, 2400, 9600, 19200, 38400, 57600, or 115200.
STOPBITS=
Valid only if twoĆway TTY protocol was specified. (Example: STOPBITS=1) Valid values: 1 = One stop bit 2 = Two stop bits 3 = 1 1/2 stop bits
TRIES=
Specifies the number of times to attempt a successful communication session. If TRIES is exhausted before a session is successful, PSROM0C.EXE returns the error of the last session. A parameter value of zero indicates that the retry is to continue until a session is successful or the user aborts.
EXAMPLE:
Example control file for NPCP:
PROTOCOL=4 Example control file for NRInet
PROTOCOL=14 IPHOST=nnn.nnn.nnn.nnn
5-6
6220 Hand-Held Computer Technical Reference
Example control file for TTY
PROTOCOL=3 COM=1 SPEED=9600 PARITY=0 DATABITS=8 STOPBITS=1