background image

22-4

Troubleshooting

6000 Series user’s manual

Summary of Contents for 6000 Series

Page 1: ...tracting zip file located at the Octagon Systems web site on the product specific page Download this file to a separate directory on your hard drive then double click on it to extract the files All references in this manual to files and directories on the CD now refer to files in the Utilities zip file ...

Page 2: ...O C T A G O N S Y S T E M S Embedded PCs For Extreme Environments 6000 Series User s Manual 4738 0906 ...

Page 3: ...e information contained in this manual 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 warranty that such applications will be suitable for the use specified without furthe...

Page 4: ...en put in the context of the Micro PC Octagon has developed a reliable database of customer induced field failures The average MTBF of Micro PC cards exceeds 11 years yet there are failures Most failures have been identified as customer induced but there is a small percentage that cannot be identified As expected virtually all the failures occur when bringing up the first system On subsequent syst...

Page 5: ... tances is 2 1 or greater fault conditions most likely have occurred A common cause is miswiring the power supply n Improper power causes catastrophic failure If a card has had reverse polarity or high voltage applied replacing a failed compo nent is not an adequate fix Other components probably have been partially damaged or a failure mechanism has been induced There fore a failure will probably ...

Page 6: ...engths on digital inputs Long leads act as an antenna to pick up noise They can also act as unterminated transmission lines When 5V is switch onto a line it creates a transient waveform Octagon has seen submicrosecond pulses of 8V or more The solution is to place a capacitor for example 0 1 µF across the switch contact This will also eliminate radio frequency and other high frequency pickup Avoidi...

Page 7: ...Notice to user PC 500 user s manual ...

Page 8: ...SDs DRAM and battery backup Chapter 10 External drives Chapter 11 Video Chapter 12 IRQ routing and opto IRQs Chapter 13 LED signaling and beep codes Chapter 14 PC 104 expansion Chapter 15 Counter timer controller n Section 3 System management Chapter 16 Watchdog timer reset and remote reset Chapter 17 Serial EEPROM Chapter 18 CPU power management Chapter 19 Using PICO FA Chapter 20 CAMBASIC Chapte...

Page 9: ...About this manual 6000 Series user s manual ...

Page 10: ...uage CAMBASIC has been built in as a fast easy to use industrial control language Common features across the PC Microcontroller product line include n Suite of embedded software Datalight ROM DOS 6 22 in ROM Phoenix PICO FA flash file system CAMBASIC multitasking language RS 422 485 networking software up to 32 nodes Phoenix BIOS with industrial BIOS extensions Driver library Diagnostic software n...

Page 11: ...l lines 48 24 24 LPT port 1 1 1 1 1 Total digital lines includes parallel port 17 65 17 41 41 High current drivers 8 Analog inputs 8 Analog outputs 2 PC 104 interface YES NO NO NO NO EIDE port YES NO NO NO NO Floppy port YES NO NO NO NO Counter timer controller NO YES NO NO NO Major features Suite of embedded software included in SSD0 flash drive n Phoenix BIOS and Octagon industrial extensions Th...

Page 12: ... software that can be used to verify on card I O and memory functions On powerup a series of tests is performed If a problem occurs the failed test can be identified by the color sequence on a bicolored LED The test is performed auto matically every time the system is reset or powered up No monitor keyboard disks test fixtures test equipment or software is required See the LED signaling and beep c...

Page 13: ...enient I O termination with the breakout board BOB Except for the serial and industrial I O lines all other I O is terminated with a 34 pin IDC connector also called the AUX I O The AUX I O port eliminates cable clutter and the possibility of cables being plugged into the wrong sockets during maintenance The breakout board termi nates each function at the appropriate connector These functions incl...

Page 14: ...vides keypad scanning and display operation The keypad and display board has sockets for the display and keypad DISPLAY and KEYPAD commands in CAMBASIC and drivers in C support these devices Industrial I O is EZ I O Several PC Microcontrollers feature the Octagon EZ I O digital I O chip EZ I O supplies 24 I O lines which can be individually programmed as 5V input or 5V output Each line can sink or...

Page 15: ...supplied through the backplane n Panel mount it using the four mounting holes for stand alone opera tion A two position terminal connector is used to supply the 5V power n Stack it with other Micro PC cards An Octagon two card stacking kit or a flexible backplane using 3M connectors and ribbon cable can be used to stack several cards together Hardware reset A hardware reset can be done by any of t...

Page 16: ...vides the user with 128 bytes of user defined CMOS RAM Note The date and time occasionally resets to default If your applica tion requires date time stamping you should consider another Octa gon Systems CPU card Power management reduces power by more than 70 Power management can be used to reduce power consumption or to freeze the state of the program on the occurrence of a power manage ment inter...

Page 17: ...articular model in the 6000 Series of PC Microcontrollers Table 1 2 6000 Series connectors Reference designator 6010 6020 6030 6040 6050 COM1 J3 J3 J3 J3 J3 COM2 J4 J4 J4 J4 J4 COM3 J1 COM4 J7 AUX I O J2 J2 J2 J2 J2 Power J5 J5 J5 J5 J5 Battery J6 J6 J6 J6 J6 Analog I O J7 USESETUP W1 W1 W1 W1 W1 EZ I O 1 J1 W3 J1 W2 W4 J1 W2 EZ I O 2 J7 W3 D A W3 I O range select A BIOS device W2 W2 W2 W2 W2 PC 1...

Page 18: ...amage when it is plugged into a card cage The PC Microcontroller becomes charged by the user and the static discharges to the back plane from the pin closest to the card connector If that pin happens to be an input pin even TTL inputs may be dam aged To avoid damaging your card and its components n Ground yourself before handling the card n Disconnect power before removing or inserting the card WA...

Page 19: ...ller ROM DOS and utility disk n PC SmartLINK with manual n Your PC Refer to the Miscellaneous appendix if you are making your own serial cable or using other non Octagon components To install the PC Microcontroller 1 Refer to the component diagram in the appropriate product specific appendix for the location of various connectors before installing the PC Microcontroller Figure 2 1 Edge connector o...

Page 20: ...d 5 Connect one end of a VTC 9F cable to the null modem adapter Connect the other end to COM1 on the PC Microcontroller Note You must use COM1 on the PC Microcontroller in order to establish a serial communications console I O link with your PC 6 If your PC has a 9 pin serial connector connect the null modem adapter to any serial port COM1 through COM4 on your PC If your PC has a 25 pin serial con...

Page 21: ...en your PC and the PC Micro controller Continue with the section Establishing communications with the PC Microcontroller in this chapter Panel mounting or stacking the PC Microcontroller To panel mount or stack the PC Microcontroller you will need the following equipment or equivalent n PC Microcontroller n 5V power supply n VTC 9F cable n Null modem adapter n PC Microcontroller ROM DOS and utilit...

Page 22: ...Microcontroller or at the power connector of the 5252MB stacking kit reversing 5V and ground or applying a voltage greater than 5V will destroy the card and void the warranty Figure 2 4 Panel mounting the PC Microcontroller Power connector Figure 2 5 Stacking the PC Microcontroller 5252MB stacking kit Power connector 1 To panel mount the PC Microcontroller use 4 40 standoffs and screws to secure t...

Page 23: ...al block of the PC Micro controller or P2 of the stacking kit 3 Connect one end of the VTC 9F cable to the null modem adapter Con nect the other end to COM1 on the PC Microcontroller Note You must use COM1 on the PC Microcontroller in order to establish a serial communications console I O link with your PC 4 If your PC has a 9 pin serial connector connect the null modem adapter to any serial port ...

Page 24: ... Miscellaneous appendix if you are making your own serial cable or using other non Octagon components To install the PC Microcontroller 1 Make sure power to the backplane is OFF 2 Insert the PC Microcontroller into a connector on the backplane see Figure 2 7 Take care to correctly position the card s edge with the connector of the backplane Figure 2 1 shows the relative positions of the PC Microco...

Page 25: ...he section Establishing communications with the PC Microcontroller in this chapter Establishing communications with the PC Microcontroller 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 PC Microcontroller files from the supplied utility disk to a subdirectory on your PC har...

Page 26: ...roper logon message n Check the PC SmartLINK serial parameters of your PC to make sure they are set correctly Parameters should be 9600 baud 8 data bits no parity and 1 stop bit n Make sure a video card is not installed in the card cage n Make sure all jumpers are set to factory defaults n If the system still does not respond refer to the Troubleshooting chapter 6 Use the directory command to make...

Page 27: ...ime to the PC Microcontroller using the XMODEM protocol TRANSFER EXE resides on the PC Microcontroller BIOS drive and on the PC Microcontroller utility disk and is used to send or receive files via the serial port e g COM1 TRANSFER EXE uses the XMODEM protocol as does PC SmartLINK See the note below on XMODEM Note In Windows 95 when the TRANSFER utility is used to download files set the idle time ...

Page 28: ...e pad ding problems become apparent when an application program is expect ing a specific file size or is expecting characters other than the padding characters to be at the end of the file The following information on downloading files between the PC Micro controller and your PC uses the example program DEMO EXE This file is on the PC Microcontroller utility disk in the DEMO directory Downloading ...

Page 29: ... the TRANSFER EXE program from the PC Microcontroller by entering 60xx C TRANSFER E DEMO EXE Note In this case E is the virtual drive assigned in CONFIG SYS Any PC Microcontroller read write drive could be substituted Note When sending a file enter the following 60xx C TRANSFER S The following message is displayed from the PC Microcontroller Receiving E DEMO EXE 5 Execute the following steps using...

Page 30: ...has been trans ferred to the PC Microcontroller 60xx C DIR E The system will display the contents of drive E Volume in drive E is VDISK vX XX Directory of E DEMO EXE 27264 06 07 96 2 57p 1 file s 27264 bytes 7 To execute the program you have just downloaded type 60xx C E DEMO The DEMO program displays a message on your PC Downloading files to the PC Microcontroller using REMDISK REMSERV There are ...

Page 31: ...roller with no video card using REMDISK REMSERV Null modem adapter COM port Desktop PC REMDISK EXE VTC 9F cable COM1 PC Microcontroller REMSERV EXE 2 On the desktop PC start PC SmartLINK from the C MPC 60xx DOS directory and power on the PC Microcontroller 3 Execute REMSERV EXE on the PC Microcontroller Read write SSD flash drive C is the shared drive and COM1 is the default port Enter 60xx C DOS ...

Page 32: ...rite SSD flash disk drive of the PC Microcontroller Files are easily copied between the drives 7 When finished execute C REMDISK U This unloads REMDISK from the desktop PC 8 Restart PC SmartLINK and reset the PC Microcontroller PC Microcontroller with no video card two PCs and two serial cables The first desktop PC is used as the terminal for the PC Microcontroller and the second desktop PC s hard...

Page 33: ...VTC 9F cable VTC 9F cable Null modem adapter PC Microcontroller REMDISK EXE 2 On PC 1 i e the terminal PC start PC SmartLINK and power on the PC Microcontroller 3 Execute REMDISK EXE from COM2 on the PC Microcontroller by enter ing 60xx C REMDISK COM2 The following message is displayed from the PC Microcontroller Remote Disk v1 0 Copyright c 1990 1994 Datalight Inc All rights reserved Installed as...

Page 34: ... Enter 60xx F MPC 60xx DEMO COPY DEMO EXE C 60xx F MPC 60xx DEMO DIR C 60xx F MPC 60xx DEMO C DEMO EXE The DEMO program displays a message on your PC In this case drive F is the remote disk drive of PC 2 and drive C is the read write SSD flash disk drive of the PC Microcontroller Files are easily copied between the drives PC Microcontroller with a video card and one serial cable Hardware and softw...

Page 35: ...monitor Remote Disk v1 0 Copyright c 1990 1994 Datalight Inc All rights reserved Installed as Drive F COM1 B115 T10 Note REMDISK assigns the remote drive as the last drive in the system In this case drive F was assigned 3 Execute REMSERV EXE on the desktop PC C REMSERV C The following message is displayed on the PC REMSERV v1 0 Copyright c 1990 1994 Datalight Inc All rights reserved Using COM1 at ...

Page 36: ...C 60xx C DIR C 60xx C C DEMO EXE The DEMO program displays a message on the PC Microcontroller monitor In this case drive F is the remote PC disk drive and C is the read write SSD flash drive on the PC Microcontroller Files are easily copied between the drives 5 When finished on the PC Microcontroller system execute 60xx C REMDISK U This unloads REMDISK from the PC Microcontroller 6 On the desktop...

Page 37: ...2 20 Quick start 6000 Series user s manual ...

Page 38: ...one of two ways n Running SETUP COM n Pressing the backspace key followed by the S key during BIOS POST sequence this occurs between the memory test and bootup Also by removing the USESETUP jumper from the S position at W1 you may force the setup to temporarily revert to the defaults shown in the following table which allows the user to reconfigure the setup The SETUP program defines the PC Microc...

Page 39: ...Enabled Parallel LPT port Specifies LPT port enable disable Enabled Parallel port mode Specifies mode to use with parallel port Bidirectional printer port Parallel port address Specifies LPT address 378h Number of floppy drives Specifies number of floppy drives attached 0 Number of hard drives Specifies number of hard drives attached 0 SETUP entry via hotkey Specifies backspace S hotkey enable dis...

Page 40: ...ss ESC twice if you want to exit setup without saving your responses Note Options having an are default settings n Serial Console on COM1 Enabled Disabled WARNING Disabling the serial console when there is no video card present will stop further serial console communication with the system after the system resets Once disabled you may re enable the serial console by running SETUP To run SETUP choo...

Page 41: ...Port Address 378h 278h 3BCh Note Standard mode is provided for compatibility only We recommend the use of bidirectional mode EPP and ECP modes are provided for equip ment that has the capability to operate at these modes for enhanced performance n Number of floppy drives 0 1 2 n Onboard floppy controller 6010 only Enabled Disabled n Floppy drive 1 size 5 25 360KB 5 25 1 2 MB 3 5 720KB 3 5 1 44 MB ...

Page 42: ...0A without first making some modifications to the 5800A Call Technical Support for assistance n Onboard IDE interface 6010 only Enabled Disabled Note The 6010 has an on board floppy controller and IDE controller If an external controller is desirable the on board controllers can be disabled through SETUP n Auto Drive Configuration Enabled Disabled n Drive 0 parameters Cylinders xxx Heads x Sectors...

Page 43: ...__________________ Press SPACE to CHANGE ENTER to ACCEPT ESC to EXIT Serial Console on COM1 ENABLED COM1 Console Baud Rate 9600 Power on memory test DISABLED Boot Sequence C ONLY Parallel LPT Port ENABLED Parallel Port Mode Bidirectional Printer Port Number of floppy drives 1 Floppy drive 1 size 3 5 1 44 MB Number of hard drives 1 Auto Drive Configuration ENABLED SETUP Entry via Hotkey ENABLED Pow...

Page 44: ...r drive letter designations may be added by device drivers such as VDISK SYS which are in the CONFIG SYS file on the boot drive The boot drive is based upon the drive order set by the SETSSD com mand and by SETUP s boot sequence option If the boot sequence is set to A THEN C the system will look for a floppy disk in drive A If a diskette is not installed or a floppy is not defined the boot drive w...

Page 45: ...000 Series user s manual PMISETUP PMISETUP allows the user to customize the power management fea tures of the PC Microcontroller Refer to the CPU power management chapter See also the Software utilities chapter for details ...

Page 46: ... causing your program to operate erratically We recommend booting from SSD0 and using your own DOS when using programs with undocumented DOS calls Refer to the Adding operating system startup files section in this chapter for more information on saving and autoexecuting programs This chapter also assumes you will be using the PC Microcontroller without a video card monitor If you are using these d...

Page 47: ...fter formatting the drive and resetting the system you may access it as a normal DOS drive Adding operating system startup files using SYS To add the system files issue the following operating systems command C SYS x where x specifies the drive letter For example if your system has 1 IDE drive and SETSSD shows hdd SSD0 SSD2 then SSD0 should be drive D To SYS this drive use the SYS D command Note I...

Page 48: ...cation name to the AUTOEXEC BAT file This method is the same in any DOS environ ment For instructions on downloading files using TRANSFER REMDISK REMSERV and PC SmartLINK see the sections Transferring files between the PC Microcontroller and your PC and Downloading files from the PC Microcontroller in the Quick start chapter In addition the Software utilities chapter provides usage instructions fo...

Page 49: ...nore all SETUP infor mation including the floppy hard drive and the SETSSD information 3 At the prompt PICO FA first drive 0 SSD0 2 SSD2 other no drive enter 0 4 At the prompt PICO FA second drive 2 SSD2 other no drive enter 2 5 At the prompt Do you wish to save this information now Y N enter Y 6 After saving this information reinstall the USESETUP jumper 7 Reset the system The system should boot ...

Page 50: ...able to connect the ports to external serial equipment The pinout of the connector allows you to plug the cable directly into a 9 pin PC serial connector refer to the product specific appendix for the connector pinout When interfacing the PC Microcontroller to your PC you will need to use a null modem adapter The serial port at COM1 defaults to IRQ4 at I O address 3F8H which is the PC standard for...

Page 51: ... connect the ports to external serial equipment The pinout of the connector allows you to plug the cable directly into a 9 pin PC serial connector Using QuickBASIC to communicate via COM1 Several programming languages including QuickBASIC assume a video card is present and for system speed reasons write directly to the video hardware Assuming that a video card is present can be a problem since man...

Page 52: ... CLOSE PRINT INPUT commands to access COM1 After closing the device manually restore the serial param eters The following example assumes 9600 N 8 and 1 parameters 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 3 Restore the serial parameters by using ...

Page 53: ...IC program termi nates Method 5 1 Use COM2 instead of COM1 This is similar to Method 1 but you will still get the system displays over COM1 UsingTurbo C If you need to restore the serial parameters after executing a C pro gram refer to the file COMTEST CPP This file can be downloaded from the Octagon Bulletin Board at 303 427 5368 using 14400 baud 8 data bits no parity and 1 stop bit COM2 Operatio...

Page 54: ...figured at port address 2F8H The N position at W1 distinguishes the COM2 mode on powerup PC mode N position at W1 jumpered default configures COM2 as a standard RS 232 port COM2 as RS 422 485 The PC Microcontrollers feature a predefined easy to use software interface for using COM2 as an RS 422 485 port This software inter face supports Optomux type message passing as well as additional Octagon me...

Page 55: ...rom the host While there can be many remotes all remotes initially respond to FFh as the ID before the ID is assigned or recognized by the host To avoid conflict only one new node at a time shall be added to the network Other unregistered nodes must not be powered up while the new node is being registered This allows assigning each node a unique node ID Once a node has been added to the network an...

Page 56: ...mit Pair PC Microcontroller Host NIM COM2 PC Microcontroller Remote NIM COM2 PC Microcontroller Remote NIM COM2 PC Microcontroller Remote NIM COM2 Refer to Octagon application notes AN 0047 AN 0048 and AN 0049 for additional information in setting up an RS 485 network Contact Octagon Systems Technical Support Customer Service or Octagon s web site at www octagonsystems com for this information RS ...

Page 57: ...0h RS 485 sub function DX 0ffffh On exit AL status 0 ok Not 0 error Function 01 Send message On entry AH 0FAh RS 485 function signature AL 01h RS 485 sub function DX 0ffffh ES BX Transmit buffer pointer On exit AL status 0 ok Not 0 error Function 02 Receive message On entry AH 0FAh RS 485 function signature AL 02h RS 485 sub function DX 0ffffh ES BX Receive buffer pointer On exit AL status 0 messa...

Page 58: ... sub function BX desirable ID DX 0ffffh On exit AL status 0 ok Not 0 error Function 09 Get incoming message buffer pointer On entry AH 0FAh RS 485 function signature AL 09h RS 485 sub function DX 0ffffh On exit ES BX incoming message buffer pointer Function 0a Get outgoing message buffer pointer On entry AH 0FAh RS 485 function signature AL 0Ah RS 485 sub function DX 0ffffh On exit ES BX outgoing ...

Page 59: ...ion DX 0ffffh BX roll call response code See roll call reply message format On exit AL status 0 ok Not error Function 0e Set state wish response On entry AH 0FAh RS 485 function signature AL 0Eh RS 485 sub function DX 0ffffh BX state wish response code See state wish reply message format On exit AL status 0 ok Not error Function 0f Set internal state response On entry AH 0FAh RS 485 function signa...

Page 60: ...te Wish 00Yxxzz xx my existing ID zz new ID I want to be Assign ID Your new ID is xx zzCnn Reply to Assign ID 00Xxxzz xx my existing ID zz my new ID Report State Report internal state zzD Reply to Report State 00Wxxyy xx my ID yy user defined state response start character zz intended listener s ID field checksum field end message character Checksum field The checksum field of Octagon s command se...

Page 61: ...eply to roll call 01 01 my ID 00 00 status no special request 7B checksum uchar 0 0 Z 0 1 0 0 0x7B message end character Host sends Dear node 2 are you there 02AA5 message start character 02 intended listener is ID 02 A command code A roll call A5 checksum uchar 0 2 A 0x02 0xA5 message end character Remote replies Dear 00 02 is here I have no special request 00Z02007C message start character 00 in...

Page 62: ... is a description of how an ID can be assigned to a new remote node Host sends Dear FF are you there FFACC message start character FF intended listener is ID FF A command code A roll call CC checksum uchar F F A 0xff 0xCC message end character Remote replies Dear 00 FF is here I have no special request 00ZFF00A6 message start character 00 intended listener is ID 00 host Z command code Z reply to r...

Page 63: ...ce a remote cannot initiate a communication it must wait until it is spoken to at this point Host sends Dear 02 are you there 02AA5 message start character 02 intended listener is ID 02 A command code A roll call A5 checksum uchar 0 2 A 0x02 0xA5 message end character Remote replies Dear 00 02 is here Ask for my internal state 00Z02031F message start character 00 intended listener is ID 00 host Z ...

Page 64: ...application program interprets the message and then responds accordingly In this case state 47 would have been defined in the host application as a specific response from a Remote with a user defined meaning 6030 COM3 COM4 The 6030 PC Microcontroller has two additional serial ports COM3 uses IRQ12 at I O address 3E8H COM4 uses IRQ11 at I O address 2E8H Both COM ports have 4 RS 232 signals availabl...

Page 65: ...5 16 Serial ports 6000 Series user s manual ...

Page 66: ... such as printers and scales The EZ I O port can drive the Octagon MPB series opto isolation module racks directly controlling AC and DC loads to 240V at 3A CAMBASIC has several commands to support the EZ I O port when working on bit BCD byte or word bases Figure 6 1 shows typical EZ I O configurations Figure 6 1 Typical EZ I O configurations MPB Opto Rack J1 J2 P8 1 2 7 6 5 4 3 8 9 14 13 12 1 1 1...

Page 67: ...ated jumper setting Each EZ I O connector is configured below Table 6 2 EZ I O connector J1 6020 6040 6050 and J7 6020 only Pin Function Pin Function Pin Function Port A Port B Port C 19 bit 0 10 bit 0 13 bit 0 21 bit 1 8 bit 1 16 bit 1 23 bit 2 4 bit 2 15 bit 2 25 bit 3 6 bit 3 17 bit 3 24 bit 4 1 bit 4 14 bit 4 22 bit 5 3 bit 5 11 bit 5 20 bit 6 5 bit 6 12 bit 6 18 bit 7 7 bit 7 9 bit 7 2 5 VDC ...

Page 68: ...in Port C are pulled to Gnd through 10K Ohm W3 3 5 All lines in Port C are pulled to 5V through 10K Ohm default pins jumpered Table 6 4 6020 pull up pull down EZ I O 2 configuration Configuration Description W4 2 4 All lines in Port A are pulled to Gnd through 10K Ohm W4 4 6 All lines in Port A are pulled to 5V through 10K Ohm W4 7 9 All lines in Port B are pulled to Gnd through 10K Ohm W4 7 8 All...

Page 69: ...es are divided into three groups of 8 with 10K resistors that can be connected to ground or 5V The 24 I O lines can be indi vidually programmed as 5V input or 5V output Each line can sink or source 15 mA 6040 Pulling the I O lines high or low Jumper block W2 pulls ports A and C high or low Likewise jumper block W4 pulls port B high or low The default pulls all of the I O lines high Note For the lo...

Page 70: ...m default pins jumpered 6040 Organization of ports The EZ I O digital port has a total of 24 I O lines connected to J1 The lines are configured into three groups ports A B and C each group consisting of 8 bits Any of the lines at ports A B or C can be configured individually as inputs or outputs Immediately after a reset each I O line becomes an input Note For the location of J1 refer to the compo...

Page 71: ...x Table 6 6 6050 pull up pull down EZ I O Configuration Description W2 2 4 All lines in Port A are pulled to 5V through 10K Ohm W2 4 6 All lines in Port A are pulled to Gnd through 10K Ohm W2 1 3 All lines in Port C are pulled to 5V through 10K Ohm W2 3 5 All lines in Port C are pulled to Gnd through 10K Ohm default pins jumpered Note Port B of model 6050 is dedicated as a high current output port...

Page 72: ...er inputs are pulled LOW This forces all high current outputs OFF The user program must configure port B as outputs and then control the state of each bit of the port The outputs of port B are inverted A written logic 1 switches the current driver to ON and switches current to ground A written logic 0 opens the switch and the outputs are pulled high Note When ON the saturation voltages are incompa...

Page 73: ...mended that lamps requiring more than 50 mA not be used n When inductive loads are used protection diodes or other schemes must be used Refer to Figure 6 4 Figure 6 5 Inductive load protection circuitry To High Current Output Supply 1N4002 n Configuring outputs in parallel for higher drive is NOT recom mended and could result in damage since the outputs will not share current equally WARNING If ex...

Page 74: ...module rack One end of the CMA 26 cable plugs into the EZ I O con nector and the other plugs into an MPB 8 MPB 16 or MPB 24 opto rack Refer to the MPB opto racks product sheet for more information You can also use a CMA 26 cable to connect the EZ I O port to an STB 26 terminal board and then to the opto rack The STB 26 has two 26 pin connectors one of which connects to the EZ I O port the other co...

Page 75: ...ibbon cable EZ I O port PC Microcontroller MPB opto rack Figure 6 8 Optional EZ I O opto rack configuration CMA 26 ribbon cable MPB Opto Rack J1 J2 P8 1 2 7 6 5 4 3 8 9 14 13 12 1 1 10 15 16 LOGIC 0 1 2 3 4 5 6 7 STB 26 J2 J1 EZ I O port PC Microcontroller Use the following table to determine the corresponding opto channel for a particular port ...

Page 76: ... MPB 24 bit 3 6 20 bit 4 1 21 bit 5 3 22 bit 6 5 23 bit 7 7 Note Port B on the 6050 can only be used with output opto modules Also the output is inverted from the input Consider these factors when using and programming this port Keypad and display interface Through the EZ I O port you may connect a keypad and display board KAD to your PC Microcontroller One end of the CMA 26 cable plugs into the E...

Page 77: ...B 26 terminal board provides a convenient way of interfacing switches or other digital I O devices to the EZ I O digital port I O lines at the EZ I O connector can be connected to an STB 26 with a CMA 26 cable Parallel I O devices are then connected to the screw terminals on the STB 26 Refer to the STB 26 product sheet for more information Figure 6 10 PC Microcontroller interfacing with an STB 26 ...

Page 78: ...electing a different EZ I O address for the 6020 PC Microcontroller also selects a different I O address for the CTC Counter Timer Controller For information on the CTC refer to the Description section in the Counter timer controller chapter Table 6 10 EZ I O base address selection 6040 and 6050 IA W2 7 8 IB W1 9 10 I O address J1 not jumpered not jumpered 320H jumpered not jumpered 120H not jumpe...

Page 79: ... with the desired level or read the bit level from the desired port Configuring EZ I O Configure the EZ I O chip as follows 1 Write a 2 to the control register base address 3 This places the I O chip into the direction mode OUT 143H 2 control register 2 Set the direction of each bit A 0 bit to the corresponding line indicates an output A 1 bit indicates an input Each bit corresponds to the equival...

Page 80: ...rection Mode OUT 140H FFH Port A OUT 141H FFH Port B OUT 142H FFH Port C OUT 143H 3 Operation Mode Note With CAMBASIC you can also accomplish the same configuration and outputs with one statement Enter CONFIG EZIO 140 0 FF 0 FF O FF Syntax The CAMBASIC syntax is as follows CONFIG EZIO address dirA initA dirB initB dirC initC Parameters Parameters are defined as follows n address specifies the base...

Page 81: ...H 2 Direction Mode OUT 140H 0 OUT 141H FF OUT 142H 0 OUT 143H 3 Operation Mode To read ports A and C issue the following commands PORTA INP 140H port A PORTC INP 142H port C Note Port B is used as output on the 6050 PC Microcontroller Enhanced INT17H function definitions This section provides definitions for the following functions Initialize EZ I O 1 Write EZ I O 1 Read EZ I O 1 Initialize EZ I O...

Page 82: ... EZ I O chips are present on a board before normal use Programming example Inline assembly code for Borland C 3 1 asm mov ax 0ef00h mov di 00ffh port A all outputs init data all 0 s mov bx 55ffh port B all outputs init data 55h mov cx 0000h port C all inputs mov dx 0ffffh int 17h Write EZ I O 1 Function efh Subfunction 01h Purpose To write a value of an EZ I O port Calling registers AH efh AL 01h ...

Page 83: ...7 0 other bits unchanged mov cx 0202h port C bit 1 1 other bits unchanged mov dx 0ffffh int 17h Read EZ I O 1 Function efh Subfunction 02h Purpose To read from an EZ I O port Calling registers AH efh AL 02h DX ffffh Return registers Carry flag cleared if successful AL Port A data AH Port B data BL Port C data Carry flag set if error AL Error code Comments This function is used to read from the fir...

Page 84: ...ion xxxxxxxx xxxxxxxxB xxxxxxxx Initial data for port C xxxxxxxxB direction 1 output 0 input DX ffffh Return registers Carry flag cleared if successful Carry flag set if error AL Error code Comments This function is used to initialize the second EZ I O i e the EZ I O that has the higher I O address when two EZ I O chips are present on a board before normal use Programming example Inline assembly c...

Page 85: ... Carry flag set if error AL Error code Comments This function is used to write to the second EZ I O i e the EZ I O that has the higher I O address when two EZ I O chips are present on a board Programming example Inline assembly code for Borland C 3 1 asm mov ax 0ef04h mov di 00ffh port A no change mov bx 8000h port B bit 7 0 other bits unchanged mov cx 0202h port C bit 1 1 other bits unchanged mov...

Page 86: ...m the second EZ I O i e the EZ I O that has the higher I O address when two EZ I O chips are present on a board Programming example Inline assembly code for Borland C 3 1 unsigned char aData bData cData asm mov ax 0ef05h mov dx 0ffffh mov 17h mov aData al mov bData ah mov cData bl ...

Page 87: ...6 22 EZ I O 6000 Series user s manual ...

Page 88: ... BOB The breakout board BOB is designed for use with all 6000 Series PC Microcontrollers Keyboard printer speaker optically isolated interrupt and reset and an optional AT battery are connected from the breakout board to the PC Microcontroller through the 34 pin AUX I O header The AUX I O header provides a convenient and quick method of disconnecting these external devices from the PC Microcontrol...

Page 89: ...o Rack J2 J1 STB 26 Keyboard Speaker PCA 36 FCA 12 CMA 26 CMA 26 Opto isolated inputs Pin 2 of P1 on the breakout board is the opto isolated return pin com mon to both opto isolated A and B inputs Octagon recommends that these input sources have a common ground point established that is tied to pin 2 See Figure 7 3 for recommended timing usage Figure 7 3 Recommended timing usage 5V 0V 500 µs minim...

Page 90: ...r 4 Power on the PC Microcontroller and make certain that the LPT1 port is in standard or bidirectional mode The LPT1 port mode is configured in SETUP Opto rack The Octagon MBP 16PC opto rack interfaces directly to the parallel printer port and can control high voltage high current G4 opto isolated modules Of the available 16 positions 8 can be either input or output 4 are dedicated as inputs and ...

Page 91: ...tach the speaker directly to Speaker Data and 5V Installing a speaker To install a speaker 1 Remove power from the PC Microcontroller 2 Connect a CMA 34 cable from the breakout board AUX I O connector to the PC Microcontroller AUX I O port 3 Connect a speaker to J2 on the breakout board 4 Power on the PC Microcontroller Refer to the Breakout board product sheet for the speaker interface pinout at ...

Page 92: ...34 IDC connector female floppy port Function 1 OPTOA B NC NC 2 OPTOB NC NC 3 Pwr Gnd NC NC 4 OPTOA NC NC 5 Keyboard Data NC NC 6 Keyboard Clock NC NC 7 Battery NC NC 8 Speaker NC NC 9 5VDC Safe NC NC 10 STB 12 DS0 11 AFD N C DenSel 12 Data0 8 Index 13 Err 32 HDSel 14 Data1 26 Trk0 15 Init 18 Dir 16 Data2 28 WP 17 SLIN 20 Step 18 Data3 30 RData 19 Gnd 29 Gnd 20 Data4 34 DskChg 21 Gnd 31 Gnd 22 Data...

Page 93: ...out board A 3 6V AT battery Octagon P N 3186 can be installed on the breakout board to provide backup for the real time clock and the SRAM SSD2 To install the AT battery 1 Remove power from the PC Microcontroller 2 Position the AT battery on the breakout board so that the 4 position battery connector faces the same direction as J3 on the breakout board Secure the battery with a tie wrap using the ...

Page 94: ...ntroller use the keypad and display board The program DISPLAY EXE found on the PC Microcontroller utility disk provides an easy method to use the display Refer to the file DISPLAY DOC on the PC Microcontroller utility disk for information on initializing and using the display Installing an alphanumeric display To install an alphanumeric display 1 Remove power from the PC Microcontroller 2 If you a...

Page 95: ...e the keypad Refer to the file DISPLAY DOC on the utility disk for informa tion on initializing and using the keypad Installing a 4 x 4 keypad To install an alphanumeric display 1 Remove power from the PC Microcontroller 2 If you are using a breakout board with the PC Microcontroller connect a CMA 26 cable from the EZ I O port on the PC Microcontroller to the EZ I O port on the keypad and display ...

Page 96: ...ectable for 10V 5V 0 to 10V or 0 to 5V An adjustment potentiometer is pro vided to adjust the selected input voltage range by 5 The input multiplexer is fault protected to 16 5V The input resistance is 10M Ω The output ranges are individually jumperable for 5V 0 to 10V or 0 to 5V Both the analog input and analog output lines are located at J7 WARNING The analog output channels come up in an undefi...

Page 97: ...vice Configuring and programming the analog I O port Configuring and reading from analog input with CAMBASIC To configure the 6040 for analog input use CAMBASIC s CONFIG AIN command For more details regarding CONFIG AIN refer to your CAMBASIC user s manual Example An analog input program example using CAMBASIC s AIN command is provided below 10 CONFIG AIN 0 0 Config A D channel 0 to 0 to 5V input ...

Page 98: ...act 65535 FFFF then 2 Apply the multiplier Configuring analog output Refer to Table 8 1 to configure for analog output on the 6040 PC Microcontroller Table 8 1 6040 digital to analog output range select W3 Output range Channel A Channel B 0V to 10V W3 6 8 W3 3 5 0V to 5V W3 8 10 W3 1 3 5V to 5V W3 7 8 W3 3 4 default pins jumpered Note The 12 bit digital to analog converters DACs can be jumpered fo...

Page 99: ... acquisition time Throughput 100 ksps Analog output Specifications Channels 2 independent Resolution 12 bit Output voltage ranges 5V 0 to 10V or 0 to 5V Output current 5 mA Throughput max setting time 10 µs for data to stabilize Configuring and reading from analog input and output with INT17H functions The analog input can also be determined through the use of built in INT17H functions For more in...

Page 100: ...sters Carry flag cleared if successful AX 12 bit data corresponding to input voltage or the average of multiple readings Carry flag set if error AL Error code Programming example unsigned int atod0Data Inline assembly code for Borland C 3 1 asm mov ax 0f800h mov dx 0ffffh mov bl 0 A D channel 0 mov bh 1 input range 5V to 5V int 17h mov atodData ax print Data from A D channel 0 04x n atod0Data Digi...

Page 101: ...t the number of samples to average for following Subfunction 00h calls This affects all channels however this can be interspersed between A to D reads giving different samplings per channel The default is 1 Calling registers AH f8h AL 02h CX number of samples 1 2 4 8 16 DX ffffh Return registers Carry flag cleared if successful AH 00 success Carry flag set if error AL Error code Programming exampl...

Page 102: ...ustment is required pro ceed with the following 1 Attach a digital voltmeter between TP1 and TP2 connecting the positive lead to TP1 2 For standard factory adjustment adjust potentiometer R1 until a reading of 4 096V is attained 3 For over range input adjustment adjust potentiometer R1 to the follow ing table Table 8 3 Over range input adjustment Over range Voltmeter reading 1 4 137V 2 4 178V 3 4 ...

Page 103: ...8 8 Analog I O 6000 Series user s manual ...

Page 104: ...ead write disk allows you to update them at least 100 000 times These devices are erased automatically during the programming process SSD0 can be accessed directly as a read write DOS drive with the PICO FA driver in the BIOS extension Also it can be accessed directly as a read write DOS drive when the PICOFA SYS driver is loaded While this is convenient for product development the flash however h...

Page 105: ...ly to protect data in SRAM and the real time clock while an external battery is being changed Using the on card battery for these functions can reduce the lifetime to approximately two years In addition the margin between the battery voltage and the switchover threshold can be reduced prema turely causing lost data This is particularly noticeable in noisy envi ronments If you are backing up SRAM o...

Page 106: ...roller Floppy disk drives You can add one 1 44 MB floppy drive with the 5815 Disk Drive Card the 5815 also supports a 2 5 IDE hard drive or use the on card multi functional parallel port at the AUX I O port The multifunctional paral lel port is brought out to the breakout board through the AUX I O port Refer to the AUX I O chapter for setting up and using the parallel port and a floppy drive with ...

Page 107: ... 2 WARNING J8 and J2 are 34 pin IDC connectors and may be mistaken for each other due to their physical similarities Do not connect the floppy disk drive into J2 the AUX I O port or severe damage will occur to the floppy disk drive Be certain that you connect the floppy disk drive to the interface at J8 J2 RESET Floppy disk drive port AUX I O port J8 6010 Installing a floppy disk drive with the 60...

Page 108: ...Disabling 5815 or 5800A BIOS and using the PC Microcontroller IDE BIOS This method allows the use of an IDE controller such as the 5815 or 5800A It involves disabling the 5815 or 5800A BIOS and using the PC Microcontroller IDE BIOS The procedure is as follows For the 5815 1 Using SETUP configure the PC Microcontroller for one hard drive by running SETUP and setting the appropriate options 2 Config...

Page 109: ...drive parameters Also set the IRQ to IRQ14 3 If using the 5815 verify that the jumper setting enables the on card BIOS See the 5815 product sheet for proper jumper positions Hard disk drive interface on the 6010 The 6010 PC Microcontroller supports one standard EIDE or standard IDE hard drive via a 44 pin connector at J7 Installing a hard disk drive with the 6010 on board HDD interface 1 Install t...

Page 110: ...yboard n PC Microcontroller n Breakout board n Micro PC card cage n Power supply n 5420 video card and VGA monitor n AT compatible keyboard with PS 2 type connector n VTC 9F cable n Null modem adapter 1 Install the 5420 video card into the card cage 2 Install the keyboard using the breakout board with the PC Microcontroller Refer to the section Installing a keyboard in the AUX I O chapter 3 Instal...

Page 111: ... your PC to the PC Microcontroller you must execute the TRANSFER program from both the PC Microcontroller and your PC This procedure can be used to transfer files to any writeable drive including SSD0 in your PC Microcontroller system Hardware and software requirements n Desktop PC running REMSERV connected by a VTC 9F cable and a null modem adapter to COM1 or COM2 of the PC Microcontroller n A PC...

Page 112: ...xt Deleting drive filename ext Also you may speed up the transfer using the Bnnnn switch to increase the baud rate for example B57600 Transferring files from the PC Microcontroller In order to transfer files from the PC Microcontroller to your PC you must execute the TRANSFER program from both the PC Microcontrol ler and your PC 1 Connect the equipment as shown in Figure 11 1 2 Execute the TRANSFE...

Page 113: ...he desktop PC C REMSERV C The following message is displayed on the PC REMSERV v1 0 Copyright c 1990 1994 Datalight Inc All rights reserved Using COM1 at 115 baud Accessing Drive C Time out is 9 seconds Press Esc to Exit There may be a delay before exit occurs 4 Files are transferred to the PC Microcontroller read write drives by using the DOS COPY or XCOPY commands From the PC Microcontrol ler sy...

Page 114: ...14 The dedicated on card interrupts are n IRQ3 COM2 n IRQ4 COM1 n OPTO A remote reset n OPTO B IRQ9 Table 12 1 6000 Series interrupt map Interrupt Description IRQ0 System timer IRQ1 Keyboard IRQ2 Unavailable IRQ3 COM2 serial port IRQ4 COM1 serial port IRQ5 LPT1 IRQ6 Floppy disk controller available and connected to BIRQ6 or FDC IRQ7 Available and connected to BIRQ7 IRQ8 RTC alarm IRQ9 User configu...

Page 115: ...tor activates an IRQ9 Pin 2 of P1 on the breakout board is the opto isolated return pin com mon to both optically isolated A and B inputs Octagon recommends that these input sources have a common ground point established that is tied to pin 2 on P1 See the following figure for recommended timing usage The optical isolators provide 300 VDC of isolation between the optically isolated inputs and the ...

Page 116: ...LED turns off and the yellow LED begins to blink On a resume condition the yellow LED turns off and the green LED turns on Table 13 1 Phoenix BIOS beep codes Diagnostic port output Beep codes Description of test or failure 01h 80286 register test in progress 02h 1 1 3 CMOS write read test in progress or failure 03h 1 1 4 BIOS ROM checksum in progress or failure 04h 1 2 1 Programmable interval time...

Page 117: ...ilure bit A 1Bh 2 3 4 1st 64K RAM chip or data line failure bit B 1Ch 2 4 1 1st 64K RAM chip or data line failure bit C 1Dh 2 4 2 1st 64K RAM chip or data line failure bit D 1Eh 2 4 3 1st 64K RAM chip or data line failure bit E 1Fh 2 4 4 1st 64K RAM chip or data line failure bit F 20h 3 1 1 slave DMA register test in progress or failure 21h 3 1 2 master DMA register test in progress or failure 22h...

Page 118: ...C Microcontroller supports 8 and 16 bit 5V modules These modules can be stacked on top of the PC Microcontroller to form a highly integrated control system Refer to the 6010 technical data appendix for the PC 104 connector pinout Figure 14 1 Typical PC 104 module stack Standoff PC 104 module PC 104 connector J1 PC Microcontroller Standoff WARNING When installing any PC 104 module avoid excessively...

Page 119: ...14 2 PC 104 expansion 6000 Series user s manual ...

Page 120: ...TC chip consists of three counter timer circuits Counter 2 which has either a clock input of 1 843 MHz or 7 159 MHz acts as a pre scalar for counters 0 and 1 The output of counter 2 is routed to the clock inputs of both counters 0 and 1 Gate inputs to counters 0 and 1 are tied together and are either pulled high or controlled by the control signal CTC Gate Enable The outputs of counters 0 and 1 th...

Page 121: ...ller the 6020 CTC is presented in three functional sections n Address mapping n Interrupts n Counter timers Address mapping The base address of the CTC is jumper selectable Refer to Table 15 1 for the base address selection Table 15 1 CTC base address selection 6020 IA W2 7 8 IB W2 9 10 J1 EZ I O 1 address J7 EZ I O 2 address CTC I O address not jumpered not jumpered 320H 328H 330H jumpered not ju...

Page 122: ...e used Unused counters however do not need to be programmed Note Since the CTC mainly functions as an interrupt generating device it is important to disable interrupts prior to programming the CTC and then re enable the interrupts The following define each section of each counter timer CTC CLOCK Any negative transition on the CLOCK input will inputs decrement the numeric value of the count registe...

Page 123: ...oaded after the counter has been configured 4800 is equal to 18432 decimal If the 1 843 MHz clock is divided by this value the result will be 100 Therefore if counter 2 is loaded with this count the OUTPUT will cycle every 1 100 of a second or 100Hz 64 is equal to 100 decimal If this value is loaded into counter 0 and since the 100 Hz output of counter 2 is routed to counter 0 CLOCK the output gen...

Page 124: ...nter the remaining bits of the control word apply to that counter Table 15 4 Select counter bits SC0 and SC1 SC1 SC0 Description 0 0 Select counter 0 0 1 Select counter 1 1 0 Select counter 2 1 1 Read back command Note For additional information on the read back command refer to the Intel peripheral 82C54 data sheet or the NEC 71054 data sheet Read write bits During a control word write bit RW1 an...

Page 125: ... X 1 1 Mode 3 Square wave generator 1 0 0 Mode 4 Software triggered strobe 1 0 1 Mode 5 Hardware triggered strobe Binary coded decimal BCD bit The binary coded decimal enable bit is used to set the counter into BCD or binary counter decimal modes Table 15 7 Binary counter modes BCD Description 0 Binary counter 16 bits 1 Binary Coded Decimal BCD Counter 4 decades Definition of CTC modes To begin co...

Page 126: ...sitions of the CLOCK signal When the COUNT value N reaches a value 0 OUT will return HIGH The ONE SHOT is retriggerable and any positive transition on the GATE input will reload the ONE SHOT time which keeps OUT low for another N intervals of CLOCK transitions Mode 2 Rate generator The rate generator mode generates an output pulse at a periodic rate This mode is often used for counter 2 which is t...

Page 127: ...t value of N into the counter on the next CLOCK cycle The COUNT value will then be decremented on subsequent CLOCK cycles Because interrupts are typically positive edge triggered the interrupt will not be generated until OUT goes low and then high again CLOCK count 1 Mode 4 Software triggered strobe This mode can be useful when no external events are needed or provided to generate an interrupt by ...

Page 128: ...value of 0 the OUT cycles LOW for one CLOCK period GATE does not inhibit the counter or effect the OUT signal Any POSITIVE transition of the GATE input will reload the COUNT value N into the counter and the counting will continue Because interrupts are typically positive edge triggered the interrupt will not be generated until OUT goes low and then high again CLOCK count 1 Enhanced INT 17H functio...

Page 129: ...z input clock frequency mov cl 00h channel 0 used as square wave generator mov ch 01h channel 1 used as rate generator mov si 100 channel 0 period 1 100 100 1s mov di 1000 channel 1 period 1 100 1000 10s mov dx 0ffffh int 17h Error code definition Error code Meaning ffh Unknown error 01h Function not implemented 02h Defective serial EEPROM 03h Illegal access 04h EZ I O data out of range 05h CTC da...

Page 130: ... function on the PC Microcontroller Enhanced INT 17H function definitions This section provides definitions for the following functions Enable Watchdog Strobe Watchdog and Disable Watchdog Enable watchdog Function fdh Subfunction 01h Purpose To enable the watchdog Calling registers AH fdh AL 01h DX ffffh Return registers None Comments This function enables the watchdog Once the watchdog is enabled...

Page 131: ...rogramming example Inline assembly code for Borland C 3 1 asm mov ax 0fd02h mov dx 0ffffh int 17h The watchdog timer can also be strobed by reading address 20CH This may be faster than strobing the watchdog timer with an interrupts function call for example A INP 20Ch Disable watchdog Function fdh Subfunction 03h Purpose To disable the watchdog Calling registers AH fdh AL 03h DX ffffh Return regis...

Page 132: ...complishes the same thing as the reset button WARNING When using COM1 as the console CTRL ALT DEL only resets the host system Use the RESET command to issue a hardware reset Reset via optically isolated input The PC Microcontroller provides an optically isolated remote input dedicated for generating a master reset to the system This input is located at the AUX I O connector and can also be accesse...

Page 133: ...16 4 Watchdog timer reset and remote reset 6000 Series user s manual ...

Page 134: ...ten to CMOS RAM on power up changed and written back to serial EEPROM Enhanced INT 17H function definitions This section provides definitions for the following functions Read Single Word from Serial EEPROM Write Single Word to Serial EEPROM Read Multiple Words from Serial EEPROM Write Multiple Words to Serial EEPROM and Return Serial EEPROM Size Read a single word from the serial EEPROM Function f...

Page 135: ...d to the on board serial EEPROM Calling registers AH fch AL 01h BX Word address zero based CX Data word to write DX ffffh Return registers Carry flag cleared if successful Carry flag set if error AL Error code Error Code Meaning ffh Unknown error 01h Function not implemented 02h Defective serial EEPROM 03h Illegal access Comments This function writes a word to the user area of the serial EEPROM Pr...

Page 136: ... Code Meaning ffh Unknown error 01h Function not implemented 02h Defective serial EEPROM 03h Illegal access Comments This function reads multiple words from the user area of the serial EEPROM Programming example Read 10 words starting at word 5 unsigned int far seeDataPtr new unsigned int 10 Allocate storage Inline assembly code for Borland C 3 1 asm mov ax 0fc02h mov bx 05h Read starts at word 5 ...

Page 137: ...amming example Write 8 words starting at word 6 unsigned int far seeDataPtr new unsigned int 8 Allocate storage unsigned int far tmpPtr seeDataPtr for int i 0 i 8 i seeDataPtr i initialize data Inline assembly code for Borland C 3 1 asm push ds mov ax 0fc03h mov bx 06h Write starts at word 6 mov cx 8 Write 8 words mov dx 0ffffh lds si seeDataPtr int 17h pop ds Return serial EEPROM size Function fc...

Page 138: ...cess Comments This function returns the size in words of the serial EEPROM Since the user cannot access all of the serial EEPROM this function determines how much space is available to the user This avoids the user from access ing unavailable address Programming example unsigned int seeUserSize Inline assembly code for Borland C 3 1 asm mov ax 0fc04h mov dx 0ffffh int 17h mov seeUserSize bx ...

Page 139: ...17 6 Serial EEPROM 6000 Series user s manual ...

Page 140: ...view Power management is implemented via the software management interface SMI function and provides multiple levels of management The firmware is also capable of cooperative power management with an APM compatible driver or application such as POWER EXE Coopera tive power management allows power aware applications to control the power state of the system without depending on interrupts or device ...

Page 141: ...the firmware The firmware then initiates the reduced power mode The APM soft ware can inquire APM aware applications to ensure that the reduced power mode is acceptable Hardware controlled modes The IDLE timer is configured to reset by specific events which include the keyboard video hard disk line printer serial port floppy disk and selected IRQ or DRQ activities When these specific events do not...

Page 142: ...system enters the SUSPEND state when the RESUME switch is turned off All controllable devices are powered down and the CPU halts In the SUSPEND state an IRQ event includ ing a timer tick will cause the CPU to resume from halt If the CPU determines that the only cause of resume was the IRQ event from the timer tick then the CPU halts again Otherwise the CPU resumes from the SUSPEND state The device...

Page 143: ...vents to resume the system from SUSPEND mode keyboard resume Y Resumes the system from SUSPEND mode com1 resume Y Resumes the system from SUSPEND mode Note The qualified activities to resume the system from SUSPEND mode are keyboard video hard disk printer real time clock DRQs COM ports and IN accesses interrupts related to input devices 5 When the real time clock is used to initiate RESUME from S...

Page 144: ...r management is done through a PMISETUP with a PMI file All supported options are described in the subsequent sections and are represented by the symbol For example pmi enable YES NO can either mean pmi enable YES or pmi enable NO as the valid settings In abbreviated terms Y is also accepted for YES and N for NO In 60xx SETUP the following options are available n Power management ENABLED DISABLED ...

Page 145: ...errupts in the system can also reset the IDLE timer to prevent entry into reduced power modes These interrupts should be enabled to reset the IDLE timer if they indicate that the system is active The inter rupts to reset the IDLE timer are configured in a PMI file irq0 reset idle Y N Enables reset of IDLE clock if IRQ0 occurs irq1 reset idle Y N Enables reset of IDLE clock if IRQ1 occurs irqnmi re...

Page 146: ...pend VIDEO Y N Suspends video suspend COM1 Y N Suspends COM1 suspend COM2 Y N Suspends COM2 suspend COM3 Y N Suspends COM3 suspend COM4 Y N Suspends COM4 suspend SIO Y N Suspends SIO Resume conditions Once the system has entered the SUSPEND mode certain peripheral activities can be specified to return the system to the full power mode The access activities are configured in the PMI file of the PMI...

Page 147: ...END mode if DRQ1 occurs drq2 event Y N Enables resume from SUSPEND mode if DRQ2 occurs drq3 event Y N Enables resume from SUSPEND mode if DRQ3 occurs drq5 event Y N Enables resume from SUSPEND mode if DRQ5 occurs drq6 event Y N Enables resume from SUSPEND mode if DRQ6 occurs drq7 event Y N Enables resume from SUSPEND mode if DRQ7 occurs IN includes irq3 Y N Resume from SUSPEND mode if IRQ3 occurs ...

Page 148: ...r unformatted or preformatted drives enter the following command PFORMAT Hn m where n is the hard drive sequence number This number includes IDE drives and SSDs The optional parameter m specifies PICO FA is to write an MBR master boot record This is required for unformatted drives that are not AMD Intel or Sharp flash memory n For preformatted drives enter the following command PFORMAT D m Making ...

Page 149: ...board 3 Enter PGMIMG filename SSD0 Note Flash memory should be the same size and type To program a new BIOS into SSD0 issue the following command PGMBIOS filename SSD0 To make your PICO FA drives before the hard drive to allow you to boot from SSD issue the following command SETSSD SSD0 BEFORE In order to make hard drives first and SSDs second issue the following command SETSSD SSD0 AFTER For more...

Page 150: ...sive vocabulary of indus trial BASIC commands along with a list of built in help messages which makes the language self documenting Since the language is syntax compatible with languages like Microsoft QuickBASIC there is no need for professional programmers If you have any experience in writing BASIC programs you are already considered an expert in the CAM BASIC language Even if you have not had ...

Page 151: ... the no hassle embedded language It only takes four simple steps to write the program and much less time than C 1 At the C prompt type CAMBASIC 2 Write your program CAMBASIC comes with several programming examples 3 Debug your program 4 Type SAVE name Keyboard mode to debug hardware The immediate keyboard mode used to examine system components and wiring hardware can quicken system debugging The B...

Page 152: ...text editor is designed to operate over a serial link A system can be reprogrammed thousands of miles away with the addition of a modem or radio link You can also perform immediate mode commands to exercise equipment and verify operation from any distance Network support CAMBASIC supports RS 485 networking with direct access to the BIOS network kernel in which 32 systems may be networked at the sa...

Page 153: ...Fast decrement of a numeric variable DELAY Introduces delay to program flow DEV Returns standard deviation of an array DINP Inputs a 16 bit value to I O address DISPLAY Prints to a display DOSINT Executes DOS software interrupt DOUT Writes to a 16 bit value to I O address DPEEK Read a 16 bit value from memory DPOKE Writes a 16 bit value to memory ERROR Returns error code or simulates run time erro...

Page 154: ...low are programming examples present in CAMBASIC Example 1 The following exemplifies the program to write display information to Octagon DP Series and LCD Series display 10 CONFIG PIO 100 0 0 0 0 0 Configure an 8255 at 100 to be output ports 20 CONFIG DISPLAY 100 0 0 Use 2x20 fluorescent display with a hidden cursor at I O address 100 30 CLEAR DISPLAY 40 DISPLAY 2 0 OCTAGON SYSTEMS 50 DISPLAY 2 1 ...

Page 155: ...20 6 CAMBASIC 6000 Series user s manual 140 IF A 0 THEN ON KEYPAD GOSUB Disable key pad if the key pressed is 0 150 RETURN KEYPAD ...

Page 156: ...h of the software commands Support commands n COM1CON EXE n GETBIOS EXE n GETIMG EXE n I17HNDLR EXE n LPT1CON COM n PFORMAT EXE n PGMBIOS EXE n PGMIMG EXE n PMISETUP EXE n REMDISK EXE n REMQUIT COM n REMSERV EXE n RESET COM n SCONSOLE EXE n SETSSD EXE n SETUP COM n TRANSFER EXE Support device drivers n HIMEM SYS n PICOFA SYS n VDISK SYS Note Other utilities are included from ROM DOS and are not me...

Page 157: ...21 2 Software utilities 6000 Series user s manual ...

Page 158: ...troller n Make sure your power module provides 5V 0 20V and at least 2 5A of current n After verifying the above conditions you can monitor voltage levels by connecting an oscilloscope between the TxD line on COM1 and ground After powerup you should see a burst of activity on the oscilloscope screen The voltage level should switch between 8V Garbled console screen activity If you do get activity o...

Page 159: ... For more information see the Save and run programs chapter PICO FA does not report the drive 1 Run SETSSD and make sure it is correct 2 Make sure that the X position at W1 is jumpered or that PICOFA SYS is in your CONFIG SYS file of your floppy hard drive 3 Install a jumper on the S position at W1 4 Reboot your system System locks up on powerup may or may not respond to reset switch A common caus...

Page 160: ...citors Either use a different power supply that discharges faster leave the power off until the supply has adequate time to discharge or place a 100 ohm large wattage resistor across the output capacitor Octagon supplies are designed to ramp up fast less than 50 ms dis charge fast on powerdown and to regulate properly under a no load condition Technical assistance Carefully recheck your system bef...

Page 161: ...22 4 Troubleshooting 6000 Series user s manual ...

Page 162: ...loppy drive support via the LPT1 parallel port or external adapter The 6010 has an on board floppy drive interface at J8 WARNING J8 and J2 are 34 pin IDC connectors and may be mistaken for each other due to their physical similarities Do not connect the floppy disk drive into J2 the AUX I O port or severe damage will occur to the floppy disk drive Be certain that you connect the floppy disk drive ...

Page 163: ...2 RESET J7 Pin 1 J7 hard disk drive port 6010 Solid state disk 0 Supports a 1024 KB flash Solid state disk 2 Supports a 128 KB SRAM ROM DOS ROM DOS 6 22 compatible Serial I O COM1 and COM2 are 16C550 compatible Parallel port LPT1 is PC compatible with multifunctional capability Battery backup On board battery to backup real time clock and SRAM SSD2 Watchdog timer Default time out is 1 6 seconds ty...

Page 164: ...oncondensing Size 4 5 in x 4 9 in Mating connectors J1 PC 104 interface PC 104 8 16 bit receptacle For 8 bit Samtec ESQ 132 14 G D For 16 bit Samtec ESQ 120 14 G D J2 AUX I O port 34 pin shrouded header Receptacle AMP 746288 8 Strain relief AMP 499252 6 J3 and J4 serial ports 10 pin shrouded header Receptacle AMP 746288 1 Strain relief AMP 499252 5 J6 battery 4 pin in line connector Housing DuPont...

Page 165: ... technical data 6000 Series user s manual Component diagram Figure A 1 6010 component diagram Floppy drive 34 pin AUX I O 34 pin COM1 10 pin COM2 10 pin Power Pin 1 IDE hard drive 44 pin PC 104 8 16 bit Battery ...

Page 166: ...egisters 0B0H 0FFH System I O functions 100H 207H Off card I O space 208H 20BH System control register 0 read write access no SEEP CLK 20CH 20FH System control register 1 read write access watchdog IOR strobe no SEEP CLK 210H 213H System control register 0 RO SEEP CLK 214H 217H System control register 1 RO watchdog IOR strobe serial EEPROM read write 2E8H 2EFH COM4 2F8H 2FFH COM2 320H 327H Digital...

Page 167: ...connected to HDC BIRQ5 IRQ15 Power management interrupt Table A 4 6010 memory map Address Description 00000H 9FFFFH System memory 640 KB base RAM A0000H BFFFFH Off card memory usually reserved for video memory C0000H C7FFFH Off card memory usually reserved for video BIOS Shadow enable disable option in SETUP C8000H CFFFFH Off card memory Shadow enable disable option in SETUP D0000H DFFFFH Off card...

Page 168: ...3 4 BIOS extension enable N W1 5 6 Network mode T W1 7 8 Turbo mode IA W2 7 8 IO RGE SEL A IB W1 9 10 IO RGE SEL B B W2 9 10 BIOS device default pins jumpered Connector jumper pinouts Table A 6 6010 BIOS and boot option jumper pinout W1 Pin Function 1 Gnd 2 USESETUP S 3 Gnd 4 BIOS extension enable X 5 Gnd 6 Network mode N 7 Turbo mode T 8 5V 9 Gnd 10 IORGESELB IB ...

Page 169: ...I O range select jumper pinout W2 Pin Function 1 Gnd 2 FDD power 3 NC 4 5V FDD 5 IRQ14 6 BIRQ5 7 Gnd 8 IORGESELA IA 9 Gnd 10 BIOSDEV B Note W2 2 4 supplies internal 5V to a 5V only floppy drive Do not install W2 2 4 if external voltage is supplied to the floppy drive ...

Page 170: ... 12V LA18 IRQ14 8 SD1 0 WS LA17 DACK0 9 SD0 NC 12VDC 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 Gnd 19 SA12 Refresh Key Gnd 20 SA11 BUSCLK 21 SA10 IRQ7 22 SA9 IRQ6 23 SA8 IRQ5 24 SA7 IRQ4 25 SA6 IRQ3 26 SA5 DACK2 27 SA4 TC 28 S...

Page 171: ...Function DB 25 IDC breakout cable 10 STB 1 11 AFD 14 12 DATA0 2 13 ERR 15 14 DATA1 3 15 INIT 16 16 DATA2 4 17 SLIN 17 18 DATA3 5 19 Gnd 18 20 DATA4 6 21 Gnd 19 22 DATA5 7 23 Gnd 20 24 DATA6 8 25 Gnd 21 26 DATA7 9 27 Gnd 22 28 ACK 10 29 Gnd 23 30 BUSY 11 31 Gnd 24 32 PE 12 33 Gnd 25 34 SLCT 13 active low Note The DB connectors are the 3M 3414 series connector or Thomas and Betts 608 3430 A wiremoun...

Page 172: ...tor pinout Pin COM1 COM2 1 DCD DCD 2 DSR DSR 3 RxD RxD 4 RTS RTS 5 TxD TxD 6 CTS CTS 7 DTR DTR 8 RI RI 9 Gnd Gnd 10 5 VDC Safe 5 VDC Safe active low Table A 11 6010 power connector pinout J5 Pin Function 1 5 VDC 2 Gnd Table A 12 6010 battery pinout J6 Pin Function 1 Battery 2 Keyed 3 Gnd 4 Gnd ...

Page 173: ...3 HIOW 2 Gnd 24 Gnd 3 HD07 25 HIOR 4 HD08 26 Gnd 5 HD06 27 HDCHRDY 6 HD09 28 HDALE 7 HD05 29 NC 8 HD10 30 Gnd 9 HD04 31 IRQ14 10 HD11 32 HDCS16 11 HD03 33 HDA1 12 HD12 34 NC 13 HD02 35 HDA0 14 HD13 36 HDA2 15 HD01 37 HDCS0 16 HD14 38 HDCS1 17 HD00 39 HDACT 18 HD15 40 Gnd 19 Gnd 41 5V 20 Key 42 5V 21 NC 43 Gnd 22 Gnd 44 NC active low ...

Page 174: ...Pin Function Pin Function 1 Gnd 18 Dir 2 DenSel 19 Gnd 3 Key 20 Step 4 NC 21 Gnd 5 Gnd 22 WData 6 NC 23 Gnd 7 5V FDD Gnd 24 WGate 8 Index 25 Gnd 9 5V FDD Gnd 26 Trk 10 Mtr 27 Gnd 11 5V FDD Gnd 28 WP 12 DS1 29 Gnd 13 Gnd 30 RData 14 DS0 31 Gnd 15 Gnd 32 HDSel 16 Mtr1 33 Gnd 17 Gnd 34 DskChg active low ...

Page 175: ...gnal A1 I O CH CK I A17 A14 O 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 ...

Page 176: ... 5V I B19 DACK0 O B4 IRQ9 I B20 CLOCK O B5 NC Not used B21 IRQ7 I B6 DRQ2 I B22 IRQ6 I B7 12V Not used B23 IRQ5 I mapped to IRQ14 B8 Reserved Not used B24 IRQ4 I B9 12V Not used B25 IRQ3 I mapped to IRQ10 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 ...

Page 177: ...A 16 6010 technical data 6000 Series user s manual ...

Page 178: ... on card Floppy drive Floppy drive support via the LPT1 parallel port or external adapter Hard drive Hard drive BIOS supported using external hard drive controller which allows extended IDE drives larger than 528 MB Solid state disk 0 Supports a 1024 KB flash Solid state disk 2 Supports a 128 KB SRAM ROM DOS DOS 6 22 compatible Serial I O COM1 and COM2 are 16C550 compatible Parallel port LPT1 is P...

Page 179: ...ntal specifications 40 to 85 C when operating at 25 MHz 0 to 60 C when operating at 40 MHz Note Use of a heat sink may be required to achieve the high end of the tem perature range 55 to 90 C nonoperating RH 5 to 95 noncondensing Size 4 5 in x 4 9 in Mating connectors J1 and J7 EZ I O port 26 pin shrouded header Connector AMP 746288 6 Strain relief AMP 499252 3 J2 AUX I O port 34 pin shrouded head...

Page 180: ...B 3 6000 Series user s manual 6020 technical data Component diagram Figure B 1 6020 component diagram Battery AUX I O 34 pin EZ I O 1 26 pin EZ I O 2 26 pin COM1 10 pin COM2 10 pin Power Pin 1 ...

Page 181: ...s registers 0A8H bit 4 is the CTC gate control 0B0H 0FFH System I O functions 100H 207H Off card I O space 140H 147H EZ I O 1 addresses can relocate to 120H 127H 320H 327H and 340H 347H 148H 14FH EZ I O 2 addresses can relocate to 128H 12FH 328H 32FH and 348H 34FH 150H 157H CTC addresses can relocate to 130H 137H 330H 337H and 350H 357H 208H 20BH System control register 0 read write access no SEEP...

Page 182: ...put unavailable for other devices IRQ13 Floating point unit IRQ14 Available and connected to BIRQ5 IRQ15 Power management interrupt Table B 4 6020 memory map Address Description 00000H 9FFFFH System memory 640 KB base RAM A0000H BFFFFH Off card memory usually reserved for video memory C0000H C7FFFH Off card memory usually reserved for video BIOS Shadow enable disable option in SETUP C8000H CFFFFH ...

Page 183: ...O 2 address CTC I O address Gate address bit not jumpered not jumpered 320H 328H 330H 0xA8 bit 4 jumpered not jumpered 120H 128H 130H 0xA8 bit 4 not jumpered jumpered 340H 348H 350H 0xA8 bit 4 jumpered jumpered 140H 148H 150H 0xA8 bit 4 default pins jumpered Table B 7 6020 pull down pull up EZ I O 1 configuration W3 Configuration Description W3 2 4 All lines in Port A are pulled to Gnd through 10K...

Page 184: ... All lines in Port B are pulled to Gnd through 10K Ohm W4 7 8 All lines in Port B are pulled to 5V through 10K Ohm W4 1 3 All lines in Port C are pulled to Gnd through 10K Ohm W4 3 5 All lines in Port C are pulled to 5V through 10K Ohm default pins jumpered Connector jumper pinouts Table B 9 6020 BIOS and boot option jumper pinout W1 Pin Function 1 Gnd 2 USESETUP S 3 Gnd 4 BIOS extension enable X ...

Page 185: ...unction Pin Function Pin Function Port A Port B Port C 19 bit 0 10 bit 0 13 bit 0 21 bit 1 8 bit 1 16 bit 1 23 bit 2 4 bit 2 15 bit 2 25 bit 3 6 bit 3 17 bit 3 24 bit 4 1 bit 4 14 bit 4 22 bit 5 3 bit 5 11 bit 5 20 bit 6 5 bit 6 12 bit 6 18 bit 7 7 bit 7 9 bit 7 2 5 VDC Safe 26 Gnd Port B can only be configured as output on the 6050 The output level is inverted from input This is due to the invert...

Page 186: ...Function DB 25 IDC breakout cable 10 STB 1 11 AFD 14 12 DATA0 2 13 ERR 15 14 DATA1 3 15 INIT 16 16 DATA2 4 17 SLIN 17 18 DATA3 5 19 Gnd 18 20 DATA4 6 21 Gnd 19 22 DATA5 7 23 Gnd 20 24 DATA6 8 25 Gnd 21 26 DATA7 9 27 Gnd 22 28 ACK 10 29 Gnd 23 30 BUSY 11 31 Gnd 24 32 PE 12 33 Gnd 25 34 SLCT 13 active low Note The DB connectors are the 3M 3414 series connector or Thomas and Betts 608 3430 A wiremoun...

Page 187: ...inout Pin COM1 COM2 1 DCD DCD 2 DSR DSR 3 RxD RxD 4 RTS RTS 5 TxD TxD 6 CTS CTS 7 DTR DTR 8 RI RI 9 Gnd Gnd 10 5 VDC Safe 5 VDC Safe active low Table B 14 6020 power connector pinout J5 Pin Function 1 5 VDC 2 Gnd Table B 15 6020 battery pinout J6 Pin Function 1 Battery 2 Keyed 3 Gnd 4 Gnd ...

Page 188: ...gnal A1 I O CH CK I A17 A14 O 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 ...

Page 189: ... 5V I B19 DACK0 O B4 IRQ9 I B20 CLOCK O B5 NC Not used B21 IRQ7 I B6 DRQ2 I B22 IRQ6 I B7 12V Not used B23 IRQ5 I mapped to IRQ14 B8 Reserved Not used B24 IRQ4 I B9 12V Not used B25 IRQ3 I mapped to IRQ10 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 ...

Page 190: ...tensions DRAM 2 MB DRAM soldered on card Floppy drive Floppy drive support via the LPT1 parallel port or external adapter Hard drive Hard drive BIOS supported using external hard drive controller which allows extended IDE drives larger than 528 MB Solid state disk 0 Supports a 1024 KB flash Solid state disk 2 Supports a 128 KB SRAM ROM DOS DOS 6 22 compatible Serial I O COM1 through COM4 are 16C55...

Page 191: ... Amp maximum Full 40MHz operation 490mA typical Suspend 200mA typical Environmental specifications 40 to 85 C when operating at 25 MHz 0 to 60 C when operating at 40 MHz Note Use of a heat sink may be required to achieve the high end of the temperature range 55 to 90 C nonoperating RH 5 to 95 noncondensing Size 4 5 in x 4 9 in Mating connectors J1 J3 J4 and J7 serial ports 10 pin shrouded header R...

Page 192: ...C 3 6000 Series user s manual 6030 technical data Component diagram Figure C 1 6030 component diagram COM4 10 pin COM3 10 pin AUX I O 34 pin COM1 10 pin COM2 10 pin Power Pin 1 Battery ...

Page 193: ...ction provided Table C 2 6030 I O map Hex range Function 000H 0A7H System I O functions 0A8H 0AFH General purpose status registers 0B0H 0FFH System I O functions 100H 207H Off card I O Space 208H 20BH System control register 0 read write access no SEEP CLK 20CH 20FH System control register 1 read write access watchdog IOR strobe no SEEP CLK 210H 213H System control register 0 RO SEEP CLK 214H 217H...

Page 194: ...le and connected to BIRQ5 IRQ15 Power management interrupt Table C 4 6030 memory map Address Description 00000H 9FFFFH System memory 640 KB base RAM A0000H BFFFFH Off card memory usually reserved for video memory C0000H C7FFFH Off card memory usually reserved for video BIOS Shadow enable disable option in SETUP C8000H CFFFFH Off card memory Shadow enable disable option in SETUP D0000H DFFFFH Off c...

Page 195: ...3 4 BIOS extension enable N W1 5 6 Network mode T W1 7 8 Turbo mode IA W2 7 8 IO RGE SEL A IB W1 9 10 IO RGE SEL B B W2 9 10 BIOS device default pins jumpered Connector jumper pinouts Table C 6 6030 BIOS and boot option jumper pinout W1 Pin Function 1 Gnd 2 USESETUP S 3 Gnd 4 BIOS extension enable X 5 Gnd 6 Network mode N 7 Turbo mode T 8 5V 9 Gnd 10 IORGESELB IB ...

Page 196: ...d 8 IORGESELA IA 9 Gnd 10 BIOSDEV B Table C 8 COM1 J3 COM2 J4 COM3 J1 and COM4 J7 pinout Pin COM1 J3 COM2 J4 COM3 J1 COM4 J7 1 DCD DCD NC NC 2 DSR DSR NC NC 3 RxD RxD RxD RxD 4 RTS RTS RTS RTS 5 TxD TxD TxD TxD 6 CTS CTS CTS CTS 7 DTR DTR 1K Pull up 1K Pull up 8 RI RI NC NC 9 Gnd Gnd Gnd Gnd 10 5 VDC Safe 5 VDC Safe 5 VDC Safe 5 VDC Safe active low ...

Page 197: ...unction DB 25 IDC breakout cable 10 STB 1 11 AFD 14 12 DATA0 2 13 ERR 15 14 DATA1 3 15 INIT 16 16 DATA2 4 17 SLIN 17 18 DATA3 5 19 Gnd 18 20 DATA4 6 21 Gnd 19 22 DATA5 7 23 Gnd 20 24 DATA6 8 25 Gnd 21 26 DATA7 9 27 Gnd 22 28 ACK 10 29 Gnd 23 30 BUSY 11 31 Gnd 24 32 PE 12 33 Gnd 25 34 SLCT 13 active low Note The DB connectors are the 3M 3414 series connector or Thomas and Betts 608 3430 A wiremount...

Page 198: ...ble C 12 Micro PC bus A pinout Pin Description Signal Pin Description Signal A1 I O CH CK I A17 A14 O 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 ...

Page 199: ... 5V I B19 DACK0 O B4 IRQ9 I B20 CLOCK O B5 NC Not used B21 IRQ7 I B6 DRQ2 I B22 IRQ6 I B7 12V Not used B23 IRQ5 I mapped to IRQ14 B8 Reserved Not used B24 IRQ4 I B9 12V Not used B25 IRQ3 I mapped to IRQ10 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 ...

Page 200: ... on card Floppy drive Floppy drive support via the LPT1 parallel port or external adapter Hard drive Hard drive BIOS supported using external hard drive controller which allows extended IDE drives larger than 528 MB Solid state disk 0 Supports a 1024 KB flash Solid state disk 2 Supports a 128 KB SRAM ROM DOS DOS 6 22 compatible Serial I O COM1 and COM2 are 16C550 compatible Parallel port LPT1 is P...

Page 201: ...operation Suspend 380mA typical Analog inputs Channels 8 single ended Resolution 12 bits Input voltage range 10V 5V 0 to 10V or 0 to 5V Input impedance 10M Ohms Input overvoltage protection 16 5V Throughput 100K samples per second Analog outputs Channels 2 independent Resolution 12 bits Output voltage range 5V 0 to 10V or 0 to 5V Output current 5mA max Environmental specifications 40 to 85 C when ...

Page 202: ...t 34 pin shrouded header Receptacle AMP 746288 8 Strain relief AMP 499252 6 J3 and J4 serial ports 10 pin shrouded header Receptacle AMP 746288 1 Strain relief AMP 499252 5 J6 battery 4 pin in line connector Housing DuPont BERG 746288 1 Crimp to wire pins DuPont BERG 499252 5 J7 analog I O port 20 pin shrouded connector Receptacle AMP 746288 4 Strain relief AMP 499252 2 ...

Page 203: ...D 4 6040 technical data 6000 Series user s manual Component diagram Figure D 1 6040 component diagram Battery EZ I O 26 pin Analog I O 20 pin AUX I O 34 pin COM1 10 pin COM2 10 pin Power Pin 1 ...

Page 204: ...sters 0B0H 0FFH System I O functions 100H 13FH Off card I O space 140H 147H Digital I O 1 EZ I O selectable 148H 14FH D A converter data selectable 150H 157H D A converter DAC load 158H 15FH Analog to digital converter 160H 207H Off card I O space 208H 20BH System control register 0 read write access 20CH 20FH System control register 1 read write access watchdog IOR strobe 210H 213H System control...

Page 205: ... IRQ13 Floating point unit IRQ14 Available and connected to BIRQ5 HDC BIRQ5 on 6010 IRQ15 Power management interrupt Table D 4 6040 memory map Address Description 00000H 9FFFFH System memory 640 KB base RAM A0000H BFFFFH Off card memory usually reserved for video memory C0000H C7FFFH Off card memory usually reserved for video BIOS Shadow enable disable option in SETUP C8000H CFFFFH Off card memory...

Page 206: ...IB W1 9 10 IO RGE SEL B B W2 9 10 BIOS device W2 1 3 EZ I O port C pull up W2 3 5 EZ I O port C pull down W2 2 4 EZ I O port A pull up W2 4 6 EZ I O port A pull down W4 1 2 EZ I O port B pull up W4 1 3 EZ I O port B pull down default pins jumpered Table D 6 6040 EZ I O base address selection IA W1 9 10 IB W2 9 10 I O address J1 not jumpered not jumpered 320H jumpered not jumpered 120H not jumpered...

Page 207: ...nd through 10K Ohm W2 1 3 All lines in Port C are pulled to 5V through 10K Ohm W2 3 5 All lines in Port C are pulled to Gnd through 10K Ohm default pins jumpered Table D 8 6040 digital to analog output range select W3 Output range Channel A Channel B 0V to 10V W3 6 8 W3 3 5 0V to 5V W3 8 10 W3 1 3 5V to 5V W3 7 8 W3 3 4 default pins jumpered Connector jumper pinouts Table D 9 6040 BIOS and boot op...

Page 208: ...BIOSDEV B Table D 11 6040 digital to analog range select pinout W3 Pin Function 1 Channel B 0 to 5V range 2 NC 3 Channel B range select 4 Channel B 5V to 5V range 5 Channel B 0V to 10V range 6 Channel A 0V to 10V range 7 Channel A 5V to 5V range 8 Channel A range select 9 NC 10 Channel A 0V to 5V range Table D 12 6040 EZ I O option jumper pinout W4 Pin Function 1 Port B 2 5V Aux 3 Gnd 4 NC ...

Page 209: ... connector J1 Pin Function Port A 19 bit 0 21 bit 1 23 bit 2 25 bit 3 24 bit 4 22 bit 5 20 bit 6 18 bit 7 Port B 10 bit 0 8 bit 1 4 bit 2 6 bit 3 1 bit 4 3 bit 5 5 bit 6 7 bit 7 Port C 13 bit 0 16 bit 1 15 bit 2 17 bit 3 14 bit 4 11 bit 5 12 bit 6 9 bit 7 2 5 VDC Safe 26 Gnd ...

Page 210: ...Function DB 25 IDC breakout cable 10 STB 1 11 AFD 14 12 DATA0 2 13 ERR 15 14 DATA1 3 15 INIT 16 16 DATA2 4 17 SLIN 17 18 DATA3 5 19 Gnd 18 20 DATA4 6 21 Gnd 19 22 DATA5 7 23 Gnd 20 24 DATA6 8 25 Gnd 21 26 DATA7 9 27 Gnd 22 28 ACK 10 29 Gnd 23 30 BUSY 11 31 Gnd 24 32 PE 12 33 Gnd 25 34 SLCT 13 active low Note The DB connectors are the 3M 3414 series connector or Thomas and Betts 608 3430 A wiremoun...

Page 211: ...inout Pin COM1 COM2 1 DCD DCD 2 DSR DSR 3 RxD RxD 4 RTS RTS 5 TxD TxD 6 CTS CTS 7 DTR DTR 8 RI RI 9 Gnd Gnd 10 5 VDC Safe 5 VDC Safe active low Table D 16 6040 power connector pinout J5 Pin Function 1 5 VDC 2 Gnd Table D 17 6040 battery pinout J6 Pin Function 1 Battery 2 Keyed 3 Gnd 4 Gnd ...

Page 212: ...nalog I O pinout J7 I O channel Pin Description ADC 0 1 Input 2 Agnd ADC 1 3 Input 4 Agnd ADC 2 5 Input 6 Agnd ADC 3 7 Input 8 Agnd ADC 4 9 Input 10 Agnd ADC 5 11 Input 12 Agnd ADC 6 13 Input 14 Agnd ADC 7 15 Input 16 Agnd DAC 0 17 Output 18 Agnd DAC 1 19 Output 20 Agnd ...

Page 213: ...gnal A1 I O CH CK I A17 A14 O 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 ...

Page 214: ...9 DACK0 O B4 IRQ9 I B20 CLOCK O B5 NC Not used B21 IRQ7 I B6 DRQ2 I B22 IRQ6 I B7 12V Not used B23 IRQ5 I mapped to IRQ14 B8 Reserved Not used B24 IRQ4 I mapped to IRQ11 B9 12V Not used B25 IRQ3 I mapped to IRQ10 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 ...

Page 215: ...D 16 6040 technical data 6000 Series user s manual ...

Page 216: ... on card Floppy drive Floppy drive support via the LPT1 parallel port or external adapter Hard drive Hard drive BIOS supported using external hard drive controller which allows extended IDE drives larger than 528 MB Solid state disk 0 Supports a 1024 KB flash Solid state disk 2 Supports a 128 KB SRAM ROM DOS DOS 6 22 compatible Serial I O COM1 and COM2 are 16C550 compatible Parallel port LPT1 is P...

Page 217: ...onmental specifications 40 to 85 C when operating at 25 MHz 0 to 60 C when operating at 40 MHz Note Use of a heat sink may be required to achieve the high end of the tem perature range 55 to 90 C nonoperating RH 5 to 95 noncondensing Size 4 5 in x 4 9 in Mating connectors J1 EZ I O port 26 pin shrouded header Connector AMP 746288 6 Strain relief AMP 499252 3 J2 AUX I O port 34 pin shrouded header ...

Page 218: ...E 3 6000 Series user s manual 6050 technical data Component diagram Figure E 1 6050 component diagram EZ I O 26 pin AUX I O 34 pin COM1 10 pin COM2 10 pin Battery Power Pin 1 ...

Page 219: ...provided Table E 2 6050 I O map Hex range Function 000H 0A7H System I O functions 0A8H 0AFH General purpose status registers 0B0H 0FFH System I O functions 100H 207H Off card I O Space 208H 20BH System control register 0 read write access no SEEP CLK 20CH 20FH System control register 1 read write access watchdog IOR strobe no SEEP CLK 210H 213H System control register 0 RO SEEP CLK 214H 217H Syste...

Page 220: ... IRQ13 Floating point unit IRQ14 Available and connected to BIRQ5 IRQ15 Power management interrupt Table E 4 6050 memory map Address Description 00000H 9FFFFH System memory 640 KB base RAM A0000H BFFFFH Off card memory usually reserved for video memory C0000H C7FFFH Off card memory usually reserved for video BIOS Shadow enable disable option in SETUP C8000H CFFFFH Off card memory Shadow enable dis...

Page 221: ... W2 4 6 EZ I O port A pull up default pins jumpered Table E 6 6050 EZ I O base address selection IA W2 7 8 IB W1 9 10 I O address J1 not jumpered not jumpered 320H jumpered not jumpered 120H not jumpered jumpered 340H jumpered jumpered 140H default pins jumpered Table E 7 6050 pull down pull up EZ I O Configuration Description W2 2 4 All lines in Port A are pulled to 5V through 10K Ohm W2 4 6 All ...

Page 222: ...option jumper pinout W1 Pin Function 1 Gnd 2 USESETUP S 3 Gnd 4 BIOS extension enable X 5 Gnd 6 Network mode N 7 Turbo mode T 8 5V 9 Gnd 10 IORGESELB IB Table E 9 6050 BIOS and boot option jumper pinout W2 Pin Function 1 5V AUX 2 5V AUX 3 Port C 4 Port A 5 Gnd 6 Gnd 7 Gnd 8 IORGESELA IA 9 Gnd 10 BIOSDEV B ...

Page 223: ... 23 bit 2 4 bit 2 15 bit 2 25 bit 3 6 bit 3 17 bit 3 24 bit 4 1 bit 4 14 bit 4 22 bit 5 3 bit 5 11 bit 5 20 bit 6 5 bit 6 12 bit 6 18 bit 7 7 bit 7 9 bit 7 2 5 VDC Safe 26 Gnd Port B can only be configured as output on the 6050 The output level is inverted from input This is due to the inverted output high current driver used on the 6050 Consider these factors when using and programming this port ...

Page 224: ...Function DB 25 IDC breakout cable 10 STB 1 11 AFD 14 12 DATA0 2 13 ERR 15 14 DATA1 3 15 INIT 16 16 DATA2 4 17 SLIN 17 18 DATA3 5 19 Gnd 18 20 DATA4 6 21 Gnd 19 22 DATA5 7 23 Gnd 20 24 DATA6 8 25 Gnd 21 26 DATA7 9 27 Gnd 22 28 ACK 10 29 Gnd 23 30 BUSY 11 31 Gnd 24 32 PE 12 33 Gnd 25 34 SLCT 13 active low Note The DB connectors are the 3M 3414 series connector or Thomas and Betts 608 3430 A wiremoun...

Page 225: ...inout Pin COM1 COM2 1 DCD DCD 2 DSR DSR 3 RxD RxD 4 RTS RTS 5 TxD TxD 6 CTS CTS 7 DTR DTR 8 RI RI 9 Gnd Gnd 10 5 VDC Safe 5 VDC Safe active low Table E 13 6050 power connector pinout J5 Pin Function 1 5 VDC 2 Gnd Table E 14 6050 battery pinout J6 Pin Function 1 Battery 2 Keyed 3 Gnd 4 Gnd ...

Page 226: ...gnal A1 I O CH CK I A17 A14 O 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 ...

Page 227: ...9 DACK0 O B4 IRQ9 I B20 CLOCK O B5 NC Not used B21 IRQ7 I B6 DRQ2 I B22 IRQ6 I B7 12V Not used B23 IRQ5 I mapped to IRQ14 B8 Reserved Not used B24 IRQ4 I mapped to IRQ11 B9 12V Not used B25 IRQ3 I mapped to IRQ10 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 ...

Page 228: ...chapter discusses Octagon s power supplies The Miscellaneous chapter also discusses how to build a custom communica tion cable and how to upload files from the PC Microcontroller For more information on these three areas refer to the Miscellaneous chapter in the 6000 Series user s manual ...

Page 229: ...F 2 Miscellaneous 6000 Series user s manual ...

Page 230: ...roduct name description and part num bers to all cables terminal and interface boards LCD displays keypads opto racks and modules and miscellaneous parts that are relevant to the 6000 Series PC Microcontrollers To view this listing refer to the Accessories chapter in the 6000 Series user s manual ...

Page 231: ...G 2 Accessories 6000 Series user s manual ...

Page 232: ...6000 Series user s manual Warranty Warranty Refer to the 6000 Series user s manual for a complete description on Octagon s service policy product repair returns governing law and limitations on warranty ...

Page 233: ...Warranty 6000 Series user s manual ...

Reviews: