The text of a manual · part 14 of 17
Apex III / Apex IV Technical Reference Manual, Second Edition, pages 131 to 140
Pages 131 to 140 of 168
The original document is the PDF (1.2 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 Compsee Apex III and Compsee Apex IV
Page 131
Apex PDT Technical Reference Manual
7 Apex Programming Resource
Recommended Programming Practices 1. Disable interrupts (or the <SCAN> key) when retrieving data from a registered bar code buffer. 2. DO NOT use the Bar Code Driver wedge mode (Refer to p. 623)! For maximum programming flexibility, always use buffered mode. 3. Open new data storage files with the largest expected size to reserve flash disk space. This will speed writing to the file. 4. Do not poll the Battery Pack status very often. 5. Allow the BIOS to determine a low battery condition. DO NOT do this within an application. 6. ALWAYS release a registered Bar Code Buffer when exiting an application program.
COAM30002
Rev. 2.00
8/13/02
7-23
Page 132
Apex PDT Technical Reference Manual
7-24
COAM30002
7 Apex Programming Resource
Rev. 2.00
8/13/02
Page 133
Apex PDT Technical Reference Manual
8
8 Using PC Cards
USING PC CARDS
Introduction The Apex PDT can accept up to two PC Cards (either two Type I or II, or one Type III) for various purposes including network interface adapters, high speed modems, flash drives, RAM disks, or audio capabilities. PC Card installation is accomplished by removing the Apex PDT End Cap, than installing the card with the pins inward and the label side down. Note that hardware configuration requirements demand that Slot 0 (top) be filled to use Slot 1 (bottom). Refer to the BIOS Upgrade section for End Cap removal details. SLOT "0"
SLOT "1"
INSERT CARD LABEL SIDE DOWN
Figure 8-1: PC Card Installation
PC Card Interface The Apex PDT utilizes the Phoenix PicoCard interface. The Phoenix PicoCard includes the following functionality: q q q
Socket Services Card Services Super Client Driver
The features provide support for both ATA and flash devices. The Card and Socket Service features also provide "hot-swapping" and the ability to use up to two PC Cards.
COAM30002
Rev. 2.00
8/13/02
8-1
Page 134
Apex PDT Technical Reference Manual
8 Using PC Cards
Due to the complexity and intricate nature of the Card & Socket Services setup, the operation is not covered in the Apex PDT Technical Reference Manual. Programmers should refer to the Phoenix PicoCard User’s Guide located on the Compsee Product Support CD for detailed setup information.
Phoenix PicoCardFeatures q q q q q q
PC Card 16 compliant PCMCIA Standard Release 2.1 compliant 82365SL Rev. B resource compatible Mixed Voltage (5.0V and 3.3V) support Support for M-Systems' True Flash File System Notification of PC Card insertions and extractions
Apex PDT Factory Configuration Compsee, Inc has previously installed the following files at the factory prior to shipment:
[cnfignam.exe] The [cnfignam.exe] device driver specifies which PicoCard configuration parameters are to be used based on the selected boot configuration. The Apex PDT is pre-configured with the [DEFAULT] configuration.
[dpms.exe] A Novell driver that provides memory management services.
[pcm.ini] [pcm.ini] is the initialization file that contains the settings for all of the modules used by PicoCard. It is rare that a user would need to customize the [pcm.ini] file.
[pcmata.sys] [pcmata.sys] is the Phoenix ATA-IDE device driver that acts as an I/O client to Card Services. [pcmata.sys] enables the Apex PDT to access ATA-configured PC Cards as IDE hard drive devices using an IDE partition table.
8-2
COAM30002
Rev. 2.00
8/13/02
Page 135
Apex PDT Technical Reference Manual
8 Using PC Cards
[pcmcs95.exe] The PicoCardCard Services file functions as an extension to the operating system coordinating access to the PC Cards and allocating system resources among client drivers. [pcmcs95.exe] runs as a driver for the PicoCard Card Services and is loaded from the [config.sys] file. The driver must be loaded directly after Socket Services.
[pcmmtd.exe] The [pcmmtd.exe] driver enables PicoCard to support Intel Series I and II Flash Cards (as well as compatible cards by other manufacturers) and Advanced Micro Devices (AMD) cards Series A, B, and C.
[pcmrman.sys] Card Services cannot determine the allocated system resources or the I/O addresses, IRQs, or UMBs to which those resources are assigned. The [pcmrman.sys] file loads after Card Services, then scans I/O and RAM memory as well as IRQ assignments. Next [pcmrman.sys] checks [pcm.ini] file to determine if any overrides are established, then passes all of the information to Card Services. Card Services then makes the appropriate device allocations.
[pcmscd.exe] [pcmscd.exe] is the Phoenix Super Client Driver (a Card Service’s client), which increases the efficiency of resource acquisition by requesting system resources from Card Services. As a default, the [pcmscd.exe] program emits a high-pitched beep when a card is inserted or successfully configured. When a card is extracted, the program emits a lower-pitched beep. A single beep means that the PC Card is not recognized or that there is a conflict of some kind.
[pcmss.exe] Socket Services provides services for initializing the socket and PC Card. Applications and drivers typically do not interface with Socket Services directly. In most uses, Card Services is the sole user (or client) of Socket Services.
COAM30002
Rev. 2.00
8/13/02
8-3
Page 136
Apex PDT Technical Reference Manual
8 Using PC Cards
[tffscs.com] [tffscs.com] is the True Flash File System driver included on the Apex PDT. [tffscs.com] handles linear Flash PC Cards so that they are indistinguishable from DOS disks. Therefore, Flash PC Cards will appear as just another hard disk drive. [tffscs.com] is a DOS-installable device driver loaded in the [config.sys] file. This file handles all special considerations and procedures relevant to Flash. Notes: 1. Slot 1 cannot be utilized unless a card is present in Slot 0 (see Hardware Configuration section of this manual). DO NOT leave a PC Card in Slot 1 if it fails to be recognized. 2. The Apex PDT is configured for "hot-swapping" ATA or linear Flash cards. Slot 0 and Slot 1 are configured as drives D: and E: respectively. 3. Card Events and Beeping: Usually whenever a card is inserted or extracted, the Apex PDT speaker emits an audible beep. Receiving a double beep indicates that the PC Card has been identified successfully. A single beep means the PC Card is not recognized or that there is a conflict of some kind.
Additional PicoCard Utilities In addition to the files previously mention, the Compsee Product Support CD contains PicoCard utility files, which have not been pre-loaded at the factory. These utility files are described within this section.
[cisdump.exe] [cisdump.exe] provides a utility that is used to dump and interpret Card Information Services (CIS) for a designated file or socket.
[pcmfdisk.exe] [pcmfdisk.exe] is comparable to the DOS utility fdisk, and sets the partition table for rotating-disk and solid-state mass-storage PC Cards.
[pcmrman.exe] [pcmrman.exe] manages and displays PicoCard system resources and changes runtime values for the allocation of system resources.
8-4
COAM30002
Rev. 2.00
8/13/02
Page 137
Apex PDT Technical Reference Manual
8 Using PC Cards
[tcheck.exe] [tcheck.exe] compares to the DOS chkdisk utility, and is used to verify the underlying PicoCard format as well as optionally correct formatting inconsistencies.
[tformat.exe] [tformat.exe] is a Flash PC Card formatting utility. All linear flash media cards must be formatted using the tformat command before PicoCard Services can access them. Note that only the tformat command can be used. The DOS format command cannot be used to format Flash media driven by [tffscs.com].
[tinfo.exe] [tinfo.exe] is a utility program, which provides general information about installed PC Card software and inserted media cards. Specifically, tinfo will report the following information: q PicoCard drive letters q Installed PC Card software (including version number) q The presence of media and selected CIS information q Size of the inserted media
Radio (Wireless) Cards Compsee, Inc. offers special configurations of the Apex PDT with wireless options. Radio cards allow the Apex PDT to connect to a wireless LAN. When using the Connect Twin Client Terminal Emulation Software, the Apex PDT can run VT-100/200, TN3270/5250, and HP-700/92 terminal emulation. Several types of radio cards along with an RF End Cap (required) are available from Compsee, Inc. Other available Apex PDT wireless options include the following: q
Apex PDT with a pre-installed radio card.
q
Apex PDT configured for wireless operation minus the pre-installed radio card (card supplied by customer).
q
RF Upgrade Kit: Converts a standard Apex PDT to a wireless model.
For additional information or to order your RF configured Apex PDT, contact your Value Added Reseller (VAR) or Compsee, Inc.
COAM30002
Rev. 2.00
8/13/02
8-5
Page 138
Apex PDT Technical Reference Manual
8 Using PC Cards
Miscellaneous Cards The Apex PDT supports many types of PC Cards including sound, SRAM, Network/LAN, Fax/Modem, and other I/O cards. These cards may come with additional software components called client drivers that must be installed. Follow the installation instructions with the card and physically install the card in the Apex PDT.
8-6
COAM30002
Rev. 2.00
8/13/02
Page 139
Apex PDT Technical Reference Manual
9
9 Apex PDT Communic ations
APEX PDT COMMUNICATIONS
Introduction Communications with the Apex PDT can be accomplished by using three connection methods: q From the PC serial port to the Dock using the Apex PDT Infrared (IR) Port. q From the PC serial port to the optional Serial End Cap. q From the PC serial port to the internal RS-232 connector (located behind the Apex PDT End Cap). The use preference order is as listed. Using any of the three listed methods will allow communication with the Apex PDT to occur. Note that proper cabling is necessary to perform these methods and may be obtained from Compsee, Inc. or an authorized VAR.
Communications Using The IR Port To accomplish serial communications using the Apex III Infrared (IR) Port, you must have purchased the optional Apex III Dock (see illustration). The Dock is constructed to align the Apex III’s IR Window with the Dock’s IR interface when the unit is in the cradled position. The PC is then connected to the Dock through a special serial interface cable (the same cable used for serial communications with the Serial End Cap). Refer to the following notes for IR specific communications information. SPARE BATTERY PACK CHARGING SLOT
IR PORT INTERFACE WINDOW
SLIP-IN BATTERY PACK CHARGING TERMINALS
Figure 9-1: Apex III Optional Dock
Notes: 1. The [ir.com] utility must be enabled to use the IR port for communications. Once the IR port has been enabled, the communications process is conducted the same as with the RS-232 serial port. COAM30002
Rev. 2.00
8/13/02
9-1
Page 140
Apex PDT Technical Reference Manual
9 Apex PDT Communic ations
Notes continued: 2. The Apex PDT IR port functions like a two wire virtual RS-232 cable that has transmit and receive signals only and which can only operate in the half-duplex mode. 3. Supported baud rates for IR communication are 300, 600, 1200, 2400, 4800, 9600, 19200, 38400, 57600, and 115200. 4. The Dock is connected to the PC serial port using cable PN 0227001 which can be purchased from Compsee, Inc. – refer to the Parts section of the Apex PDT User’s Manual. 5. If communications have previously been established using the Dock/IR port and the baud rate is to be changed, the Apex III PDT should be removed from the Dock and reinserted to reset the IR transceiver circuitry. The baud rate can be changed as required.
Serial Communications Serial communications are conducted in the same manner whether using the optional Serial End Cap or the internal RS-232 Serial Port. The Serial End Cap is available from Compsee, Inc. as an option (PN C0AA3SEC01 – refer to the Parts section of the Apex PDT User’s Manual for additional information). Serial communications conducted using the optional Serial End Cap or IR communications with the Dock require a cable with a DB9 (standard PC) serial connector on one end and a 10-pin phone type connector on the other (Compsee, Inc. PN 0227001). Use of the internal RS-232 Serial Port requires the manufacturing of a cable with a DB9 (standard PC) serial connector on one end and a female 8-pin Molex connector on the other (cable not supplied by Compsee, Inc.). Refer to Pinouts in the Hardware Configuration Section of this manual for specific connector details if using this method.
9-2
COAM30002
Rev. 2.00
8/13/02