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 5 of 28

PEN*KEY 6400 Computer Programmer's Reference Guide: Section 1: Getting Started, pages 25 to 32

Pages 25 to 32 of 234, from PEN*KEY 6400 Computer Programmer's Reference Guide

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 Intermec 6400

Page 25

Getting Started

SECTION 1

Reprogramming Flash Memory You can order flash upgrades on diskette, from Intermec, or download them from the Intermec Bulletin Board. Refer to BBS notes in the Support Available paragraph, in the introductory section of this publication, for details concerning the Bulletin Board. Contact an Intermec sales representative to obtain the media. Read all of the instructions below before proceeding. " NOTE:

Always keep the 6400 Computer on charge while performing any setup, reprogramming, or reflashing.

INTERLNK Session Prerequisites for INTERLNK Flash Update Process The following items are required: " If you would like to use the procedure described here, you need a working 6400 Computer (if your flash is corrupted, you must perform a serial master mode boot). " A RAM drive (D:) of at least 960 KB is required. " A disk file contains the new flash archive, 64BDXXXX.EXE. The last four numbers indicate the flash version (such as 0129 would indicate flash version 1.29). " A standard host PC for connecting to the 6400 Computer. INTERLNK.EXE must be loaded by the CONFIG.SYS file. For more detailed information on running INTERLNK than is presented here, refer to your DOS manual. " A NULL modem cable for connecting the host PC’s communications port to the 6400 Computer with a single dock or communication adapter.

INTERLNK Installation Use the following instructions only if you currently have a version of flash that includes INTERSVR as a possible Comm option on your 6400 Computer. If you do not have INTERSVR, you must update the flash using a serial master mode boot. The following instructions assume that you have placed all files from the self-extracting archive in a directory (on your host PC) called C:\PENKEY\FLASH. If you choose to place these files in a different location, adjust the instructions accordingly. " NOTE:

Make sure the self-extracting file is deleted from this directory once the files have been extracted.

Your host PC must be running INTERLNK, which is part of MS-DOS. Load INTERLNK as a device driver in your CONFIG.SYS file, using the following statement, at the end of the CONFIG.SYS file (after any other statement that creates a drive letter): DEVICE=C:\DOS\INTERLNK.EXE /DRIVES:3

The previous statement assumes that MS-DOS is located in the C:\DOS directory on your host PC. The /DRIVES: 3 parameter allows mapping of three drives from the 6400 Computer. PEN*KEYR 6400 Programmer’s Reference Guide

1-9

Page 26

Getting Started

SECTION 1

Reflashing Procedure Begin with the 6400 Computer at the C:\ prompt. In order to get to the C:\ prompt, you may need to reboot. To do this perform a reset (as described in the paragraph on the Four-Key Reset operation, on page 1-12). Quickly after the reset, press the Alt key to bring up the Boot Selection Menu. 1. If you have not already done so, run 6400.BAT to create a RAM drive. If you already have a RAM drive, save the files somewhere and clear the RAM drive of all files. Make sure D:\ is in the DOS path and run INTERSVR with the following statement: INTERSVR A: C: D:

2. Establish the INTERSVR connection to your host PC, using a PEN*KEY 6400 single dock and cable, or a PEN*KEY 6400 communication adapter with a serial port cable. 3. Copy all of the files from the host PC’s C:\PENKEY\FLASH directory to the RAM drive (D:) on the 6400 Computer. You should use the verify option (/v) on the copy to ensure that the files are transferred correctly. In order to determine what drive on your host PC corresponds to the 6400 RAM drive, type “INTERLNK” at the DOS prompt (without the quotes). You should see a chart similar to the following: This Computer Other Computer (Client) (Server) ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ F: equals A: G: equals C: (1608Kb) H: equals D:

In the example above, you would copy the files to drive H:. Make sure to copy the files to the RAM drive (D:) and NOT to the C: drive; otherwise it writes over the AUTOEXEC.BAT and CONFIG.SYS files. 4. Once the files have been transferred, exit INTERSVR on the 6400 Computer, by pressing Alt + F4. 5. Run XXX.BAT (where XXX is the version number). When the unit resets, it begins the flash update process. You are not prompted further unless an error occurs or a file is missing. 6. After reflashing, the 6400 Computer resets itself and boots back to the C drive. To confirm the flash version, observe the screen while booting from drive C:. If necessary, refer to the instructions above for overriding the default boot drive. Your previous AUTOEXEC.BAT and CONFIG.SYS are renamed to AUTOEXEC.BAK and CONFIG.BAK. COMMAND.COM, RB.BAT, and RESET.EXE should be present on the RAM drive. These files (and the entire RAM drive) may then be removed, using the following command from DOS: ramdfmt –sØ

Then reboot the 6400 Computer to free up that memory used by the RAM drive. " NOTE: 1-10

Refer to the release notes in the Tool Kit for changes from the previous version of flash.

PEN*KEYR 6400 Programmer’s Reference Guide

Page 27

Getting Started

SECTION 1

Development Environments The 6400 Computer is compatible with the development environments listed in the following paragraphs:

DOS The 6400 Computer can run any DOS program.

Microsoft Visual C, C++, or Borland C, C++, for DOS These are tools for experienced C and C++ programmers. The foundation class libraries can be used; but make sure to keep an eye out for space limitations.

Other Environments There are other usable development environments. Here are some guidelines that can help to determine whether a particular environment is viable for a PEN*KEY 6400 application. 1. How much space is required? Many environments assume that the target machine is a desktop or laptop with virtually unlimited hard drive space. This is certainly not the case with a hand-held computer; memory is still at a premium. 2. The 6400 Computer uses a processor that is common to other PCs. But, be sure to test the performance of your application on a comparable computer. A typical development machine (50- to 100-Mhz 486) could hide some potential speed issues that would be evident on a computer, with a processor comparable to the 6400 Computer.

PEN*KEYR 6400 Programmer’s Reference Guide

1-11

Page 28

Getting Started

SECTION 1

Setup for PC Development " NOTE:

Always keep the 6400 Computer on charge while performing any setup.

The following steps outline a general approach for equipment setup for development of the 6400 Computer with a PC: 1. Connect power to the single dock or communication adapter. 2. Connect a NULL modem cable between the dock (or communication adapter) and a serial port on the desktop or portable PC. 3. Install the main battery. 4. Insert the 6400 Computer into the dock (or communication adapter). 5. As the 6400 Computer starts the boot process, you hear two beeps followed by 30 seconds of quick beeps, if the AC adapter is connected and the PC terminal program is running. 6. After the initial double beep, hold the [ALT] key down until the following ROM DOS 5 “Start from” menu comes up. ROM DOS 5 Start from: 1) Memory card 1 = A: 3) Flash drive

= C:

4) RAMDrive

= D:

5) Boot to flash and bypass startup

7. Press the “3” key to choose option 3. 8. Run INTERSVR C: D: 9. Using one of the communication options, described later in this section, transfer the application program files to the 6400 Computer.

Four-Key Reset When all four keys of the four-key reset (shown in the following figures) are pressed at the same time, for a period of two seconds, the system resets. Refer to the Communications and Device Support section for figures identifying other keys for each of the two keyboards. Figure 1-1 depicts the 41-key keyboard. The four numbered lines point to the locations of the four keys that reset the 6400 Computer.

1-12

PEN*KEYR 6400 Programmer’s Reference Guide

Page 29

Getting Started

SECTION 1

1

4

2

3

1. Right enter key 2. Yellow (or gold) shift plane key 3. Blue shift plane key 4. Left enter key

Figure 1-1 Reset Keys on 41-Key Keyboard

PEN*KEYR 6400 Programmer’s Reference Guide

1-13

Page 30

Getting Started

SECTION 1

Figure 1-2 depicts the 51-key keyboard. The four numbered lines point to the locations of the four keys that reset the 6400 Computer.

4

1

2

3

1. Right enter key 2. Yellow (or gold) shift plane key 3. Blue shift plane key 4. Left enter key

Figure 1-2 Reset Keys on 51-Key Keyboard

1-14

PEN*KEYR 6400 Programmer’s Reference Guide

Page 31

Getting Started

SECTION 1

Development Resources This paragraph covers the following topics: Topic

Page

Open Systems Resources INTERLNK and INTERSVR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Norand Resources RAM Drive . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . NORAND Utilities and Communications . . . . . . . . . . . . . . . . . . . . . . NPCP Network . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

1-15 1-17 1-18

TTY Network . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Other NORAND Software DOS Device Drivers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Utility Programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

1-18 1-19

6400.BAT 64APMOEM.EXE BIOS.SYS BOOTDRV.COM RL2PCM.COM

CDSVC1A.EXE CLOCK.EXE DELAY.EXE ETHDRV.EXE

HIMEM.SYS ISRAMDRV.COM LSL.COM, MISCTSR.EXE

1-15

MMBFLAG.COM MODE.COM ODIPKT.COM REBOOT.COM

INTERLNK and INTERSVR INTERLNK is a device driver that interconnects a 6400 Computer and a host PC through serial ports. INTERSVR is the INTERLNK server, a communication option in the NORAND Utilities program. These two resources are provided with ROM DOS 5 and are shipped with the PEN*KEY 6400 Tool Kit. A standard null modem cable connects the PC to the 6400 Computer. A TTY TCOM cable also works. A dock is needed for the 6400 Computer or a communication adapter that plugs onto the bottom end of the computer.

INTERLNK causes the 6400 Computer drives to appear as virtual drives on the PC, with drive letters immediately beyond the highest drive letter currently used on the PC. Typing “INTERLNK” from the PC command line displays the designations of the redirected drives. For details of INTERLNK and INTERSVR topics, refer to the DOS on-line help text. INTERLNK is installed on a PC, using the following statement in the CONFIG.SYS file: device=c:\dos\interlnk.exe /drives:4

After installation, you can copy the application files to the 6400 Computer. To terminate INTERSVR, press [ALT] followed by F4.

RAM Drive The RAM drive on a 6400 Computer is a block of system memory treated as a DOS drive. The data stored on the RAM drive is maintained as long as power is supplied to the system and the drive is not reformatted. PEN*KEYR 6400 Programmer’s Reference Guide

1-15

Page 32

Getting Started

SECTION 1

Since the RAM drive consists of memory used by the application programs, this results in less extended memory available for programs. No additional conventional memory is required for the RAM drive. Because the support for accessing the RAM drive is embedded in the DOS BIOS, no additional drivers need to be loaded. The extended memory test (with the corresponding boot-up messages) reserves memory for the RAM drive. Only one RAM drive can be created. The size selected for a RAM drive represents the total memory it requires, not the free space available on the drive. DOS file system overhead reduces the specified memory by the size of the FAT and root directory created. If a communication option is selected, the NORAND Utilities program automatically creates a RAM drive (if one does not already exist). The size depends on the amount of total memory in the 6400 Computer, as follows: Table 1-1 RAM Drive Sizes

Total Memory (megabytes)

Default RAM Drive (megabytes) *

8 4 2

4 3 1

* The default RAM drive size is actually 64 KB less than specified, to allow for the High Memory Area (HMA).

For a system with 8 megabytes of total memory, only 4 megabytes is used as a RAM drive. For lower system RAM capacities, only 1 megabyte of RAM is reserved for conventional use and the remainder is allocated to the RAM drive. The NORAND Utilities program provides a menu that allows the RAM drive to be formatted in 1-megabyte increments. The 6400 Computer has hardware protection for RAM drives only on 1 megabyte boundaries. When either the NPCP or TTY options are used, another choice exists for creating a RAM drive. If a file named RAMDFMT.CTL is downloaded, the NORAND Utilities executes the program RAMDFMT.EXE to create a RAM drive. RAMDFMT.CTL must be a text file that contains the command-line parameters for RAMDFMT.EXE. For example, if RAMDFMT.CTL contains the following line: –s2048 a 2 megabyte RAM drive is created. You can also create a RAM drive from the DOS prompt, with the following statement: RAMDFMT –snnnn where nnnn represents the desired size of the RAM drive. Complete list of command line switches (all values in decimal): –a = [address of RAM disk in kilobytes] –d = [drive number] –e = [number of directory entries] –s = size of RAM disk in kilobytes] –h = [print this screen] " NOTE: 1-16

When formatting the RAM drive, specify either the size or starting address, but not both.

PEN*KEYR 6400 Programmer’s Reference Guide