Home
CMF8680 and CM102 MANUAL - RTD Embedded Technologies, Inc.
Contents
1. 2 2 2 2 Aer F1 for More Help Fig 3 12 Graphics Controller Setup Figures 3 13 through 3 15 show the screens for the CGA CRT LCD graphics setup Figure 3 13 selects one of the four positions for the Dot Clock CMF8680 cpuModule Setup Program V1 06 Copyright c 1993 RTD USA PC Chip Graphic Controller Presets Dot Signals Dot Clock Signal gt gt Enabled Disabled SYNC to Ground Dot Clock Phase gt Late Early Dot Clock Polarity gt Normal Inverted Help 4 Wie a RA pr Fi for More Help Fig 3 13 Graphics Controller Dot Signals 3 10 Figure 3 14 allows inverting of various video signals CMF8680 cpuModule Setup Program V1 06 Copyright c 1993 RTD USA PC Chip Graphic Controller Presets Signal Complements Pixel Signals Inverse Video gt gt Normal No Complement Inverse Complement Horizontal Sync gt No Complement Complement Vertical Sync gt No Complement Complement Help Info o Fl for More Help Fig 3 14 Graphics Controller Signal Complements Figure 3 15 selects the font which is displayed and the blink rate options CMF8680 cpuModule Setup Program V1 06 Copyright c 1993 RTD USA PC Chip Graphic Controller Alt Font and Blink Rates Standard Font gt First Font
2. PC Chip CGA Video Modes Register Values for EEPROM Graphic Modes 38 28 2A 0A 7F 06 64 Register Register Register Register Register Register Register Register Register Register Register Oy Ui QC NO mo 9 10 11 Horizontal Total Horizontal Displayed Horizontal Sync Posistion Horizontal Sync Width Vertical Total Vertical Total Adjust Vertical Displayed Vertical Sync Posistion Character Cell Height Cursor Start Cursor End 0000 Register 12 amp 13 Start Address 0000 Register 14 amp 15 End Address Help Info Fl for More Help Fig 3 23 CGA Video Modes Register Values for EEPROM Graphic Mode CMF8680 cpuModule Setup Program V1 06 Copyright c 1993 RTD USA PC Chip CGA Video Modes Register Values for EEPROM 80x25 Special Mono Text Mode Z W 61 50 52 OF 19 06 19 19 0D 0B OC Register Register Register Register Register Register Register Register Register Register Register 0 NAOUDSDWNYr 9 10 11 0000 Register 12 0000 Register 14 Horizontal Total Horizontal Displayed Horizontal Sync Posistion Horizontal Sync Width Vertical Total Vertical Total Adjust Vertical Displayed Vertical Sync Posistion Character Cell Height Cursor Start Cursor End amp 13 Start Address amp 15 End Address Help Info F1 for More Help Fig 3 24 CGA Video Modes Register Values for EEPROM 80x25 Special Mono
3. CMF8680 cpuModule amp CM102 utilityModule User s Manual ID Real Time Devices Inc Accessing the Analog World Publication No 8680 9524 CMF8680 amp CM102 User s Manual FU REAL TIME DEVICES INC Post Office Box 906 State College Pennsylvania 16804 Phone 814 234 8087 FAX 814 234 5218 Published by Real Time Devices Inc P O Box 906 State College PA 16804 Copyright O 1994 by Real Time Devices Inc All rights reserved Printed in U S A RTD logo Accessing the Analog World and dataModule are registered trademarks cpuModule amp utilityModule are trademarks of Real Time Devices Inc SuperState is a trademark of Chips amp Technologies Inc Datalight is a registered trademark of Datalight MS DOS is a registered trademark of Microsoft Corporation AT is a registered trademark and PC XT is a trademark of IBM Corporation RTXC is a trademark of Embedded System Products Inc AMX is a trademark of KADAK Products Ltd Nucleus is a trademark of Accelerated Technology Inc PC 104 is a trademark of the PC 104 Consortium Rev E 9524 Table of Contents INTRODUCTION allora i 1 CMF8680 Overview qe i 3 C amp T E8680 PC7 CHIP nn tette tei eese Rn i i EPOR eee i 4 About This Manuali idee HH E UR TU eod dee Pie ie se i RE TREE ugs i 4 References i 5 Important NN 1 5 CHAPTER 1 HARDWARE anni 1 1 Memory DVI
4. PIN SIGNAL e fer a few PIN SIGNAL az sor as soe A4 A5 A8 A9 Avo SD7 SD6 Taa sos as ss as sn as soo PIN SIGNAL 24 foso C 3 SIGNAL A14 A17 A18 SA13 A19 SA12 A20 SA11 A21 SA10 A22 SA09 A23 SA08 A24 SA07 A25 SA06 PIN SIGNAL EN CMF8680 CONNECTORS cont d P4 UTILITY CONNECTOR PIN SIGNAL PIN SIGNAL 1 sro 2 auroro _ s jem ERROR 6 NT EN CRT SIGNAL LCD SIGNAL Not Used gt jiem oors Ls reo oore CRT SIGNAL LCD SIGNAL 7 o ee ooro PIN SIGNAL eo Fe CMF8680 CONNECTORS cont d P8 HIGH DENSITY FLOPPY DISK DRIVE INTERFACE PIN SIGNAL PIN o wr rie I Co Tono l ie Jor P9 RS 232 SERIAL PORT PIN SIGNAL e jos FA 9 eno 18 os 19 PIN SIGNAL 25 RD PIN SIGNAL NIC CMF8680 CONNECTORS cont d P11 RS 232 SERIAL PORT PIN SIGNAL De Jes 7 DTR 1 CM102 utilityModule PA CONNECTOR PIN SIGNAL 2s GROUND _ av D 1 APPENDIX D Application Notes This appendix contains CMF8680 Application Notes which are currently available from Real Time Devices CMF86
5. NOTE The CMF8680 is available with CMF8680 2 or without CMF8680 1 the PCMCIA connector P2 and P1 and or P2 are available as stackthrough or soldertail connectors Connectors P3 through P8 P10 and P11 are normally supplied as right angle connectors and P9 is normally supplied as a vertical connector OEMs can specify any combination of right angle and vertical connectors for P3 through P11 1 4 IDE Hard Drive Interface Floppy Drive Interface PCMCIA Interface Keypad Scanning CGA CRT LCD Graphics Controller P2 OPTIONAL CM102 PCMCIA amp KEYPAD SCANNING 32 pin P7 CGA CRT LCD P8 FLOPPY DRIVE P1 XT BUS 64 pin Pa Ga ar P9 P6 RS 232 SERIAL PARALLEL PORT PORT P5 RS 485 SERIAL PORT a UTILITY ni 7 P3 Ne POWER P10 IDE INTERFACE P11 RS 232 SERIAL PORT Figure 1 3 CMF8680 cpuModule Interface Connectors The 16 bit IDE hard drive interface P10 is a standard 40 pin connector This interface supports 16 bit data transfers in a single cycle P10 can be connected to the CM104 1 8 inch hard drive utilityModule or to any other 16 bit IDE hard drive The high density floppy drive interface P8 is a 34 pin connector which supports two high density floppy drives 360K 720K 1 2MB or 1 44MB configured as disk drives A and B Note that each of the two PCMCIA cards supported by the system are also accessed as disk drives A and B Therefore the system can support a c
6. dataModule DM5406 Sissi 2 Approx EEI cpuModule CMF8680 SSSSSSSSSSSSSSSSSSSSSSSSNSNNSNS utilitvModule CM102 SSS ss AES w 0 6 SPACER SS SSSSSSSSSSSSSSSSSSSSSSSSSSSSNSS SSSSSSS 0 6 SPACER 13 NOTE When installing a dataModule with only a P1 connector 2 rows of pins make sure that the 2 rows of pins engage with the 2 rows of pinsclosesttothe edge ofthe mating module as shown in the diagram Figure 2 2 Typical Stack Assembly OTHER OPTIONS In addition to stacking modules can be connected to backplanes other boards with a PC 104 bus connector or in a number of custom configurations depending on your applica tion If you need help with hardware installation please consult the factory CHAPTER 3 Start Up 3 1 RTDMOD SETUP PROGRAM This chapter tells you how to use the configuration setup program RTDMOD EXE and how to start up your CMF8680 System boot options the BIOS and SupterState R and the watchdog timer are also discussed in the chapter The settings shown in the manual are the default settings The system configuration program RTDMOD EXE is used to set up the various param eters of the CMF8680 before you boot the system The setup program is on a utility disk shipped with your CMF8680 To run the setup program you will need a CRT keyboard and floppy drive The setup program can be placed in a R
7. Second Font BOLD Font Translate Intensity Bit as Font Selection Enabled gt Disabled Character Blink Rate Value is gt 00 0 16 Dec Cursor Blink Rate Value is gt 02 0 16 Dec Help Info pes F1 for More Help Fig 3 15 Graphics Controller Alternate Font and Blink Rates 3 11 Figure 3 16 controls the CRT or LCD selection and the LCD parameters for grey scaling first line marker delay and double scan mode CMF8680 cpuModule Setup Program V1 06 Copyright c 1993 RTD USA PC Chip LCD Control Graphic Controller Mode gt gt CGA CRT CGA LCD Grey Scaling gt 4x2 box 16 Color 4x4 box 8 Color First Line Marker Delay gt No Delay Add Delay Double Scan LCD gt Normal scan mode 200 line Double scan mode 400 line Help Info _______ F1 for More Help Fig 3 16 LCD Control Setup Figures 3 17 and 3 18 show the Base Memory addressing It is recommended that the factory settings PC 104 BUS or RAM be used unless you have complete information about the PC CHIP memory management in order to avoid contention CMF8680 cpuModule Setup Program V1 06 Copyright c 1993 RTD USA Base Memory Control A0000 amp B0000 Non Mapped A0000 AFFFF Range gt RAM User ROM at Offset gt A000 0000 2000 E000 Cust
8. the keypad scanning feature run RTDMOD EXE call up the screen shown in Figure 4 3 enable keypad scanning and set up the number of rows and columns you will need for your keypad matrix Then go to the screen shown in Figure 4 4 and enter the scan codes from Table 4 2 to define the keys Note that codes 01h through 53h are standard XT keyboard codes For a 16 x 8 matrix 128 keystrokes can be defined By defining an Fn key or Ctrl Alt in one of these positions an additional 128 keystrokes can be defined for a total of 256 keys The Fn key is a typical modifier key found on notebooks and palmtops which extends the character set when pressed along with a given key The following example will show you how to program a matrix CMF8680 cpuModule Setup Program V1 06 Copyright c 1993 RTD USA Keypad Scanning Control Keypad scanning Enabled Disabled Keypad size Set to 0 to free User space in EEPROM 00 Rows 0 16 0 Columns 0 8 Help Info F1 for More Help Fig 4 3 Keypad Scanning Setup CMF8680 cpuModule Setup Program V1 06 Copyright c 1993 RTD USA User Keypad Data FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FF
9. 2A Register 0A Register 1F Register 06 Register 19 Register Horizontal Total Horizontal Displayed Horizontal Sync Posistion Horizontal Sync Width Vertical Total Vertical Total Adjust Vertical Displayed 1C Register Vertical Sync Posistion 07 Register Character Cell Height 06 Register 10 Cursor Start 07 Register 11 Cursor End 0000 Register 12 amp 13 Start Address 0000 Register 14 amp 15 End Address VO M OY Ul 4 Q2 NO HP O 1 Help 1 I m I F1 for More Help Fig 3 21 CGA Video Modes Register Values for EEPROM 40x25 Mode CMF8680 cpuModule Setup Program V1 06 Copyright c 1993 RTD USA PC Chip CGA Video Modes Register Values for EEPROM 80x25 Text Modes gt 71 Register 50 Register 5A Register 0A Register 1C Register 1E Register Horizontal Total Horizontal Displayed Horizontal Sync Posistion Horizontal Sync Width Vertical Total Vertical Total Adjust 19 Register Vertical Displayed 1A Register Vertical Sync Posistion 07 Register 9 Character Cell Height 06 Register 10 Cursor Start 07 Register 11 Cursor End 0000 Register 12 amp 13 Start Address 0000 Register 14 amp 15 End Address OU s 0b o 1 Help InEQ Te F1 for More Help Fig 3 22 CGA Video Modes Register Values for EEPROM 80x25 Mode 3 15 CMFB8680 cpuModule Setup Program V1 06 Copyright c 1993 RTD USA
10. COMA or disabled Both serial ports operate at up to 115K baud The RS 485 serial port P5 supports multidrop system configurations where several devices are controlled through a single port It can be programmed as COMI COM2 COM3 or COM4 When using P5 you must configure the associated jumper on header connector P14 so that the line is terminated or not terminated The RS 485 path must be terminated at both ends for proper operation If the CMF8680 is at the end of the path then install the jumper at P14 to terminate the line If the CMF8680 is located somewhere in the middle of the RS 485 path remove the jumper at P14 so that the line is not terminated Asserting the RTS signal on the serial port enables the RS 485 driver The RS 485 receiver is always enabled The RS 485 uses a 16450 compatible UART This port P6 can be programmed as a PC AT enhanced bidirectional parallel port or as a standard printer port and can be programmed at address 3BCH 378H or 278H or dis abled The parallel port cable should be less than 10 feet long to ensure reliable data transfer The 10 pin utility port P4 provides XT keyboard signals piezoelectric speaker signals system reset suspend resume switch signal sleep mode monitor and battery backup connections The pin assignments are given below The speaker signal can drive an external piezoelectric speaker When the RESET line is taken low at pin 3 a system reset occurs Pin 4 PWRUP is used to pl
11. F81 4882 FF83 4B84 FF85 4D86 FF87 5088 FF89 9D9D FF80 FFFF Hit PageUp PageDn when done Editing Location gt 00 Help Info Enter Hex Values Using 0 F Keys TAB Goto Next Location HOME Goto First Location SPACE BACKSPACE and CURSOR Keys F1 for More Help SHIFT TAB Goto Prevevious Location END Goto Last Location move the cursor without changing data Fig 4 7 Entering the Keypad Scan Codes Fixed HIGH BYTE LOW BYTE A 1 APPENDIX A Specifications CMF8680 Specifications General Specifications A anas 3 6 L x 3 8 W x 0 6 H 90 x 96 x 16 mm Temperature range operating 0 to 70 C Temperature range storage ss en 55 to 85 C Hurnidity vinos rica 5 to 95 non condensing Electrical 25 C Power consumption 2 MB DRAM installed Operational 5 5 eerte eee eorr teinte 1 6W 14 3 MHz typical 1 0W 7 2 MHz typical PI EIE 370 mW typical i e 350mW typical II A 100mW typical Power requirements 2 MB DRAM installed 5V 5 325 mA typical PC Functions Chips amp Technologies F8680 16 bit 14 318 MHz CPU Programmable CPU clock rates 14 3 7 2 4 77 3 58 MHz RTD enhanced BIOS with Datalight ROM DOS kernel 2 MB DRAM 3 DMA channels 8 interrupt channels 16 bit IDE hard drive interface High density floppy controller 360K 720K 1 2MB 1 44MB CGA CRT LCD video interface 80 x
12. T Drowse 8 seconds T Suspend 2 minutes T Max Drowse 4 T Drowse No activity no INT no I O no video Idle no KB activity Max Drowse Max performance control and CLK 4 Fig 4 1 Power Management States 4 4 CHAPTER 5 Using the Solid State Disk BUILDING A ROM DISK Running ROMDISK ROMDISK is a utility for creating a disk file that represents a ROM disk A ROM disk contains all the standard parts of a disk that reside on a floppy or hard disk Each of these disks contains a boot sector a File Allocation Table and a root directory and the files selected to be included on the disk The ROMDISK utility supports ROM disks up to 32 Megabytes in size sub directories and the creation of RXE programs on the ROM disk A ROM disk can be used by ROM DOS for accessing the user application in a diskless system This disk is much the same as a RAM disk used under DOS except that it is read only and always resides in ROM The ROMDISK image is built using the ROMDISK EXE utility included in your CMF8680 utility software package You can run the ROMDISK utility at the DOS command line by typing ROMDISK with or without parameters When it is run without parameters ROMDISK displays a summary of parameters and options that looks like this CAROMDOS gt ROMDISK ROMDISK v5 0 Copyright c 1989 1992 by Datalight Usage ROMDISK lt filespec gt outfile options Options E Do not place exte
13. for More Help Fig 3 7 IDE Custom Drive Settings Table 3 1 Standard IDE Hard Drive Table Cyl Heads WPC Control Land Sec Fixed disk type 1 128 305 17 Fixed disk type 2 615 Fixed disk type 3 615 Fixed disk type 4 940 Fixed disk type 5 940 Fixed disk type 6 615 Fixed disk type 7 462 Fixed disk type 8 733 Fixed disk type 9 900 Fixed disk type 10 820 Fixed disk type 11 855 Fixed disk type 12 855 Fixed disk type 13 306 Fixed disk type 14 733 Fixed disk type 15 0 Fixed disk type 16 612 Fixed disk type 17 977 Fixed disk type 18 977 Fixed disk type 19 1024 Fixed disk type 20 733 Fixed disk type 21 733 Fixed disk type 22 733 Fixed disk type 23 989 Fixed disk type 24 612 Fixed disk type 25 612 Fixed disk type 26 614 Fixed disk type 27 820 Fixed disk type 28 977 Fixed disk type 29 1023 Fixed disk type 30 1024 Fixed disk type 31 1024 Fixed disk type 32 809 Fixed disk type 33 830 Fixed disk type 34 830 Fixed disk type 35 776 Fixed disk type 36 1024 Fixed disk type 37 615 Fixed disk type 38 615 Fixed disk type 39 925 Fixed disk type 40 1024 Fixed disk type 41 80 Fixed disk type 42 160 Fixed disk type 43 672 Fixed disk type 44 522 Fixed disk type 45 980 Fixed disk type 46 Fixed disk type 47 BBOBKONNOOMMMOZNJOOMOMOBNRBRDUINUOUNNOAB ONONJMWGQMOZOowoha QOoOOOOO0000000000O0000O00000000000000o00o000o0o0oo0ooooo The next three screens Figures 3 8 thr
14. position DIP switch on the CM102 module must be configured for correct operation of the CM102 Sections 1 through 3 control the PCMCIA selection Section 4 is for keypad enable disable Table 4 1 shows the settings for switches 1 through 3 on S1 Make sure you use a valid setting of these switches Note that 0 CLOSED and 1 OPEN If two CM102 s are installed in the system one must be configured as Drive A the other as Drive B and only one module can have the keypad scanning feature enabled Table 4 1 CM102 Switch Settings EU MMC ste Id Floppy A E ANE NE CONI SENI EE CENE O e I ETE A Switch S1 4 is the keypad enable disable When this switch is set to 0 CLOSED the keypad is enabled When set to 1 OPEN the keypad is disabled Like a floppy disk a blank SRAM PCMCIA card must be formatted prior to use The FORMAT EXE program supplied with the CMF8680 performs this function After the card has been formatted it can be read or written like a floppy Most PEMCIA cards have a write protect switch If the switch is in the write protect position the system will not be able to write the card While the system cannot program ROM Flash EPROM cards it can read them PCMCIA cards can be removed while the system is on without damage to either the system or the card KEYPAD SCANNING The F8680 chip and the BIOS of the CMF8680 provide hardware and software support for the X Y keypad scanning feature on
15. the keypad scan values screen to enter the scan codes It will take 12 words to define the 12 keys in our 4 x 3 matrix The 12 words into which you will enter the scan codes are already highlighted on the scan values screen Note that when you do not use the entire table the last code entered is always in the last position on the table This allows the unused area in the EEPROM to be available for other functions As shown in Figure 4 5 we would like to set up our keypad with the numerical values 0 through 9 in the positions shown and we want to define the Fn key so that when it is pressed we can use the cursor position arrows as shown in the right layout Each word is divided into an upper byte and a lower byte The lower byte defines the key when no Fn key is pressed with it and the upper byte defines the key when the Fn key is pressed simulta neously Table 4 3 shows how to define our keypad Note that FF is entered when a switch is absent or a key combination is not used Also note that we have defined the Fn key by entering 9Dh in both the high and low bytes at row 4 column 1 When you enter the scan codes on the RTDMOD EXE s scan code values screen the first word in the highlighted section is row 1 column 1 the second word is row 1 column 2 etc Now look at Figures 4 6 and 4 7 to see how this example is set up on the RTDMOD EXE configuration screens Euer aa e LIIS EEE Je GE UI Fig 4 5 Simple Kevpad C c
16. with CM102 utilitvModule which supports up to 32 MB memory cards and up to 16 x 8 X Y matrix keypads M Battery backed real time clock iM Watchdog timer amp power monitor E Self stacking PC 104 compatible bus for easy expansion amp PC 104 mezzanine bus support Appendix A provides a complete listing of CMF8680 specifications Figure i 1 shows the interfaces and major components of the CMF8680 JONA 1 tos FLOPPY DRIVE CGA CRTLCD or KEYPAD BU SPANNING D 8 BIT BUS P9 P6 RS 232 SERIAL PARALLEL PORT PORT 7 1MB SOLID STATE DISK P5 RS 485 SERIAL PORT WATCHDOG TIMER NER P4 i Pa UTILITY REAL TIME b 3 CLOCK gt 2MB DRAM P10 NONVOLATILE IDE INTERFACE CONFIGURATION EEPROM on bottom Figure i 1 CMF8680 cpuModule P11 RS 232 SERIAL PORT i3 C amp T F8680 A true single chip PC the Chips amp Technologies F8680 PC CHIP features 16 bit 14 PC CHIPTM MHz XT compatible performance low power consumption the SuperState R management system direct PCMCIA card support power management and flexible memory support Its on chip CGA controller provides direct support of CRT or LCD panel displays The 82C721 super peripheral controller chip adds two serial ports one parallel port and up to two high density floppy drives A and B Figure i 2 shows a basic block diagram for the F8680 Complete specifications are pro vided in Appendix A SuperState R XT BIOS ISA Bus P
17. you boot with ROM DOS on a floppy or hard drive then the ROMDISK will be available If you do not boot the system with ROM DOS then the ROMDISK will not be available Holding both Shift keys down while the CMF8680 is booting will abort the EEPROM load and the system will boot to the default settings of ROM DOS enabled IDE disabled Drive A 5 1 4 inch floppy and CGA CRT enabled A bootable floppy disk with ROM DOS is provided with your CMF8680 Table 3 2 shows the system boot options Table 3 2 System Boot Options Disable Not Ready Will not boot Disable Not Ready ROMDISK IDE drive with ROMDISK available if using Disable Not Ready ROM DOS ROMDISK with IDE available Floppy drive with ROMDISK available if Disable Disable Ready using ROM DOS Floppy drive with ROMDISK available if Disable Enable Ready using ROM DOS Floppy drive with IDE available amp Enable Disable Ready ROMDISK available if using ROM DOS Floppy drive with IDE available amp Enable Enable Ready ROMDISK available if using ROM DOS BIOS AND SuperState R is a combination of special software instructions and internal PC CHIP M SUPERSTATET R hardware that extend the processor core allowing additional features to be supported transparently to normal DOS and BIOS operation without the need for complex hardware SuperState provides Control over hardware extensions within the PC CHIPTM Five programmable pins that are used to provide the PC
18. 16 bit value to write Generate Interrupt 60H or as set with I After the interrupt returns the results are AH 0 if Write was OK 1 if an error occurred AL address written 0 to 127 Note This function will generate an error if an access to the keypad area is tried Function 2 To write to any location AH 02H AL address to write 0 to 127 BX 16 bit value to write Generate Interrupt 60H or as set with I After the interrupt returns the results are AH 0 if Write was OK 1 if an error occurred AL address written 0 to 127 Function 3 To read keypad rows and columns AH 08H Generate Interrupt 60H or as set with T After the interrupt returns the results are AH 0 if Read was OK 1 if an error occurred BL Keypad Rows BH Keypad Columns APPENDIX E Warranty E 1 LIMITED WARRANTY Real Time Devices Inc warrants the hardware and software products it manufactures and produces to be free from defects in materials and workmanship for one year following the date of shipment from REAL TIME DEVICES This warranty is limited to the original purchaser of product and is not transferable During the one year warranty period REAL TIME DEVICES will repair or replace at its option any defective products or parts at no additional charge provided that the product is returned shipping prepaid to REAL TIME DEVICES All replaced parts and products become the p
19. 22 TRANSFER PROGRAM No working memory can be found EMM aborted The driver cannot find any memory set aside as expanded memory Make sure to run your system SETUP and set aside some memory for expanded memory Unrecognized command option in command line The string displayed after this error message was found to be invalid Edit your CONFIG SYS to make sure this invalid option is corrected The command line is incomplete Options are incomplete on the PCCEMM SYS command line Make sure that all com mand line options are correctly formatted Problems encountered in setting default page frame address The default page frame address D000 is invalid Make sure that no other driver is using this area of memory Decimal number input overflow error The number of handles specified is an invalid number Edit your CONFIG SYS and make sure that the parameter for HANDLES is correctly formatted Error EMS I O not enabled EMS has not been enabled on the Chips F8680 PC CHIP Run your system SETUP and make sure EMS has been enabled The EMS hardware is disabled or not functional This is a generic error message that is accompanied by another error message This means that for some reason given by the other error message the EMS hardware is not operating properly TRANSFER is a file exchange utility that allows embedded systems to upload and download files over a serial link TRANSFER uses BIOS ca
20. 25 text 40 x 25 text 640 x 200 graphics 2 color 320 x 200 graphics 4 color 8 or 16 level gray scale for LCD PC XT compatible keyboard port Optional support for X Y keypad scanning up to 16 x 8 and for PCMCIA card with CM102 configured as disk drive A or B Speaker port Battery backed real time clock VO Ports 2 RS 232 serial ports RS 485 serial port PC AT compatible enhanced bidirectional parallel port Stackable 64 pin PC 104 XT bus Additional On board Functions 32 pin byte wide JEDEC memory socket for up to 1 MB non volatile RAM PROM flash EPROM 4K bit configuration EEPROM for system setup storage with 2K bits for user and or keypad layout Watchdog timer A 3 sdew O I pue xoure A a XICNAdd V DOLO 2900 suoisueuiig einpoyindo 08984ND V Bld OSSE SHOL93NNOO ONLLVN SIONTONI SNOID3U HO193NNO9 ON S91d 2 30H VIG sei se 0s2 S OVd VIO 082 oov CMF8680 cpuModule Memory Map 3FFFFFF Fixed byte wide PCMCIA Access cycles PCMCIA Cards 2000000 Fixed PC104 Bus Access cycles byte 1000000 Controlled by Out of range Bank Select CREG 0x24 IDE VO 0400000 Locations ROMDOS Usage User or BIOS ROMDISK 0300000 Keypad Scanning 0200000 System RAM Accessed by EMM System HIMEM 0100000 BIOS and SuperState ROM Shadowed 00F0000 BIOS Extensions Boot IDE ROMDOS ROM Shadowed BIOS Access 00E0000 PCM
21. 27C040 amp 27C080 EPROMs These jumpers are located in the lower left corner of the board near the SSD socket O Figure 1 2 Byte Wide Socket Device Jumpers Eight interrupt channels IRQO through IRQ7 are provided by the PC 104 bus IRQO and IRQ are reserved by system functions IRQ2 through IRQ7 are available to the user for peripheral devices The list below shows the interrupt channel assignments IRQO Timer Channel O not available to the user IRQ1 Keyboard Interface not available to the user These peripheral devices can be disabled and their interrupts made available for user applications IRQ2 Video IRQ3 COM2 COM4 IRQ4 COM1 COM3 IRQ5 IDE Hard Disk IRQ6 Floppy Drive Controller IRQ7 Parallel Port Four DMA channels DMAO through DMAS are provided by the PC 104 bus DMAO and DMA2 are reserved for system use DMA1 and DMA3 are available to the user for DMA transfer operations The CMF8680 s versatility is enhanced by the many on board interfaces provided These interfaces include a 16 bit IDE hard drive interface high density floppy controller PCMCIA interface CGA CRT LCD graphics controller two RS 232 serial ports one RS 485 serial port an AT enhanced bidirectional parallel port XT keyboard and speaker ports utility connec tor and power connector Figure 1 3 shows these interfaces The following paragraphs describe each interface Pin assignments for all connectors are included in Appendix C
22. 640x400 Double Scan Mode 3 16 The screen control is set up as shown in Figure 3 25 The F1 F2 setup message allows the user to change system parameters using the setup provided in the Chips amp Technologies BIOS NOTE Any changes made in this setup program will take effect as soon as the program is exited however the settings made here will not be saved Also the data values displayed for the hard disk types are incorrect The values used are shown in Table 3 1 CMF8680 cpuModule Setup Program V1 06 Copyright c 1993 RTD USA User Boot Screen Control F1 F2 Setup Message Display gt skip Clear screen on boot Clear gt Skip Help Info PASOS gt gt gt Fi for More Help Fig 3 25 User Boot Screen Control Keypad scanning is enabled and the size of the matrix is set up in the screen shown in Figure 3 26 You can program up to 256 keys as described in Chapter 6 Here you set up the number of rows by the number of columns of your keypad Then go to the user keypad data screen see Figure 3 28 and text to program the values for the keys CMF8680 cpuModule Setup Program V1 06 Copyright c 1993 RTD USA Keypad Scanning Control Keypad scanning gt Enabled gt Disabled Keypad size Set to 0 to free User space in EEPROM 00 Rows 0 16 0 Columns 0 8 Help Info F1 for More Help Fig 3 26 Keypad Scanning
23. 80 1 Using the CMF8680 Watchdog Timer CMF8680 2 RDTNVEP EXE User Access to Serial EEPROM D 3 APPLICATION NOTE CMF8680 1 Using The CMF8680 Watchdog Timer Embedded applications often are reguired to run for a long time and are subject to all kinds of interference noise and power supply glitches The CMF8680 has an onboard watchdog timer that will reset the processor if an application is not operating properly The basic principle of the watchdog timer is once the application starts the watchdog timer it must toggle the timer at least once every 1 6 seconds or the watchdog timer will perform a hardware reset The CMF8680 implementation also allows the user to disable the timer Example programs in Turbo C QuickBASIC and Turbo Pascal demonstrate this application The two functions that are used are Toggle Watchdog Timer and Disable Watchdog Timer The watchdog timer is connected to an I O pin on the F8680 CPU When the pin is tri stated the timer is disabled This is the default position after a hardware reset The pin can be driven high or low by using a Super State R interrupt function The process is to load the AH with 14H AL with the value to set BH with 8CH and BL with 1H D 5 APPLICATION NOTE CMF8680 2 RTDNVEP EXE User Access to Serial EEPROM RTDNVEP EXE Copyright Real Time Devices Inc 1994 This Terminate Stay Resident program enables users to access 128 16 bit locations in the configuration EE
24. CIA EMM Memory Banks 4 16K or to PC104 bus 00D0000 00C0000 00B8000 Access 00B0000 To PC104 bus or User ROM 00A0000 System DRAM DOS 640K RAM 0000000 B 3 CMF8680 cpuModule I O Port Map VO Locations Base CGA Graphics Controller PC Chip or PC104 bus B0 3D i CGA Set Light Pen Strobe v 3D 3D JOGA Sai Pen Sto TT GGA Undefined canbe remapped by MO S00 30F Serial Port COMI PC Chip or 721 or PC104 bus 3F8 3FF Bold Default Settings amp Default Part used to provide I O Notes Some of the Images below OAO do go out to the PC104 bus in the current BIOS implementation and they always can be reprogrammed by the user if desired B 4 APPENDIX C Connector Pin Assignments C 1 CMF8680 CONNECTORS P1 PC XT EXPANSION BUS PC 104 BUS PIN SIGNAL er o DRQ2 12 VDC B9 Havoc Bi4 fjor P2 PCMCIA EXPANSION BUS PIN SIGNAL s fa s f re 7 B R 7 RD13 RD14 P3 POWER CONNECTOR PIN SIGNAL e psv PIN SIGNAL DACK1 B18 DRQ1 DACKO B20 CLOCK B21 l HRQ7 IRQ5 B24 IRQ4 B19 822 1RQ6 B23 824 825 IRQ3 B26 DACK2 B27 T C B28 BALE 45 VDC B18 B19 B20 B21 B22 B23 B25 B26 B27 B28 9 PIN SIGNAL o Tao
25. CMCIA F8680 Floppy Disk 2 MB DRAM E Nerea Figure i 2 F8680 Block Diagram ABOUT THIS This manual is written for CMF8680 users and system integrators Here s what you ll MANUAL _ find in this manual Chapter 1 Hardware describes the different types of memory included on your CMF8680 interrupts DMA and the interfaces you ll use to attach devices to your CMF8680 Chapter 2 Installation explains how to stack your CMF8680 with other modules and prepare your system for power up Chapter 3 Start Up explains the setup software configuration and how you can modify it system boot options and system BIOS and SuperState M R Chapter 4 Power Management explains the power saving modes of the CMF8680 Chapter 5 Using the Solid State Disk describes how to build a ROMDISK EXE file for use the 32 bit byte wide SSD socket Chapter 6 CM102 utilityModule PCMCIA Memory and Keypad Scanning describes the PCMCIA interface and X Y matrix keypad scanning Appendix A Specifications summarizes the technical specifications of the CMF8680 Appendix B Memory and I O Maps presents the CMF8680 memory and I O maps Appendix C Connector Pin Assignments provides the pinouts for each CMF8680 I O connector Appendix D Application Notes contains a current set of CMF8680 application notes Appendix E Warranty details Real Time Devices warranty REFERENCES These reference book
26. FF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF HIGH BYTE 4 LOW BYTE Hit PageUp PageDn when done Editing Location 00 Help Info Enter Hex Values Using 0 F Keys F1 for More Help TAB Goto Next Location SHIFT TAB Goto Prevevious Location HOME Goto First Location END Goto Last Location Fixed SPACE BACKSPACE and CURSOR Keys move the cursor without changing data Fig 4 4 Keypad Scanning Values Screen 6 6 Table 4 2 Keypad Scan Codes in hex Scan Base Upper Scan Base Upper Scan Base Upper Code Case Case Code Case Case Code Case Case Z Pad3 N A 1 X 84 Pad4 N A 2 C 85 Pad 5 N A 3 V 86 Pad 6 N A 4 B 87 Pad 7 N A 5 N 88 Pad 8 N A 6 M 89 Pad 9 N A 7 amp 8A Pad Del N A 8 i gt 8B PadBkSish N A 9 2 8C Pad 4 N A 0 Rt Shift 8D Pad N A ki PSc 8E Pad N A 0D 38 Alt 8F PadNumLk N A OE Bspace Bspace 39 Space Space 90 Pad Enter N A OF Tab 3A Caps Lock 91 Fn F1 reserved 10 q Q 3B F1 N A 92 Fn F2 reserved 11 w W 3C F2 N A 93 Fn F3 r
27. FF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FF FFFF FFFF FFFF FFF F FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF a A Tj tj j FFF FFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FF FFFF FFFF FFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF HIGH BYTE LOW BYTE Hit PageUp PageDn when done Editing Location 00 Help Info Enter Hex Values Using 0 F Keys Fi for More Help TAB Goto Next Location SHIFT TAB Goto Prevevious Location HOME Goto First Location END Goto Last Location Fixed SPACE BACKSPACE and CURSOR Keys move the cursor without changing data Fig 3 28 User Keypad Data Screen 3 19 SYSTEM The CMF8680 can be configured to boot from any one of several sources They are BOOT II 360K 1 2M 720K 1 44M floppy configured as drive A OPTIONS M PCMCIA memory card configured as drive A W IDE hard drive MN ROM DOS ROM disk If both the IDE hard drive and ROM DOS are enabled you can access both however the system will boot from the ROM DOS disk If ROM DOS is disabled but
28. MCIA card R W detect provide LCD signals allow watchdog timer control Power control logic which allows the chip to be powered up by internal timer activity or hardware switch and powered down by software Memory access controller registers which generate the appropriate cycles for ROM dynamic RAM PCMCIA cards and the PC 104 bus Performance control registers which allow CPU waits between instruction execution to be adjusted to reduce system power consumption Memory Management which allows up to 64 MB of memory to be addressed through a 64 KB mapping system which in this design can reach the combination of ROM 1 25 MB RAM 2 MB and two PCMCIA devices 32 MB each This control also allows the following user features without additional hardware 3 20 WATCHDOG TIMER BATTERY BACKUP LOADING DOS HIGH EXPANDED MEMORY EMM driver which provides support for the LIM EMS 4 0 standard that allows the DOS programmer to reach memory beyond the 1 MB addressing space of the 8086 class processor HIDOS device driver which allows DOS to be loaded in HMA memory space memory above the 1 MB address space ROMDISK access for ROM DOS and user EPROM based disk emulation Virtual I O and Virtual Interrupts which allow for the emulation of floppy disk hardware to support PCMCIA disks that act like floppy diskettes to software that does direct hardware access and control These features are also used to a
29. OM disk or on the hard drive if desired The first screen in the RTDMOD setup program is shown in Figure 3 1 When the pro gram starts it loads the settings from the configuration EEPROM to ensure that you are working with the actual system configuration A default setting RTDDFLTO SET is pro vided If you should get into trouble when configuring your system such as turning off the CRT display you can hard reset the system and simultaneously hold down both Shift keys and the system will boot using the default settings in the BIOS The RTD utility ROM disk must be installed in the user EPROM socket The default settings are Drive A 5 1 4 inch 12M floppy Drive B PCMCIA IDE disabled ROM DOS enabled CGA graphics on a CRT The main page lets you load the current settings save the new settings and then exit the program or abort the new setup The current settings can be loaded from the EEPROM the default file or from a user file Settings can be saved to any one of these three locations The abort exit menu lets you revert to the last saved configuration exit with a hard reset a hard reset is necessary to implement most configuration changes or exit to DOS without making any changes The HELP menu is also shown in Figure 3 1 at the bottom of the screen In addition to the keystrokes described in HELP ESC will send you back to the Main Page CMF8680 cpuModule Setup Program V1 06 Copyright c 1993 RTD USA Main Pag
30. ON OF INCIDEN TAL OR CONSEQUENTIAL DAMAGES FOR CONSUMER PRODUCTS AND SOME STATES DO NOT ALLOW LIMITATIONS ON HOW LONG AN IMPLIED WARRANTY LASTS SO THE ABOVE LIMITATIONS OR EXCLUSIONS MAY NOT APPLY TO YOU THIS WARRANTY GIVES YOU SPECIFIC LEGAL RIGHTS AND YOU MAY ALSO HAVE OTHER RIGHTS WHICH VARY FROM STATE TO STATE
31. PCMCIA Card Help Info Fi for More Help Fig 3 5 Drive A and Drive B Setup The IDE hard drive type is specified on the screen shown in Figure 3 6 The standard table for fixed disk drive types 1 through 47 is listed in Table 3 1 It is recommended that you select user programmable drive 48 or 49 so that you can be sure the drive is configured correctly If you choose the custom values 48 or 49 then you must fill in the next screen shown in Figure 3 7 Note that you must enter all of the places in each number for example 00650 cannot be entered as 650 on the first line CMF8680 cpuModule Setup Program V1 06 Copyright c 1993 RTD USA IDE Drive Selection Default IDE C Drive gt Standard Table gt 49 0 14 or 16 47 Custom Drive 48 gt Custom Drive 49 Default IDE D Drive gt Standard Table gt 00 0 14 or 16 47 Custom Drive 48 Custom Drive 49 Help INfo A ____C _ lt F1 for More Help Fig 3 6 IDE Hard Drive Setup CMF8680 cpuModule Setup Program V1 06 Copyright c 1993 RTD USA IDE Custom Drive Settings Custom Value 48 gt 00547 Cylinders 00000 65535 008 Heads 000 255 038 Sectors per Cylinder 000 255 00547 Landing Cylinder Custom Value 49 00980 Cylinders 00000 65535 010 Heads 000 255 017 Sectors per Cylinder 000 255 00980 Landing Cylinder Help E o ee nn Fl
32. PROM These locations are numbered 0 to 127 To install type RTDNVEP Ixx The driver will install itself on interrupt 60H by default If the I switch is used the supplied interrupt will be used For example To install on interrupt 66 decimal 42H type RTDNVEP I 66 or RTDNVEP I 0x42 To use The EEPROM is divided into three areas The first 2K bits are not accessible to the user and are for system configuration The last 128 x 16 locations are divided between a user data area and a keypad area The size of each is determined by the keypad rows and columns settings made in RTDMOD EXE setup program Each key defined uses one 16 bit location The low byte is the scan code for the key without the FN key depressed and the high byte is the scan code for the key if the FN key is depressed The general procedure for accessing the User Keypad area is to load the processor registers and generate an interrupt There are four functions supported They are read a location write user location write any location and read keypad rows and columns Function 0 To read a location AH 00H AL address to read 0 to 127 Generate Interrupt 60H or as set with I After the interrupt returns the results are AH 0 if Read was OK 1 if an error occurred AL address read 0 to 127 BX 16 bit value read Function 1 To write to a user location AH 01H AL address to write 0 to 127 Keypad Rows Keypad Columns BX
33. Setup 3 17 Each value of the serial EEPROM is shown in Figure 3 27 Note that the last word con tains the signature byte 52 in the low byte and the checksum in the high byte CMF8680 cpuModule Setup Program V1 06 Copyright c 1993 RTD USA Configuration Data 031F 7F25 FBOO BEBC 00DE 0000 0000 FFFF 0303 CEOE 8083 3820 3CCO C000 FFFF FFFF 282C 292D 2E2A 291E FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF 2838 0A2A 061F 1C19 07FF 0706 0000 0000 FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF Ti tA 5071 QASA 1E1C 1A19 07FF 0706 0000 0000 FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF 2838 0A2A 067F 7064 01FF 0706 0000 0000 FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF 5061 0F52 0619 1919 ODFF 0COB 0000 0000 FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFP 0223 0008 FFFF FF26 0223 FFFF 03D4 080A FFFF FF11 03D4 FFFF 0031 FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF 0052 CHECKSUM SIGNATURE gt No changes allowed on this screen Help Info The values preceded by a period are different than the EEPROM values Configuration data is all pages except the User Keypad data page F1 for More Help Fig 3 27 EEPROM Values Screen Figure 3 28 shows the screen where you program the values for your keypad matrix when you are using the keypad scanning feature of the CM102 utilityModule with the CMF8680 Depending on the numb
34. WRUP signal be properly debounced Slide Switch Operation When the PWRUP signal is high the CMF8680 is running and when PWRUP is low it is in the suspend mode To implement this configuration use RTDMOD EXE to set the PowerUp Switch Type to Slide and the PowerUp Switch Polarity to Switch on PWRUP going High The switch you connect to the PWRUP signal can be a slide switch that is open in one position and grounded in the other position PWRUP is internally pulled up on the CMF8680 When the switch is open the CMF8680 will run and when it is grounded the CMF8680 will be in the suspend mode A normally open momentary push button switch can also be used in this configuration When the button is released the CMF8680 is running and when it is pressed the CMF8680 enters the suspend mode Momentary Switch Operation This mode requires that you use a normally closed push button switch connected to the PWRUP signal PWRUP should be low for normal operation When PWRUP is brought high and then back to low the CMF8680 enters suspend mode When PWRUP goes high and then low a second time the CMF8680 resumes running To implement this configuration use RTDMOD EXE to set the PowerUp Switch Type to Momen tary and the PowerUp Switch Polarity to Switch on PWRUP going Low If you do not use the PWRUP signal set the PowerUp Switch Polarity to Disabled 3 13 CMF8680 cpuModule Setup Program V1 06 Copyright c 1993 RTD USA Power Conservat
35. ace the system in and out of the suspend mode for power conservation When connected to a slide switch a high keeps the system in the run mode and a low places it in the suspend mode When connected to a pushbutton switch the mode toggles between run and suspend each time the switch is depressed The switch type is user configurable using RTDMOD EXE see Chapter 3 Power Management Setup discussion for more details Note that the PWRUP signal must be properly debounced An XT keyboard with a standard 5 pin DIN connector is connected to pins 5 through 8 A normally open reset switch can be connected between pins 3 and GND A battery to back up the real time clock can be con nected between pins 9 and GND Pin 10 is low when the cpuModule is in the suspend mode PIN SIGNAL 5 eama PIN SIGNAL e xeu 8 KBDPWR 9 35VDCbattey 1 6 Power Power is provided to the CMF8680 through the 8 pin power connector P3 This connec Connector tor is not used if power is provided through the XT bus The table below shows the pin assignments of this connector The CMF8680 requires only 5V and GND The remaining voltages are supplied to the PC 104 bus PC 104 The 64 pin PC 104 XT compatible ISA expansion bus P1 allows you to directly stack Expansion Bus PC 104 compatible modules CHAPTER 2 Installation 2 1 STACKING MODULES This chapter describes the installation
36. al Emulation en nn sa aa iia 3 25 CHAPTER 4 POWER MANAGEMENT meseesesesnesevevsvnssvseseneeneneennnsenanennnennnee 4 1 DIO WS sei ios itn S a S vds 4 3 Sleep RS 4 3 SUspend EE 4 3 i CHAPTER 5 USING THE SOLID STATE DISK reete 5 1 Building a ROM Disk etre etri epic obi b te 5 3 Running ROMDISK retinere c beet in ERN NE r i k k k a tee 5 3 ROMDISK OPUS ln sen nee Gel 5 4 Burning a ROM Disk into PROM rernrnnrvovrnrnensrvrveversvsesrsvererersssenesesseverenensensnevvavasennnerssrannsenssenrer 5 5 CHAPTER 6 CM102 UTILITYMODULE PCMCIA MEMORY AND KEYPAD SCANNING ciccia ciale eue nter nn issnskeseksseieilkessnedere 6 1 APPENDIX A SPECIFICATIONS eoeeoeoesessensnneneneneseesesssensnnnnnenensevsvevennneneeee A 1 APPENDIX B MEMORY AND I O MAPS esenananzzesneennnnnnnsosssoeseennennnnneoz B 1 APPENDIX C CONNECTOR PIN ASSIGNMENTS ccccccscsssssseesseres C 1 APPENDIX D APPLICATION NOTES ssssennnnnzzzososesnnnnanenesenenseoaenennnena D 1 APPENDIX E WARRANTY 0 eosevvesesessvnvnvenssssnnvnvneessnssnnnnnnvnveneserssnnnnnnvsvsesseesene E 1 INTRODUCTION CMFS8680 OVERVIEW The CMF8680 cpuModule is a low power IBM PC XT compatible single board com puter for embedded microcomputer applications With its small form factor and self stacking PC 104 compatible bus this versatile module can be used as a low cost highly integrated drop
37. ance However command line options are provided so that the driver may be tailored to a user s specific needs Before installing the driver you should run your system SETUP and make sure to set aside sufficient memory for your needs This memory should be designated as expanded memory 3 21 Command Line Parameters Error Messages The following command line parameters are available for knowledgeable users who wish to tailor the driver for their own requirements Option names may be shortened to their first two characters Options should be separated by one or more spaces Spaces are optional before and after the and symbols HANDLES hhh Specifies the number of handles and names available hhh must be in the range of 16 to 255 with the default being 64 IOADDR aaa Overrides the default base I O address at which the PC CHIP should be configured aaa can be 208 218 258 268 2A8 2B8 or 2E8 DIAGS xxx Specifies whether EMS memory diagnostics are performed during initialization of the driver xxx must be ON or OFF The default is OFF SIZE ssss Specifies how much of the RAM above 1M should be used for EMS memory If there is no XMS driver in the system then the default for the EMS driver is to use as much memory as is available If there is an XMS driver in the system then the EMS driver will default to using 256K for EMS These defaults may be overridden by using this option sss
38. ccess IDE hard disks The CMF8680 has a hardware watchdog timer that is user controllable When enabled the watchdog timer must be reset every 1 6 seconds or it will perform a hardware reset on the CMF8680 See Application Note CMF8680 1 Using the CMF8680 Watchdog Timer in Appen dix D for detailed operation and example programs The system switches to external battery backup from utility connector P4 9 to maintain the real time clock when power is switched off If maintaining the date and time while the system is off is not required the battery can be omitted All system configuration parameters are saved in the non volatile serial EEPROM l HIDOS SYS is a device driver for the PC CHIP that allows MS DOS 5 00 to be loaded in HMA memory above 1 megabyte The following two lines should be added to the CONFIG SYS file DEVICE HIDOS SYS DOS HIGH This section describes the MS DOS device driver PCCEMM SYS which in conjunction with a Chips and Technologies F8680 PC CHIP provides support for LIM EMS 4 0 This EMS driver is supplied as a device driver that can be loaded at DOS boot time The user is required to edit the CONFIG SYS file so that it contains a line in the form of DEVICE d path VPCCEMM SYS options where d and path represent the drive and path where the driver is located The driver is designed so that under normal circumstances it does not need any com mand line options in order to give satisfactory perform
39. e Save Load Abort or Exit Load Settings gt From EEPROM Configuration Data from Default RTDDFLTO SET Configuration Data from a File User Keypad Data from a File Save Settings To EEPROM Configuration Data as Default RTDDFLTO SET Configuration Data to a File User Keypad Data to a File Abort Exit Revert to Last Load Exit with Hard Reset Exit to DOS Help Info Select gt Exit to DOS or lt ESC gt if you wish to Quit Configuration data is all pages except the User Keypad data page User Keypad data is only the data entered on the User Keypad data page F1 for More Help Fig 3 1 Setup Program Main Page 3 3 The F1 more help screen for Figure 3 1 looks like this Help Info SK a er gt gt gt gt gt nun Space Enter Selects TAB or Down Arrow or Left Arrow Move forward PageUp Previous Screen PageDn Next Screen ALT C Toggle Colors ALT D Goto Display Screen ALT X Goto Main Screen SHIFT TAB or Up Arrow or Right Arrow Move backwards The next screen shown in Figure 3 2 lets you set the CPU clock frequency CMF8680 cpuModule Setup Program V1 06 Copyright c 1993 RTD USA System CPU Speed System Clock Speed gt 14 318 MHz 7 159 Mhz 4 773 Mhz 3 580 Mhz Help INfo 272 2 v The Floppy and IDE controllers will not work reliably if the system clock speed is set below 4 773 Mhz Fi for More Help Fig 3 2 CPU Speed Scr
40. eH 1 3 Triterr ptssa seite e atre ree a i a i a i a a a a aa 1 4 RN 1 4 Interface Connectors att aaa ios 1 4 IDE Hard Drive Interface si essessensnzzznnnnzanzzonzenznzazznnnsanzzznnanznzansnannitzzninsenzzannsnnansnanazzzntata 1 5 Floppy Drive Interface cit dd 1 5 PCMCIA Interface xiii Xi butir El LILLA ska a denia eee dea a 1 5 CGA CRT LCD Graphics Controller sesmseserenezznnnenzzznsnneneznnzzmznnnonsenenannononsanannnannsnsanas 15 RS 232 POTES iii dad 1 5 RS ASS DE DES 1 6 Parallel Port vic oia eene i a a SO an i a sewa de eode eae I TERRE 1 6 Utility Portrait ii 1 6 Power Conne tot M iii 1 6 PE 104 Expansion Bus usina dada 1 6 CHAPTER 2 INSTALLATION aussen dar 2 1 Stacking Modules C sen 2 3 Other Options usa O 2 4 CHAPTER 3 START UP nennen nen 3 1 RTDMOD Setup Program iii 3 3 System Boot Options SS 3 20 BIOS and SuperSt te MR nenn nennen 3 20 Watchdog Timer isecen asen esere isa eer a ara oa EAE RE AiE EAK S ET E 3 21 Battery Backup onein 3 21 Loading DOS High is speak AAE EE 3 21 Expanded Memory 3 21 Command Line Parameters iene eee 3 22 Error Messages S 3 22 TRANSFER Program tnter etre nnne rettet 3 23 COMM Program aaa a nur da 3 24 Command Line Options enter ide 3 24 Environment Variable ss sie ss iba io so ii i Enns 3 25 Commands re se a a aa a ai Sada a as 3 25 Termin
41. een The PC104 Bus and 721 Access Speed screen shown in Figure 3 3 sets the number of CPU clocks per bus access and enables disables the DRAM refresh cycle CMF8680 cpuModule Setup Program V1 06 Copyright c 1993 RTD USA PC104 Bus and 721 Access Speed CPU Clocks per Bus and 721 Clock z gt One Two Three Four Refresh Cycles on PC104 Bus gt Enabled Slows System Disabled He Ip 7 Infoca gt Refresh Cycles are only required for certain PC104 boards F1 for More Help Fig 3 3 CPU Clocks Refresh 3 4 Figure 3 4 shows the enable disable for the IDE hard drive and ROM DOS System boot options are defined in Table 3 2 near the end of this chapter CMF8680 cpuModule Setup Program V1 06 Copyright c 1993 RTD USA Device Control IDE Hard Disk BIOS Extension Enable gt Disable ROM DOS BIOS Extension gt Enable Disable Help Info F1 for More Help Fig 3 4 IDE Hard Drive ROM DOS Enable Disable The next screen shown in Figure 3 5 configures drive A and drive B The system can be booted from drive A CMF8680 cpuModule Setup Program V1 06 Copyright c 1993 RTD USA Device A Selection gt No Drive Present 360 KB 5 1 4 Drive gt 1 2 MB 5 1 4 Drive 720 KB 3 1 2 Drive 1 44 MB3 1 2 Drive PCMCIA Card Device B Selection No Drive Present 360 KB 5 1 4 Drive 1 2 MB 5 1 4 Drive 720 KB 3 1 2 Drive 1 44 MB3 1 2 Drive gt
42. er of rows by columns you configured on the screen shown in Figure 3 26 all or part of this table will be used to enter the scan codes The portion of the table where the scan codes are to be entered is highlighted For example suppose you select a matrix size smaller than 16 rows by 8 columns such as 4 rows by 2 columns The table in Figure 3 28 will have the last eight words highlighted to enter your scan codes When your matrix is smaller than the full table the data words used to enter scan codes are always highlighted from some point within the table to the end This allows unused memory to be free for other functions When you enter data the first word going from top to bottom and left to right corre sponds to row 1 column 1 on the keypad the second word corresponds to row 1 column 2 and so on Each word in the table programs two keys the low byte programs the scan code for the keystroke when the Fn or Ctrl Alt key is NOT depressed the high byte programs the scan code for the keystroke when the Fn key IS depressed Note that in order to activate the Fn key feature at some location in the table you must define both the low and high bytes of the SAME WORD with the Fn key scan code The scan codes are defined in Chapter 6 Refer to this chapter for complete information on programming scan codes 3 18 CMF8680 cpuModule Setup Program V1 06 Copyright c 1993 RTD USA User Keypad Data FFFF FFFF FFFF F FFFF FF
43. eserved 12 e E 3D F3 N A 94 Fn 4 F4 inverse video 18 r R 3E F4 N A 95 Fn F5 toggle sleep 14 t T 3F F5 N A 96 Fn F6 suspend 15 y Y 40 F6 N A 97 Fn F7 Prt scrn 16 u U 41 F7 N A 98 Fn 4 F8 Svs request 17 i 42 F8 N A 99 Fn F9 Pause 18 o O 43 F9 N A 9A Fn F10 Break 19 p P 44 F10 N A 9B AT Rt Alt N A 1A 45 NumLock 9C AT Ctrl N A 1B 46 ScrollLock 9D Fn key N A 1C Enter Enter 47 Home N A 9E AT Up N A 1D Ctrl 48 Up N A 9F AT Dn N A 1E a A 49 PgUp N A AO AT Lt N A 1F S S 4A Pad N A A1 AT Rt N A 20 d D 4B Lft N A A2 AT Ins N A 21 f F 4C Pad 5 N A A3 AT Home N A 22 g G 4D Rt N A A4 AT PgUp N A 23 h H 4E Pad N A A5 AT PgDn N A 24 j J 4F End N A A6 AT End N A 25 k K 50 Dn N A A7 AT Del N A 26 I L 51 PgDn N A A8 Fn Up Pan up 52 Ins N A A9 Fn Dn Pan down i 53 Del AA Fn Lt Pan left A 80 Pad 0 N A AB Fn Rt Pan right 2A Lt Shift 81 Pad 1 N A AC Fn Home Pan to cursor 2B 82 Pad2 N A AD Fn R Reset SuperState NOTE Fn 9D must be programmed in both the high and low bytes 6 7 Suppose you want to program the keypad shown in Figure 4 5 First you must determine the keypad s layout In this case the layout is 4 rows by 3 columns To program the scan codes we must first define the matrix in the RTDMOD EXE configuration program On the screen shown in Figure 4 3 we would enable scanning and enter 4 rows and 3 columns After setting up the matrix size then go to
44. ess screen The extended mode configures the port as an AT enhanced bidirectional port and the standard mode configures the port as a standard printer port Either mode can be used when you are interfacing to a printer CMF8680 cpuModule Setup Program V1 06 Copyright c 1993 RTD USA On Board 721 I O Settings Parallel Port Mode gt Extended Parallel Port Mode gt Standard Printer Mode Parallel Port Address 3BCH gt 378H PC Standard 278H Disable Help Info PT_ __ _ ___ 2 F1 for More Help Fig 3 11 Parallel Printer Port Setup P6 Figure 3 12 configures the internal graphics controller Remember that if you disable the controller you will not have CGA graphics and you must make sure that you have another display device e g VGA card and monitor When using a standard VGA board with the CMF8680 it is not necessary to disable the CGA graphics however most VGA boards will try to emulate the CGA modes and this could cause problems CMF8680 cpuModule Setup Program V1 06 Copyright c 1993 RTD USA PC Chip Graphic Controller Configuration Graphic Controller it gt Enabled Disabled Dot Clock Select gt 14 318 MHz OSC Optional OSC Make sure installed 9 Dot Clock Character Mode CRT only Enabled gt Disabled Help INfo
45. gu ration with 2 K bits available for user and keypad layout U22 bottom side of module Solid State Disk EPROM 1 MB Solid State Disk The CMF8680 supports up to 1 MB of memory installed in this standard 32 pin byte wide JEDEC socket shown in Figure 1 1 Up to 1M x 8 32 pin memory devices such as non volatile RAM PROMS and flash EPROMs can be installed When using the byte wide socket you must configure the jumpers on header connectors A through E for the type of device you have installed Figure 1 2 shows the jumpers and lists the signal carried and pin number on the byte wide socket By installing jumpers on A and D 27C010 27C020 27C040 and 27C080 EPROMs are supported NOTE To access a ROM disk you must enable the ROM DOS BIOS extension in the RTDMOD setup program or boot from a floppy or hard disk using the provided Datalight ROM DOS CAUTION Make sure that jumpers A through E are properly configured for your device Failure to do so can cause damage to the device ROM DOS amp BIOS E CONFIGURATION EEPROM U22 on 1MB SOLID STATE DISK underside of module 32 KB STATIC RAM 3 on underside of module 2MB DRAM SSD JUMPERS A E Figure 1 1 CMF8680 Memory Devices 1 3 INTERRUPTS DMA INTERFACE CONNECTORS SSD Camper Sina SSD Pin lt mo Qu ma e 1 ome NOTE Installing jumpers on A and D as shown in this diagram supports 27C010 27C020
46. in package or it can be stacked with other PC 104 modules to form a cubical MS DOS system of less than 4 inches per side Add a keyboard or X Y matrix keypad CRT or LCD display hard or floppy disk drive and 5 volt power supply to create a complete XT com patible system which functions like a desktop PC The thousands of programs designed for the IBM PC XT can be run on your CMF8680 cpuModule Key features of the CMF8680 include W Chips 8 Technologies F8680 16 bit 14 MHz processor M Ultra compact 3 6 x 3 8 x 0 6 inch PC 104 form factor E Consumes 1 6W typical amp 14 3 MHz 1W 7 2 MHz from single 5V supply B Programmable CPU clock rates 14 3 7 2 4 77 amp 3 58 MHz E Sleep modes suspend mode with hardware or software wakeup 0 1W typical E Datalight ROM DOS with up to 1 MB bootable Solid State Disk and support software M RTD enhanced BIOS ensures PC XT compatibility B Compatible with MS DOS amp real time operating systems such as RTXC AMX amp Nucleus E 2 MB on board DRAM 16 bit data bus H High density floppy controller amp 16 bit IDE hard drive interface optional 1 8 inch IDE drive with up to 85 MB storage capacity on CM104 hard disk utilityModule E On board CGA CRT LCD video interface VGA CRT LCD supported by CM106 Super VGA controller utilityModule B 2 RS 232 serial ports 1 RS 485 serial port M AT enhanced bidirectional parallel XT keyboard amp speaker ports ll Optional PCMCIA memory card interface and keypad scanning
47. into ROM It is impossible to describe all PROM burners here so the contents of the PROMs shall be described instead The file created by ROMDISK RDISK1 HEX in this example is RDISK1 HEX The ROM Disk image made by ROMDISK The file listed above has the HEX extension for Intel Hex files It could just as easily be an IMG binary image file ROMDISK HEX may be anywhere from 1K in size to just under 1 Megabyte A practical limit is usually less than 512K The ROM disk allows for booting on a completely diskless system This file is burned into the EPROM starting at location 0 6 1 CHAPTER 6 CM102 utilityModule PCMCIA Memory and Keypad Scanning 6 2 CM102 CONNECTION DIP SWITCH SETTINGS PCMCIA The CMF8680 2 with the optional CM102 68 pin PCMCIA and keypad scanning connec tor supports PCMCIA Release 1 0 SRAM ROM and EPROM memory cards These cards can be used with the CMF8680 system in the CM102 utilityModule Up to two CM102 utilityModules are supported by the CMF8680 2 They operate as floppy drives and are configurable in the system as drive A or drive B Through the PCMCIA interface you can format read and write write to SRAM cards only PCMCIA memory cards In addition the CMF8680 2 and CM102 support up to 16 x 8 X Y keypads This chapter describes the CM102 and its functions in the CMF8680 based system The CM102 stacks directly onto the CMF8680 see Chapter 1 Switch S1 a four
48. ion and Switch Options Power Saving gt gt No Power Savings Sleep Only Sleep Drowse Modes Sleep Drowse Suspend Modes Idle Time Before Suspend 060 times 2 Minutes 001 255 PowerUp Switch Type gt Momentary Slide PowerUp Switch Polarity Switch on PWRUP going high Switch on PWRUP going low gt Disabled Help INfo 777 Fl for More Help Fig 3 19 Power Management Setup Figures 3 20 through 3 24 let you select whether the CGA video information is stored in the BIOS or in the EEPROM If you select the EEPROM you must set each value on the screens shown in Figures 3 20 through 3 24 The CRT controller is 6845 compatible CMF8680 cpuModule Setup Program V1 06 Copyright c 1993 RTD USA PC Chip CGA Video Modes Location of Video Information gt gt BIOS ROM EPROM EEPROM This requires all values to be set Mode Register Values Hex Bytes 2C Mode 0 40x25 Mono Text 28 Mode 1 40x25 Color Text 2D Mode 2 80x25 Mono Text 29 Mode 3 80x25 Color Text 2A Mode 4 320x200 4 Color Graphics 2E Mode 5 320x200 4 Mono Graphics 1E Mode 6 620x200 2 Color Graphics 29 Mode 7 80x25 Special Mono Text Help TE DI F1 for More Help Fig 3 20 CGA Video Modes 3 14 CMF8680 cpuModule Setup Program V1 06 Copyright c 1993 RTD USA PC Chip CGA Video Modes Register Values for EEPROM 40x25 Text Modes 38 Register 28 Register
49. lls to send and receive bytes This allows TRANSFER to operate on any system with a BIOS TRANSFER executes on a target system The program running on the host system may be either COMM the serial communications utility or another copy of TRANSFER TRANSFER may be used to transfer files via the console assuming that the console is implemented via a serial port In this case TRANSFER uses BIOS interrupts 10H function E and 16H function 0 The TRANSFER protocol used by both COMM and the TRANSFER program is referred to as Xmodem by the communications community In order to move a file between systems run TRANSFER on the target system Either TRANSFER or COMM may be run on the host PC If COMM is running on the host PC press the PgUp key on the PC to tell COMM to send a file to the target system COMM will prompt for the file name and the protocol for TRANSFER Specify the Xmodem protocol If you are using TRANSFER on the host select the COM port the baud rate and specify either send or receive TRANSFER is run as follows A gt TRANSFER Options FileName 3 23 COMM PROGRAM Command Line Options The options to TRANSFER start with a slash and are followed with a letter These options tailor the operations of TRANSFER The FileName argument specifies the file to be uploaded or downloaded A path and a drive may precede the actual file name Wildcards are not allowed in the FileName argument The Brate option al
50. lows the user to set the baud rate The rate number may be 300 1200 2400 4800 9600 19200 38400 57600 or 115200 This causes the TRANSFER to use a COMI whether or not the COM is specified The default baud rate is 9600 The COM option causes TRANSFER not to use the console and allows the user to set the COM port The COM number may be either 1 or 2 This option causes TRANSFER to use the serial port BIOS interrupt 14 The R option causes TRANSFER to receive a file The S option causes TRANSFER to send a file Examples A gt transfer r B file dat This example causes TRANSFER to receive a file via the console The data of the file will be placed on drive B in a file named file dat A gt transfer s B1200 COM1 junk abc This example causes TRANSFER to send the file junk abc over COMI at 1200 baud Example Target System Command A gt TRANSFER r B VI EXE Host PC System Command A gt TRANSFER s C BIN ED EXE This example shows using TRANSFER on both the host PC and the target system The file ED EXE is being sent from the host PC to the target system The file received on the target system will be called VI EXE The COMM communications program provides the ability to communicate with the remote ROM DOS system Using COMM you may also communicate with the Datalight BBS COMM supports Xmodem file transfer autodialing and simple terminal emulation All command line options must be separated by a space B t Set
51. may include a path ROMDISK EXE is run by typing the program name at the DOS prompt This example places the contents of the directory tmp including subdirectories in the image file ROM DOS disk img Example CAROM DOS gt ROMDISK tmp ROMDOS disk img s ROM Disk built from C TMP Placed in file c ROMDOS disk IMG 102784 bytes total ROM disk size 128 bytes in boot sector 1280 bytes in 10 FAT sectors 256 bytes in root directory 256 bytes in 2 directories 100864 bytes in 6 user files 0 bytes available on disk 128 bytes in each of 803 sectors The file produced by ROMDISK EXE defaults to an image file at address 0x000 This file must be burned into the user s EPROM The ROM disk must always start at address 0000 The ROMDISK utility has options to configure its operation The options are started with a slash and followed with a letter and possibly a number The E option causes extended records not to be placed in the Intel Hex output These records are placed in a Hex file by default The F option allows the user to set the fill bytes The default is a fill byte of OxFF The number following the F option is assumed to be in hexadecimal format The H option causes a Hex file to be produced The optional number following the H option specifies the actual address of the start of the ROM disk The start address is required for ROMable EXE files The default address is 0x000 The CMF8680 requires all ROM disk
52. nded address in Intel HEX files F Set fill byte default FFH H Output a hex file default ROMDISK HEX AH Output an image file default ROMDISK IMG R Chose an interrupt for RXEs default 90H IS Recurse into subdirectories T Test mode only don t build ROM disk N str Volume label default ROM DISK IZ Set Sector Size default 128 bytes Example C gt ROMDISK romdir disk2 s iE000 The syntax of ROMDISK is ROMDISK lt filespec gt outfile options ROMDISK Options The ROMDISK EXE program allows you to produce a ROM disk binary image or Intel HEX file This image file is later burned into ROM to create a ROM disk The size of the ROM disk is only limited by the number and size of files placed on the ROM disk and the 1 Megabyte user EPROM The ROM disk will have the contents of a standard disk including a boot record FAT file directory and data The sector size which defaults to 128 may be set by entering the sector size on the ROMDISK command line There is no limit to the number of files that may be placed on a ROM disk Place all of the files to be included on the ROM disk in a directory Your directory may contain subdirectories The main directory that you create will become the root directory on the ROM disk All subdirectories will remain at their original level You must use the S option if you wish to transfer subdirectories to the ROM disk The ROM disk syntax for filespec
53. olumni com _ coumms Ss Fow 1 FF sa e1 Pad 1 48 Up se Pad 2 FF Skip 93 Pad 9 Row 2_ _48 Let Tas Pad 4 FF Skin 85 Pad 5 40 igm es Pad Lows FF skin 87 Pad 7 50 Down 88 Pad 8 FF Se 50 Pad Row 4 om FF p 6 8 CMF8680 cpuModule Setup Program V1 06 Copyright Keypad Scanning Control Keypad scanning gt Enabled Disabled c 1993 RTD USA Kevpad size Set to 0 to free User space in EEPROM F1 for More Help CMF8680 cpuModule Setup Program V1 06 Copyright FFFF FFFF FFFF FFFF FFFF PFFF FFFF FFFF 04 Rows 3 0 16 Columns 0 8 Help Info Fig 4 6 Setting Up Keypad Scanning User Keypad Data FFFF FFFF FEPP EFFE FFFF FFFF BEEF FREE FFFF FFFF FFEF EFEF FFFF FFFF FFFF FEEF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF EFFE FREE EFFE FREE FFFF FFFF FEFF FFFE FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FPEE FFFF PERE FFFF FFFF FFFF EFFE EFFE FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF c 1993 RTD PREP FFFF FFFF PREF FFFF FFFF FFFF FFFF FEFE FFFF FFFF FFFF FFFF FFFF USA gt FFFF FFFF FEFF FFFF FFFF EFFE FEFF FFFF FFFF FFFF FFFF FFFF FERE PEPE FFFF FFFF BREE FFFF FFFF EFFE FFFF FFFH
54. om Value gt 00 Hex Byte gt PC104 Bus B0000 BFFFF Range Set to PC104 Bus for CGA RAM User ROM at Offset gt B000 1000 3000 F000 Custom Value gt 00 Hex Byte gt PC104 Bus Help Info F1 for More Help Fig 3 17 Base Memory Screen 1 3 12 CMF8680 cpuModule Setup Program V1 06 Copyright c 1993 RTD USA Base Memory Control C0000 amp D0000 Non Mapped C0000 CFFFF Range gt RAM User ROM at Offset gt C000 0000 2000 E000 Custom Value gt 00 Hex Byte gt PC104 Bus D0000 DFFFF Range Normally used for EMM System RAM User ROM at Offset D000 1000 3000 F000 Custom Value gt 00 Hex Byte gt PC104 Bus Help Info 2 2 22 222222 Tei F1 for More Help Fig 3 18 Base Memory Screen 2 Power management options are shown in Figure 3 19 The PWRUP switch type and polarity are set here according to the switch connected to utility connector P4 pin 4 Refer to Chapter 4 for more information about power management While there are many possible combinations of switch type and mode of operation of the PWRUP signal the following paragraphs describe some ways you can implement this feature We will look at slide and momentary switch operation to describe the basic function of the PWRUP signal NOTE It is very important that any switch connected to the P
55. ombined total of two floppy drives or PCMCIA cards The P2 PCMCIA interface included on the CMF8680 2 module is a 32 pin connector which mates to the CM102 PCMCIA utilityModule This 32 pin auxiliary bus stacks directly with the CM102 utilityModule requiring no additional external cabling SRAM cards ROM cards and EPROM cards which adhere to the PC Memory Card International Association Release 1 0 standard can use this interface Memory cards of up to 32 MB can be read and written SRAM only through this interface The CM102 utilityModule adds X Y matrix keypad scanning which is supported in the CMF8680 BIOS The keypad layout is user programmable and the keypad can be used with or without a standard XT keyboard The CGA CRT LCD graphics controller P7 is a 10 pin connector which interfaces to most popular CGA and LCD flat panel displays This interface supports 80 x 25 and 40 x 25 text modes as well as 640 x 200 pixel 2 color 320 x 200 pixel 4 color and 640 x 400 double scan graphics modes When driving a CRT or LCD panel the CGA graphics controller displays colors or up to 16 shades of grey RS 232 Ports RS 485 Port Parallel Port Utility Port Two 16450 compatible RS 232 serial ports P11 and P9 provide support for user peripher als such as a mouse or modem P11 is from the F8680 CPU chip and can be programmed as COMI COM2 or disabled P9 is from the 82C721 controller chip and can be programmed as COMI COM2 COM3
56. ough 3 10 configure the serial ports and the I O address for COM3 and COMA The three serial ports are 16450 compatible serial ports that operate at up to 115 2K baud CMF8680 cpuModuie Setup Program V1 06 Copyright c 1993 RTD USA PC Chip RS232 Port COM Port amp Address gt gt COM 1 3F8H COM 2 2F8H Disabled None Help Tn 0 A ri ee F1 for More Help Fig 3 8 F8680 RS 232 Serial Port Setup P11 CMF8680 cpuModule Setup Program V1 06 Copyright c 1993 RTD USA On Board 721 I O Settings RS232 Port COM Setting gt COM 1 gt COM 2 COM 3 COM 4 Disable Floppy Controller gt Enable Disable Help 7 TOA M a FH eee F1 for More Help Fig 3 9 82C721 RS 232 Serial Port Setup P9 3 8 CMF8680 cpuModule Setup Program V1 06 Copyright c 1993 RTD USA On Board 721 I O Settings RS485 Port COM Setting gt COM 1 COM 2 gt COM 3 COM 4 Select COM 3 and COM 4 I O Address COM3 COM4 338H 238H gt 3E8H 2E8H 2E8H 2E0H 220H 228H Help INfo T _ _ Fl for More Help NOTE The RS 485 port cannot be disabled because some of the pins on this port are shared with the configuration EEPROM This does not interfere with proper RS 485 operation Fig 3 10 82C721 RS 485 Serial Port Setup P5 Figure 3 11 shows the parallel port mode and addr
57. pears on the status line Alt C Clear the screen Alt D Autodial This command allows you to type in a number to autodial you may press return to redial the previous one Esc aborts the command Alt E Toggle echo duplex Pressing Alt E will toggle the duplex between full echo off and half echo on Alt H Hang up If the modem is capable of hanging up with an ATHO command the line will be disconnected Alt P Set parameters This command toggles through the available parameters Esc will abort the command Alt T Toggle CR LF When this is enabled pressing the Enter key will generate a CR LF instead of just a CR Alt X Exit the program This command does not drop the carrier so use this command if you need to do MS DOS operations while on line You can run COMM again without losing the carrier and continue with telecommunications PgUp Upload a file This command sends a file to a remote computer giving you the option of either Xmodem or ASCII file transfer protocols Esc will abort at any time during the transfer PgDn Download a file This command receives a file using the Xmodem or ASCII file transfer protocol Esc will abort at any time during the transfer Currently COMM automatically supports a subset of the ANSI Escape codes This emulation cannot be turned off and is the only terminal emulation available It should however suffice most needs since the emulation includes such features as cursor positioning and e
58. procedures for integrating the CMF8680 into a PC 104 system The CMF8680 can be stacked with other PC 104 form factor modules to form a cubical system as shown Figure 2 1 When stacking the CMF8680 first make all of your peripheral connections Be sure to connect pin 1 of the cable to pin 1 of the connector The connectors are labeled on the board If you cannot read the label pin 1 can be identified by its square solder pad visible on the top and bottom sides of the module After all peripheral connections are made insert the pins of the PC 104 expansion bus of one module into the sockets on the second module making sure the pins are properly aligned before seating them into the sockets The order of the modules in the stack is not important as long as all modules in the middle have a stackthrough PC 104 bus connector After the modules are stacked insert the spacers provided with each module to secure the stack Figure 2 2 shows a typical stack The stack is now ready to install in your system NOTE Since most dataModules do not have the extra 32 pin auxiliary bus connector we recommend that if you have the 2 version of the CMF8680 with the optional PO PCMCIA connector you place dataModules on top of the CMF8680 and utilityModules under the CMF8680 as shown in Figure 2 2 32 PIN CM102 PCMCIA BUS 64 PIN PC 104 BUS CMF8680 x P d i cpuModule PCMCIA CARD TT CM102 utilityModule Figure 2 1 PC 104 Stack 2 3
59. r on any enabled hardware interrupt or Superstate hardware interrupt The suspend mode occurs when the system is turned off except for the portions that need to keep the critical information The 32 kHz oscillator continues to provide the clock to the CPU s internal 32 bit counter and provides the timing clock for memory refresh Upon resume the OSCPWR signal is automatically turned on and the system begins executing instructions where it left off not a system reset The SLEEPY signal that is available at the utility connector P4 10 is buffered OSC PWR Table 4 1 Power Saving Features Power Savings Mode F8680 Features Used Drowse Mode Performance reduction technique CPU clock divide SuperState interrupt trap SuperState I O trap SuperState I O count Halt of CPU clock SuperState interrupt trap Superstate timer tic Sleep Mode Suspend Mode Dedicated suspend state machine Dedicated resume input signal Separate power planes for CPU core and PAD Programmable on off of F8680 internal modules Programmable tristate active of PC 104 bus and PCMCIA Very low standby current ON OFF Drowse enable and Idle no activity and and Sleep Timer gt T_Drowse enable Hardware Interrupt Timer 2 T Suspend and Activity Suspend enable boo to MIB Drowsier ow to High on l PWRUP pin Timer gt T Max Drowse MAX DROWSE Hot Key CTRL ALT F6 or PWRUP pin Any State Except OFF
60. rase to the end of the line and or page We will not attempt to explain here how the ANSI Escape codes work but if you understand them the codes supported are A B C D H J and K 3 25 CHAPTER 4 Power Management 4 1 DROWSE SLEEP SUSPEND The CMF8680 has sophisticated power management which features three power saving modes drowse sleep and suspend You can program which modes are active in the con figuration setup program RTDMOD Suspend can also be entered using the PWRUP pin on utility connector P4 see Chapter 1 for connector description and Chapter 3 Power Manage ment Setup discussion for operation using the PWRUP pin This chapter describes how these modes are executed Table 4 1 summarizes the power saving features and Figure 4 1 shows how the power management is configured Drowse uses the Performance Control feature of the F8680 CPU to reduce power con sumption Performance Control adds delays of 1 to 127 CPUCLK cycles dummy cycles between each CPU instruction cycle The CPU and the system continue to run at normal clock frequency but the CPU cycle takes place at a slower rate The power saving arises from less memory and peripheral accesses over time The processor enters the sleep mode by executing a HLT instruction in non SuperState R mode with interrupts enabled The sleep mode is transparent to the BIOS DOS and any application programs because transitions out of sleep mode occu
61. roperty of REAL TIME DEVICES Before returning any product for repair customers are required to contact the factory for an RMA number THIS LIMITED WARRANTY DOES NOT EXTEND TO ANY PRODUCTS WHICH HAVE BEEN DAMAGED AS A RESULT OF ACCIDENT MISUSE ABUSE such as use of incorrect input voltages improper or insufficient ventilation failure to follow the operating instructions that are provided by REAL TIME DEVICES acts of God or other contingencies beyond the control of REAL TIME DEVICES OR AS A RESULT OF SERVICE OR MODIFI CATION BY ANYONE OTHER THAN REAL TIME DEVICES EXCEPT AS EXPRESSLY SET FORTH ABOVE NO OTHER WARRANTIES ARE EXPRESSED OR IMPLIED INCLUDING BUT NOT LIMITED TO ANY IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE AND REAL TIME DEVICES EXPRESSLY DIS CLAIMS ALL WARRANTIES NOT STATED HEREIN ALL IMPLIED WARRANTIES INCLUDING IMPLIED WARRANTIES FOR MECHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE LIMITED TO THE DURATION OF THIS WARRANTY IN THE EVENT THE PRODUCT IS NOT FREE FROM DEFECTS AS WARRANTED ABOVE THE PURCHASER S SOLE REMEDY SHALL BE REPAIR OR REPLACEMENT AS PRO VIDED ABOVE UNDER NO CIRCUMSTANCES WILL REAL TIME DEVICES BE LIABLE TO THE PURCHASER OR ANY USER FOR ANY DAMAGES INCLUDING ANY INCIDEN TAL OR CONSEQUENTIAL DAMAGES EXPENSES LOST PROFITS LOST SAVINGS OR OTHER DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PRODUCT SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATI
62. s are available for the F8680 PC CHIP by Chips and Technologies F8680 PC CHIP Data Sheet Publication Number DS133 F8680 PC CHIP Programmer s Reference Manual Publication Number UG75 F8680 PC CHIP Application Notes Publication Number AN75 IMPORTANT If you have trouble using your CMF8680 cpuModule or if you need more in depth information for your application call us Monday through Friday between 8 a m and 6 p m eastern time at 814 234 8087 or fax us 24 hours a day at 814 234 5218 for a prompt reply i 5 1 1 CHAPTER 1 Hardware This chapter describes the different types of memory supported by the CMF8680 inter rupt and DMA channels and interface connectors This information is useful for configuring the hardware before installation into a system MEMORY 2 MB Dynamic RAM The CMF8680 includes 2 MB of 16 bit wide DRAM installed as DEVICES shown in Figure 1 1 Four 1M x 4 20 pin ZIP memory devices provide 2 MB of memory to be used as system RAM shadow RAM for ROM and 1MB of extended memory which can be configured as expanded memory or a RAM disk 32 KB Static RAM This on board SRAM is used for the CGA graphics display U3 bottom side of module 256 KB ROM This device shown in Figure 1 1 contains the XT BIOS IDE hard drive BIOS Datalight ROM DOS SuperState R code and RTD BIOS enhancements 4 K bit Configuration EEPROM This non voltatile memory stores the system confi
63. s is specified in k s and must be a multiple of 64k Initialization Error Memory Manager not Installed This is a generic error message that is accompanied by another error message This means that for some reason given by the other error message the EMM driver could not be installed correctly Cannot detect mapping hardware The EMM driver could not find a F8680 PC CHIP in the system Make sure that your EMS is enabled This error may indicate that you have the wrong driver for your system Problems encountered with memory initialization The EMM driver could not set up the page frame correctly Make sure that there is a contiguous 64K segment of unused memory space at D000 Interrupt 67 Vector already allocated Some other driver has already allocated the EMS interrupt vector Remove all other EMS drivers from your CONFIG SYS file I O address specified is not one of the permitted values The EMS mapper I O address you indicated using the IOADDR command line option is an invalid address Make sure that it is 208 An equals sign was expected One of your PCCEMM SYS command line options was not immediately followed by an equals sign Check your CONFIG SYS file to make sure the PCCEMM SYS command line is formatted correctly Number of handles invalid or out range The value you specified for the HANDLES command line option is invalid Make sure it is a decimal number between 16 and 255 3
64. s to start at address 0x0000 and the user EPROM can contain only one ROM disk 5 4 BURNING A ROM DISK INTO PROM The I option causes an image file to be produced The optional number following the I option specifies the actual start address of the start of the ROM disk The start address is required for ROMable EXE files The default address is 0x000 The R specifies the RXE interrupt number The default number is 90 Hex The S option causes ROM disk to include sub directories found in the source sub directory selected to include on the ROM disk image The T option is the test option This option causes the ROMDISK utility to display statistics on the ROM disk but not to actually create the image file or hex This is useful when you need to make sure that the required files fit in the available space The V str option allows you to set the volume label to something other than ROMDISK The volume label string can be up to 11 characters and must be in quotes The Z option allows you to specify the sector size of the ROM disk The default sector size is 128 bytes Legal values for this option are 128 256 and 512 NOTE Cis not supported Use an EXE file compression utility if a compressed disk is required To support this the system would not be able to boot from floppy or hard disk and would use 6K more ROM and 12K more RAM Once all options and devices have been set to your liking it is time to burn it
65. the CM102 You can program up to 16 rows by 8 col umns in an X Y matrix The keypad matrix can be any combinations of rows and columns up to 16 rows by 8 columns such as the simple 4 x 4 matrix shown in Figure 4 1 Whenever a key is pressed a connection is made between the column and the row to which the keyswitch is connected Column 1 Column 2 Column 3 Column 4 Row 1 Row 2 Row 3 Row 4 Data Buffer Fig 4 1 Simple 4 x 4 Keypad Switch Matrix To ensure accurate translation of keystrokes the CMF8680 BIOS scans all keys on a regular basis and transfers the scan code data to the system The BIOS performs switch debouncing and ghost key detection The BIOS also implements 2 key rollover where two is the maximum number of keys that can be pressed simultaneously on the keypad before it is not possible to correctly detect other keys being pressed Figure 4 2 shows the scanning algorithm used by the CMF8680 with the CM102 s scanning feature enabled 6 4 Get scan address Read switch array using scan address Compare with buffer Next scan address All rows done Yes Debounce key Translate to scan code Generate interrupt Transfer scan code to system Get repeat scan code Fig 4 2 Scanning Algorithm The scan codes are programmed into the 2K bit area of the EEPROM available to the user Programming is done from the system configuration program RTDMOD EXE To use
66. the baud rate to on startup The available baud rates are 300 1200 2400 4800 9600 19200 38400 57600 and 115200 COM Setthe communications port to COM1 and COM2 are sup ported 8N1 Set the serial port to 8 data bits no parity 1 stop bit 7E1 Set the serial port to 7 data bits even parity 1 stop bit No other parameters for data bits besides 8N1 and 7E1 are currently supported 3 24 Environment Variable Commands Terminal Emulation An environment variable COMM is supported which may set certain communications parameters The switches are identical to the command line options Example SET COMM COM2 B2400 7E1 This sets COMM to start up using COM2 at 2400 baud with 7 data bits even parity and 1 stop bit If new options are specified on the command line they override the environment variable settings Invalid options are ignored Most commands are entered by pressing an Alt letter combination Some commands take effect immediately such as changing the baud rate while others require further information such as a file name before continuing Esc is the general abort key If you do not wish to execute a command or want to stop a command while it is going such as a file transfer simply press the Esc key and you will be back in terminal mode Alt B Set the baud rate This command toggles between all the avail able baud rates Continue to press Alt B until the baud rate you wish ap
Download Pdf Manuals
Related Search
Related Contents
TDSHーBA 東芝電球ペンダン ト取扱説明書 保管用 Ativa DQ61BA Paper Shredder User Manual Difrnce MGC02 Variatori di tensione monofase Serie VAM マキタ コンクリート用ガスピン打ち機 GN420C M-Cab WLAN 300M N PCI Adapter Gemini CDM-3600 Turntable User Manual Jacuzzi SteamPro 120 User's Manual リフティー 全機種モデル - エヌ・ケー・エンジニアリング株式会社 Bedienungsanleitung Operation Manual Mode d'emploi Copyright © All rights reserved.
Failed to retrieve file