background image

Appendix A – 94

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.  The 18.2 per second timer tick
is disabled during this time.  All other
interrupts (i.e., serial and keyboard) are left
enabled.  When the processor is awakened
via an interrupt (usually via COM1 or
keyboard), the timer tick is reenabled and
the DOS time is updated from the CMOS
clock.

StockCheck.com

Summary of Contents for 4010

Page 1: ...4010 User s Manual Doc 03810 Rev 0198 OCTAGON SYSTEMS CORPORATION 6510 W 91st Ave Westminster CO 80030 Tech Support 303 426 4521 S t o c k C h e c k c o m ...

Page 2: ... is believed to be correct However Octagon assumes no responsibility for any of the circuits described herein conveys no license under any patent or other right and makes no representations that the circuits are free from patent infringement Octagon makes no representation or war ranty that such applications will be suitable for the use specified without further testing or modification Octagon Sys...

Page 3: ...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 Read the following to help avoid damage to your card from the use of CMOS chips S t o c k C h e c k c o m ...

Page 4: ...r settings or the customer has problems with the software This causes frustration for the customer and incurs a testing charge from Octagon Of the remaining 80 of the cards 90 of these cards fail due to customer misuse and accident Customers often cannot pinpoint the cause of the misuse Therefore 72 of the returned cards are damaged through some type of misuse Of the remaining 8 Octagon is unable ...

Page 5: ...has been induced Therefore a failure will probably occur in the future For such cards Octagon highly recommends that these cards be replaced Other over voltage symptoms In over voltage situations the programmable logic devices EPROMs and CPU chips usually fail in this order The failed device may be hot to the touch It is usually the case that only one IC will be overheated at a time Power sequenci...

Page 6: ...desktop PC power supplies Occasionally a cus tomer will use a regular desktop PC power supply when bringing up a system Most of these are rated at 5V at 20A or more Switching supplies usually require a 20 load to operate properly This means 4A or more Since a typical Micro PC system takes less than 2A the supply does not regulate properly Customers have reported that the output can drift up to 7V ...

Page 7: ... Communications with the 4010 16 Transferring Files between 4010 YourPC 18 Downloading Files to the 4010 19 CHAPTER 3 EPROMS 21 Description 21 SSD1 21 To Install an EPROM 21 DRAM 22 CHAPTER 4 SETUP 23 Description 23 Running SETUP 24 SETUP Example 28 CHAPTER 5 SAVE RUN PROGRAMS 29 Save and Run Your Programs on the 4010 29 Saving Program and Support Files 29 Autoexecuting Your Program 32 Overriding ...

Page 8: ...ORT 43 Description 43 Printer 43 Display 44 Keypad 44 CHAPTER 9 SERIAL EEPROM 45 Description 45 Reading the Serial EEPROM 45 Writing to the Serial EEPROM 45 CHAPTER 10 VIDEO KEYBOARD SPEAKER 47 Description 47 Using a Video Monitor and Keyboard 48 Saving a Program to the 4010 48 Transferring Files to the 4010 49 Transferring Files from the 4010 50 CHAPTER 11 EXTERNAL DRIVES 51 Description 51 Floppy...

Page 9: ...3 CHAPTER 15 TECHNICAL DATA 67 Technical Specifications 67 Jumper Settings 70 Connector Pinouts 71 Micro PC Bus Pinouts 77 APPENDIX A 79 Introduction 79 COM1CON COM 80 DISKSAVE EXE 81 DISKSEND EXE 84 FAST COM 86 LPT1CON COM 87 MEMDRIVE SYS 88 RESET COM 91 SETUP COM 92 SLEEP COM 94 SLOW COM 95 TRANSFER EXE 96 APPENDIX B 99 Programming Standard EPROMs 99 Custom Communication Cable 99 Power Supply 10...

Page 10: ...vi Assigning Drive Designators 101 Example 102 Extended Memory 102 Interrupts 104 Disabling Interrupts 105 Using Microsoft Windows 3 1 105 S t o c k C h e c k c o m ...

Page 11: ...n the 4010 Control Card CONVENTIONS USED IN THIS MANUAL 1 Information which appears on your screen output from your system commands or data that you key in is shown in a different type face Octagon 4010 BIOS Vers x xx Copyright c 1994 Octagon Systems Corp All Rights Reserved 2 Italicized refers to information that is specific to your particu lar system or program e g Enter filename means enter the...

Page 12: ...eration of all the extension cards DRAM Dynamic Random Access Memory devices DRAMs provide volatile memory with unlimited read and write cycles Expansion Card The expansion cards add I O functions to the Micro PC system such as analog input output digital input output motion control display and so on Flash memory Electrically erasable EPROM which allows approximately 10 000 writes Memory device Th...

Page 13: ...back up module TTL Compatible Transistor transistor logic compatible 0 5V logic levels Virtual Drive A disk created in DOS or extended memory which emulates an actual disk Provides temporary storage for files When power to the computer is turned off the virtual drive disappears XMODEM A communications protocol which allows transfer of files between two computers XON XOFF A communications protocol ...

Page 14: ...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 4010 Control Card User s Manual A description of your problem The direct line to Technical Support is 303 426 4521 S t o c k C h e c k c o m ...

Page 15: ...d 8 16 bit PC 104 connectors The card can be used in a stand alone mode or installed in a passive ISA bus backplane For very small systems one or two PC 104 expansion cards may be stacked on the 4010 The 4010 can also be installed in three or four slot card cages MAJOR FEATURES Instant DOS The 4010 is an instant DOS system The card includes 5 0 compatible DOS in a solid state disk The system boots...

Page 16: ... Plug it directly into a Micro PC card cage 2 Use the optional PC mounting bracket and plug it into any passive backplane 3 Panel mount it using the four mounting holes A screw terminal connector is used to supply the 5V power 4 Stack it with other Micro PC cards COM1 and COM2 Serial Ports COM1 and COM2 serial ports are 16C450 compatible The baud rates are programmable from 150 to 115K baud Both p...

Page 17: ...n or the RESET command It also provides a more complete reset than the CTL ALT DEL method Boot sequence A system can execute from the on card solid state disk floppy or hard disk Where to go from here Before you can begin developing your application program for the 4010 we recommend you read Chapters 2 4 These chapters give instructions for hardware installation downloading and saving your program...

Page 18: ...hdog Timer and configuring the timeouts Chapter 8 Using the LPT1 parallel port for a LPT1 Parallel Port printer display or keypad Chapter 9 How to read and write to the serial Serial EEPROM EEPROM Chapter 10 Configuring the 4010 with a Video Keyboard Speaker video keyboard and speaker Chapter 11 Configuring the 4010 with a External Drives floppy drive or hard drive Chapter 12 Using a PC 104 module...

Page 19: ...hnical Data jumper configurations and connector pinouts Appendix A Description and operation of Software Utilities software utility programs and device drivers Appendix B Using non Octagon cables program ming EPROMs uploading files from the 4010 assigning drive designators and using interrupts S t o c k C h e c k c o m ...

Page 20: ...Overview 10 This page intentionally left blank S t o c k C h e c k c o m ...

Page 21: ...NSTALLATION Your 4010 Control Card can be installed in one of three ways 1 Panel mount it using the four mounting holes 2 Plug it directly into a Micro PC card cage 3 Use the optional PC mounting bracket and plug it into any passive backplane Panel Mounting the 4010 To panel mount the 4010 you will need the following equipment or equivalent 4010 Control Card 5V Power Supply VTC 9F Cable Null modem...

Page 22: ...r to Center Hole Dimensions 2 Connect the proper ground and 5V wires to the terminal block at P2 3 Connect one end of the VTC 9F cable to the null modem adapter Connect the other end to COM1 J1 on the 4010 NOTE You must use COM1 on the 4010 in order to establish a serial communications link with your PC 4 If your PC has a 9 pin serial connector connect the null modem adapter to any serial port COM...

Page 23: ...l need the following equipment or equivalent 4010 Control Card Micro PC Card Cage Power Module VTC 9F Cable Null modem adapter 4010 ROM DOS Utility Software Disk PC SmartLINK w manual Your PC Please refer to Appendix B if you are making your own serial cable or using other non Octagon components To install the 4010 1 Please refer to Figure 2 2 for the location of various connectors before installi...

Page 24: ... 2 4010 Component Diagram WARNING The 4010 Control Card contains static sensitive CMOS components The greatest danger occurs when the card is plugged into a card cage The 4010 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 To avoid damaging your card and its...

Page 25: ...rd as it is installed in the card cage A31 B31 Card Edge Pins A31 B31 Card Edge Pins A1 B1 Micro PC Motherboard A1 B1 4010 Control Card Figure 2 3 Edge Connector Orientation 2 Attach the power module to the card cage following the instructions supplied with the power module 3 Make sure power to the card cage is OFF 4 Slide the 4010 into the card cage The ROM BIOS label on the card should face to t...

Page 26: ...PC SmartLINK manual for more information on using a COM port other than COM1 ESTABLISHING COMMUNICATIONS WITH THE 4010 1 Install PC SmartLINK or other communications software on your PC if you have not already done so Refer to the PC SmartLINK manual for installation instructions 2 Copy the 4010 files from the 4010 utility disk to a subdirectory on your PC hard drive 3 Start PC SmartLINK You are n...

Page 27: ...ke sure all jumpers are set to factory defaults If the system still does not respond refer to Chapter 14 Troubleshooting 6 Use the directory command to make sure your equipment and software are working properly Type DIR return A directory listing of ROM DOS files stored in the BIOS socket should appear Volume in drive A is BIOS DRIVE Directory of A COMMAND COM 27145 03 17 94 10 04a FAST COM 301 04...

Page 28: ...l drive The size of the virtual drive depends on the memory configuration of the 4010 4010 Virtual Drives DRAM Installed Virtual Drive Size 512K 136K uses MEMDRIVE SYS BASE 2 MB 1024K uses MEMDRIVE SYS EMS This memory is taken out of DOS base memory NOTE The drivers are optional when booting from SSD1 For example if you do not need a virtual drive with a 512K system do not use MEMDRIVE SYS A utili...

Page 29: ...ANSFER D DEMO EXE RETURN The following message displays Receiving D DEMO EXE 4 Press ALT D to download a file 5 Type in the name of the file to transfer for example DEMO EXE 6 Select START The progress of the transfer displays in the dialog box NOTE Transfer will timeout if the program has not been started after approximately 40 seconds It displays the following message Failed to receive d DEMO EX...

Page 30: ...ents of drive D Volume in drive D has no label Directory of D DEMO EXE 27264 01 01 80 2 57p 1 file s 27264 bytes 8 To execute the program you have just downloaded type D DEMO 9 The DEMO program displays a message on your PC S t o c k C h e c k c o m ...

Page 31: ...he flash memory a limited number of times about 100 000 if your applica tion program requires changes You can also use a 512K 1 MB standard EPROM These EPROMs must be programmed with an off card programmer Please refer to Appendix B for more infor mation To Install an EPROM 1 Set the jumpers at W8 for the correct memory device W8 SSD1 Memory Device Select Pins Jumpered Description 1 3 2 4 Flash me...

Page 32: ...m DISKSAVE before the EPROM is recognized Refer to the section in Chapter 5 Saving Program and Support Files and MEMDRIVE SYS in Appendix A DRAM The 4010 is shipped with either 512K or 2 MB of DRAM soldered onto the card S t o c k C h e c k c o m ...

Page 33: ...12K Flash EPROM Boot from Specifies the default boot drive BIOS drive using ROM DOS Number of Floppy Drives Specifies the number of floppy drives attached 0 Floppy Drive Size Specifies size of the first floppy drive 1 44 MB Shadow 0C000H 0C7FF The system will shadow write protect this segment of RAM Yes Shadow 0C800H 0CFFF The system will shadow write protect this segment of RAM Yes Move BIOS DRIV...

Page 34: ...d you can run SETUP to configure the system to autoexec ute your program RUNNING SETUP 1 Make sure you have established a serial communications link between the 4010 and your PC 2 Type A SETUP NOTE If you are not booting from the BIOS drive the drive designator may differ 3 The system will display the 4010 setup parameters and available options Select the option by pressing the space bar until the...

Page 35: ... If SSD1 is not programmed MEMDRIVE SYS dis plays the message Device not found when the system comes up Boot from BIOS drive using ROM DOS SSD1 using ROM DOS Floppy or Hard drive SSD1 using User supplied DOS NOTE If NONE was selected for the SSD1 device type the SSD1 boot options are not available We recommend that you do not change this option until you have saved and verified your program files ...

Page 36: ... you boot from SSD1 with your own DOS NOTE Connect the floppy to the second floppy cable connector The drive will be known as B 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 4010 Shadow 0C000H 0C7FFH Yes No This address is usually reserved for the video BIOS Sha...

Page 37: ...1 MB or more DRAM This frees up the address space for other applications such as PCMCIA SCSI and network cards NOTE This option is not available on 512K systems Number of line printers Auto Check 0 1 2 3 If you select Auto Check the system automatically checks the available parallel printer interfaces to verify their existence by writing a pattern to the printer data lines during boot up or reset ...

Page 38: ...m SSD1 with ROM DOS OCTAGON SYSTEMS CORPORATION 4010 SETUP UTILITY V2 7 Press SPACE to CHANGE ENTER to ACCEPT ESC to EXIT COM1 Console Baud Rate 9600 Power on memory test Disabled SSD1 device 512K FLASH 29F040 Boot from SSD1 using ROM DOS Number of floppy drives 0 Shadow 0C000H 0C7FFH Yes Shadow 0C800H 0CFFFH Yes Move BIOS DRIVE high Yes Number of line printers Auto check Number of hard drives 0 P...

Page 39: ...13 Using Your Own DOS for more information on saving and autoexecuting programs This chapter also assumes you will be using the 4010 without a video card monitor If you are using these devices refer to Chapter 10 Video and Keyboard for more information on transfer ring an saving programs SAVING PROGRAM AND SUPPORT FILES In addition to your application program you must also transfer support files t...

Page 40: ...program using the DEMO application and a flash memory in SSD1 All the files for this application are located on the 4010 utility disk in the DEMO directory 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 4010 and the DISKSEND program resides on the 4010 utility disk The following procedures assume y...

Page 41: ...SKSAVE X DSSD1 The systems displays the following message Attempting connection with DISKSEND on remote host 6 Exit to DOS and type the following C DISKSEND MPC DEMO The system then erases and programs the flash memory This may take several minutes 7 Restart PC SmartLINK 8 Confirm that the Boot from option in SETUP shows BIOS drive with ROMDOS Then type RESET 9 Display and verify the contents of S...

Page 42: ...ET The 4010 will reset and boot from SSD1 SSD1 now becomes drive C 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 4010 from the BIOS drive There are two options available 1 You can rerun SETUP to change the Boot from option to BIOS drive with ROM DOS If you include the line DEVICE MEMDRIV...

Page 43: ...ing on the hardware configuration of the 4010 3 Select the Boot from BIOS drive using ROM DOS option 4 Type E RESET 5 Make the necessary changes to your application and copy the new files to a floppy disk or RAM disk 6 Rerun DISKSEND and DISKSAVE to save your new files to SSD1 Verify and test your program 7 Rerun SETUP to change the default boot drive to SSD1 using ROM DOS 8 Reset the 4010 S t o c...

Page 44: ...N 8 1 The following message appears when you reboot the 4010 BIOS boot jumper W3 3 4 not installed boot ing from the BIOS drive and ignoring the video jumper setting 4010 C After booting from the BIOS drive use the DISKSAVE and DISKSEND programs to download new files to SSD1 Before rebooting the 4010 be sure to reinstall jumper W3 3 4 if you want the 4010 to boot a device other than the BIOS drive...

Page 45: ...1 1 5 or 2 stop bits and baud rates up to 115 2K J1 COM1 and J2 COM2 Serial Ports Pin Function 1 DCD 2 DSR 3 RxD 4 RTS 5 TxD 6 CTS 7 DTR 8 RI 9 Gnd 10 5 active low 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 4010 to your PC you will need to use a null...

Page 46: ...o card installed in system Video on CRT System will boot SETUP boot device 3 4 not jumpered Video on CRT System will boot BIOS drive default W3 1 2 is ignored If SETUP boot device is BIOS drive system will use video over COM1 NOTE When W3 3 4 is removed the baud rate defaults to 9600 If a video card is present jumper W3 1 2 is ignored Some programs which access the video memory directly will not w...

Page 47: ...pts on the bus You can however disable the COM1 and COM2 interrupts IRQ4 and IRQ3 to allow for other devices which use these interrupts If COM1 is the console its interrupt IRQ4 is in use COM2 IRQ3 is not used by the BIOS To disable interrupts for COM1 write a 0 to 3FC bit 3 To disable COM2 write a 0 to 2FC bit 3 NOTE You can also use different interrupts for COM3 IRQ11 and COM4 IRQ10 IRQ9 and IRQ...

Page 48: ... Boot from a drive other than the BIOS drive e g SSD1 with ROM DOS 3 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 NOTE All PRINT PRINT USING INPUT commands MUST use the COM1 device number METHOD 2 1 Leav...

Page 49: ...ge application named USECOM1 USECOM1 COM1CON Then execute TEST BAT METHOD 3 1 Leave the video jumper W3 1 2 on 2 Use the PRINTS PRINTSL KEYHIT INKEY2 commands as found in the DEMO BAS and DSQBTEST BAS programs included on the utility diskette Unformatted string output and string input must be done manually NOTE Programs written in this manner will also work with a video card present and therefore ...

Page 50: ...get the system displays over COM1 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 S t o c k C h e c k c o m ...

Page 51: ...tting on power up or reset When you want to start using the watchdog timer write a 1 to address 380H You must write any data to 201H within the timeout period to prevent the board from resetting When you write to 201H the timer resets and begins counting down again The following table lists the software enable and strobe informa tion Watchdog Timer Software Strobe Addresses Enable Base Address 380...

Page 52: ...Watchdog Timer 42 This page intentionally left blank S t o c k C h e c k c o m ...

Page 53: ...n Function 1 Out STB 2 Out AFD 3 I O D0 4 In ERR 5 I O D1 6 Out INIT 7 I O D2 8 Out SLIN 9 I O D3 10 Gnd Gnd 11 I O D4 12 Gnd Gnd 13 I O D5 14 Gnd Gnd 15 I O D6 16 Gnd Gnd 17 I O D7 18 Gnd Gnd 19 Out ACK 20 Gnd Gnd 21 In BUSY 22 Gnd Gnd 23 In PE 24 Gnd Gnd 25 In SLCT 26 5 5 active low PRINTER To install a printer 1 Connect an Octagon VTC 5 IBM cable from the LPT1 port J5 to the 25 pin connector on...

Page 54: ...14 pin or 16 pin header on the 2010 The size of the display will determine which header to use 3 Refer to the file DISPLAY DOC for more information on initializing and using the display KEYPAD LPT1 also supports 4x4 matrix keypads To interface the keypad to the 4010 use the Octagon 2010 interface board A CMA 26 cable is required to connect the interface board to the 4010 The program DISPLAY EXE fo...

Page 55: ... and INT 17 subfunction 0FFH write READING THE SERIAL EEPROM The following Borland C example reads word 2 _AH 0xfe read _BX 2 index for word in serial EEPROM 0 895 _DX 0xffff always set to FFFFH geninterrupt 0x17 do interrupt EEdata _AX serial EEPROM data returned in AX WRITING TO THE SERIAL EEPROM The following Borland C example writes 1234H to word 2 _AH 0xff write _BX 2 index for word in serial...

Page 56: ...Serial EEPROM 46 This page intentionally left blank S t o c k C h e c k c o m ...

Page 57: ...rial communications link The keyboard lines are brought out to a PS 2 type connector Any PS 2 compatible keyboard may be used J3 Keyboard Port Pin Function 1 Keyboard data 2 NC 3 Gnd 4 5V 5 Keyboard clock 6 NC The speaker is interfaced via a 3 pin connector at J9 You may use any external speaker from 8 50 ohms J9 Speaker Connector Pin Function 1 Gnd 2 Speaker data 3 5V S t o c k C h e c k c o m ...

Page 58: ...play module or 54xx video card and monitor 3 Connect the keyboard to J3 4 Install the 4010 and video card into the card cage 5 Power on the 4010 The BIOS messages should appear on your video monitor Octagon 4010 BIOS vers x xx Copyright c 1994 Octagon Systems Corp All Rights Reserved Saving a Program to the 4010 The following steps detail the procedures for transferring files to the 4010 and progr...

Page 59: ...o the virtual drive on the 4010 In order to transfer files from your PC to the 4010 you must execute the TRANSFER program from both the 4010 and your PC 1 Connect a VTC 9F cable with a null modem adapter between COM1 of your PC to COM1 of the 4010 2 Execute the TRANSFER program from the 4010 to receive a file from your PC TRANSFER COM1 R V drive filename ext drive is the virtual drive on the 4010 ...

Page 60: ...ween COM1 of your PC to COM1 of the 4010 2 Execute the TRANSFER program from the 4010 to send a file to your PC TRANSFER COM1 S V filename ext filename ext is the name of the file on the 4010 which you are sending to your PC V enables R characters on receiving a block and T on transferring a block 3 Execute the TRANSFER program from your PC to receive a file from the 4010 TRANSFER COM1 R V filenam...

Page 61: ...e or two 3 5 in or 5 25 in floppy drives via a 34 position IDC connector at J6 Both floppy drives use DMA channel 2 Power Requirements The 4010 requires 5V for operation If you are using an Octagon 5814 Floppy Disk Drive power is supplied directly from the floppy port No external supply is required If your floppy drive does not support power through the cable you must supply power through an exter...

Page 62: ...o install a floppy disk drive 1 Install the 4010 Control Card 2 Connect the floppy disk drive cable to J6 on the 4010 If you are using an Octagon 5814 Floppy Disk Drive power is supplied directly from the floppy port No external supply is required If you are using a floppy disk drive other than the Octagon 5814 make sure the drive cable pinouts meet the following requirements S t o c k C h e c k c...

Page 63: ...5 Gnd 16 MTR1 ON 17 Gnd 18 DIR IN 19 Gnd 20 STEP 21 Gnd 22 WR DATA 23 Gnd 24 WR GATE 25 Gnd 26 TRK 00 27 Gnd 28 WRITE PROTECT 29 Gnd 30 RD DATA 31 Gnd 32 SIDE 1 33 Gnd 34 DISK CHANGE active low 3 Run SETUP to set the number of floppy drives and their size NOTE Two drive designators will be assigned regardless of how many drives you specify in SETUP S t o c k C h e c k c o m ...

Page 64: ...since DOS thinks that SSD1 is floppy drive A Connect your floppy disk drive to the second floppy cable connector and access it with B 4010 Control Card J6 FC 2 3 Cable Floppy drive B Figure 11 2 One Floppy System With User Supplied DOS 5 If in SETUP you entered 0 drives access to either A or B will immediately generate an error message ABORT RETRY FAIL Press A or F to cancel your request Run SETUP...

Page 65: ...can copy files from one floppy to another If in SETUP you entered 2 drives access to either drive A or drive B work just as they would in a PC If you want to boot from the floppy disk using your own DOS refer to Chapter 13 Using Your Own DOS HARD DISK DRIVE The 4010 supports one standard 16 bit AT IDE hard drive Connector J8 is a 44 pin connector which supports 2 5 in hard drives The hard drive BI...

Page 66: ...TA 13 15 DATA 1 16 DATA 14 17 DATA 0 18 DATA 15 19 Gnd 20 KEY 21 Reserved 22 Gnd 23 IOWR 24 Gnd 25 IORD 26 Gnd 27 NC 28 BALE 29 NC 30 Gnd 31 IRQ 14 32 IO16 33 ADDR1 34 NC 35 ADDR0 36 ADDR2 37 HCSO 38 HCSI 39 LED 40 Gnd 41 5 LOGIC 42 5 MOTOR 43 Gnd 44 NC active low Power Requirements 5V is supplied from the 4010 to the hard drive through the disk drive cable S t o c k C h e c k c o m ...

Page 67: ...lows you to interface to a variety of PC 104 form factor modules including video analog I O floppy hard disks etc These modules can be stacked on top of the 4010 to form a highly integrated control system 4010 Control Card PC 104 Connector Standoff PC 104 Module Figure 12 1 Typical PC 104 Module Stack S t o c k C h e c k c o m ...

Page 68: ...PC 104 58 This page intentionally left blank S t o c k C h e c k c o m ...

Page 69: ...video card Plugging the card in backwards will destroy the card 2 Install memory devices in SSD1 if it isn t already in place To install memory devices refer to Chapter 3 EPROMs 3 A logon message similar to the one below will appear on your PC monitor Octagon 4010 BIOS vers x xx Copyright c 1994 Octagon Systems Corp All Rights Reserved If you don t get the proper logon message Remove W3 3 4 If usi...

Page 70: ...efer to Chapter 4 SETUP As shipped the BIOS drive is selected as the default boot device Booting the 4010 from a Floppy Hard Disk Drive 1 Type SETUP 2 Select the answer to each question by pressing the space bar until the correct information appears then press ENTER Press ESC if you want to exit SETUP without saving your answers or changes to the answers When you reach the Boot from option press t...

Page 71: ...es on the floppy disk to SSD1 The DISKSAVE program resides on the BIOS drive of the 4010 and the DISKSEND program resides on the 4010 utility disk 3 Establish a serial communications link between your PC and the 4010 NOTE If you are using COM2 on your PC you must use the C2 switch with DISKSEND Refer to the DISKSEND section in Appendix A for more information Also if you cannot communicate at 38400...

Page 72: ... line type the following C DISKSEND FA 7 The system then erases and programs the flash memory This may take several minutes Restart PC SmartLINK 8 Type RESET 9 Display and verify the contents of SSD1 DIR E 10 Run SETUP and change your selection of the Boot options to SSD1 using User supplied DOS 11 Install jumper W2 3 4 and reboot your system by typing RESET S t o c k C h e c k c o m ...

Page 73: ... proper serial port on the PC Make sure the VTC 9F serial cable is connected to J1 on the Control Card 4 Make sure your power module provides 5V 0 25V 5 After verifying the above conditions you can monitor voltage levels by connecting an oscilloscope between the TxD line on J1 pin 5 and ground After power up you should see a burst of activity on the oscilloscope screen The voltage level should swi...

Page 74: ...ot files exist Copy any missing files to the floppy disk and re execute DISKSEND and DISKSAVE 4 If no files are missing remake SSD1 to overwrite any files which may have become corrupted System boots from BIOS drive even though I specified boot from SSD1 using ROM DOS 1 Make sure SSD1 is programmed Booting from SSD1 with user supplied DOS doesn t work 1 If you made SSD1 using a floppy drive test t...

Page 75: ...old in SSD1 1 The size of the solid state disk generated with DISKSAVE EXE is made only as large as required to minimize programming time TECHNICAL ASSISTANCE Carefully recheck your system before calling Technical Support Run as many tests as possible the more information you can provide the easier it will be for the Technical Support staff to help you solve the problem For technical assistance pl...

Page 76: ...Troubleshooting 66 This page intentionally left blank S t o c k C h e c k c o m ...

Page 77: ...are jumperable between 3 4 or 10 11 on card DRAM 512K or 2 MB options DRAM is soldered onto the card Solid State Disk 1 Supports 128K or 512K 5V only flash memory for application program Programmer built in Supports 512K or 1 MB EPROMs ROM DOS Combined with BIOS ROM DOS 5 0 compatible Serial I O COM1 and COM2 are 8250 compatible Printer Interface LPT1 is PC compatible Power Requirements 4010 386 2...

Page 78: ...software enabled and strobed Disabled on power up and reset Address of the enable timer is 380H address of strobe is 201H Memory Map 4010 Memory Map Address Description 00000 9FFFFH System Memory A0000 CFFFFH Off card memory D0000 DFFFFH SSD1 Switchable to off card E0000 EFFFFH BIOS drive optionally off card with BIOS loaded high F0000 FFFFFH DOS kernal BIOS S t o c k C h e c k c o m ...

Page 79: ...ROM program enable 020CH Not used 020DH Not used 020EH RS 232 charge pump powerdown 020FH SSD bank switch A19 0210 02F7H Off card 02F8 02FFH COM2 serial port 0300 0377H Off card 0378 037FH LPT1 printer port 0380 0387H Bit port 0380H Watchdog enable 0381H Not used 0382H SSD bank switch A16 0383H SSD bank switch A17 0384H SSD bank switch A18 0385H Not used 0386H Power LED switch 0387H SSD socket ena...

Page 80: ...n 1 2 3 4 No video card installed in system Video over COM1 System will boot SETUP boot device 1 2 Video over COM1 System will boot BIOS drive 3 4 No COM1 video available COM1 available for use in application System will boot SETUP boot device 3 4 Video card installed in system Video on CRT System will boot SETUP boot device 3 4 not jumpered Video on CRT System will boot BIOS drive default W3 1 2 ...

Page 81: ...4 IRQ4 5 6 IRQ3 IRQ10 7 8 IRQ3 IRQ3 default NOTE IRQ6 on bus is tied to IRQ12 on the CPU W8 SSD1 Memory Device Select Pins Jumpered Description 1 3 2 4 Flash memory 3 5 4 6 EPROM default CONNECTOR PINOUTS 1 2 3 4 5 6 7 8 9 10 Figure 15 1 Typical 10 pin IDC Connector S t o c k C h e c k c o m ...

Page 82: ...eyboard data 2 NC 3 Gnd 4 5V 5 Keyboard clock 6 NC J4 Battery Connector Pin Function 1 Battery 2 NC 3 Gnd 4 Gnd J1 COM1 and J2 COM2 Serial Ports Pin Function 1 DCD 2 DSR 3 RxD 4 RTS 5 TxD 6 CTS 7 DTR 8 RI 9 Gnd 10 5 active low S t o c k C h e c k c o m ...

Page 83: ... O D0 4 In ERR 5 I O D1 6 Out INIT 7 I O D2 8 Out SLIN 9 I O D3 10 Gnd Gnd 11 I O D4 12 Gnd Gnd 13 I O D5 14 Gnd Gnd 15 I O D6 16 Gnd Gnd 17 I O D7 18 Gnd Gnd 19 In ACK 20 Gnd Gnd 21 In BUSY 22 Gnd Gnd 23 In PE 24 Gnd Gnd 25 In SLCT 26 5 5 active low S t o c k C h e c k c o m ...

Page 84: ...7 5V or Gnd 8 INDEX 9 5V or Gnd 10 MTR2 ON 11 5V or Gnd 12 DS1 13 Gnd 14 DS2 15 Gnd 16 MTR1 ON 17 Gnd 18 DIR IN 19 Gnd 20 STEP 21 Gnd 22 WR DATA 23 Gnd 24 WR GATE 25 Gnd 26 TRK 00 27 Gnd 28 WRITE PROTECT 29 Gnd 30 RD DATA 31 Gnd 32 SIDE 1 33 Gnd 34 DISK CHANGE active low S t o c k C h e c k c o m ...

Page 85: ...WS LA17 DACK0 9 SD0 12V MEMR DRQ0 10 IOCHRDY KEY MEMW DACK5 11 AEN SMEMW SD8 DRQ5 12 SA19 SMEMR SD9 DACK6 13 SA18 IOW SD10 DRQ6 14 SA17 IOR SD11 DACK7 15 SA16 DACK3 SD12 DRQ7 16 SA15 DRQ3 SD13 5V 17 SA14 DACK1 SD14 MASTER 18 SA13 DRQ1 SD15 0V 19 SA12 REFRESH KEY 0V 20 SA11 SYSCLK 21 SA10 IRQ7 22 SA9 IRQ6 23 SA8 IRQ5 24 SA7 IRQ4 25 SA6 IRQ3 26 SA5 DACK2 27 SA4 TC 28 SA3 BALE 29 SA2 5V 30 SA1 OSC 31...

Page 86: ...2 13 DATA 2 14 DATA 13 15 DATA 1 16 DATA 14 17 DATA 0 18 DATA 15 19 Gnd 20 KEY 21 Reserved 22 Gnd 23 IOWR 24 Gnd 25 IORD 26 Gnd 27 NC 28 BALE 29 NC 30 Gnd 31 IRQ 14 32 IO16 33 ADDR1 34 NC 35 ADDR0 36 ADDR2 37 HCSO 38 HCSI 39 LED 40 Gnd 41 5 LOGIC 42 5 MOTOR 43 Gnd 44 NC active low J9 Speaker Connector Pin Function 1 Gnd 2 Speaker data 3 5V S t o c k C h e c k c o m ...

Page 87: ...A2 D7 I O A18 A13 O A3 D6 I O A19 A12 O A4 D5 I O A20 A11 O A5 D4 I O A21 A10 O A6 D3 I O A22 A9 O A7 D2 I O A23 A8 O A8 D1 I O A24 A7 O A9 D0 I O A25 A6 O A10 I O CH RDY I A26 A5 O A11 AEN O A27 A4 O A12 A19 O A28 A3 O A13 A18 O A29 A2 O A14 A17 O A30 A1 O A15 A16 O A31 A0 O A16 A15 O active low S t o c k C h e c k c o m ...

Page 88: ...9 I B20 CLOCK O B5 5V Not used B21 IRQ7 I B6 DRQ2 I B22 IRQ6 I B7 12V Not used B23 IRQ5 I B8 Reserved Not used B24 IRQ4 I B9 12V Not used B25 IRQ3 I B10 Analog Gnd Not used B26 DACK2 I B11 MEMW O B27 T C I B12 MEMR O B28 ALE O B13 IOW O B29 Aux 5V Not used B14 IOR O B30 OSC O B15 DACK3 O B31 GND I B16 DRQ3 I active low S t o c k C h e c k c o m ...

Page 89: ...endix describes the utilities and their use Support commands COM1CON COM DISKSAVE EXE DISKSEND EXE FAST COM LPT1CON COM RESET COM SETUP COM SLEEP COM SLOW COM TRANSFER EXE Support device drivers MEMDRIVE SYS NOTE Other utilities are included from ROM DOS and are not mentioned in this section Please refer to your ROM DOS manual APPENDIX A SOFTWARE UTILITIES S t o c k C h e c k c o m ...

Page 90: ...nd line When you are finished using the console port reset your system After boot up the system reverts to using the video card and monitor Also some programming languages may not restore the serial parameters after using the COM1 port COM1CON COM will restore the COM1 port as the console You must include your program and COM1CON in a batch file and then execute the batch file to restore the conso...

Page 91: ... be pro grammed s can be either 512K or 1M The default is 512K I specifies the source for programming to be an image file Fd specifies the source for programming to be a local drive The disk image of the specified drive is used d can be any DOS drive letter path specifies the source for programming to be a local tree of files filespec specifies the full path name of the image file to be used with ...

Page 92: ...TEST enter DISKSAVE C DEMO TEST DSSD1 EXAMPLE 3 To program SSD1 from remote drive A first enter the following command on the 4010 DISKSAVE X DSSD1 Then enter the following command on the remote host system DISKSEND FA EXAMPLE 4 To program SSD1 from a remote subdirectory C DEMO through COM2 at baud rate 9600 first enter the following command on the 4010 DISKSAVE X DSSD1 C2 B9600 Then enter the foll...

Page 93: ...ots from a user supplied DOS or full ROM DOS the source must be a bootable drive use the Fd option from either a remote or local system When a subdirectory path is used as input to DISKSAVE EXE DISKSAVE creates a temporary file in the currect directory Consequently the current directory cannot be included in the specified path and must not be write protected The filename of the image file created ...

Page 94: ...gramming to be a local tree of files Use path when not using Fd Cc specifies the COM port c to be used Use C only when X is used c can be 1 2 3 or 4 The default is 1 Bb specifies the baud rate b to be used Use B only when X is used b can be 300 1200 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 se...

Page 95: ...DISKSEND EXE the X option must be used When the Fd option is used the drive specified must have a sector size of 512 bytes Both 1 44M and 720K floppies have a sector size of 512 bytes To program an SSD which boots from a user supplied DOS or full ROM DOS the source must be a floppy drive use the Fd option The size of the disk image generated with DISKSEND EXE that was sent over the serial link is ...

Page 96: ...Hz for the 4010 SYNTAX FAST REMARKS Enter the following command to change to the 25 MHz clock speed during system bootup for the 4010 FAST You can also enter CTL ALT to switch to 25 MHz if you are using a keyboard and monitor with the 4010 The default speed is fast after a reset S t o c k C h e c k c o m ...

Page 97: ... 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 You must reset your system to change the video to the original parameters SEE ALSO COM1CON COM DISPLAY DOC on the utility disk S t o c k C h e c k c o m ...

Page 98: ...which time you can access the device as a normal disk The drive letter for the virtual drive is dependent on the order of the devices listed in the CONFIG SYS file If the driver does not see a valid device it will do one of the following Flash memory If the system does not find a valid disk i e a flash memory which has been programmed with DISKSAVE DISKSEND it displays the following mes sage 4010 ...

Page 99: ... on 2 MB systems the virtual drive will not be available For 512K systems the virtual drive is always available These drives are always formatted on reset Once the virtual drive is defined it can be accessed as any other disk At boot up if the virtual drive is specified the following message displays 4010 MEMDRIVE SYS V1 2 formatting 136KB drive in DOS memory as drive D The following CONFIG SYS en...

Page 100: ...DISK SYS 512 e dos high See the ROM DOS manual for more informa tion The size of the virtual drive depends on the amount of DRAM in your system EMS Virtual Drives DRAM Installed Virtual Drive Size 512K 0 2 MB 1024K Size assumes the BIOS drive is loaded low Subtract 128K to obtain the virtual drive size if the BIOS drive is high S t o c k C h e c k c o m ...

Page 101: ...ting the system SYNTAX RESET REMARKS The RESET command also restarts all the expansion 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 4010 also accomplishes the same thing as the RESET command S t o c k C h e c k c o m ...

Page 102: ... utility file is located type SETUP RET After the copyright message displays the main menu appears OCTAGON SYSTEMS CORPORATION 4010 SETUP UTILITY V3 2 Press SPACE to CHANGE ENTER to ACCEPT ESC to EXIT COM1 Console baud rate 1200 2400 4800 9600 19200 38400 57600 Power on memory test Enabled Disabled SSD1 Device none 128K 5V FLASH 29F010 512K 5V FLASH 29F040 EPROM 27C0X0 S t o c k C h e c k c o m ...

Page 103: ...0K 1 44 MB Shadow 0C000H 0C7FFH Yes No Shadow 0C700H 0CFFFH Yes No Move BIOS DRIVE high Yes No Number of line printers Auto Check 0 1 2 3 Number of hard drives 0 1 2 Drive 0 parameters Cylinders xxx Heads x Sectors xx Press ENTER to SAVE the changes or Press ESC to EXIT without saving the changes Options saved You must reset for these options to take effect S t o c k C h e c k c o m ...

Page 104: ...kens the processor and lets it resume its activities The DOS clock is stopped while in sleep mode The 18 2 per second timer tick is disabled during this time All other interrupts i e serial and keyboard are left enabled When the processor is awakened via an interrupt usually via COM1 or keyboard the timer tick is reenabled and the DOS time is updated from the CMOS clock S t o c k C h e c k c o m ...

Page 105: ...Hz for the 4010 SYNTAX SLOW REMARKS Enter the following command from the DOS prompt or in a batch file to change to the 12 5 MHz clock speed for the 4010 SLOW You can also press CTL ALT to change to 12 5 MHz if you are using a keyboard and monitor with the 4010 SEE ALSO FAST COM S t o c k C h e c k c o m ...

Page 106: ...an be 300 1200 2400 4800 9600 19200 38400 57600 115 115200 The default is 9600 when using a COMc switch If COM1 is the console the baud rate defaults to the current console baud rate V enables the display of R when a block 128 bytes is received or T when a block is transmitted NOTE Do not use V when COM1 is the console device COMc specifies the serial port to use c can be 1 4 The default is 1 EXAM...

Page 107: ...te PC to the file named D DEMO EXE on the 4010 at 57600 baud with a serial cable from COM2 on the remote PC and COM1 on the 4010 enter the follow ing command on the 4010 TRANSFER D DEMO EXE R V B57600 Then enter the following command on the remote PC TRANSFER C DEMO DEMO EXE S V COM2 B57600 To receive a file named D MYAPP EXE from the 4010 and name it C APPS MYAPP2 EXE on the remote PC over a seri...

Page 108: ...ll modem adapter when connected to a serial port on the remote PC See the section Serial Port in this manual for more informa tion The maximum baud rate is dependent on the processor speeds of the remote PC and the 4010 The received file size is rounded up to the nearest 128 byte boundary SEE ALSO DISKSAVE EXE DISKSEND EXE S t o c k C h e c k c o m ...

Page 109: ...SSD1 S1M B To create a 512K image file for SSD1 from a local subdirectory named C TEST enter DISKSAVE C TEST DSSD1 S512K 2 Install the EPROM into the programmer and program the chip using the file SSD1 IMG CUSTOM COMMUNICATION CABLE The 4010 card requires an RS 232 serial communications cable to interface to the PC If you are not using a VTC series cable you can make your own communications cable ...

Page 110: ... 8 RI Input 22 9 RI 9 Gnd 7 5 Gnd 10 5 NC NC POWER SUPPLY If using a switching power supply make sure you meet minimum load requirement for the power supply UPLOADING FILES FROM THE 4010 The TRANSFER program is also used to upload files from the 4010 card to your PC for editing or debugging To upload a file 1 Make sure a serial link is established between your PC and the 4010 2 Start PC SmartLINK ...

Page 111: ... the files to your boot drive in order to access the BIOS drive and the extended memory virtual drive NOTE Even though you provide information about memory devices during setup you must still define drivers for these devices in your CONFIG SYS file The following is an example listing of CONFIG SYS entries for the device drivers included with the 4010 Each of these device drivers is discussed in gr...

Page 112: ...s from the BIOS drive with 1MB DRAM and 128K flash memory in SSD1 The system assigns the following drive designations 4010 MEMDRIVESYS v2 0 formatting 384KB in extended memory as drive D 4010 MEMDRIVE SYS v2 0 assigning SSD1 128 KB as drive E EXTENDED MEMORY Once you have installed 1 MB or more of DRAM in your system you can bypass the memory driver and extend the available memory past 640K by usi...

Page 113: ...40 first 16K starting at D000 OUT DX AX INC AX OUT DX AX second 16K starting at D400 INC AX OUT DX AX third 16K starting at D800 INC AX OUT DX AX fourth 16K starting at DC00 Access the page by writing reading through the EMS window MOV AX 0D000H MOV ES AX Sets ES to the window segment XOR DI DI MOV ES DI AH To store something in the window MOV AH ES DI To retrieve something from the window When yo...

Page 114: ...s allows applications using expansion cards such as the Micro PC 5540 Multifunction Card or the Micro PC 5300 Counter Timer Card to use interrupts which have previously conflicted with the CPU For example using the 5540 with the 4010 allows you to support four COM port interrupts at one time COM1 IRQ4 and COM2 IRQ3 on the 4010 and COM3 IRQ10 and COM4 IRQ11 on the 5540 card NOTE The 5540 will still...

Page 115: ...se these interrupts If COM1 is the console its interrupt IRQ4 is in use COM2 IRQ3 is not used by the BIOS To disable interrupts for COM1 write a 0 to 3FC bit 3 To disable COM2 write a 0 to 2FC bit 3 USING MICROSOFT WINDOWS 3 1 If you are using Microsoft DOS on the 4010 Microsoft Windows 3 1 is fully compatible and operates in Standard Mode only Enhanced Mode is not supported due to the limitations...

Page 116: ...OS 5 0 is not compatible with SMARTDRV EXE and you must remove these entries The ROM DOS memory manager HMA SYS will not work with Windows You must use the HIMEM SYS memory manager that comes with Windows 3 1 Windows only runs in Standard mode on the 4010 From the DOS prompt type WIN S S t o c k C h e c k c o m ...

Page 117: ...ability capacity or suitability for use of the Software Software is licensed on an AS IS basis without warranty The warranty and remedies set forth above are in lieu of all other warranties expressed or implied oral or written either in fact or by operation of law statutory or otherwise including warranties of merchantability and fitness for a particular purpose which Octagon specifically disclaim...

Page 118: ...itations may apply to international shipments NOTE PRODUCTS RETURNED TO OCTAGON FREIGHT COLLECT OR WITHOUT AN RMA NUMBER CANNOT BE ACCEPTED AND WILL BE RETURNED FREIGHT COLLECT RETURNS There will be a 20 restocking charge on returned product that is unopened and unused if Octagon accepts such a return Returns will not be accepted 30 days after purchase Opened and or used products non standard prod...

Reviews: