Home

CMG16686GX cpuModuleTM User`s Manual

image

Contents

1. 47 USB Connector CNIT 34e ett ce eee e ate eet ete ev bee 48 Bus 2 oo 49 Configuring the cpuModule BIOS Setup 55 Entering BIOS Setup wages sean 56 Default onte UPAUON i das eae tions 57 Disabling Fail Safe Boot ROM ccssssssssscsssecsesescecseccsensscesneeeees 59 Installing SSD Memory ede onn Ee vo 60 Quick Boot Description 61 Configuring with the RTD Enhanced Award BIOS 62 Using the 77 ideas header 78 Input Output Address Map cases nde ERU Roth n eoe VERSNS 79 Hardware Interr pts eed iod eed ade able ee 81 The RTD Enhanced Award BIOS mmm 82 Power On Self Tests POSTS sess 83 RTD Enhanced Award BIOS POST Codes 86 Chapter 6 Chapter 7 Chapter 8 Default Configuration iere dee et Pe eee oed ta 89 Direct Hardware Control auus peri cetot een coacti Podere ae sudes 91 Advanced Digital I O Ports aDIO eee 92 Basic Interrupt Information for Programmers esee 96 Watchdog Timer Control nde 99 Real Time Clock Control ees 100 Parallel Port Control ciel Me caret hess aed sua 101 Processor Clock Control 0 e
2. lt PgUp gt Enable or disable virus warning lt gt Enable Warn if boot sector or partition table is being modified e Disable Allow boot sector or partition table modification Virus warning CPU Internal lt PgUp gt Enable or disable CPU internal cache Enable Enable CPU internal 16 KB cache e Disable Disable CPU internal 16 KB cache Boot Sequence lt PgUp gt Select from the options the boot sequence for the lt PgDn gt CPU Swap floppy drive lt PgUp gt Swap floppy drive A and B lt PgDn gt e Enable Floppy connected after the twist in the floppy wire will be Drive B and floppy connected before the twist in the floppy wire will be Drive A Disable Normal Floppy connected after the twist in the floppy wire will be Drive A and floppy connected after the twist in the floppy wire will be Drive B Note This only works with two floppies installed Cache lt PgDn gt Boot up numlock lt PgUp gt Set keypad numlock status after boot status lt PgDn gt e On Keypad is number keys e Off Keypad is cursors keys Gate A20 option lt PgUp gt Select gate A20 options lt PgDn gt e Normal Use keyboard controller to control A20 gate e Fast Allow chipset to control A20 gate Security option amp PgUp Limit access with password to the system and setup lt PgDn gt or just setup e System The system will not boot and access to se
3. 12 CHAPTER 2 GETTING STARTED For many users the factory configuration of the cpuModule can be used to get a PC 104 system operational If you are one of these users you can get your system up and running quickly by following a few simple steps described in this chapter Briefly these steps are Connect power Connect the utility cable Connect a keyboard Default Bios Configuration Fail Safe Boot ROM Connect a VGA monitor to the SVGA connector Refer to the remainder of this chapter for details on each of these steps CMG16686GX RTD Embedded Technologies Inc 13 Basic Connector Locations The following figure s and table show the connectors used in this chapter B2 JP9 CN11 CN8 CN6 JP2 Dooooooooooooooo pal RERIOOO00080000000000099999999999 A EEFT 6 ooo MEEREoooo00000000000o0l PME MOUSE CNS CN2 CN4 CMG16686GX RTD Embedded Technologies Inc 14 CMG16686GX Basic Connector Locations For a complete listing of connectors please refer to I O Connections Pin 1 of each connector is indicated by a square solder pad on the bot tom of the PC board and a white square silkscreened on the top of the board CMG16686GX RTD Embedded Technologies Inc 15 Fail safe boot ROM Fail Safe Boot ROM is supplied with the board This feature is programmed into a sur face mount flash chip The programmed boot ROM is ROM DOS Fail Safe Boot RO
4. RTD Embedded Technologies Inc 117 Common Problems and Solutions The following table lists some of the common problems you may encounter while using your cpu Module and suggests possible solutions If you are having problems with your cpuModule please review this table before contacting techni cal support cpuModule will not boot no power or wrong polarity check for correct power on PC 104 bus connectors incorrect Setup reboot and press Del key to run Setup video disabled etc defective or mis connected de check for misaligned bus connectors vice on bus remove other cards from stack cable connected backwards verify all cables are connected correctly SSD installed backwards check for an SSD memory installed in socket backwards will not boot from particu device not bootable use sys command on drive or re format the lar drive or device device using the s switch device not formatted format drive using s switch power not connected to boot connect power cable to floppy or hard drive drive Atmel Flash shows disk part smaller than 1 44MB was ignore disk space remaining messages space available but it can formatted as 1 44 it will from DOS not be written show space available even REMEMBER A bootable disk contains 3 when full hidden files plus format info totalling about 150kB will not boot from DiskOn DiskOnChip is not the disable other hard drive s in system Chip hard drive in system
5. utilities If the user would need remote access to the system run REMSERV on the target system and REM DISK on the host system The end result would be that the storage devices on the target system would appear as additional drives on the host system Information could then be transferred between hard disks by using a standard NULL Modem cable over a serial port REMSERV makes the con nection appear as an additional drive to the user For details concerning this type of access please refer to the ROM DOS user s guide shipped with your board By default boards are shipped with fail safe boot ROM enable When Fail Safe Boot ROM is enabled the system will boot to it exclu sively The first time your system will boot to the DOS prompt at the first available drive letter If you do not intend to use REMSERV or REMDISK or you intend to boot from another device you will need to disable Fail Safe Boot ROM See the steps below for the method to disable it e Reset the system by either shutting it off and turning it on or by using the reset button while the system is booting repeatedly press the DEL key to enter the BIOS setup e Choose INTEGRATED PERIPHERALS using the arrow keys and enter e Once in INTEGRATED PERIPHERALS set Fail Safe Boot in SSD Win Disabled CMG16686GX RTD Embedded Technologies Inc 24 If You Misconfigure the couModule It is possible that you may incorrectly configure the cpuModule using Setup If this happ
6. 57 Video Bios Shadow Enabled C8000 DFFFF Disabled 16 bit I O Recovery 5 Clock BIO Recovery Cioc Boards are shipped with fail safe boot ROM enable See the chapter on Configuring the cpuModule BIOS setup in Disabling Fail Safe Boot ROM for the method to disable it When Fail Safe Boot ROM is enabled the system will boot to it exclu sively CMG16686GX RTD Embedded Technologies Inc 58 Disabling Fail Safe Boot ROM e Reset the system by either shutting it off and turning it on or by using the reset button e while the system is booting repeatedly press the DEL key to enter the BIOS setup e Choose INTEGRATED PERIPHERALS using the arrow keys and enter e Once in INTEGRATED PERIPHERALS set Fail Safe Boot in SSD Win Disabled CMG16686GX RTD Embedded Technologies Inc 59 Installing SSD Memory This section explains how to add SSD devices to the cpuModule This procedure is only necessary when you wish to add or change Solid State Disk memory devices You may wish to install SSD memory to use the cpuModule as a diskless stand alone device Refer to Storing Applications On board for more information on various SSD device types Solid State Disk memories are placed in SSD socket U16 The following table lists possible configurations for the SSD socket SSD Support omn Atmel 5V Flash __29CO10A LOEB 29C040A 512KB pp ERN BIOS Extension DisKOnChipand read write to 288 MB Devic
7. the connector pinout and shows how to connect to an external serial connector either XT DB25 or AT DB9 compatible Facing the serial connector pins the pinout is CMG16686GX RTD Embedded Technologies Inc 37 The following table gives the pinout of the serial port connector when RS232 mode is enabled Connector in RS 232 Mode Signa Funcion imeut 2 sk DawSerReady im 9 5 crs Gear To Send m 5 s R m 22 oND Signal Ground 1 7 RS422 or RS485 Serial Port You may use Setup to configure the second serial port as RS422 or RS485 In this case you must connect the serial port to an RS422 or RS485 compatible device When using RS422 or RS485 mode you can use the port in either half duplex two wire or full duplex four wire configurations For half duplex 2 wire operation you must connect RXD to TXD and connect RXD to TXD A 120 ohm termination resistors is provided on the cpuModule Termi nation is usually necessary on all RS422 receivers and at the ends of the RS485 bus If the termination resistor is required it can be enabled by closing jump er JP9 When using full duplex typically in 422 mode connect the ports as shown in the table below Full Duplex Connections When using half duplex in 485 connect the ports as shown in the table below Half Duplex 485 Mode Port 1 TXD Port 1 KD Port 1 TXD Port
8. 1 RXD Port 1 TXD Port 2 RXD Port 1 RXD Port 2 TXD CMG16686GX RTD Embedded Technologies Inc 38 The following table gives the pinout of connector CN8 when RS422 or RS485 modes are enabled Connector in RS 422 485 Mode Function mout 58 Data Carrier Detect Po Data Set Ready RXD Receive Data TXD TransmitData out B9 1 2 7 3 eseved in out out in 4 out 5 10 Siena sound ot 5 Facing the serial port s connector pins the pinout is CMG16686GX 9 7 3 3 1 when using RS485 Mode When using the serial port in RS485 mode the serial transmitters are enabled and disabled under software control The transmitters are enabled by manipulating the Request To Send RTS signal of the first serial port controller This signal is controlled by writing bit 1 of the Modem Control Register MCR as follows If MCR bit 1 1 then RTS 0 and serial transmit ters are disabled f MCR bit 1 0 then RTS 1 and serial transmit ters are enabled For more information on the serial port registers including the MCR please refer to a standard PC AT hardware reference for the 16550 type UART RTD Embedded Technologies Inc 39 multiPort Parallel Port CN6 The parallel port is available on connector CN6 Make sure the BIOS setup sets the multiPort to parallel port You can use the BIOS Setup to select
9. 33 120 with Dummy Spurious Interrupt Handler Issue CPUID instruction to identify CPU type Early Power Management initialization OEM specific Initialization of the BIOS Data Area 40 00 40 FF 1 Program some of the Chipset s value according to Setup Early Setup Value Program 2 Measure CPU speed for display amp decide the system clock speed 3 Video initialization including Monochrome CGA EGA VGA If no display device found the speaker will beep which consists of one single long beep followed by two short beeps 1 Initialize the APIC Multi Processor BIOS only 2 Test video RAM If Monochrome display device found 3 Show messages including Award Logo Copyright string BIOS Date code amp Part No OEM specific sign on messages Energy Star Logo Green BIOS ONLY CPU brand type amp speed Test system BIOS checksum Non Compress Version only CMG16686GX RTD Embedded Technologies Inc Verify the RTC time is valid or not Detect bad battery Read CMOS data into BIOS stack area PnP initialization including PnP BIOS only Assign CSN to PnP ISA card Create resource map from ESCD Assign IO amp Memory for PCI devices PCI BIOS only 86 RTD Enhanced Award BIOS POST Codes C Reiners ie enero C EN ON 2 Test Extended Memory from 1M to the top of memory a E E rj BR CNN 1 Display the Award Plug amp Play BIOS Extension message PnP B
10. 5 PCI ISA PNP or Legacy ISA IRQ 6 PCI ISA PNP or Legacy ISA IRQ 7 PCI ISA PNP or Legacy ISA IRQ 9 PCI ISA PNP or Legacy ISA IRQ 10 PNP or Legacy ISA IRQ 11 PCI ISA PNP or Legacy ISA IRQ 12 PCI ISA PNP or Legacy ISA IRQ 13 PCI ISA PNP or Legacy ISA IRQ 14 PCI ISA PNP or Legacy ISA IRQ 15 PCI ISA PNP or Legacy ISA Select if PCI interrupts are level or edge sensitive Select the starting address of an upper memory re gion to exclude from PCI PNP usage e Upper memory not used by legacy ISA devices C800h CCO0h D000h D400h D800h DC00h RTD Embedded Technologies Inc 71 PNP PCI Configuration Setup Fields Used memory Select the length of an upper memory region to ex length clude from PCI PNP usage e 8 16 KB e 32KB e 64KB CMG16686GX RTD Embedded Technologies Inc 72 Integrated Peripherals Setup Fields The following is a list of Integrated Peripherals Setup fields Integrated Peripherals Setup Fields IDE block mode Keyboard in put clock Onboard Serial Port 1 Onboard Serial Port 2 multiPort Location lt PgUp gt CN6 lt PgDn gt CMG16686GX Allows the IDE controller to use fast block mode to transfer data to and from the hard disk Select the clock to be used for the keyboard con Enable IDE controller uses block mode Disable IDE controller does not uses block mode troller 8 8 MHz Defau
11. 5 e 3BCh IRQT Address 3BCh and interrupt 7 Select the mode for the parallel port SPP Standard parallel port EPP 1 7 Extended parallel port compatible with version 1 7 EPP 1 9 Extended parallel port compatible with version 1 9 ECP Extended Capabilities port EPP ECP both EPP and ECP mode Select DMA for ECP mode 1 DMA channel 1 e 3 channel 3 Select a 32 KB memory window for BIOS exten sion devices in the 32 pin SSD socket such as Dis kOnChip Disable Do not use BIOS extension device C800 Window at C8000h CFFFFh if USB is enabled these addresses are used D000 Window at D0000h D7FFFh D800 Window at D8000h DFFFFh Select a SSD device to fill the SSD socket None RAM 128k RAM 512k NOVRAM 128k NOVRAM 512k ATMEL 128k ATMEL 512k FLASH 128k FLASH 256k FLASH 512k EPROM 128k EPROM 256k EPROM 512k EPROM 1M BiosExt Sets the memory window to be used for the SSD de vice e D000 0000 e D800 0000 800 0000 RTD Embedded Technologies Inc Integrated Peripherals Setup Fields Drive A Selects the device the CPU will consider to be A except Floppy BiosExt e 55 Enables the non volatile onboard backup BIOS e Enable e Disable Fail Safe Boot in SSD Win Digital I O Disable IRQ If multi IRQ5 Port set to IRQ7 aDIO IRQ10 IRQII IRQ12 MAKE SURE PS 2 IS NOT CON NECTED Allows multiple monitors to be run from the CPU e Onboard First e PCI
12. Blue bts SB out s FP_GREENO_ Green bio 158 20 FP GREENI Greenbiti 3 FP GREEN2 Green bit out 22 FP GREENS Greenbita out 3 FP GREENA Greenbita out a FP GREENS Greenbi5 NSB out 5 FP REDo RedbiouSB out FP Rem Redbit out a7 FP RED2 Redbi2 fown as j FP RED3 Reden fow s FP RED4 Redbia fom 30 FP REDs RedbisiuMSB CMG16686GX RTD Embedded Technologies Inc 46 Bus Mouse Connector CN4 The following table gives the pinout of the Bus Mouse connector Bus Mouse Connector CN4 2 3 mak Mouse Clock ow MDAT Facing the connector pins the pinout is MDAT GND MDAT 4 2 CMG16686GX RTD Embedded Technologies Inc 47 USB Connector CN17 CMG16686GX 48 Two USB 1 0 compliant ports are available on CN17 The following table gives the pinout of the USB connector Table 2 USB Connector CN17 EON VCC2 Supply 5V to USB2 Supply 5V to USB2 to USB2 1 Bi directional data m line for USBI DATA2 Bi directional data in out line for USB2 3 5 DATA1 Bi directional data in out line for USB1 DATA2 Bi directional data in out line for USB2 GRND Signal Ground Facing the connector pins the pinout
13. Exit Setup without saving changes Saving to select CMG16686GX RTD Embedded Technologies Inc 63 Standard CMOS Setup The following is an alphabetical list of Standard CMOS Setup fields BIOS Features Setup Standard CMOS Setup Fields Date 0 9 i Hard Disk lt PgUp gt Primary Master lt PgDn gt Primary Slave Secondary Mas ter Secondary Slave Drive A lt PgUp gt lt PgDn gt Drive B lt PgUp gt lt PgDn gt CMG16686GX 64 Sets the date with the format e month day year e You must connect a backup battery or this setting will be lost at power down Sets the time with the format hour minute second e You must connect a backup battery or this setting will be lost at power down Selects the IDE hard disk type for each interface An interface must have a master before a slave can be added Make sure you configure the drive jumpers correctly Selections are None Auto Auto detect drive parameters not all drives can be auto detected 1 45 Standard drive types USER User enters drive parameters Selects the format of each floppy disk Selections are None 360 514 Floppy 1 2 MB 54 Floppy 720 KB 342 Floppy 1 44 1 25 MB 31 2 Floppy 2 88 MB 31 2 Floppy EGAWGA CGA 40 CGA 80 MONO RTD Embedded Technologies Inc BIOS Features Setup The following is a list of BIOS Features Setup fields BIOS Features Setup Fields
14. 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 PROVID ED ABOVE UNDER NO CIRCUMSTANCES WILL RTD Embedded Technologies 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 LIMITATION OF INCIDENTAL 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 RTD Embedded Technologies Inc 103 Innovation Blvd State College PA 16803 0906 USA Our website www rtd com CMG16686GX RTD Embedded Technologies Inc 125 CMG16686GX RTD Embedded Technologies Inc 126
15. Setup Value Pro gram 2 If auto configuration is enabled programmed the chipset with pre defined values in the MODBINable Auto Table CO Turn off OEM specific cache shadow Initialize all the standard devices with default values standard devices includes DMA controller 8237 Programmable Interrupt Controller 8259 Programmable Interval Timer 8254 RTC chip Auto detection of onboard DRAM amp Cache 1 Test system BIOS checksum 2 Test the first 256K DRAM 3 Expand the compressed codes into temporary DRAM area including the compressed System BIOS amp Option ROMs Copy the BIOS from ROM into E0000 FFFFF shadow RAM so that POST will go faster System Booting INT 19 CMG16686GX RTD Embedded Technologies Inc 88 Default Configuration In addition to the Setup configuration stored on the board the cpuModule has a permanent default configuration The system will resort to using this default if an error occurs when accessing the EPROM which holds the Setup on the module The default configuration is listed below Function IDE Interface 0 Master IDE Interface 0 Slave IDE Interface 1 Master IDE Interface 1 Slave Boot device BIOS Extension Floppy Drive 1 Floppy Drive 2 Serial por 1 Serial por 2 Keyboard Video Resolution USB Fail safe boot ROM Select Active Video Power Management PNP OS Installed Resources Controlled By PCI IRQ Activated By IDE HDD Block Mode KBC Input Clock SSD Window Halt On
16. The RTD Enhanced Award BIOS Basic Input Output System is software that interfaces hardware specific features of the cpuModule to an operating system OS Physically the BIOS software is stored in a Flash EPROM on the cpuModule Functions of the BIOS are divided into two parts The first part of the BIOS is known as POST Power On Self Test software and it is active from the time power is applied until an OS boots begins execution POST software performs a series of hardware tests sets up the machine as defined in Setup and begins the boot of the OS The second part of the BIOS is known as the CORE BIOS It is the normal interface between cpu Module hardware and the operating system which is in control It is active from the time the OS boots until the cpuModule is turned off The CORE BIOS provides the system with a series of soft ware interrupts to control various hardware devices The following sections discuss the sections of the BIOS in more detail and describe features of the BIOS which may be useful to you in developing applications CMG16686GX RTD Embedded Technologies Inc 82 Power On Self Tests POSTs POST Messages During the Power On Self Test POST if the BIOS detects an error requiring you to do something to fix it will either sound a beep code or display a message If a message is displayed it will be accompanied by PRESS F1 TO CONTINUE CTRL ALT ESC OR DEL TO ENTER SETUP POST Beep Currently there
17. Virus Warning CPU Internal Cache Cyrix 6X86 MII CPUID Swap Floppy Drive Boot Up Numlock Status Past Gate 20 Option Fast Security Option Report No FDD for Yes WIN95 Quick Extended Memory Test Disabled CMG16686GX RTD Embedded Technologies Inc 89 Video Bios Shadow Enabled ISA Plug n Play Support Enabled C8000 DFFFF Disabled 16 bit I O Recovery 5 Clock 8 bit I O Recovery Clock Bypassing the Stored Configuration Under certain circumstances you may want to bypass the configuration stored on the board To do this press the Del key to enter Setup and then you can then reconfigure the cpuModule correctly CMG16686GX RTD Embedded Technologies Inc 90 Direct Hardware Control Some of the cpuModule hardware is controlled directly without using BIOS routines These include Advanced Digital I O aDIO Watchdog Timer Real Time Clock Control Parallel Port Control The following sections describe use of these features CMG16686GX RTD Embedded Technologies Inc 91 Advanced Digital I O Ports aDIO Make sure the BIOS setup has the multiPort set to aDIO mode This board supports 16 bits of TTL CMOS compatible digital I O TTL signalling Use the BIOS setup for to set the multiPort into its DI O mode These I O lines are grouped into two ports port 0 and port 1 Port 0 is bit programmable and Port 1 is byte programmable Port 0 supports RTD s two Advanced Digital Interrupt modes ADI T
18. in materials and workmanship for one year following the date of shipment from RTD Embedded Technologies INC This warranty is limited to the original pur chaser of product and is not transferable During the one year warranty period RTD Embedded Technologies will repair or replace at its op tion any defective products or parts at no additional charge provided that the product is returned shipping prepaid to RTD Embedded Technologies All replaced parts and products become the property of RTD Embedded Technologies 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 RTD Embedded Technologies acts of God or other contingencies beyond the con trol of RTD Embedded Technologies OR AS A RESULT OF SERVICE OR MODIFICATION BY ANYONE OTHER THAN RTD Embedded Technologies EXCEPT AS EXPRESSLY SET FORTH ABOVE NO OTHER WARRANTIES ARE EXPRESSED OR IMPLIED INCLUDING BUT NOT LIMITED TO ANY IMPLIED WARRANTIES OF MERCHANTABILITY AND FIT NESS FOR A PARTICULAR PURPOSE AND RTD Embedded Technologies EXPRESSLY DIS CLAIMS ALL WARRANTIES NOT STATED HEREIN ALL IMPLIED WARRANTIES INCLUDING IMPLIED WARRANTIES FOR MECHANTABILITY AND FITNESS FOR A
19. not support refresh on the ISA bus This pin is pulled high with a 4 7 K ohm resistor and may be driven by another card in the PC 104 stack RESETDRV This line active high is used to reset the devices on the bus at power on or after a reset command SA0 19 Address bits 0 to 19 these lines are used to address the memory space and the I O space SAO is the least significant bit while SA19 is the most significant bit SBHE This active low signal indicates a transfer of the most significant data byte SD15 SD8 SD8 15 Data bits these are the high byte data bus lines SD8 is the least sig nificant bit SD15 the most significant bit SDO 7 Data bits these are the low byte data bus lines SDO is the least sig nificant bit SD7 the most significant bit SMEMR Memory Read command active low SMEMW Memory Write command active low SYSCLK System Clock 8 0MHz with a 50 duty cycle Only driven during ex ternal bus cycles TC Terminal Count this line is active high and indicates the conclusion of a DMA transfer CMG16686GX RTD Embedded Technologies Inc 52 PC 104 Bus Termination Termination of PC 104 bus signals is not recommended since this cpuModule incorporates source termination on bus signals and may cause malfunctions of the cpuModule CMG16686GX RTD Embedded Technologies Inc 53 CMG16686GX RTD Embedded Technologies Inc 54 CHAPTER 4 CONFIGURING THE CPUMODULE BIOS SETUP This chapter cont
20. on component side selects SSD voltage e 1 to2is 5V default e 2to3is3 3V CMG16686GX RTD Embedded Technologies Inc 112 Solder Jumpers Solder jumpers are set at the factory and are rarely changed CMG16686GX RTD Embedded Technologies Inc 113 Mechanical Dimensions The following figure shows mechanical dimensions of the module in inches CMG16686GX Mechanical Dimensions 0 005 CMG16686GX RTD Embedded Technologies Inc 114 686GX Processor Thermal Management The industrial grade processor IC of the cpuModule must receive adequate cooling to ensure proper operation and good reliability The case temperature of the processor must not exceed 85 C The processor is therefore supplied with an attached fan or heatsink with a thermal resistance of 5 C W The table below shows the maximum ambient temperature allowed vs Case Temperature 85 C Oca for Different Ambient Temperatures C W simi 3 2 n 39 9 CMG16686GX RTD Embedded Technologies Inc 115 CMG16686GX RTD Embedded Technologies Inc 116 CHAPTER 7 TROUBLESHOOTING CMG16686GX Many problems you may encounter with operation of your cpuModule are due to common errors This chapter will help you get your system op erating properly It contains Common problems and solutions Troubleshooting a PC 104 system How to obtain technical support How to return a product
21. ply The CPU V pin CN3 is used to monitor the onboard CPU regulator which is 2 0 volts Don t use this as source of 2 0 volts and don t con nect this pin to a 2 0 volt power supply Pins 10 and 12 on CN3 are floating by default factory setting These pins are not set up for monitoring or power If monitoring is needed at these pins please contact us for details Power Supply Protection The cpuModule has protection circuitry which helps prevent damage due to problems with the 5V supply such as e Reversed polarity e Overvoltage CMG16686GX RTD Embedded Technologies Inc 32 Advanced Digital I O Ports aDIO multiPort CN6 Pin 1 is indicated by a square solder pad on the pin This connector is located on the edge of the cpuModule along the PC 104 bus CMG16686GX multiPort Digital I O Port 0 Connector Pinout CNS Pin 1 strobe 0 92 8 f ror RTD Embedded Technologies Inc 33 Serial Port 1 CN7 The first serial port is implemented on connector CN7 It is normally configured as a PC compatible full duplex RS232 port but you may use the Setup program to re configure it is as half duplex RS422 or full duplex RS422 or RS485 The I O address and corresponding interrupt must also be selected using Setup The available I O addresses and the corresponding interrupts are shown in the following table First Serial Port Settings Address First Serial Port UART The first ser
22. pushed on entrance you must use the IRET instruction and not a plain RET The IRET automat ically pops the flags CS and IP that were pushed when the interrupt was called If you find yourself intimidated by interrupt programming take heart Most C compilers al low you to identify a procedure function as an interrupt type and will automatically add these instructions to your ISR with one important exception most compilers do not auto matically add the end of interrupt command to the procedure you must do this yourself Other than this and the few exceptions discussed below you can write your ISR just like any other routine It can call other functions and procedures in your program and it can access global data If you are writing your first ISR we recommend that you stick to the basics just something that will convince you that it works such as incrementing a global variable NOTE If you are writing an ISR using assembly language you are responsible for pushing and popping registers and using IRET instead of RET Writing a DOS Interrupt service routine ISR There are a few cautions you must consider when writing your ISR The most important is do not use any DOS functions or routines that call DOS functions from within an ISR DOS is not reentrant that is a DOS function cannot call itself In typical programming this will not happen because of the way DOS is written But what about when using interrupts Then you could have a
23. rtd com CMG16686GX RTD Embedded Technologies Inc 122 How to Return a Product If you wish to return a product to the factory for service please follow this procedure 1 Read the Limited Warranty to familiarize yourself with our warranty policy 2 Please have the following available e Complete board name e Board serial number e detailed description of the board s behavior 1 Contact the factory for a Return Merchandise Authorization RMA number 2 Write a detailed description of the situation or problem Include as much information as possible 3 List the name of a contact person familiar with technical details of the problem or situation along with their phone and fax numbers address and e mail address if available 4 List your shipping address 5 Indicate the shipping method you would like used to return the product to you We will not ship by next day service without your pre approval 6 Carefully package the product using proper anti static packaging 7 Write the RMA number in large 1 letters on the outside of the package 8 Return the package to RTD Embedded Technologies Inc 103 Innovation Blvd State College PA 16803 0906 USA CMG16686GX RTD Embedded Technologies Inc 123 CMG16686GX RTD Embedded Technologies Inc 124 CHAPTER 8 LIMITED WARRANTY RTD Embedded Technologies Inc warrants the hardware and software products it manufactures and produces to be free from defects
24. you must format it using the s switch of the format command Refer to your DOS manual for more information on the format command If you wish to boot from the SSD make it diskette A Notes on Formatting an SRAM or NOVRAM SSD For most purposes you can format the SRAM or NOVRAM SSD as you would a 1 44MB floppy using a command line similar to for example format b u To getthe most possible space in the disk and ensure proper operation use the format command with asize parameter just over the total size of the installed SSD memory For example if you install 256 Kbytes of SRAM you should use format with the parameters for a 360 Kbyte floppy disk For ex ample CMG16686GX RTD Embedded Technologies Inc 107 ROM DOS format b n 9 t 40 MS DOS format b f 360K See your DOS manual for details on the format command and its parameters Installing a Conventional SSD using EPROM or Flash other than Atmel EPROMs or Flash EPROMS for an SSD must be programmed externally to the cpuModule using an EPROM programmer and following the procedure below To install an EPROM SSD you should follow this procedure e Apply power to the cpuModule and run Setup e Set SSD socket 1 or 2 to the appropriate EPROM or Flash type e Set SSD Window to a value which will not conflict with other hardware or software NOTE The memory window selected for DOC must not be used by any other program or hardware device Make sure this window is n
25. 1 3 P1 2 P1 1 P1 0 Port 1 Data register is a read write byte direction programmable register A read on this register when it is programmed to input will read the value at the DIO connector A write on this register when it is programmed as output will write the value to the DIO connector A read on this register when it is set to output will read the last value sent to the DIO connector Multi Function I O address 452 HEX B e De po cs ip a pts ssp 2 0 1 Multi Function register is a read write register whose contents are set by the DIO Control register See the DIO Control register description for a description of this register CMG16686GX RTD Embedded Technologies Inc 92 DIO Control I O address 453 HEX Read Access StrobeO Status Strobel Status 0 strobe 0 no strobe Port 1 Direction 1 strobe 1 strobe 0 Input Multi Function 1 Output Register Select Digital IRQ Status Digital IRQ Enable 00 Clear Mode 0 no digital interrupt 0 Disabled 01 Port 0 Direction 1 digital interrupt 1 Enabled 10 Mask Register 11 Compare Register Digital IRQ Mode 0 Event Mode 1 Match Mode DIO Control I O address 453 HEX Write Access D7 De 05 D4 D2 j j Do Port 1 Direction 0 Input Multi Function 1 Output Register Select Reserved Digital IRQ Enable 00 Clear Mode 0 Disabled 01 Port 0 Direction 1 Enabled 10 Mask Register 11 Compare Reg
26. 16686GX RTD Embedded Technologies Inc 106 Format the SSD using the DOS format command NOTE If you wish to make the SSD bootable you must format it using the s switch of the format command Refer to your DOS manual for more in formation on format When using the MS DOS format command always specify a size pa rameter Use a size larger than the installed SSD e g format f 1 44M for 2 x 512K Atmel Flash devices f you wish to boot from the SSD make it diskette A Installing a Conventional SSD using SRAM or NOVRAM When the Solid State Disk is composed of SRAM or NOVRAM it appears as a read write disk and may be read and written using normal DOS disk commands To install an SRAM or NOVRAM SSD you should follow this procedure e Apply power to the cpuModule and run Setup e Set SSD socket 1 or 2 to the appropriate SRAM or NOVRAM device type e Set SSD Window to a value which will not conflict with other hardware or software NOTE The memory window selected for DOC must not be used by any other program or hardware device Make sure this window is not in use by 386 or another memory manager or an Ethernet card PCMCIA card etc Save your changes and exit Setup Turn off the cpuModule Install the memory device into the cpuModule socket Reboot the cpuModule The SSD should appear as the next available drive in your system Format the SSD using the DOS format command If you wish to make the SSD bootable
27. 3 Interrupts The Digital I O can use interrupts 5 7 10 11 and 12 The mapped interrupt numbers are OxOD OxOF 0x72 0x73 and 0x74 in HEX respectfully or 13 15 114 115 and 116 in decimal respectful ly To use any or all of the 5 listed interrupts set the interrupt s aside for an ISA legacy device To set the interrupts aside enter the BIOS under PNP PCI CONFIGURATION Select Resources Con trolled By and change the interrupt s you wish to use to Legacy ISA Advanced Digital Interrupts There are three advanced digital interrupt modes available These three modes are Event Match and Strobe The use of these three modes is to monitor state changes at the DIO connector One way to enable interrupts is to set bit 4 of the DIO Control register to an 1 and select Event or Match mode The other way to enable interrupts will be explained in Strobe Mode Event Mode When this mode is enable Port 0 is latched into the DIO Compare register at 8 33 MHz There is a deglitching circuit inside the DIO circuitry The deglitching requires pulses on Port 0 to be at least 120 nanoseconds in width As long as changes are present longer than that the event is guaranteed to register Pulses as small as 60 nanoseconds can register as an event but they must occur between the rising and falling edge of the 8 33 MHz clock To enter Event mode set bit 3 of the DIO Control register to a zero Match Mode When this mode is enabled Port 0 is latched
28. 5 wou INC INN ee Notconnected EN ow ut ut in in ut ut in 1 Keyboard Power 5 volts Nor Speaker A speaker output is available on pins and 2 of the Multifunction connector These outputs are con trolled by a transistor to supply 0 1 watt of power to an external speaker The external speaker should have 8 ohm impedance and be connected between pins 1 and 2 Keyboard An AT compatible keyboard can be connected to the Multifunction connector Usually PC key boards come with a cable ending with a 5 pin male DIN connector The following table lists the relationship between the Multifunction connector pins and a standard DIN keyboard connector CMG16686GX RTD Embedded Technologies Inc 42 Keyboard Connector Pins on CN5 Keyboard Data Keyboard Power 5 Volts To ensure correct operation check that the keyboard is either an AT compatible keyboard or a swit chable XT AT keyboard set to AT mode Switchable keyboards are usually set by a switch on the back or bottom of the keyboard Siem DN E cue a 1 e 7 System Reset Pin 3 of the multifunction connector allows connection of an external push button to manually reset the system The push button should be normally open and connect to ground when pushed Battery Pin 9 of the
29. 75768 5 1024 x 768 256 5 024 768 10275768 0 aK 75 K s 0 5 5 5 1024 x 768 High 4 0 1280 x 1024 280 1024 256 1280 x 1024 1280 x 1024 256 High 4 0 MB High 4 0 MB 8 7 7 8 7 1024 x 768 7 8 7 7 8 1280 1024 High 4 0 MB 1280 x 1024 7 High 4 0 MB 1280 x 1024 85 High 4 0 MB CMG16686GX RTD Embedded Technologies Inc 45 Flat Panel Video Connector 8 The following table gives the pinout of the flat panel video connector FP_VCC can be either 5V or 3V and is selected with JP7 FP_VBKLT can be either 5V or 12V and can be selected with JP2 See Jumpers on page 224 for more details Table 1 Flat Panel Video Connector CN8 Siona Function m FP vec Powerforflatpanellecioniss out 2 FP_VBKLT Power tor fiat panel backlight FP VDDEN Enable for flat panel power out a FP ENABIK Enable for Backlight Power out s GNb feom fo 6 FP_DISPEN Display Enable fou zo fobo feom fwo a FP_HSYNG__ Horizontal Syns fou B FP VSYNC Vertical Syne out o fob Greud fowo Hp eak Ge ow H2 foo Greud fewo H3 BLUE 58 ow H4 FP BLUET Bluebitt H5 FP BLUE out H6 FP Lues Buebt3 out Hy FP BLUE amp out H5 FP BLUES
30. 86GX RTD Embedded Technologies Inc 18 Connecting the utility cable The Multifunction connector CN5 implements the following interfaces e keyboard e Speaker output e System reset input e Battery input To use these interfaces you must connect to the Multifunction connector making sure the orienta tion of pin 1 is correct If you are using the Multifunction cable from our cable kit the cable provides a small speaker a 5 pin circular DIN connector for the keyboard a push button for resetting the PC 104 system and a lithium battery to provide backup power to the Real Time Clock To connect individual devices to the Multifunction connector please see Multifunction Connector CNS CMG16686GX RTD Embedded Technologies Inc 19 Connecting a Keyboard You may plug a PC AT compatible keyboard directly into the circular DIN connector of the Multi function cable in our cable kit Some newer keyboards may use a smaller mini DIN connector you will need an adapter to plug these keyboards into the cpuModule These connectors are available for order instead of the default circular DIN connector Many keyboards are switchable between PC XT and AT operating modes with the mode usually selected by a switch on the back or bot tom of the keyboard For correct operation with this cpuModule you must select AT mode CMG16686GX 20 RTD Embedded Technologies Inc Connecting to the PC 104 Bus The PC 104 bus conne
31. CMG16686GX cpuModule User s Manual RTD Enhanced Award BIOS Versions 4 51 xx TIGO Time Devices RTD Embedded Technologies Inc Real Time Devices Accessing the Analog World BDM 610000013 ISO9001 AS9100 Certified Rev B CMG16686GX cpuModule User s Manual RTD Embedded Technologies INC 103 Innovation Blvd State College PA 16803 0906 Phone 1 814 234 8087 FAX 1 814 234 5218 E mail sales rtd com techsupport rtd com web site http www rtd com Revision History Rev A New namual naming method Rev B Added multiPort aDIO second COM port and Flat Panel New connector numbers CN8 CN11 JP9 Published by RTD Embedded Technologies Inc 103 Innovation Blvd State College PA 16803 0906 Copyright 1999 2002 2004 by RTD Embedded Technologies Inc All rights reserved Printed in U S A The RTD Logo is a registered trademark of RTD Embedded Technologies cpuModule and utilityModule are trademarks of RTD Embedded Technologies PS 2 PC XT PC AT and IBM are trademarks of Interna tional Business Machines Inc MS DOS Windows Windows 95 Windows 98 and Windows NT are trade marks of Microsoft Corp PC 104 is a registered trademark of PC 104 Consortium All other trademarks appearing in this document are the property of their respective owners Chapter 1 Chapter 2 Chapter 3 Chapter 4 Chapter 5 Introduction 7 The
32. CMG16686GX RTD Embedded Technologies Inc 99 Real Time Clock Control The cpuModule is equipped with a Real Time Clock RTC which provides system date and time functions and also provides 128 non volatile memory locations The contents of these memory lo cations are retained whenever an external backup battery is connected whether or not system power is connected You may access the RTC date time and memory using an index and data register at I O addresses 70h and 71h Address 70h is the Index register It must be written with the number of the register to read or write Refer to the map below for valid choices for the index Data is then written to or read from the selected register by writing or reading respectively the data register at address 71h Do not change values stored in the RTC registers listed as RESERVED in the table below Doing so will interfere with proper cpuModule operation Registers of the Real Time Clock are shown below Real Time Clock Registers NEN S __ Tee _ decimal Bytes ett a ws om T p Lm o o p RTC access is illustrated in the following QuickBasic program fragment Reference APP note ANC114 at http www rtd com appnote ANC1 14 pdf CMG16686GX RTD Embedded Technologies Inc 100 Parallel Port Control The parallel port may be operated in SPP output only EPP bi directional and ECP extended ca pabilities modes The mode may be se
33. CMG16686GX cpuModulle eee 8 SPE CIICALONS id edel etur ost ie 10 Getting 13 Basic Connector Locations cccccccccccceseesessecececeeeeeessnseaeeeseceeeenes 14 Fail safe boot 16 Kits e epe HR e e eG ies 17 COMME CINE PO WET So ouem a te sem b ata E UR pese ae ue i 18 Connecting the utility cable ete tiet entere 19 Connecting d Keyboard usce edu ii nva tur Ee eR 20 Connecting to the PC 104 Bus 21 Default Configuration cod era dent puce idu tr eode adc tds 22 Booting to Boot Block Flash with Fail Safe Boot ROM 24 If You Misconfigure the cpuModule eee 25 For More Information seen eene nennen nennen 26 Connecting the cpuModule 27 CONNEC ONS I e ei dbi 28 Connector Locations tette eee NI DE EIE 30 Auxiliary Power CN3 ua uve ode EUR 3l Advanced Digital I O Ports aDIO multiPort CN6 33 Serial Pott T2 GN i etie ette e e ete ede ee Coen 34 Serial Port 2 GINYET ke eA ML No m ea E A 37 multiPort Parallel Port CN6 ssseeeee 40 Multifunction Connector CNS eese ehe en ne 42 VGA Video Connector CN12 nemen nnne 44 Flat Panel Video Connector CNS eee 46 Bus Mouse Connector
34. CR bit 1 1 then RTS 0 and serial transmit ters are disabled IfMCR bit 1 0 then RTS 1 and serial transmit ters are enabled For more information on the serial port registers including the MCR please refer to a standard PC AT hardware reference for the 16550 type UART CMG16686GX RTD Embedded Technologies Inc 36 Serial Port 2 CN11 The second serial port is implemented on connector CN11 It is normally configured as a PC com patible full duplex RS232 port but you may use the Setup program to re configure is as half or full duplex RS422 or RS485 The I O address and corresponding interrupt must also be selected using Setup The available I O addresses and the corresponding interrupts are shown in the following table Second Serial Port Settings Address Default IRQ 03F8H IROA 02F8H IRQ3 03E8H IRQ4 02E8H IRQ3 Second Serial Port UART The second serial port is implemented with a 16550 compatible UART Universal Asynchronous Receiver Transmitter This UART is capable of baud rates up to 115 2 kbaud in 16450 and 16550A compatible mode and 1 5 Mbaud in Enhanced UART mode and includes a 16 byte FIFO Please refer to any standard PC AT hardware reference for the register map of the UART RS232 Serial Port Default The full duplex RS232 mode is the default setting on the cpuModule With this mode enabled the serial port connector must be connected to RS232 compatible devices The following table gives
35. EN Insufficient current supply will prevent your cpuModule from booting The gauge and length of the wire used for connecting power to the cpuModule must be taken into consideration Some power connectors have clip leads on them and may have significant resistance Make sure that the input voltage does not drop below 4 8V at the 5V power pins see the table labeled Typical Power Con sumption for the cpuModule s power requirements A good rule of thumb is to use wire that can supply twice the power your system requires Connect two separate wires to the 5V pins 2 and 8 on the power connector to ensure a good power supply We rec ommend that no less than 22 gauge wire be used and the length of this wire should not exceed 3 ft Always measure the voltage drop from your power supply to the power pins on the cpuModule The voltage at pins 2 and 8 should be T5V CMG16686GX RTD Embedded Technologies Inc 31 Facing the connector pins the pinout of the Auxiliary Power connector is 11 9 7 5 3 1 7 NOTES 5 VDC 12 VDC and 12 VDC voltages are not used by the module but are connected to the PC 104 bus connectors CN1 and CN2 The 3 3 volt pins 10 and 12 on power connector CN3 can be are used to monitor the onboard 3 3 voltage regulator In effect these pins 10 and 12 become outputs Don t use these pins as a source of 3 3 volts to another board and don t connect these pins to a 3 3 volt power sup
36. First e Integrated e No Onboard Select Active Video Video memo Select the amount of DRAM to allocate to video ry size memory e 15 1 5 MB video memory e 25 2 5 MB video memory CMG16686GX RTD Embedded Technologies Inc 75 CMG16686GX RTD Embedded Technologies Inc 76 CHAPTER 5 USING THE CPUMODULE This chapter provides information for users who wish to develop their own applications programs for the cpuModule This chapter includes information on the following topics Memory map O Address map Interrupts Power On Self Tests POSTs System Functions Watchdog Timer Real Time Clock Storing Applications in Solid State Disk Utility Programs CMG16686GX RTD Embedded Technologies Inc 77 Memory Map The ISA portion of the cpuModule addresses memory using 24 address lines This allows a maxi mum of 22 locations or 16 Megabytes of memory The table below shows how memory in the first megabyte is allocated in the system First Megabyte Memory Map FFFFFH 256 KB BIOS in Flash EPROM shadowed into DRAM dur C0000H ing runtime ROM EFFFFH Run time user memory space Usually memory between C0000H and C7FFFH is used for the BIOS of add on VGA video cards BFFFFH Normally used for video RAM as follows A0000H EGA VGA to OAFFFFH Monochrome 0B0000H to 0B7FFFH CGA 0B8000H to OBFFFFH 9FFFFH DOS reserved memory area 00502H 00501H BIOS
37. GX RTD Embedded Technologies Inc 23 Booting to Boot Block Flash with Fail Safe Boot ROM The Fail Safe Boot ROM is a special build of ROM DOS located inside a surface mounted Boot Block Flash chip that is memory mapped to the SSD window Boot Block Flash is a write protected flash device that contains the BIOS and extra room where the Fail Safe Boot ROM is stored in the ROM DISK The build is special because it can understand the ROM DISK format on the flash chip Additionally Fail Safe Boot ROM is an emergency interface accessible by an external computer The ROM DISK contains REMDISK and REMSERVE for remote access to the system s disk drives Due to the size of the flash chip Fail Safe Boot ROM contains an abbreviated selection of the ROM DOS utilities however the complete ROM DOS is contained on a CD shipped with the board The purpose of the Fail Safe Boot ROM is to make the board bootable when the customer receives the cpuModule Fail Safe Boot ROM can be used as an indicator of the board s functionality when booting problems arise with another operating system This test can be accomplished by installing JP5 Installing JP5 forces the cpuModule to boot to Fail Safe Boot ROM The ROM DISK that con tains the Fail Safe Boot ROM acts as an example of what can be programmed into the flash chip Last Fail Safe Boot ROM allows files to be transferred on or off the storage devices in the system by use of REMSERV and REMDISK two ROM DOS
38. IOS only 2 Program all onboard super I O chips if any including COM ports LPT ports FDD port according to setup value C NNNM E 1 Initialize all ISA ROMs 2 Later PCI initialization PCI BIOS only assign IRQ to PCI devices initialize all PCI ROMs PnP Initialization PnP BIOS only assign IO Memory IRQ amp DMA to PnP ISA devices initialize all PnP ISA ROMs Program shadows RAM according to Setup settings Program parity according to Setup setting Power Management Initialization Enable Disable global PM APM interface initial ization 1 If it is NOT a PnP BIOS initialize serial amp parallel ports 2 Initialize time value in BIOS data area by translate the RTC time value into a timer tick value a eoe S CMG16686GX RTD Embedded Technologies Inc 87 RTD Enhanced Award BIOS POST Codes 3D 1 Initialize Keyboard 2 Install PS2 mouse 3E Try to turn on Level 2 cache Note Some chipset may need to turn on the L2 cache in this stage But usually the cache is turn on later in POST 61h Enable FDD and detect media type 4 If there is any error detected such as video kb show all the error messages on the screen amp wait for user to press lt F1 gt key 1 If password is needed ask for password 2 Clear the Energy Star Logo Green BIOS only Program defaults values into chipset according to the MODBINable Chipset Default Ta ble 1 Program the rest of the Chipset s value according to Setup Later
39. IOW I O Write active low When active it allows the peripheral devices to read data present on the data bus IRQx Interrupt Request x 2 to 15 active on rising edge IRQ15 has top priority the other lines have decreasing priority starting from IRQ14 down to IRQ2 An interrupt request is performed by changing the lev el of the corresponding line from low to high and keeping it high until the microprocessor has recognized it N A These locations contain mechanical keying pins to help prevent incor rect connector insertion LA23 LA17 These signals select a 128kbyte window in the 16Mbyte address space available on the bus CMG16686GX RTD Embedded Technologies Inc 51 PC 104 Bus Signals MASTER I During a DMA cycle this active low signal indicates that a resource on the bus is about to drive the data and address lines MEMCS 16 I Memory Chip Select 16 bit this line active low is controlled by de vices mapped in the memory address space and indicates they have a 16 bit bus width MEMR This active low signal indicates a memory read operation Devices us ing this signal must decode the address on lines LA23 LA17 and 19 8 0 MEMW T O This active low signal indicates a memory write operation Devices using this signal must decode the address on lines LA23 LA17 and SA19 SA0 OSC OSCillator clock with a 70 ns period and a 50 duty cycle Itis a 14 31818 MHz always presents REFRESH I This cpuModule does
40. M allows the system to boot without any attached storage devices i e floppy IDE SSD Installing jumper JP5 will force the cpuModule to use fail safe boot ROM This configuration allows you to boot to non volatile onboard ROM DOSTM CMG16686GX RTD Embedded Technologies Inc 16 Cable Kits For maximum flexibility cables are not provided with the cpuModule You may wish to purchase our cable kit for the cpuModule The XK CM34 cable kit contains the following Multifunction utility cable keyboard socket battery reset speaker SVGA monitor DIL 10 to high density 15 pin D SUB Two serial port cables DIL10 to DSUB9 multiPort port cable DIL26 to DSUB25 Power cable DIL12 to wire leads Dual USB cable 4 Pin SIL to USB PS 2 Mouse adapter 4 Pin DIL to PS 2 Female CMG16686GX RTD Embedded Technologies Inc 17 Connecting Power WARNING If you improperly connect power the module will almost certainly be damaged or destroyed Such damage is not warranted Please verify connections to the module before applying power Power is normally supplied to the cpuModule through the PC 104 bus connectors CN1 and CN2 If you are placing the cpuModule onto a PC 104 stack that has a power supply you do not need to make additional connections to supply power If you are using the cpuModule without a PC 104 stack or with a stack that does not include a power supply refer to Auxiliary Power CN3 for more details CMG166
41. Specifications CMG16686GX233 e National Semiconductor Geode MMX enhanced microprocessor e 233 MHz clock speed e 2 0 V processor supply provided on board e 16KBLI cache Math coprocessor CMG16686GX300 e National Semiconductor Geode GX1 MMX enhanced microprocessor e 300 MHz clock speed e 2 0 V processor supply provided on board e 16 KB L1 cache e Math coprocessor CMG16686GX333 e National Semiconductor Geode GX1 MMX enhanced microprocessor e 333 MHz clock speed e 2 2 V processor supply provided on board e 16 KB L1 cache e coprocessor Video Controller SVGA monitor output supports 640 x 480 with 256 colors and 60 72 75 85 Hz refresh 640 x 480 with 65536 colors and 60 72 75 85 Hz refresh 800 x 600 with 256 colors and 60 72 75 85 Hz refresh 800 x 600 with 65536 colors and 60 72 75 85 Hz refresh 1024 x 768 with 256 colors and 60 70 75 85 Hz refresh 1024 x 768 with 65536 colors and 60 70 75 85 Hz refresh 1280 x 1024 with 256 colors and 60 75 85 Hz refresh 1280 x 1024 with 65536 colors and 60 75 85 Hz refresh DMA Interrupts Timers e Six 6 DMA channels 8237 compatible e Fifteen 15 interrupt channels 8259 compatible e Three 3 counter timers 8254 compatible USB ports e 2 USB 1 0 ports Advanced Digital I O aDIO Two 8 bit TTL compatible programmable Digital I O Ports One port is bit direction programmable and the other is byte direction programable Advanced Interrup
42. U spends in the interrupt is dependent on the efficiency of the code in the ISR These numbers are general guide lines and will fluctuate depending on operating system and version The amount of information that can be moved during an interrupt theoretically can be 4 MB Sec on a 8 MB bus using the INS or MOVS instruction with the REP prefix These instructions are in assembly language Interrupt Request Lines To allow different peripheral devices to generate interrupts on the same computer the PC bus has eight different interrupt request IRQ lines A transition from low to high on one of these lines gen erates an interrupt request which is handled by the PC s interrupt controller The interrupt controller checks to see if interrupts are to be acknowledged from that IRQ and if another interrupt is already in progress it decides if the new request should supersede the one in progress or if it has to wait until the one in progress is done This prioritizing allows an interrupt to be interrupted if the second re quest has a higher priority The priority level is based on the number of the IRQ IRQO has the high est priority IRQ1 is second highest and so on through IRQ7 which has the lowest Many of the IRQs are used by the standard system resources IRQO is used by the system timer IRQ is used by the keyboard IRQ3 by COM2 IRQ4 by COMI and IRQ6 by the disk drives Therefore it is im portant for you to know which IRQ lines are available in
43. acturers Installing BIOS Extension Devices To install these devices follow this procedure e Apply power to the cpuModule and run Setup e Set A BIOS Extension Window on the advanced setup page The memory window selected for a BIOS extension device must not be used by any other program or hardware device Make sure this window is not used by EMM386 or another memory manager Ethernet card PCMCIA card etc Save your changes and exit Setup Turn off the cpuModule Install the BIOS Extension Device into the socket Reboot the cpuModule The BIOS Extension Device should appear as the next available hard drive in your system If there is no other hard drive installed it will appear as drive C e Format the new drive using the DOS format command If you wish to make the drive bootable you must format it using the s switch of the format command Refer to your OS manual for more information e f you wish to boot from the BIOS Extension Device run Setup and disable any other hard drive Set the boot device to Hard Drive The cpuModule will not boot to a BIOS Ex tension Device if another hard drive is enabled CMG16686GX RTD Embedded Technologies Inc 105 Using Conventional Solid State Devices You can use numerous memory types to implement a Conventional Solid State Disk Depending on the devices used you may implement read write read only or write once read many type drives Advantages of using the Conven
44. ains information to configure the cpuModule Topics covered in this chapter include Entering Setup Default Configuration Disabling Fail Safe Boot ROM Configuring Using the Setup Program Adding SSD Memory CMG16686GX RTD Embedded Technologies Inc 55 Entering the BIOS Setup Apply power to the system Repeatedly press the DEL key to enter setup CMG16686GX RTD Embedded Technologies Inc 56 Default Configuration In addition to the Setup configuration stored on the board the cpuModule has a permanent default configuration The system will resort to using this default if an error occurs when accessing the EPROM which holds the Setup on the module The default configuration is listed below Function IDE Interface 0 Master IDE Interface 0 Slave IDE Interface 1 Master IDE Interface 1 Slave Boot device BIOS Extension Floppy Drive 1 Floppy Drive 2 Serial por 1 Serial por 2 Keyboard Video Resolution SB Fail safe boot ROM Select Active Video Power Management PNP OS Installed N Resources Controlled By 9 PCI IRQ Activated IDE HDD Block Mode KBC Input Clock SSD Window Halt On Virus Warning CPU Internal Cache Cyrix 6X86 MII CPUID Swap Floppy Drive Boot Up Numlock Status Past Gate A20 Option Fast Security Option Report No FDD for Yes WIN95 Quick Boot Disabled Extended Memory Test Disabled ug n Play Support Enabled ISA PI CMG16686GX RTD Embedded Technologies Inc
45. anage ment functions to suit the application Doze Mode Select inactivity time delay before entering doze mode Disable Doze mode off 1 1 Second 2 2 Seconds 4 4 Seconds 8 8 Seconds 10 10 Seconds 12 12 Seconds 15 15 Seconds 16 16 Seconds Standby Mode des Rin inactivity time delay before entering standby mode e Disable Standby mode off e 1 Minute e 2 2 Minutes e 4 4 Minutes e 8 8 Minutes e 0 10 Minutes e 12 12 Minutes e 15 15 Minutes e 16 16 Minutes e 20 20 Minutes e 30 30 Minutes e 40 40 Minutes e 60 60 Minutes CMG16686GX RTD Embedded Technologies Inc 68 Power Management Setup Fields HDD Power Select inactivity time delay before hard disk power down e Disable HDD power down off 1 1 Minute 2 2 Minutes 4 4 Minutes 8 8 Minutes 10 10 Minutes 12 12 Minutes 15 15 Minutes 16 16 Minutes 20 20 Minutes 30 30 Minutes 40 40 Minutes 60 60 Minutes Down Select IRQ for modem wakeup NA Not Available 3 IRQ 3 4 IRQ 4 5 IRQ5 7 IRQ 7 9 IRQ 9 10 IRQ 10 11 IRQ 11 Modem use IRQ Throttle Duty Select throttle duty cycle Cycle e 12 5 12 5 Minimum savings 33 3 33 3 e 50 0 50 0 e 75 0 75 0 Maximum savings RING POWER Enable ON Controller Disable NET POWER Enable ON Controller Disable RTC Alarm Enable Function Disable RTC On b
46. are two kinds of beep codes in BIOS This code indicates that a video error has oc curred and the BIOS cannot initialize the video screen to display any additional information This beep code consists of a single long beep followed by three short beeps The other code indicates that your DRAM error has occurred This beep code consists of a single long beep repeatedly Error Messages One or more of the following messages may be displayed if the BIOS detects an error during the POST This list includes messages for both the ISA and the EISA BIOS CMOS BATTERY HAS FAILED CMOS battery is no longer functional It should be replaced CMOS CHECKSUM ERROR Checksum of CMOS is incorrect This can indicate that CMOS has become corrupt This error may have been caused by a weak battery Check the battery and replace if necessary DISK BOOT FAILURE INSERT SYSTEM DISK AND PRESS ENTER No boot device was found This could mean that either a boot drive was not detected or the drive does not contain proper system boot files Insert a system disk into Drive A and press Enter If you assumed the system would boot from the hard drive make sure the controller is inserted correct ly and all cables are properly attached Also be sure the disk is formatted as a boot device Then re boot the system DISKETTE DRIVES OR TYPES MISMATCH ERROR RUN SETUP Type of diskette drive installed in the system is different from the CMOS definition Run Setup to reconfi
47. contains brief descriptions of the PC 104 bus signals PC 104 Bus Signals AEN Address ENable when this line is active high it means a DMA transfer is being performed and therefore the DMA controller has control over the data bus the address bus and the control lines BALE Bus Address Latch Enable active high When active it indicates that address lines SAO to SA19 are valid DACKx DMA ACKnowledge x 0 7 active low used to acknowledge DMA requests DRQx DMA Request x 0 7 these are asynchronous lines used by peripheral devices to request DMA service They have increasing priority from DRQO up to DRQ7 A DMA request is performed by setting the DRQ line high and keeping it high until the corresponding DACK line is ac tivated ENDXFR This is the only synchronous signal of the PC 104 bus and it is active low It indicates that the current bus cycle must be performed with 0 wait states It is used only for 16 bit boards IOCHCHK I I O Channel Check active low indicates an error condition that can not be corrected IOCHRDY I I O Channel Ready this line usually high ready is pulled to a low level by devices which need longer bus cycles IOCS16 I I O Chip Select 16 bit this line active low is controlled by devices mapped in the I O address space It indicates they have a 16 bit bus width IOR I O Read active low indicates when the devices present on the bus can send their information on the data bus
48. ctly When enabled the Watchdog Timer must be periodically reset by your application program If it is not reset before the time out period of 1 2 seconds expires it will cause a hardware reset of the cpuModule Three functions have been implemented on the cpuModule for Watchdog Timer control These are e Watchdog Timer enable e Watchdog Timer disable e Watchdog Timer reset To enable the watchdog timer you must write a 1 to Bit 0 of I O register 1Eh To ensure compat ability with future designs you should read the register and only change the bit you need to change After you enable the watchdog timer you must reset it at least once every 1 2 seconds by reading I O 1Eh The data read does not matter To disable the watchdog timer you must write a 0 to Bit 0 of I O register 1Eh Enabling the watchdog timer is illustrated in the following QuickBasic program fragment temp INP amp HIE Read I O port 1Eh temp temp OR 1 Set LSB to 1 OUTPUT amp HIE temp Enable WDT When the watchdog timer is enabled it must be refreshed before it times out or it hardware reset the system Refreshing the watchdog timer is illustrated in the following QuickBasic program fragment temp INP amp HIE Read I O port 1Eh to refresh the WDT Disabling the watchdog timer is illustrated in the following QuickBasic program fragment temp INP amp HIE Read I O port 1Eh temp temp AND amp HFE Clear LSB to 0 OUTPUT amp HIE temp Disable WDT
49. ctors of the cpuModule are simply plugged onto a PC 104 stack to connect to other devices We recommend you follow the procedure below to ensure that stacking of the modules does not damage connectors or electronics WARNING Do not force the module onto the stack Wiggling the module or apply ing too much pressure may damage it If the module does not readily press into place remove it check for bent pins or out of place keying pins and try again Turn off power to the PC 104 system or stack Select and install standoffs to properly position the cpuModule on the PC 104 stack Touch a grounded metal part of the rack to discharge any buildup of static electricity Remove the cpuModule from its anti static bag Check that keying pins in the bus connector are properly positioned Check the stacking order make sure an XT bus card will not be placed between two AT bus cards or it will interrupt the AT bus signals Hold the cpuModule by its edges and orient it so the bus connector pins line up with the matching connector on the stack Gently and evenly press the cpuModule onto the PC 104 stack Booting the cpuModule for the First Time You can now apply power to the cpuModule You will see e the cpuModule BIOS version information e a message requesting you press Del to enter the Setup program If you don t press Del the cpuModule will try to boot from the current settings If you press Del the cpuM
50. data area 00400H 003FFH Interrupt vector area 00000H Memory beyond the first megabyte can be accessed in real mode by using EMS or a similar memory manager See your OS or programming language references for information on memory managers CMG16686GX RTD Embedded Technologies Inc 78 Input Output Address Map As with all standard PC 104 boards the Input Output I O space is addressed by 10 address lines SA0 SA9 This allows 210 or 1024 distinct I O addresses Any add on modules you install must therefore use I O addresses in the range 0 1023 decimal or 000 3FF hex If you add any PC 104 modules or other peripherals to the system you must ensure they do not use reserved addresses listed below or mal functions will occur The exception to this is if the resource has been released by the user The table below lists I O addresses reserved for the cpuModule CMG16686GX Addresses Reserved for the cpuModule Address Range 000H 00FH 010H 01FH 020H 021H 022H 02FH 040H 043H 060H 064H 070H 071H 080H 08FH OAOH 0A1H 0COH 0DFH OFOH 0FFH 100H 101H 1FOH 1FFH 200H 201H 238H 23BH 2E8H 2EFH 2F8H 2FFH 378H 37FH 3BCH 3BFH mm _ Hard disk NL a 4 Parallel port a RTD Embedded Technologies Inc 79 3E8H 3EFH 450H 453H aDIO Advanced Digital I O Select in BIOS a2DIO 1 floppy or IDE controller is not connected to the system the I O addresses l
51. dule Termi nation is usually necessary on all RS422 receivers and at the ends of the RS485 bus If the termination resistor is required it can be enabled by closing jump er 1 1 When using full duplex typically in 422 mode connect the ports as shown in the table below Full Duplex Connections When using half duplex in 485 connect the ports as shown in the table below Half Duplex 485 Mode Port 1 TXD Port 1 RXD Port 1 TXD Port 1 RXD Port 1 TXD Port 2 RXD Port 1 RXD Port 2 TXD CMG16686GX RTD Embedded Technologies Inc 35 RS422 and RS485 Mode Pinout The following table gives the pinout of the serial port connector when RS422 or RS485 modes are enabled Connector CN7 in RS 422 485 Mode Function iow DBs Data Carrier Detect m E C PssseRedy Receive Data Transmit Daa out in out Transmit Data out in out B9 1 2 7 3 T eseved Signa sound 5 Facing the serial port connector the pinout is 4 1 3 4 7 5 8 6 9 10 2 when using RS485 Mode When using the serial port in RS485 mode the serial transmitters are enabled and disabled under software control The transmitters are enabled by manipulating the Request To Send RTS signal of the first serial port controller This signal is controlled by writing bit 1 of the Modem Control Register MCR as follows IfM
52. ed below Setup Keys gt lt move between fields v selects next previous values in fields Go to the submenu for the field to previous menu then to exit menu CMG16686GX RTD Embedded Technologies Inc 62 Main Menu Setup Fields The following is a list of Main menu Setup fields Main Menu Setup Fields Active keys Selections Standard CMOS Press lt Enter gt commonly used settings for the floppy Setup to select drives hard disks and video BIOS Features Press lt Enter gt Access settings for BIOS features such as boot se Setup to select quence keyboard options and test options Chipset Features Press lt Enter gt Set chipset specific options Setup to select Power manage Press lt Enter gt Set power management options ment Setup to select PNP PCI Config Press lt Enter gt Set PNP and PCI options uration Setup to select Load RTD De Press lt Enter gt Load setup defaults except Standard CMOS Setup faults to select Integrated Pe Press lt Enter gt Set I O device options ripherals to select Supervisor Pass Press lt Enter gt Set supervisor access password word to select User Password Press lt Enter gt Set user access password to select IDE HDD Auto Press lt Enter gt Have the BIOS detect the IDE hard disks connected Detection to select to the system Save and Exit Press lt Enter gt Save your changes and exit Setup Setup to select Exit without Press lt Enter gt
53. ens the cor rect procedure is Start Re booting the cpuModule While the system is re booting repeatedly press the Del key until the cpuModule enters Set up Change the parameters to correctly match your system If the above fails Insert jumper JP5 This will force the cpuModule to boot using fail safe boot ROM Boot the cpuModule Press the delete key to enter Setup CMG16686GX RTD Embedded Technologies Inc 25 For More Information This chapter has been intended to get the typical user up and running quickly If you need more de tails please refer to the following chapters for more information on configuring and using the cpu Module CMG16686GX 26 Phone 814 234 8087 Fax 814 234 5218 RTD Embedded Technologies Inc 103 Innovation Blvd State College PA 16803 0906 USA Our website www rtd com Our e mail techsupport rtd com RTD Embedded Technologies Inc CHAPTER 3 CONNECTING THE CPUMODULE This chapter contains necessary information for any of the connectors on the cpuModule CMG16686GX RTD Embedded Technologies Inc 27 VO Connections The cpuModule comes from the factory ready to connect to the peripherals shown in the following table Default Peripheral Settings eme mu Pot disabled abled Setup 1 and 2 Video Resolution Resolution 2 25MBHigh MB 25MBHigh o Setup If you are using peripherals compatible wit
54. es PromDisk Boot Block Flash ac cx p battery backup NOVRAM NOAM SRAM Battery backup UM ees BV Flash a Se ee AMD 5V Fish MONE EPROM CMG16686GX RTD Embedded Technologies Inc 60 Quick Boot Description The BIOS contains a Quick Boot option which minimizes the boot time for standard time critical systems Quick Boot eliminates the exhaustive tests that are performed during POST while maintaining the functionality of the board see note 1 By enabling the Quick Boot feature your system can achieve 5 second boot times as shown in the table below BIOS Settings and Boot Times Normal Boot Quick Boot Standard RTD Defaults 16 seconds lt 10 seconds Primary Master None Primary Slave None Secondary Master None Secondary Slave None 20 seconds lt 6 seconds Device in SSD Socket 1 ATMEL 512k SSD Window D800 0000 Drive A SSD Same configuration as above including 18 seconds lt 5 seconds ISA Plug n Play Support Disabled To achieve boot times of 6 seconds or less you will have to disable the HDD and possibly any other devices attached to the IDE controller Booting to a SSD see note 2 device is faster than a hard drive To achieve boot times of 5 seconds or less ISA Plug n Play Support must be disabled If there is not an ISA PnP card attached to your system then disabling this feature will
55. ete and rename files without using any special utilities Conventional Solid State Disk can use a variety of memory devices such as Atmel 5 volt only Flash Intel 12 volt Flash AMD 5 volt Flash Static RAM NOVRAM EPROM to create a Solid State Disk When used with Atmel 5 volt Flash SRAM or NOVRAM the SSD appears similar to a read write floppy disk to DOS allowing you to copy delete and rename files in the SSD without using any special utilities When used with other Flash or EPROM you can create file to program the device with the RIMAGE program These methods are described in detail in the following sections CMG16686GX RTD Embedded Technologies Inc 104 Using BIOS Extension Devices You can use BIOS Extension Devices like M Systems DiskOnChip and MCSI PromDisk to im plement a Solid State Disk which can be read and written using normal disk commands Advantages of using these devices include e Storage capacity up to 1 GB per socket more in the future e Full read write capability using standard OS file commands Integrated support for other operating systems is possible contact M Systems for information Parts supported by the cpuModule include e M Systems 2000 series MD2203 D1024 1 GB down to 16 MB e Optional alternate operating system versions of the above parts e MCSI PromDisk 72300 4MB e MCSI PromDisk 72301 8MB Our website at www rtd com provides links to the websites of these manuf
56. gure the drive type correctly DISPLAY TYPE HAS CHANGED SINCE LAST BOOT Since last powering off the system the display adapter has been changed You must configure the system for the new display type CMG16686GX RTD Embedded Technologies Inc 83 ERROR ENCOUNTERED INITIALIZING HARD DRIVE Hard drive cannot be initialized Be sure the adapter is installed correctly and all cables are correctly and firmly attached Also be sure the correct hard drive type is selected in Setup ERROR INITIALIZING HARD DISK CONTROLLER Cannot initialize controller Make sure the cord is correctly and firmly installed in the bus Be sure the correct hard drive type is selected in Setup Also check to see if any jumper needs to be set cor rectly on the hard drive FLOPPY DISK CNTRLR ERROR OR NO CNTRLR PRESENT Cannot find or initialize the floppy drive controller Make sure the controller is installed correctly and firmly If there are no floppy drives installed be sure the Diskette Drive selection in Setup is set to NONE KEYBOARD ERROR OR NO KEYBOARD PRESENT Cannot initialize the keyboard Make sure the keyboard is attached correctly and no keys are being pressed during the boot If you are purposely configuring the system without a keyboard set the error halt condition in Setup to HALT ON ALL BUT KEYBOARD This will cause the BIOS to ignore the missing keyboard and continue the boot MEMORY ADDRESS ERROR AT Indicates a memory address err
57. h this list you do not need to configure any jumpers or software settings before connecting them If you are using different peripherals you may need to change the cpuModule settings In that case please see Configuring with the RTD Enhanced Award BIOS CMG16686GX RTD Embedded Technologies Inc 28 CMG16686GX RTD Embedded Technologies Inc 29 Connector Locations The figure and table below show all connectors and the SSD socket of the cpuModule CMG16686GX Connector Locations B2 JP9 CN11 CMG16686GX Dooooooooooooooo PPXIo0000090000000000000000000000 PEMIOC000000000000000000000000000 CN PEX3o000000000000000 ooo OHMIEREIoo0000000000o000o0l9 MOUSE CN3 CN2 CN4 Pin 1 of each connector is indicated by a square solder pad on the bot tom of the PC board and a white box silkscreened on the top of the board Function Size CNI N2 6 CMG16686GX RTD Embedded Technologies Inc 30 Auxiliary Power CN3 WARNING If you improperly connect power the module will almost certainly be destroyed Please verify power connections to the module before applying power The power supply can be conveyed to the module either through the PC 104 bus CN1and CN2 or through the Auxiliary Power Connector CN3 The cpuModule only uses 5 VDC and ground 12 VDC 12 VDC and 5 VDC may be required on other PC 104 boards in the system Auxiliary Power Connector CN3 Sig uncia E
58. he two modes are match and event Match mode generates an interrupt when an eight bit pattern is received in parallel that matches the match mask register The second ADI mode generates an interrupt when a change occurs on any bit In either mode masking can be used to monitor se lected lines When the CPU boots all digital I O line are programmed as inputs What this condition means is the digital I O line s initial state is undetermined If the digital I O lines must power up to a known state an external 10 K Ohm resistor must be added to pull the line high or low Additionally when the CPU boots up interrupts 5 7 10 11 and 12 are masked off The 8 bit control R W registers for the digital I O lines are located from I O address 450H to 453H These registers are written to zero upon power up From 450H to 453H the name of these registers are Port 0 data Port 1 data Multi Function and DIO Control register Digital I O Register Set Port 0 data I O address 450 HEX D7 D5 D4 D3 D2 j D Do P0 7 P0 6 P0 5 P0 4 P0 3 P0 2 1 P0 0 Port O Data register is a read write bit direction programable register A particular bit can be set to input or output A read of an input bit returns the value of port 0 A read of an output bit returns the last value written to Port 0 A write to an output bit sends that value to port zero Port 1 data I O address 451 HEX D7 D5 DA D3 D2 D Do P1 7 P1 6 P1 5 1 4 P
59. ial port is implemented with a 16550 compatible UART Universal Asynchronous Re ceiver Transmitter This UART is capable of baud rates up to 115 2 kbaud in 16450 and 16550A compatible mode and 1 5 Mbaud in Enhanced UART mode and includes a 16 byte FIFO Please refer to any standard PC AT hardware reference for the register map of the UART RS232 Serial Port Default The full duplex RS232 mode is the default setting on the cpuModule With this mode enabled con nector CN7 must be connected to RS232 compatible devices The following table gives the connec tor pinout and shows how to connect to an external serial connector either DB25 or DB9 compatible Connector CN7 in RS 232 Mode Signal Foncion imou DB25 DB Tesco 3 Dae SerReady 6 6 6 ers Ceos n f 5 8 R medicae n 22 9 9 10 oND Signal Gromd 1 7 5 CMG16686GX RTD Embedded Technologies Inc 34 Facing the serial port s connector pins the pinout is RS422 or RS485 Serial Port You may use Setup to configure the first serial port as RS422 or RS485 In this case you must con nect the serial port to an RS422 or RS485 compatible device When using RS422 or RS485 mode you can use the port in either half duplex two wire or full duplex four wire configurations For half duplex 2 wire operation you must connect RXD to TXD and connect RXD to TXD A 120 ohm termination resistors is provided on the cpuMo
60. id State Disk or fail safe boot ROM CMG16686GX RTD Embedded Technologies Inc 11 Connections AT bus per PC 104 specifications 64 pin CN1 40 pin CN2 Auxiliary Power Connector 12 pin CN3 PS 2 Mouse Connector 4 pin CN4 Multifunction connector 10 pin CNS multiPort 26 pin CN6 Serial port 1 connector 10 CN7 Serial port 2 connector 10 pin CN11 SVGA Monitor connector 10 pin CN12 TFT Flat Panel 30 pin CN8 Dual USB port connector 10 pin CN17 Two 8 bit Digital I O Ports CN6 Physical Characteristics e Dimensions 3 55 x 3 775 x 0 6 inches 95 9 x 16mm e Weight mass 3 5 ounces 100 grams e 12 layer mixed surface mount and thru hole Operating environment e Power supply 5V 5 10 Watts e 686 processor operating temperature 40 to 85 degrees C case with proper cooling See 686GX Processor Thermal Management e Operating relative humidity 0 to 95 non condensing e Storage temperature 55 to 125 degrees Power Consumption Exact power consumption depends on the peripherals connected to the board the selected SSD con figuration and the memory configuration The table below lists power consumption for typical configurations and clock speeds CMG16686GX233 5 6 W 32 or 128 Internal 233 MHz or 256 MB CMG16686GX300 6 32 0r 128 None Internal 300 MHz or 256 MB 3 W CMG16686GX333 6 8W 320r 128 None Internal 333 MHz or 256 MB CMG16686GX RTD Embedded Technologies Inc
61. implies is one must read the Compare Register then clear interrupts so that the latched value in the compare register is not lost Interrupt Generation Digital IRQ Mode Digital IRQ Enable uL o pit Event Mode 3 o Stobe Mode tit Match Mode Interrupt Selection The interrupt selection register is at I O address 0x1F HEX This is a 4 bit read write register for selecting the IRQ used for the digital I O Setting the interrupt here actually connects the interrupt generating circuitry to the ISA bus If you want to monitor interrupts on the bus look at pins B23 B21 D3 D4 and DS see the description of the PC 104 connector Interrupt Select Register at I O address 0x1F HEX IRQ Select Values and Settings Disabled i imos oo mar Xon ma Xi imam XOX CMG16686GX RTD Embedded Technologies Inc 95 Basic Interrupt Information for Programmers All information below only addresses the DIO on this board Interrupts are connected to IRQs 5 7 10 11 and 12 on the ISA bus PC104 bus and are controlled by two 8259 equivalent interrupt con trollers containing 13 available interrupt request lines Minimum time between two IRQ requests is 125 nanoseconds as set by ISA specification What is an Interrupt An interrupt is a subroutine called asynchronously by external hardware usually an I O device dur ing the execution of another applicati
62. into the DIO Compare register at 8 33 MHz There is a deglitching circuit inside the DIO circuitry The deglitching requires pulses on Port 0 to be at least 120 nanoseconds in width As long as changes are present longer than that the match is guaranteed to register Pulses as small as 60 nanoseconds can register as a match but they must occur between the rising and falling edge of the 8 33 MHz clock To enter Match mode set bit 3 of the DIO Con trol register to a one Note Make sure bit 3 is set BEFORE writing the DIO Compare register If you do not set bit 3 first the contents of the DIO Compare register could be lost The reason for this is Event mode latches in Port 0 into the DIO Compare register at an 8 33 MHz rate CLOCK DIGITAL INPUT IRQ OUT CMG16686GX RTD Embedded Technologies Inc 94 Strobe Mode There is another way to cause an interrupt is to write a zero to the Digital IRQ Enable bit of the DIO Control register and write a one to the Digital IRQ Mode bit in the DIO Control register What these writes do is to allow the strobe pin of the DIO connector to trigger an interrupt A low to high tran sition on the strobe pin will cause an interrupt request The request will remain high until the Clear Register is read from Additionally the Compare Register latched in the value at Port 0 when the Strobe pin made a low to high transition No further strobes will be available until a read of the Com pare Register is made What this
63. is GRND GRND DATAI DATAI 1 GRND GRND DATA2 f DATA2 VCC2 10 8 6 4 2 RTD Embedded Technologies Inc PC 104 Bus CN1 and CN2 Connectors CN1 and CN2 carry signals of the PC 104 bus these signals match definitions of the IEEE P996 standard The following tables list the pinouts of the PC 104 bus connectors The following table lists the signals of the XT portion of the PC 104 bus see Notes below AT Bus table PC 104 XT Bus _ CN1 o RO IOCHRDY Keying pin AEN mw 19 SMEMR SAIS SA16 DACK3 SA15 DRQ3 SA14 DACKI SA13 DRQI SA12 REFRESH SA11 SYSCLK SA10 IRQ7 m ma mo S 5 6 RO gt DACK2 CMG16686GX RTD Embedded Technologies Inc 49 The following table lists signals of the AT portion of the PC 104 bus PC 104 AT Bus Connector CN2 MEMW DACK5 SD8 DRQS5 SD9 DACK6 Notes SA bus refresh is not supported by this cpuModule Keying pin positions have the pin cut on the bottom of the board and the hole plugged in the connector to prevent misalignment of stacked modules This is a feature of the PC 104 specification and should be implemented on all mating PC 104 modules Signals marked with are active low bus lines can drive a maximum current of 4 mA at TTL voltage levels CMG16686GX RTD Embedded Technologies Inc 50 PC 104 Bus Signals The following table
64. isable the NMI and continue to boot or you can reboot the system with the NMI enabled RAM PARITY ERROR CHECKING FOR SEGMENT Indicates a parity error in Random Access Memory SYSTEM HALTED CTRL ALT DEL TO REBOOT Indicates the present boot attempt has been aborted and the system must be rebooted Press and hold down the CTRL and ALT keys and press DEL FLOPPY DISK S fail 80 Unable to reset floppy subsystem FLOPPY DISK S fail 40 Floppy Type mismatch Hard Disk s fail 80 HDD reset failed Hard Disk s fail 40 HDD controller diagnostics failed Hard Disk s fail 20 HDD initialization error Hard Disk s fail 10 Unable to calibrate fixed disk Hard Disk s fail 08 Sector Verify failed KEYBOARD ERROR OR NO KEYBOARD PRESENT Cannot initialize the keyboard Make sure the keyboard is attached correctly and no keys are being pressed during the boot BIOS ROM CHECKSUM ERROR SYSTEM HALTED The checksum of ROM address F0000H FFFFFH is bad MEMORY TEST FAIL BIOS reports the memory test fail if the onboard memory is tested error CMG16686GX RTD Embedded Technologies Inc 85 RTD Enhanced Award BIOS POST Codes 2 Enable Keyboard Interface 1 Program the configuration register of Cyrix CPU according to the MODBINable Cyrix Register Table 2 OEM specific cache initialization if needed 1 Initialize the first 32 interrupt vectors with corresponding Interrupt handlers Initialize INT no from
65. isted will not be occupied Only one of the I O addresses shown for a Serial port is active at any time You can use Setup to select which one is active or to disable it entirely 9 Only one of the I O addresses shown for the Parallel printer port is active at any time You can use Setup to select which one is active or to disable it entirely If a PS2 mouse is not connected to the system the I O addresses listed will not be occupied CMG16686GX RTD Embedded Technologies Inc 80 Hardware Interrupts If you add any PC 104 modules or other peripherals to the system you must ensure they do not use interrupts needed by the cpuModule or malfunctions will occur The cpuModule supports the standard PC interrupts listed below Interrupts not in use by hardware on the cpuModule itself are listed as available Hardware Interrupts Used on the cpuModule On board ISA device On board ISA device On board ISA device On board ISA device Lem ore Lo E Real Time Clock On board ISA device 2 available sometimes used as secondary IDE hard disk Floppy disk interrupt INT6 is available for use if no floppy disk is present in the system and flop py disk is disabled in Setup Hard disk interrupt INT14 is available for use if no hard disk drive is present in the system and hard disk is disabled in Setup CMG16686GX RTD Embedded Technologies Inc 81 The RTD Enhanced Award BIOS
66. ister Digital IRQ Mode 0 Event Mode 1 Match Mode Multi Function at Address 452 Hex Contents Based on Bits DO and D1 of DIO Control ner M7 M1 Oinl t 01 Port 0 Directi unie porova wr ms ma Ms M2 wi mo read write 11 Compare Clear Register A read to this register Clears the IRQs and a write to this register sets the DIO Compare DIO Mask DIO Control Port and PortO to zeros A write to this register is used to clear the board Port 0 Direction Register Writing a zero to a bit in this register makes the corresponding pin in the DIO connector an input Writing a one to a bit in this register makes the corresponding pin in the DIO connector an output Mask Register Writing a zero to a bit in this register will not mask off the corresponding bit in the DIO Compare register Writing a one to a bit in this register masks off the corresponding bit in the DIO Compare register When all bits are masked off the DIOs comparator is disabled This condition means Event and Match mode will not generate an interrupt This register is used by Event and Match modes Compare Register A Read Write register used for Match Mode Bit values in this register that are not masked off are compared against the value on Port 0 A match or Event causes bit 6 of DIO Control to be set and if the DIO is in Advanced interrupt mode the Match or Event causes an interrupt CMG16686GX RTD Embedded Technologies Inc 9
67. lected in Setup or by application software CMG16686GX RTD Embedded Technologies Inc 101 Processor Clock Control The processor clock is controller by solder jumpers on the board These are set at the factory and should not be adjusted Please see Power Consumption for a listing of Power Consumption CMG16686GX RTD Embedded Technologies Inc 102 Storing Applications On board The cpuModule was designed to be used in embedded computing applications In these applications magnetic media like hard disks and floppy disks are not very desirable It is better to eliminate mag netic storage devices and place your operating system and application software into the cpuModule s Solid State Disk SSD The following section describes two distinctly different ways you may use the Solid State Disk sock ets of the cpuModule These methods allows you to use a wide variety of memory devices to imple ment on board Solid State Disk storage each with its advantages and disadvantages CMG16686GX RTD Embedded Technologies Inc 103 Ways to Use the Solid State Disk Socket The ways to utilize the Solid State Disk socket of the cpuModule e Using a device which installs as a BIOS Extension e Using Conventional SSD Memory BIOS Extension Devices such as DiskOnChip and PromDisk provide a relatively large amount of read write disk space These devices generally appear similar to a conventional hard disk to DOS allowing you to copy del
68. lt 12 12 MHz 16 16 MHz Serial port 1 connector CN7 settings Disable Serial port not used Auto BIOS OS controls operation 3F8h IRQ 4 Address 3F8h and interrupt 4 2F8h IRQ 3 Address 2F8h and interrupt 3 3E8h IRQ 4 Address 3E8h and interrupt 4 2E8h IRQ 3 Address 2E8h and interrupt 3 Select mode for onboard serial port 1 RS 232 RS 232 driver receiver enabled RS 422 485 RS 422 485 driver receiver enabled Serial port 2 connector CN8settings Disable Serial port not used Auto BIOS OS controls operation 3F8h IRQ 4 Address 3F8h and interrupt 4 2F8h IRQ 3 Address 2F8h and interrupt 3 3E8h IRQ 4 Address 3E8h and interrupt 4 2E8h IRQ 3 Address 2E8h and interrupt 3 Select mode for onboard serial port 2 RS 232 RS 232 driver receiver enabled RS 422 485 RS 422 485 driver receiver enabled Selects mode for multiPort Connector CN6 Disabled Parallel aDIO advanced Digital I O RTD Embedded Technologies Inc 73 Onboard Paral lel Port If mul tiPort set to Parallel Parallel port mode If multi Port set to Par allel ECP mode use DMA If mul tiPort set to Parallel BIOS exten sion window device in SSD Socket SSD Window CMG16686GX 74 Integrated Peripherals Setup Fields Selects parallel port address and interrupt e Disable Parallel port not used e 378h IRQ7 Address 378h and interrupt 7 e 2781 IRQS Address 278h and interrupt
69. multifunction connector is the connection for an external backup battery in the range 2 40 V to 4 15 V typically 3 0 or 3 6 V This battery is used by the cpuModule when system power is removed to preserve the date and time in the Real Time Clock and preserve SRAM contents if the SSD jumpers are configured for battery backup CMG16686GX RTD Embedded Technologies Inc 43 VGA Video Connector CN12 The following table gives the pinout of the video connector VGA Video Connector CN12 Pim Sina Function Signs vse vertical Syne out _ 2 SYNC T Syne on 3 bbcsci Monitor communications clock RED Red analog output 5 PbCSDA Monitor communications daa bidi GREEN Green analog ouput 3 NC noom C s Bo analog oupa 9 eGo Facing the connector pins of CN12 the pinout is 9 7 5 3 1 EX CENE HN NO Supported Video Resolutions and BIOS Settings Resolution Colors Refresh Rate Minimum BIOS Video Resolution Setting 640x480 256 60 Low 1 25 MB 640 x 480 Low 1 25 MB __ Medium 15 MB eK 300x600 26 Low125MB 256 256 0 15 MB 800 x 600 64K 75 Medium 1 5 MB CMG16686GX RTD Embedded Technologies Inc 44 Supported Video Resolutions and BIOS Settings Resolution Refresh Rate Resolution Setting 800 x 600 1024 x 768 1024 768 256 0 102
70. nect a backup battery to the Multifunc when power is off tion connector cannot enter bios quick boot enabled with no install JP5 reboot and run qboot exe and hard drives reboot Bad video in Windows after Video memory setting too low go into the Bios setup and set video mem loading GEODE video ory to 4 0 MB Drivers CMG16686GX RTD Embedded Technologies Inc 120 Troubleshooting a PC 104 System If you have reviewed the preceding table and still cannot isolate the problem with your cpuModule please try the following troubleshooting steps Even if the resulting information does not help you find the problem it will be very helpful if you contact technical support Simplify the system Remove items one at a time and see if one particular item seems to cause the problem Swap components Try replacing items in the system one at a time with similar items CMG16686GX RTD Embedded Technologies Inc 121 How to Obtain Technical Support If after following the above steps you still cannot resolve a problem with your cpuModule please assemble the following information cpuModule model BIOS version and serial number list of all boards in system list of settings from cpuModule Setup program printout of autoexec bat and config sys files if applicable description of problem circumstances under which problem occurs Then contact factory technical support Phone 814 234 8087 Fax 814 234 5218 E mail techsupport
71. nhances standard AT compatible computer systems by adding one Solid State Disk socket a non volatile configuration without a battery a Watchdog Timer Fail Safe Boot ROM The next figure shows a simplified block diagram of the cpuModule CMG16686GX RTD Embedded Technologies Inc 8 32 or 128 MB MediaGX MMX RTD Enhanced 64 or 256 MB Enhanced BIOS SDRAM Processor Cx5530 I O Two USB ports Companion PC 104 ISA Bus IEEE 1284 Parallel Port RTC National PC97317 Keyboard RS 232 422 485 Super I O Serial Port RS 232 422 485 Serial Port Watchdog Timer You can easily customize the cpuModule by stacking PC 104 modules such as modems LAN con trollers or analog and digital data acquisition modules Stacking PC 104 modules on the cpuModule avoids expensive installations of backplanes and card cages and preserves the module s compact ness RTD Enhanced Award BIOS is also implemented in the cpuModule This BIOS supports ROM DOS MS DOS and Windows operating systems Drivers in the BIOS allow booting from floppy disk hard disk Solid State Disk boot block flash or DiskOnChip thus enabling the system to be used with traditional disk drives or non mechanical drives The cpuModule and BIOS are also compatible with most real time operating systems for PC com patible computers although these may require creation of custom drivers to use the SSD and watch dog timer CMG16686GX RTD Embedded Technologies Inc 9
72. odule will enter Setup Once you have configured the cpuModule using Setup save your changes and reboot By default boards are shipped with fail safe boot ROM enable When Fail Safe Boot ROM is enabled the system will boot to it exclu sively CMG16686GX RTD Embedded Technologies Inc 21 Default Configuration In addition to the Setup configuration stored on the board the cpuModule has a permanent default configuration The system will resort to using this default if an error occurs when accessing the EPROM which holds the Setup on the module The default configuration is listed below Function IDE Interface 0 Master IDE Interface 0 Slave IDE Interface 1 Master IDE Interface 1 Slave Boot device BIOS Extension Floppy Drive 1 Floppy Drive 2 Serial por 1 Serial por 2 Keyboard Video Resolution SB Fail safe boot ROM Select Active Video Power Management PNP OS Installed N Resources Controlled By 9 PCI IRQ Activated IDE HDD Block Mode KBC Input Clock SSD Window Halt On Virus Warning CPU Internal Cache Cyrix 6X86 MII CPUID Swap Floppy Drive Boot Up Numlock Status Past Gate A20 Option Fast Security Option Report No FDD for Yes WIN95 Quick Boot Disabled Extended Memory Test Disabled ug n Play Support Enabled ISA PI CMG16686GX RTD Embedded Technologies Inc 22 Video Bios Shadow Enabled C8000 DFFFF Disabled 16 bit I O Recovery 5 Clock BIO Recovery Cioc CMG16686
73. on The CPU halts execution of its current process by saving the system state and next instruction then jumps to the interrupt service routine executes it loads the saved system state and saved next instruction and continues execution Interrupts are good for handling infrequent events such as keyboard activity What happens when an Interrupt occurs An IRQx pin on the PC104 bus makes a low to high transition while the corresponding interrupt mask bit is unmasked and the PIC determines that the IRQ has priority the PIC interrupts the pro cessor The current code segment CS instruction pointer IP and flags are pushed on the stack the CPU reads the 8 bit vector number from the PIC and a new CS and IP are loaded from a vector indicated by the vector number from the interrupt vector table that exists in the lowest 1024 bytes of memory The processor then begins executing instructions located at CS IP When the interrupt service routine is completed the CS IP and flags that were pushed onto the stack are popped from the stack into their appropriate registers and execution resumes from the point where it was inter rupted How long does it take to respond to an interrupt A DOS operating system can respond to an interrupt between 6 15uS A windows system can take a much longer time when a service routine has been installed by a device driver implemented as a DLL from 250 1500uS or longer A VxD will take 20 60uS or longer The time the CP
74. or at a specific location You can use this location along with the memory map for your system to find and replace the bad memory chips MEMORY PARITY ERROR AT Indicates a memory parity error at a specific location You can use this location along with the mem ory map for your system to find and replace the bad memory chips MEMORY SIZE HAS CHANGED SINCE LAST BOOT Memory has been added or removed since the last boot In EISA mode use Configuration Utility to reconfigure the memory configuration In ISA mode enter Setup and enter the new memory size in the memory fields MEMORY VERIFY ERROR AT Indicates an error verifying a value already written to memory Use the location along with your sys tem s memory map to locate the bad chip OFFENDING ADDRESS NOT FOUND This message is used in conjunction with the I O CHANNEL CHECK and RAM PARITY ERROR messages when the segment that has caused the problem cannot be isolated CMG16686GX RTD Embedded Technologies Inc 84 OFFENDING SEGMENT This message is used in conjunction with the I O CHANNEL CHECK and RAM PARITY ERROR messages when the segment that has caused the problem has been isolated PRESS A KEY TO REBOOT This will be displayed at the bottom screen when an error occurs that requires you to reboot Press any key and the system will reboot PRESS F1 TO DISABLE NMI F2 TO REBOOT When BIOS detects a Non maskable Interrupt condition during boot this will allow you to d
75. ot in use by 386 or another memory manager or an Ethernet card PCMCIA card etc e Save your changes and exit Setup e Boot the cpuModule After booting the Solid State Disk will be seen by the system as a write protected floppy DOS com mands normally used to read floppy disks will work with the SSD Directly Accessing the Solid State Disk If you wish to directly access the Solid State Disk of the cpuModule contact the factory for additional information on doing so CMG16686GX RTD Embedded Technologies Inc 108 CHAPTER 6 HARDWARE REFERENCE This appendix gives information on the cpuModule hardware including e jumper settings and locations solder jumper settings and locations mechanical dimensions processor thermal management CMG16686GX RTD Embedded Technologies Inc 109 Jumpers Many cpuModule options are configured by positioning jumpers Jumpers are labeled on the board as JP followed by a number Some jumpers are three pins allowing three settings e pins 1 and 2 connected indicated as 1 2 e pins 2 and 3 connected indicated as 2 3 e no pins connected Some jumpers are two pin allowing two settings e pins 1 and 2 connected indicated as closed e pins 1 and 2 un connected indicated as open 1 2 The figure below shows the locations of the jumpers used to configure the cpuModule use the figure position the module with
76. rp e tite teet aes 102 Storing Applications On board eene 103 Ways to Use the Solid State Disk Socket 104 Using BIOS Extension Devices iato ra ine 105 Using Conventional Solid State Devices 106 Hardware Reference 109 e eset tor ia acum facetas tpe 110 Jumpers and Default Jumper Settings esee 112 Solder JUDGES eee spa regelt ose 113 Mechanical Dimensions td tread de 114 686GX Processor Thermal Management 115 Troubleshooting 117 Common Problems and Solutions eee 118 Troubleshooting a PC 104 System eene 121 How to Obtain Technical Support eee 122 How to Return Product Eee 123 Limited Warranty 125 CHAPTER 1 INTRODUCTION CMG16686GX Chapter 1 Chapter 2 Chapter 3 Chapter 4 Chapter 5 Chapter 6 Chapter 7 Chapter 8 This manual is meant for users developing with the CMG16686GX cpuModule It contains information on hardware and software of the cpuModule READ THE SPECIFICATIONS FIRST The manual is organized as follows Introduction Introduces main features and specifica
77. save at least 1 second Some modern operating systems Windows will automatically configure ISA PnP devices If using one of these operating systems ISA Plug n Play cards will still work even if it is disabled in the BIOS Check with your OS vendor to see if ISA auto configuration is supported Quick Boot in conjunction with the watch dog timer allows frozen systems or systems with temporary power loss to become operable again within a few seconds This can reduce the risk of complete system failure NOTE 1 NumLock will always be off on boot up when Quick Boot is enabled 2 DiskOnChip devices contain their own embedded firmware Boot times can vary because of its initialization process Contact M Systems for more information CMG16686GX RTD Embedded Technologies Inc 61 Configuring with the RTD Enhanced Award BIOS The cpuModule Setup program allows you to customize the cpuModule s configuration Selections made in Setup are stored on the board and are read by the BIOS at power on Starting Setup You can run Setup by Re boot the cpuModule and press the Del key When you are finished with Setup save your changes and exit The system will automatically reboot Using the Setup Program All displays in Setup consist of two areas The left area lists the available selections The right area displays help messages which you should always read Field Selection You move between fields in Setup using the keys list
78. se the same I O addresses keyboard does not work keyboard interface damaged check if keyboard LEDs light by misconnection wrong keyboard type verify keyboard is an AT type orswitch to AT mode Windows 3 1x installation smartdrive enabled remove smartdrive command from con program hangs fig sys reboot run install program floppy drive light always on cable misconnected check for floppy drive cable connected backwards CMG16686GX RTD Embedded Technologies Inc 119 two hard drives will not both drives configured for set one drive for master and the other for work but one does master slave operation consult drive documenta tion floppy does not work data error due to drive up orient drive properly upright or on its side down side will not boot when video illegal calls to video controller look for software trying to access non ex card is removed istent video controller for video sound or beep commands won t boot from PCMCIA booting from PCMCIA is boot from SSD use autoexec bat to load hard drive supported PCMCIA drivers run application from PCMCIA card COM port will not work in not configured for RS422 485 correctly configure serial port in Setup RS422 or RS485 modes program COM port will not transmit not enabling transmitters control RTS bit of Modem Control Reg in RS422 or RS485 mode Ister to enable transmitters see Serial Port descriptions date and time not saved no backup battery con
79. situation such as this in your program If DOS function X is being executed when an interrupt occurs and the interrupt routine makes a call to DOS function X then function X is essentially being called while it is already active Such a reentrance attempt spells disaster because DOS functions are not written to support it This is a complex concept and you do not need to understand it Just make sure that you do not call any DOS functions from within your ISR The one wrinkle is that unfortunately it is not obvious which library routines included with your compiler use DOS functions A rule of thumb is that routines which write to the screen or check the status of or read the keyboard and any disk I O routines use DOS and should be avoided in your ISR The same problem of reentrance exists for many floating point emulators as well meaning you may have to avoid floating point real math in your ISR CMG16686GX RTD Embedded Technologies Inc 97 The Code Refer to the DOS drivers that were shipped with this board or download them from our web site www rtd com The drivers are commented to help clarify their meaning Reading through the DOS drivers will give valuable insight into the board functionality CMG16686GX RTD Embedded Technologies Inc 98 Watchdog Timer Control The cpuModule includes a Watchdog Timer which provides protection against programs hanging or getting stuck in an execution loop where they cannot respond corre
80. t modes Interrupt on change Interrupt on match Interrupt on strobe Memory Configurations e 32MB e 128MB CMG16686GX RTD Embedded Technologies Inc 10 e 256MB Fail safe Boot ROM Surface mount Flash chip that holds ROM DOS e Replaces the previous DiskOnChip Solid State Disk Socket e SSD sockets can hold one of the following Conventional SSD devices Device Full Read Write 128Kbytes 256Kbytes 512Kbytes 1Mbyte Access NOVRAM EPROM AMD BV Flash ReaiOnh Full Read Write Maximum Number per Access cpuModule DiskOnChip yes 1 16 1GB 2000 DiskOnChip yes 1 1MB 2MB 1000 MOSI PromDisk 1MB 8MB 7 Larger devices may be available in the future Peripherals e Two serial ports software configurable for RS232 422 485 baud rates from 50 to 115200 baud in 16450 and 16550A compatible mode and 1 5 Mbaud in Extended UART mode Parallel port with SPP ECP EPP capability and selectable interrupts and DMA channel 16 bits of digital I O PC AT standard keyboard port A PS 2 mouse port PC speaker port Real Time Clock requires user supplied external battery for date and time backup Watchdog Timer with time out of 1 2 seconds BIOS RTD Enhanced Award BIOS Directly supports Solid State Disk SSD and M Systems DiskOnChip User configurable using built in Setup program Nonvolatile configuration without a battery Can boot from floppy disk hard disk Sol
81. the CPUID instruction CPUID PgDn e Enable Allow CPUID instruction e Disable Don t allow the CPUID instruction CMG16686GX RTD Embedded Technologies Inc 66 Chipset Features Setup The following is a list of Chipset Features Setup fields Chipset Features Setup Fields Recovery time is the length of time measured in CPU clocks which the system will delay after the completion of an input output request This delay takes place because the CPU is operating so much faster than the I O bus that the CPU must be delayed to allow for the completion of the I O 16 bit I O recov lt PgUp gt Set the recovery time for 16 bit I O cycles Selec ery Clocks lt PgDn gt tion is from 1 to 16 clocks Default is 5 8 bit I O recov lt PgUp gt Set the recovery time for 8 bit I O cycles Selection ery Clocks lt PgDn gt lis from 1 to 16 clocks Default is 5 USB Controller lt PgUp gt Enable lt PgDn gt Disable USB Legacy lt PgUp gt Support lt PgDn gt 20908 CMG16686GX RTD Embedded Technologies Inc 67 Power Management Setup Fields The following is a list of Power Management Setup fields Power Management Setup Fields Power manage Select power management mode ment Disable Power management off Min Saving Minimum power savings maxi mum performance Max Saving Maximum power savings mini mum performance User Defined User selects the power m
82. the PC 104 bus connector at the six o clock position and the com ponent side facing up The table below lists the jumpers and their settings CMG16686GX RTD Embedded Technologies Inc 110 CMG16686GX Connector Locations CN8 JP2 CN12 JP4 LUELELIOOOOOOOOOOOOOOO00S89 om UEEJOOOOOOOOOOOOOOOOO CNS CN2 CN4 CMG16686GX RTD Embedded Technologies Inc 111 Jumpers and Default Jumper Settings 2 pin jumper Used to enable disable 120 ohm termination resistor on first serial port for RS 422 485 mode default Open no termination 2 pin jumper Used to enable disable 120 ohm termination resistor on first serial port for RS 422 485 mode default Open no termination 3 pin jumper Used to select power for an SSD socket 1 to 2 is 5 Volts on board 2 to 3 is 5 volts on board when power on and battery backup when power off default Positions 1 and 2 2 pin jumper Used to boot to Failsafe boot image default Open 2 pin jumper Factory use only do not close default Open 3 pin jumper Used to select power for the Flat Panel Backlight e 100215 12 e 200315 5V 3 pin jumper Used to select power for the Flat Panel Electronics e 110215 3 3 e 210315 5V B2 Two position solder blob connects USB ground to digital ground default Open B4 Two position solder blob connects frame ground to digital ground default Open B5 3 pad jumper
83. the parallel port s address associated interrupt and choose between its operational modes SPP ECP EPP 1 7 and EPP 1 9 The pinout of the connector allows a ribbon cable to directly connect it to a DB25 connector thus providing a standard PC compatible port The following tables lists the parallel port signals and explains how to connect it to a DB25 connec tor to obtain a PC compatible port NOTE For correct operation keep the length of the cable connecting the cpu Module and parallel device less than 3 meters 10 feet multiPort Connector CN6 multiPort Connector CN6 CMG16686GX 40 Um Ea Lopes eme m EA EN WE EN EE emm uon Lm secon Lam me Lm neo Lm omen ENT INN mr mener Signal ground m co Lm Lew sem ms mener Lew sme me memes __ Lew sme mr memereen co ed EE STB AFD ERR PDI PD2 PD3 GND PD4 GND PD5 GND GND PD7 RTD Embedded Technologies Inc multiPort Connector CN6 Signal ground Acknowledge G A G P G ND CK ND 1 SY ND 1 ND D Emm mem eee EIES sme e Bes RR x CMG16686GX RTD Embedded Technologies Inc 41 Multifunction Connector CN5 The Multifunction connector implements the following functions Speaker output AT keyboard System reset input Battery Input The following table gives the pinout of the Multifunction connector Multifunction Connector CN
84. tional SSD include e Storage capacity up to 1 MB EPROM only e Atmel Flash and NovRAM allow read write capability using standard DOS file commands Disadvantages of using the Conventional SSD include Requires external utility program and device programmer to program 12 volt Flash AMD 5 volt Flash or EPROM e Limited memory size The following memory devices or their equivalents may be used for a Conventional SSD Access times for all devices must be 150 ns or less and all devices must be in 32 pin DIP packages Atmel 29C010A 29C020A or 29C040A 12 V Flash 28F010 28F020 5 V Flash 29F010 29F040 SRAM 128Kx8 512Kx8 NOVRAM Dallas Semiconductor DS1645Y DS1650Y EPROM 27 010 27C020 27C040 27C080 Installing a Conventional SSD using Atmel 5 volt only Flash To install an SSD using Atmel Flash follow this procedure Apply power to the cpuModule and run Setup Set SSD socket 1 to the appropriate Atmel device type Set SSD Window to a value which will not conflict with other hardware or software NOTE The memory window selected for DOC must not be used by any other program or hardware device Make sure this window is not in use by 386 or another memory manager or an Ethernet card PCMCIA card etc Save your changes and exit Setup Turn off the cpuModule Install the memory device into the socket Reboot the cpuModule The SSD should appear as the next available drive in your system CMG
85. tions Getting Started Provides abbreviated instructions to get started Connecting the cpuModule Provides information on connecting the cpuModule to peripherals Configuring the cpuModule Provides information on configuring hardware and software Using the cpuModule Provides information needed to develop applications for the cpuModule The chapter includes general information on the cpuModule plus de tailed information on storing applications and system functions and us ing utility programs Hardware Reference Lists jumpers and their locations and mechanical dimensions Troubleshooting Offers advice on debugging problems with your system Warranty RTD Embedded Technologies Inc The CMG16686GX cpuModule The PC 104 cpuModules described in this manual are designed for industrial applications which re quire e software and hardware compatibility with the PC AT world e high speed number crunching operation e ow power consumption e small physical dimensions e high reliability good noise immunity This cpuModule is highly integrated combining all major functions of a PC AT computer on one compact board It integrates all primary I O functions of a AT compatible computer SVGA controller a keyboard interface a switchable ECP EPP parallel port or 16 bits of digital I O multiPort twoone versatile RS232 422 485 serial ports a Real Time Clock a speaker port a PS 2 mouse port two USB ports It also e
86. tup will be denied if the correct password is not entered at the prompt Setup The system will boot but access to set up will be denied if the correct password is not entered at the prompt Note To disable security select Password setting at the main menu and then you will be asked to enter a password Do not type anything just press En ter and it will disable security Once security is disabled you can boot and enter setup freely Report No FDD for PgUp Enable reporting that there is no floppy disk drives Win95 PgDn to Win 95 e Yes Report to Win 95 if there are no floppies e No Do not report to Win 95 if there are no floppies CMG16686GX RTD Embedded Technologies Inc 65 BIOS Features Setup Fields Quick Boot lt PgUp gt Enables or Disables Quick Boot lt PgDn gt e Disable Enable Overrides Extended Memory Test Selection and disables Boot Up Numlock Status Extended Memory lt PgUp gt Enable or Disable Extended Memory Test Test lt PgDn gt e Disable e Enable ISA Plug n Play lt PgUp gt Enable or Disable ISA Plug n Play Support Support PgDn e Disable e Enable BIOS shadowing lt PgUp gt Enable or disable copying slow ROMs to fast lt PgDn gt DRAM for the following memory areas Video BIOS C0000 C7FFFF C8000 CBFFF CC000 CFFFF D0000 D3FFF D4000 D7FFF D8000 DBFFF DC000 DFFFF Cyrix 6x86 MII lt PgUp gt Enable or disable
87. using wrong DiskOnChip change to correct 32 pin DiskOnChip device not 32 pin Boot device not set to Hard run Setup and set boot device to Hard disk Drive CMG16686GX RTD Embedded Technologies Inc 118 erratic operation excessive bus loading reduce number of PC 104 modules in stack remove termination components from bus signals remove any power supply bus termina tions power supply noise examine power supply output with oscillo scope glitches below 4 75 Vdc will trigger reset add bypass caps power supply limiting examine power supply output with oscillo scope check for voltage drop below 4 75V when hard drive or floppy drive starts add bypass caps temperature too high add fan processor heatsink or other cool ing device s See 686GX Processor Thermal Manage ment memory address conflict check for two hardware devices e g Ethernet SSD Arcnet PCMCIA trying to use the same memory address check for two software devices e g 386 PCMCIA drivers etc trying to use the same memory addresses check for hardware and software devices trying to use the same memory address check for an address range shadowed see Advanced Setup screen while in use by another hardware or software device I O address conflict check for another module trying to use I O addresses reserved for the cpuModule be tween 010h and O1Fh check for two modules e g dataModules PCMCIA cards Ethernet trying to u
88. y hh mm e hh mm Time hh mm CMG16686GX RTD Embedded Technologies Inc 69 IRQ that will bring the CPU out of power management CMG16686GX 70 Power Management Setup Fields Select IRQs that will wake the CPU out of suspend mode IRQ 1 IRQ 3 IRQ 4 IRQ 5 IRQ 6 IRQ7 IRQ 9 IRQ 10 IRQ 11 IRQ 12 IRQ 13 IRQ 14 IRQ 15 RTD Embedded Technologies Inc PNP PCI Configuration Setup Fields The following is a list of PNP PCI Configuration Setup fields PNP OS in stalled Resources con trolled by Reset Configu ration Data IRQ assigned to PCI IRQ acti vated by Used memory base address CMG16686GX PNP PCI Configuration Setup Fields Select if you are using a PNP aware operating sys tem If you select Yes the Operating System will change the I O assignments made in the BIOS e Yes Using a PNP operating system such as Microsoft Windows 95 98 NT e Not using a PNP operating system How PNP resources are controlled e Auto BIOS configures the PNP devices e Manual User configures PNP devices Select Enable to clear the Extended System Con figuration Data ESCD area This will make the CPU search for legacy devices and store the up dated info This field will automatically return to disable after the next boot Select whether interrupts are to be used by legacy ISA devices or PCI PNP ISA devices e PCI ISA PNP or Legacy ISA IRQ 4 PCI ISA PNP or Legacy ISA IRQ
89. your system for use by the module CMG16686GX RTD Embedded Technologies Inc 96 8259 Programmable Interrupt Controller The chip responsible for handling interrupt requests in the PC is the 8259 Programmable Interrupt Controller To use interrupts you need to know how to read and set the 8259 s interrupt mask reg ister IMR and how to send the end of interrupt EOI command to the 8259 Interrupt Mask Register IMR Each bit in the interrupt mask register IMR contains the mask status of an IRQ line bit 0 is for IRQO bit 1 is for IRQI and so on If a bit is set equal to 1 then the corresponding IRQ is masked and it will not generate an interrupt If a bit is clear equal to 0 then the corresponding IRQ is un masked and can generate interrupts The IMR is programmed through port 21H Writing an Interrupt Service Routine The first step in adding interrupts to your software is to write the interrupt service routine ISR This is the routine that will automatically be executed each time an interrupt request occurs on the spec ified IRQ An ISR is different than standard routines that you write First on entrance the processor registers should be pushed onto the stack BEFORE you do anything else Second just before exiting your ISR you must clear the interrupt status flag of the DM5812 and write an end of interrupt com mand to the 8259 controller Finally when exiting the ISR in addition to popping all the registers you

Download Pdf Manuals

image

Related Search

Related Contents

Global Direct 27874 Instructions / Assembly  Descargar adjunto  Marco Beverage Systems Ltd  Guía de instalación rápida PS Vita 1000/2000 y equipo  Modecom Barbie Belle : Free Download, Borrow, and Streaming : Internet Archive    User Manual Rollei Actioncam 400 English    레이아웃 1  Manuel d`utilisat Time Manager Manuel d`utilisateur Time Manager d  

Copyright © All rights reserved.
Failed to retrieve file