Octagon 5025A User Manual

Micro pc control card
Table of Contents

Advertisement

Quick Links

5025A
User's Manual
Doc. #03999 Rev 1098

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the 5025A and is the answer not in the manual?

Questions and answers

Summary of Contents for Octagon 5025A

  • Page 1 5025A User’s Manual Doc. #03999 Rev 1098...
  • Page 2 It is a Condition of Sale that the user of Octagon products in life support applications assumes all the risk of such use and...
  • Page 3 IMPORTANT! Please read before installing your product. Octagon's products are designed to be high in performance while consuming very little power. In order to maintain this advantage, CMOS circuitry is used. CMOS chips have specific needs and some special requirements that the user must be aware of.
  • Page 4 Multiple component failures - The chance of a random component failure is very rare since the average MTBF of an Octagon card is greater than 11 years. In a 7 year study, Using CMOS Circuitry – 2...
  • Page 5 Octagon has never found a single case where multiple IC failures were not caused by misuse or accident. It is very probable that multiple component failures indicate that they were user-induced. Testing “dead” cards - For a card that is “completely nonfunctional”, there is a simple test to determine accidental...
  • Page 6 Hot insertion - Plugging cards into the card cage with the power on will usually not cause a problem. (Octagon urges that you do not do this!) However, the card may be dam- aged if the right sequence of pins contacts as the card is pushed into the socket.
  • Page 7: Table Of Contents

    Running SETUP ................26 SETUP Example ................30 CHAPTER 5: SAVE & RUN PROGRAMS ....31 Save and Run Your Programs on the 5025A ........31 Saving Program and Support Files ..........31 Autoexecuting Your Program ............34 Overriding Program Autoexecution from SSD1 ......34...
  • Page 8 Description ..................53 Reading the Serial EEPROM ............53 Writing to the Serial EEPROM ............53 CHAPTER 10: VIDEO AND KEYBOARD ....55 Description ..................55 Using a Video Monitor and Keyboard ..........55 Saving a Program to the 5025A ..........56...
  • Page 9 Description ..................63 Getting Started ................. 63 Selecting Boot, Memory, and Drive Options ........64 Booting the 5025A from a Floppy/Hard Disk Drive ....64 Booting from SSD1 with/without a Floppy Drive ....65 CHAPTER 13: USER-DEFINED JUMPER ....67 CHAPTER 14: CPU POWER MANAGEMENT .....
  • Page 10 APPENDIX B ..............107 Programming Standard EPROMs ..........107 Custom Communication Cable ............107 Power Supply ................... 108 Uploading Files from the 5025A ............ 108 Assigning Drive Designators ............109 Example: ................... 110 Extended Memory ................110 Interrupts ..................112 Using Microsoft Windows 3.1 ............
  • Page 11: Preface

    Control Card. By using this manual, you will be able to: • Interface the 5025A Control Card to your PC and the Micro PC expansion cards. • Set up communications between the 5025A card and a PC.
  • Page 12: Symbols And Terminology

    The type of static RAM, DRAM, flash memory or EPROM specified for either volatile or nonvolatile memory. PC SmartLINK A serial communications software package designed by Octagon for use with the 5025A Control Card. Refers to all versions of PC SmartLINK. Preface – 2...
  • Page 13 Read Only Memory devices. ROMs provide nonvolatile memory, have a limited number of write cycles, and include EPROMs, EEPROMs, and flash memory. ROM–DOS DOS operating system included in Micro PC ROM. Solid–State Disk A simulated disk using a high speed solid– (SSD) state memory device, for example flash memory, EEPROM, or static RAM.
  • Page 14: Technical Support

    TECHNICAL SUPPORT If you have a question about the 5025A Control Card and cannot find the answer in this manual, call Technical Support. They will be ready to give you the assistance you need. When you call, please have the following at hand: Your 5025A Control Card User’s Manual...
  • Page 15: Chapter 1 Overview

    CHAPTER 1 OVERVIEW DESCRIPTION The 5025A PC Control Card is designed for use with Octagon’s Micro PC system. This system uses small computer cards – 4.5 in. x 4.9 in. Its small size, wide temperature range (–40° C to +85° C) and rugged CMOS construction, make it ideal for high performance, embedded control applications.
  • Page 16 Speaker and Keyboard Port The speaker and keyboard lines are brought out to a 10–pin connector via a CMA–10 cable. The Octagon PSKI–1 interface provides a PC compatible connector for the keyboard and provides screw terminals for the speaker. Any AT compatible keyboard may be used.
  • Page 17 A CMA–20 cable is required. Setup stored in EEPROM The 5025A stores its setup information in nonvolatile EEPROM; as a result it is immune to battery or power failure. The user can also store additional information in the EEPROM: Up to 1792 bytes (that is, 896 words) are available.
  • Page 18: Where To Go From Here

    <CTL> <ALT> <DEL> method. Expansion Cards Available The 5025A takes one card slot in a Micro PC card cage. Micro PC expansion cards (e.g., the 5805 Solid–State Disk Card, 5800A Floppy/Hard Disk Card, etc.) can be used by simply plugging the expansion card into the backplane of the card cage.
  • Page 19 Covers the basics of setting up Quick Start a 5025A system. This chapter describes how to install the 5025A into the card cage, how to establish a serial communications link with your PC and how to download files to the 5025A.
  • Page 20 Chapter 10 Configuring the 5025A with video Video and Keyboard and a keyboard. Chapter 11 Configuring the 5025A with a floppy External Drives drive or hard drive. Chapter 12 Configuring the 5025A with a version Using Your Own DOS/OS of DOS/OS other than ROM-DOS.
  • Page 21: Chapter 2 Quick Start

    CHAPTER 2 QUICK START This chapter covers the basics of setting up a 5025A system and tells you: How to panel mount or install the 5025A into the card cage; How to set up a serial communications link between the 5025A and your PC;...
  • Page 22 Connect the other end to COM1 (J2) on the 5025A. NOTE: You must use COM1 on the 5025A in order to establish a serial communications link with your PC. If your PC has a 9–pin serial connector, connect the null modem adapter to serial port COM1 or COM2 on your PC.
  • Page 23: Using A Micro Pc Card Cage

    5025A. Please continue with the section, Establishing Communi- cations with the 5025A in this chapter. Using a Micro PC Card Cage To install the 5025A in a Micro PC card cage, you will need the following equipment (or equivalent): 5025A Control Card...
  • Page 24 CMOS components. The greatest danger occurs when the card is plugged into a card cage. The 5025A card becomes charged by the user, and the static discharges to the backplane from the pin closest to the card connector. If that pin happens to be an input pin, even TTL inputs may be damaged.
  • Page 25 Make sure power to the card cage is OFF. Slide the 5025A into the card cage. The ROM–BIOS label on the card should face to the left or up depending on the type of card cage.
  • Page 26: Establishing Communications With The 5025A

    Connect one end of a VTC–9F cable to the null modem adapter. Connect the other end to COM1 (J2) on the 5025A. NOTE: You must use COM1 on the 5025A in order to estab- lish a serial communications link with your PC.
  • Page 27 5025A MEMDRIVE.SYS V2.01, extended memory present 5025A MEMDRIVE.SYS V2.01, formatting extended memory (1024KB) as drive D: 5025A MEMDRIVE.SYS V2.01, memory device not found in SSD1 5025A MEMDRIVE.SYS V2.01, memory device not found in SSD2 C:\>path . . . C:\>prompt . . .
  • Page 28: Transferring Files Between 5025A & Your Pc

    7168K uses MEMDRIVE.SYS EMS A utility program called TRANSFER.EXE resides on the BIOS drive and is used to send or receive files via COM1 of the 5025A. TRANSFER.EXE uses the XMODEM protocol, as does PC SmartLINK. The following information on downloading files between the 5025A and your PC uses an example program, DEMO.EXE and DEMO.BAS.
  • Page 29 Log into the directory on your PC which contains the file(s) you will download to the 5025A. For example: C:\MPC\5025A\DEMO Start PC SmartLINK and power on the 5025A. Execute the TRANSFER.EXE program from the 5025A by entering: TRANSFER D:DEMO.EXE The following message displays: Receiving D:DEMO.EXE...
  • Page 30 This page intentionally left blank. Quick Start – 20...
  • Page 31: Chapter 3: Rams And Eproms

    CHAPTER 3 RAMs AND EPROMs Before you can save and boot your application from the 5025A, you must first configure the system for your particular application requirements. The 5025A card includes two sockets for solid–state disks: SSD1 and SSD2. SSD1 SSD1 generally contains the program to be executed on power–up.
  • Page 32: Ssd2

    Installing a 5V flash with 12V jumpers will WARNING: destroy the flash when DISKSAVE attempts to program it! NOTE: If installing a new flash memory, the driver MEMDRIVE.SYS will report “Device not present”. You must program the EPROM using the program DISKSAVE before the EPROM is recognized.
  • Page 33: To Install Static Rams

    When installing the chip, be sure to match WARNING: the notch in the chip with the notch in the silkscreen. Incorrect installation will destroy the chip! NOTE: If installing a new flash memory, the driver MEMDRIVE.SYS will report “Device not present”. You must program the EPROM using the program DISKSAVE before the EPROM is recognized.
  • Page 34 This page intentionally left blank. RAMs and EPROMs – 24...
  • Page 35: Chapter 4: Setup

    CHAPTER 4 SETUP DESCRIPTION The SETUP program defines the 5025A system parameters. It is shipped with default configuration parameters stored in the EEPROM, U33. Changes are made by running the SETUP program. The SETUP program is stored on the BIOS drive and on the 5025A utility disk.
  • Page 36: Running Setup

    “Boot from: BIOS drive using ROM– DOS”. The 5025A continues to boot from the BIOS drive until you have verified that your program files are successfully saved to SSD1.
  • Page 37 NOTE: To use COM1 as the console at a speed other than 9600 baud, you must install the BIOS boot jumper. (W3[3–4]) • Power on memory test: Enabled Disabled You may want to disable the memory test to speed up the boot process.
  • Page 38 Floppy drive 1 size: 360K 1.2 MB 720K 1.44 MB • Floppy drive 2 size: 360K 1.2 MB 720K 1.44 MB These two options only display if you have specified that a floppy drive(s) is attached to the 5025A. SETUP – 28...
  • Page 39 • Shadow 0C000H–0C7FFH This address is usually reserved for the video BIOS. • Shadow 0C800H–0CFFFH This address is usually reserved for hard disk drives, SCSI controllers, etc. The system defaults to shadowing RAM (write protecting) which enhances performance. However, some peripheral cards require access to RAM at these locations.
  • Page 40: Setup Example

    EPROM in SSD1, nothing in SSD2, no memory test, 9600 baud, no hard drives, and booting from SSD1 with ROM–DOS: OCTAGON SYSTEMS CORPORATION 5025A SETUP UTILITY V3.2 (Press SPACE to CHANGE, ENTER to ACCEPT, ESC to EXIT) COM1 Console Baud Rate:...
  • Page 41: Chapter 5 Save & Run Programs

    Refer to Chapter 12, Using Your Own DOS/OS, for more informa- tion on saving and autoexecuting programs. This chapter also assumes you will be using the 5025A without a video card/monitor. If you are using these devices, refer to Chap- ter 10, Video and Keyboard, for more information on transferring and saving programs.
  • Page 42 MD C:\MPC XCOPY A:\*.* C:\MPC /S Change to the 5025A directory to allow access to DISKSEND: CD \MPC\5025A Connect a serial cable between COM1 on the 5025A to a COM port on your PC. Save & Run Programs – 32...
  • Page 43 DISKSEND section in Appendix A for more information. Also, if you cannot communicate at 38400 baud, use the /Bxxx switch on both DISKSAVE and DISKSEND. On the 5025A, execute the DISKSAVE program by typing: A>DISKSAVE /X /DSSD1 The systems displays the following message: Attempting connection with DISKSEND on remote host.
  • Page 44: Autoexecuting Your Program

    Run SETUP and specify “Boot from: SSD1 using ROM–DOS”. SETUP Type: RESET The 5025A will reset and boot from SSD1. SSD1 now becomes drive A. OVERRIDING PROGRAM AUTOEXECUTION FROM SSD1 If you want to make changes to your program and need to override autoexecution of your program, you must reboot the 5025A from the BIOS drive.
  • Page 45: Running Setup Again

    W3[3–4]. If you do not have a video card installed, the video display is through a COM1 serial link to your PC. The 5025A boots from the BIOS drive using ROM–DOS. COM1 is configured for 9600, N, 8, 1.
  • Page 46 If you have a video card installed in your 5025A systems, removing W3[3–4] will boot the 5025A from the BIOS drive and you will continue to use the video installed in your system. The following message appears when you reboot the 5025A: BIOS boot jumper (W3[3–4]) not installed, boot-...
  • Page 47: Chapter 6: Serial Ports

    Use a VTC–9F cable to connect the ports to the external serial equipment. The pinout of the connector allows you to plug the cable directly into a 9–pin PC serial connector. When interfacing the 5025A to your PC, you will need to use a null modem adapter. Serial Ports – 37...
  • Page 48: Com1 As Console I/O

    Some programs which access the video memory directly will not work properly on the 5025A without a video card resident. Refer to the DEMO.BAS program on the utility disk for an example of required QuickBASIC modifications. Refer to Chapter 10, Video and Keyboard, for more information on using a video as the console.
  • Page 49: Com1 As Rs-232 I/O

    COM1 AS RS-232 I/O When you have completed developing your application and pro- grammed the 5025A, you can use COM1 as an RS–232 serial port for connection to a printer, modem or other serial device. To access COM1 you have two options: Configure the 5025A for no console port by removing jumper W3[1–2] and boot the system from SSD1 or floppy/hard drive...
  • Page 50 The RS-422/485 compatible port is accessed through COM2 via terminal block P3. This port will support two–wire or four–wire transmissions. The following diagrams show how a typical two– wire or four–wire mode network is implemented: RS-422/485 2 Wire (Half Duplex) Transmission Node 1 Node 4 Node 2...
  • Page 51: Operating Precautions

    RS-422/485 4 Wire (Full Duplex) Transmission Host Node 1 Slave Slave Slave Node 3 Node 2 Node 4 Figure 6–2—Four–Wire Network Jumper block W7 selects either two or four wire transmission. This jumper automatically disables the transmitter output when operating in the two-wire mode. W7: Two or Four Wire Select Pins Jumpered Description...
  • Page 52: Transmitter Control

    EIA 485 specification for further details on grounding and safety procedures. Transmitter Control To turn the transmitter ON and OFF through software control, refer to the following table: 5025A Transmitter Control Program Statement Description Write a "1" to I/O location Enables transmitter output...
  • Page 53: Disabling Interrupts

    BIOS. To disable interrupts for COM1, write a 0 to 3FC bit 3. To disable COM2 write a 0 to 2FC bit 3. However, the 5025A now supports three additional interrupts: IRQ9, IRQ10 and IRQ11. Please refer to Appendix B for more information.
  • Page 54 Boot from a drive other than the BIOS drive, e.g., SSD1 with ROM–DOS. Use QuickBASIC’s OPEN/CLOSE/PRINT/INPUT commands to access COM1. The following is an example program using these commands: OPEN "COM1:9600,N,8,1,BIN" FOR RANDOM AS #1 CRLF$=CHR$(13)+CHR$(10) PRINT #1, "INPUT A STRING" + CRLF$ INPUT #1, A$ PRINT #1, CRLF$ + A$ CLOSE #1...
  • Page 55: Using Turbo C

    If you need to restore the serial parameters after executing a C program, refer to the file COMTEST.CPP. This file can be downloaded from the Octagon bulletin board at (303) 427–5368 using 2400 baud, 8 data bits, no parity, 1 stop bit.
  • Page 56 This page intentionally left blank. Serial Ports – 46...
  • Page 57: Chapter 7: Watchdog Timer

    CHAPTER 7 WATCHDOG TIMER DESCRIPTION The watchdog timer is a failsafe against program crashes or processor lockups. It times out every 1.2 seconds unless reset by the software. There are three timeout periods for the watchdog timer. Each is selected by configuring jumperblock W2. As shipped, the timeout is 1.2 seconds.
  • Page 58 This page intentionally left blank. Watchdog Timer – 48...
  • Page 59: Chapter 8: Lpt1 Printer Port

    CHAPTER 8 LPT1 PRINTER PORT DESCRIPTION The LPT1 parallel port has a 20–pin connector. It can be used to support a number of devices including PC compatible printer, multiline display, matrix keypad or 17 digital I/O lines. J5: Printer/Digital I/O Port Pin # Function STB*...
  • Page 60: Printer

    5025A, use the LCD–IFB interface board for LCD displays and the DP–IFB interface board for the DP series displays. A CMA–20 cable is required to connect the interface board to the 5025A. The program DISPLAY.EXE (found on the 5025A utility disk in the \DISPLAY subdirectory) provides an easy method to use the display.
  • Page 61: Keypad

    KEYPAD LPT1 also supports 4x4 matrix keypads. To interface the keypad to the 5025A, use either the LCD–IFB or DP–IFB interface board. A CMA–20 cable is required to connect the interface board to the 5025A. The program DISPLAY.EXE (found on the 5025A utility disk) provides an easy method to use the keypad.
  • Page 62 This page intentionally left blank. LPT1 Printer Port – 52...
  • Page 63: Chapter 9 Serial Eeprom

    CHAPTER 9 SERIAL EEPROM DESCRIPTION Up to 1792 bytes (that is, 896 words) of user-definable data can be saved in the serial EEPROM. The serial EEPROM does not require battery backup to maintain the data when the system power is off. The serial EEPROM is easily accessible via software interrupts by most programming languages.
  • Page 64 This page intentionally left blank. Serial EEPROM – 54...
  • Page 65: Chapter 10 Video And Keyboard

    DESCRIPTION You can use a video card with a monitor and a keyboard with the 5025A instead of using your PC keyboard and monitor over a serial communications link. The speaker and keyboard lines are brought out to a 10–pin connector via a CMA–10 cable. The Octagon PSKI–1 interface provides a PC compatible connector for the...
  • Page 66: Saving A Program To The 5025A

    Saving a Program to the 5025A The following steps detail the procedures for transferring files to the 5025A and programming the flash memory in SSD1 using the DISKSEND and DISKSAVE programs. The DISKSAVE program resides on the BIOS drive of the 5025A and the DISKSEND program resides on the 5025A utility disk.
  • Page 67: Transferring Files To The 5025A

    Transferring Files to the 5025A The following steps detail the procedures for transferring files from your PC to the virtual drive on the 5025A. In order to transfer files from your PC to the 5025A, you must execute the TRANSFER program from both the 5025A and your PC.
  • Page 68: Transferring Files From The 5025A

    Transferring Files from the 5025A In order to transfer files from your PC to the 5025A, you must execute the TRANSFER program from both the 5025A and your Connect a VTC–9F cable with a null modem adapter between COM1 of your PC to COM1 of the 5025A.
  • Page 69: Chapter 11 External Drives

    Also, refer to the instruction manuals included with each device. For each of the devices below, the first step is to install the 5025A Control Card into the Micro PC backplane. Refer to the instruc- tions in Chapters 4 –...
  • Page 70: Hard Disk Drive

    NOTE: When you boot from SSD1 using your own DOS, only one floppy drive will be available, since DOS thinks that SSD1 is drive A:. Connect your floppy disk drive to connector J3 on the 5800A (FDC drive B) and access it with B:. If, in SETUP, you entered 0 drives, access to either A: or B: will immediately generate an error message: ABORT RETRY FAIL?
  • Page 71 NOTE 2: If the 5815 BIOS is disabled via jumper, set W13 to 1-2 (IRQ14). See the 5815 manual for more information. If the HD BIOS is enabled on the 5025A, be sure to disable the HD BIOS on the 5800A or the 5815. For example,...
  • Page 72 This page intentionally left blank. External Drives – 62...
  • Page 73: Chapter 12 Using Your Own Dos/Os

    GETTING STARTED Verify that power to the card cage is OFF and install your 5025A Control Card and peripheral equipment, except for the video card. Plugging the card in backwards will destroy WARNING:...
  • Page 74: Selecting Boot, Memory, And Drive Options

    SELECTING BOOT, MEMORY, AND DRIVE OPTIONS You must specify your system’s parameters before you can save and run programs with the 5025A card. You define parameters by running the SETUP program. For a complete list of the options included in SETUP, please refer to Chapter 4, SETUP. As shipped, the BIOS drive is selected as the default boot device.
  • Page 75: Booting From Ssd1 With/Without A Floppy Drive

    The two programs, DISKSAVE and DISKSEND, transfer and save the files on the floppy disk to SSD1. The DISKSAVE program resides on the BIOS drive of the 5025A and the DISKSEND program resides on the 5025A utility disk. Establish a serial communications link between your PC and the 5025A.
  • Page 76 If you are using PC SmartLINK IV, press F9 or <ALT> + <X>. For other communication programs, skip to step 6. From the DOS command line, type the following: C>DISKSEND /FA The system then erases and programs the flash memory. This takes several minutes.
  • Page 77: Chapter 13: User-Defined Jumper

    The 5025A has jumpers at W9 that allow IRQ3 and IRQ4 from the PC bus to be jumpered to IRQ10 and IRQ11 on the 5025A card. If W6 is installed, IRQ11 is pulled low and IRQ4 from the PC becomes ineffective. W6 can be accessed by using the following .CPP listing.
  • Page 78 The following .BAT file will read the user-defined jumper, W6, on the 5025A using the above program. RJ.BAT @echo off echo Test the user jumper READJUMP.EXE if ERRORLEVEL 1 goto off echo Errorlevel says jumper is on goto done :off...
  • Page 79: Chapter 14 Cpu Power Management

    Stay Resident (TSR) program with source code examples that can be modified for use within your application software. These files are available on the Octagon BBS (Tel. No.: 303-427-5368). The file is called powermgt.zip and is located in the Downloads area (3).
  • Page 80: Slow.com

    SLOW.COM The SLOW.COM power management utility reduces the micropro- cessor clock speed by 50% in AT CPU’s and 60% in XT CPU’s. The execution of this utility also reduces the MicroPC power consump- tion by approximately 20% to 27%. Again results will vary depend- ing on the MicroPC model and memory configuration.
  • Page 81: Chapter 15 Troubleshooting

    Make sure all cards except the 5025A card are removed from the card cage. This ensures that other cards are not interact- ing with the 5025A and that a video card is not installed. Install W3[1–2] or remove W3[3–4]. The VTC–9F serial cable turns the 5025A Control Card serial port into a 9–pin AT serial port.
  • Page 82 System generates a BIOS message but locks up when booting from SSD1: Remove W3[3–4] to force booting from the BIOS drive. Press the reset button and reboot. Then note the drive designator for SSD1. Display the directory of SSD1 and verify that all the necessary boot files exist.
  • Page 83: Technical Assistance

    MEMDRIVE.SYS reports device not present for SSD2 when device installed. Make sure the flash EPROMs are programmed first. Make sure SETUP.COM has the correct "SSD2 Device" set. MEMDRIVE.SYS reports smaller size disk than device will hold in SSD1. Device was programmed from smaller disk than destination device using DISKSEND and DISKSAVE.
  • Page 84 This page intentionally left blank. Troubleshooting – 74...
  • Page 85: Chapter 16 Technical Data

    TECHNICAL SPECIFICATIONS 80C386CX (5025A-386-25MHz) 80486SLC (5025A-486-25MHz) 80486SLC2 (5025A-486-50MHz) Clock 5025A-386-25MHz and 5025A-486-25MHz: 12.5 or 25 MHz, 25 MHz is default; software selectable 5025A-486-50MHz: 25 or 50 MHz, 50 MHz (internal) is default; software selectable BIOS AT compatible with industrial extensions with the following exceptions: •...
  • Page 86 Printer Interface LPT1 is PC compatible, PSKI interface read. Power Requirements 5025A-386-25MHz: +5V at 318 mA typical (1 MB); 5V at 321 mA typical (2 MB) 5025A-486-25MHz: 5V at 870 mA typical (4 MB); 5V at 880 mA typical (8 MB)
  • Page 87 Memory Map 5025A Memory Map DRAM Extended Memory 0-A000 (base) DRAM, 1 MB A000-FFFF (used as extended) 0-A000 (base) DRAM, 2 MB A000-FFFF (parts shadowed) 10000-1FFFF (extended) 0-A000 (base) DRAM, 4 MB A000-FFFF (parts shadowed) 10000-3FFFF (extended) DRAM, 8 MB...
  • Page 88 I/O Map 5025A I/O Map Hex Range Function 000-00F 8237 DMA #1 020-021 8259 PIC #1 060-064 8255 PPI (XT) 070-071 MC146818 CMOS/RTC 080-08F 8237 DMA page registers 0A0-0AF 8259 PIC #2 & jumpers 0C0-0C7 8237 DMA #2 100-1FF Off card...
  • Page 89: Interrupts

    INTERRUPTS 5025A Interrupts Interrupt Description Timer Keyboard Cascade to second interrupt controller COM2/COM4 COM1/COM3 Hard Drive (XT) Floppy Drive LPT1 (Not used by ROM-DOS) CMOS Clock Free; Connected to IRQ2 on µPC Bus Free; Jumperable to IRQ3 on µPC Bus 11** Free;...
  • Page 90 W2: Watchdog Timer Pins Jumpered Timeout [1-2]* 1.2 seconds [2-3] 0.15 seconds Not jumpered 0.6 seconds * = default W3: COM1, Video and BIOS Boot Options Video Pins Jumpered Description System Video over COM1. System will boot [1-2][3-4]* SETUP boot device. Video over COM1.
  • Page 91 W5: RS-232 or RS-485 Select Pins Jumpered Description [1-2] RS-485 Receiver selected [2-3]* RS-232 Receiver selected * = default W6: User Options Pin# Description [1-2]* User defined jumper * = default W 7: Two or Four Wire Select Pins Jumpered Description [1-2] Four wire transmission...
  • Page 92 W9: Interrupt Select Pins Jumpered Bus IRQ CPU IRQ [1-2] IRQ4 IRQ11 [3-4]* IRQ4 IRQ4 [5-6] IRQ3 IRQ10 [7-8]* IRQ3 IRQ3 * = default NOTE: Jumper W6 must be removed to use IRQ 11. W1 2: SSD2 Device Select Pins Jumpered Description [2-4][3-5][7-8][9-10]* [1-2][4-6][8-10][9-11]...
  • Page 93: Connector Pinouts

    CONNECTOR PINOUTS Figure 16–1—Typical 10–pin IDC Connector J2: COM1 and J1: COM2 Serial Ports Pin # Function RxD* TxD* * = active low J3: Keyboard/Speaker Port Pin # Function Keyboard clock Keyboard data PBR* XRST* Speaker Technical Data – 83...
  • Page 94 Battery: RTC/SSD2 Backup Pin # Description +3.6V J5: Printer/Digital I/O Port Pin # Function STB* AFD* ERR* INIT* SLIN* ACK* BUSY SLCT * = active low Technical Data – 84...
  • Page 95: Pc Bus Pinouts

    PC BUS PINOUTS Micro PC "A" Pin # Description Signal Pin # Description Signal I/O CH CK* I/O CH RDY * = active low Technical Data – 85...
  • Page 96 Micro PC "B" Pin # Description Signal Pin # Description Signal DACK1* RESET DRQ1 DACK0* IRQ2 CLOCK N.C. Not used IRQ7 DRQ2 IRQ6 N.C. Not used IRQ5 Reserved Not used IRQ4 N.C. Not used IRQ3 N.C. Not used DACK2* MEMW* MEMR* IOW* N.C.
  • Page 97: Introduction

    APPENDIX A SOFTWARE UTILITIES INTRODUCTION The 5025A ROM–DOS and Software Utility Disk comes with the utilities listed below. Some of these utilities are also available on the 5025A BIOS drive. This appendix describes the utilities and their use. Support commands: COM1CON.COM...
  • Page 98: Com1Con.com

    COM1CON.COM COM1CON.COM Support Command PURPOSE: Redirects video to the COM1 port when you have a video card and monitor installed in your system and restores COM1 serial parameters. SYNTAX: COM1CON REMARKS: Execute COM1CON from the command line. When you are finished using the console port, reset your system.
  • Page 99: Disksave.exe

    /I option. /X specifies the source for programming is done through communication over a serial link connecting the 5025A to a remote host system running DISKSEND.EXE. Appendix A – 89...
  • Page 100 To program SSD2 from local subdirectory C:\DEMO\TEST, enter: DISKSAVE C:\DEMO\TEST /DSSD2 EXAMPLE 3: To program SSD1 from remote drive A, first enter the following command on the 5025A: DISKSAVE /DSSD1 Then enter the following command on the remote host system: DISKSEND EXAMPLE 4:...
  • Page 101 EXAMPLE 5: To create a 1 MB image file for the SSD1 EPROM from local drive A, enter: DISKSAVE /DSSD1 /S1M EXAMPLE 6: To create a 512K image file for SSD2 from a local subdirectory named C:\TEST, enter: DISKSAVE C:\TEST /DSSD2 /S512K EXAMPLE 7:...
  • Page 102: Disksend.exe

    2400, 4800, 9600, 19200, 38400, 57600 or 115200. The default is 38400. EXAMPLE 1: To send a local disk image (that is to be programmed into SSD1) through the serial link to the 5025A running DISKSAVE.EXE, first enter the following command on the 5025A: DISKSAVE /DSSD1...
  • Page 103 EXAMPLE 2: To send the image of floppy drive A via COM2 at the host system, that is to be programmed into SSD2 via COM1 at the 5025A, first enter the following command on the 5025A: DISKSAVE /DSSD2 Then enter the following command at the host...
  • Page 104: Fast.com

    FAST.COM Support Command PURPOSE: To change the CPU clock speed from 12.5 MHz to 25 MHz for the 5025A-386- 25MHz and the 5025A-486-25MHz. This command also changes the CPU clock speed from 25 MHz (internal) to 50 MHz (internal) for the 5025A-486-50MHz.
  • Page 105: Lpt1Con.com

    LPT1CON.COM LPT1CON.COM Support Command PURPOSE: Redirects the video to the LPT1 port. SYNTAX: LPT1CON REMARKS: If you have an LCD-IFB or DP-IFB interface board and a display connected to LPT1, executing the DISPLAY.EXE and LPT1CON.COM programs allow you to use the display as the system console.
  • Page 106: Memdrive.sys

    5025A MEMDRIVE.SYS V1.2, memory device not found in SSD2. Static Ram: The system attempts to format SSD2 as either a 128K or 512K SSD and displays the following message: 5025A MEMDRIVE.SYS V1.2, formatting SSD2 (128KB) as drive F: Appendix A – 96...
  • Page 107 SSD2 When there is a valid disk in SSD2 the system displays the following message: 5025A MEMDRIVE.SYS V1.2, assigning SSD2 (128KB) as drive F: NOTE: When booting from SSD1, you do not need a MEMDRIVE SSD1 entry in your CONFIG.SYS file.
  • Page 108 5025A MEMDRIVE.SYS V1.2 formatting (136KB) drive in DOS memory as drive D: The following CONFIG.SYS entries allow the user to access EMS memory. This is the memory above the 640K DOS memory limit. DEVICE=MEMDRIVE.SYS EMS All extended memory as a drive DEVICE=MEMDRIVE.SYS EMS mmm sss...
  • Page 109: Reset.com

    I/O cards on the bus. This differs from a <CTL><ALT><DEL> reboot of the system which only restarts the system but not the expansion cards. The RESET button on the 5025A also accomplishes the same thing as the RESET command. Appendix A – 99...
  • Page 110: Setup.com

    From the directory where this utility file is located, type: SETUP <RET> After the copyright message displays, the main menu appears: OCTAGON SYSTEMS CORPORATION 5025A SETUP UTILITY V3.2 --------------------------- (Press SPACE to CHANGE, ENTER to ACCEPT, ESC to EXIT) COM1 Console baud rate: 1200 2400...
  • Page 111 SSD2 device: None 128K/512K SRAM 128K 5V FLASH (29F010/ 29C010/29EE010) 512K 5V FLASH (29F040/ 20C040/28SF040) 512K EPROM (27C040) 1 MB EPROM (27C080) Boot from: BIOS drive using ROM–DOS SSD1 using ROM–DOS Floppy or Hard drive SSD1 using user supplied Number of floppy drives: Floppy drive 1 size: 360K 1.2 MB...
  • Page 112: Sleep.com

    SLEEP.COM SLEEP.COM Support Command PURPOSE: To conserve CPU power consumption. SYNTAX: SLEEP REMARKS: The command puts the processor in “sleep” mode, thus using less power. An interrupt awakens the processor and lets it resume its activities. The DOS clock is stopped while in sleep mode.
  • Page 113: Slow.com

    To change the CPU clock speed from 25 MHz to 12.5 MHz for the 5025A-386-25MHz and 5025A-486-25MHz. This command also changes the CPU clock speed from 50 MHz (internal) to 25 MHz (internal) for the 5025A- 486-50MHz. SYNTAX: SLOW REMARKS:...
  • Page 114: Transfer.exe

    TRANSFER.EXE TRANSFER.EXE Support Command PURPOSE: To transfer files to or from the 5025A over a serial port. SYNTAX: TRANSFER filepath [ /S | /R ] [ /Bb ] [ /V ] [ /COMc ] PARAMETERS: filepath specifies the file pathname to send or receive.
  • Page 115 PC to the file named D:\DEMO.EXE on the 5025A at 57600 baud with a serial cable from COM2 on the remote PC and COM1 on the 5025A, enter the following command on the 5025A: TRANSFER D:\DEMO.EXE /R /V /B57600...
  • Page 116 The TRANSFER command communicates with other XMODEM compatible file transfer programs. The serial port on the 5025A requires a null modem adapter when connected to a serial port on the remote PC. See the section, Serial Port, in this manual for more informa- tion.
  • Page 117: Programming Standard Eproms

    APPENDIX B PROGRAMMING STANDARD EPROMS The 5025A SSD1 and SSD2 sockets accept EPROMs as well as flash EPROMs. You must program the EPROM before installing it on the 5025A card, since there is no on–card programmer. To program an EPROM...
  • Page 118: Power Supply

    UPLOADING FILES FROM THE 5025A The TRANSFER program is also used to upload files from the 5025A card to your PC for editing or debugging. To upload a file: Make sure a serial link is established between your PC and the 5025A.
  • Page 119: Assigning Drive Designators

    DEVICE=MEMDRIVE.SYS BASE 136 Accesses a virtual drive in DOS base memory When your system boots up, the 5025A device drivers will be listed with their drive designations. When you boot from ROM–DOS in the BIOS drive, drives D–F are defined in the CONFIG.SYS file.
  • Page 120: Example

    5025A MEMDRIVE.SYS v2.0, formatting (384KB) in extended memory as drive D: 5025A MEMDRIVE.SYS v2.0, assigning SSD1 (128 KB) as drive E: 5025A MEMDRIVE.SYS v2.0, memory device not found in SSD2. NOTE: If a 512K battery–backed static RAM was installed in SSD2, the message would read MEMDRIVE.SYS v2.0, assigning...
  • Page 121 Perform the following before your program accesses extended memory: DX,387H (To prevent contention, disable access to the SSD, by writing a “1” to 387H.) MOV AL,1 OUT DX,AL MOV DX, 21AH ;set auto increment MOV AL, 80H OUT DX, AL MOV DX, 218H Bit 15 is enable for current page.
  • Page 122: Interrupts

    Two of the new interrupts, IRQ10 and IRQ11 are jumper select- able at W9 on the 5025A. IRQ10 on the 5025A is jumper selectable to IRQ3 on the bus and IRQ11 on the 5025A is jumper selectable to IRQ4 on the bus. The third interrupt, IRQ9, does not require any jumper settings.
  • Page 123: Using Microsoft Windows 3.1

    Bus IRQ5 connected to CPU IRQ5 * = default USING MICROSOFT WINDOWS 3.1 If you are using Microsoft DOS on the 5025A, Microsoft Windows 3.1 is fully compatible and operates in both Standard and En- hanced Modes. However, if you are using ROM–DOS 6.22 and Microsoft Windows on the 5025A, there is a limitation: •...
  • Page 124 CONFIG.SYS DEVICE=C:\WINDOWS\SMARTDRV.EXE /DOUBLE_BUFFER ROM–DOS 6.22 is not compatible with SMARTDRV.EXE and you must remove these entries. Appendix B – 114...
  • Page 125: Warranty

    Octagon specifically disclaims. Octagon neither assumes nor authorizes any other liability in connection with the sale, installa- tion or use of its products. Octagon shall have no liability for incidental or consequential damages of any kind arising out of the sale, delay in delivery, installation, or use of its products.
  • Page 126 State of Colorado. The information in this manual is provided for reference only. Octagon does not assume any liability arising out of the application or use of the information or products described in this manual.

Table of Contents