IBM CMX58886CX user manual IDE Controller Configuration, Cable Modes, Cable Detection

Page 69

IDE Controller Configuration

The CPU’s onboard EIDE connector (CN10) supports several different drive speed modes, which are BIOS configurable. Supported drive modes will depend on whether a 40-conductor or 80-conductor cable is connecting the EIDE device. The modes and cable detection schemes described below may be set in the BIOS Setup. Similarly, the ATA/IDE Disk Chip socket (U16) is BIOS configurable.

Cable Modes

There are two types of cables that may be used for connecting drives to the EIDE connector: 40 conductor cables or 80 conductor cables. Depending on the cable used, different drive speeds are supported. A 40 conductor cable can be used for speeds up to UDMA Mode 2 (Ultra ATA/33).

In order to use drive speeds faster than UDMA Mode 2 (Ultra ATA/33), an 80 conductor cable is required. The BIOS can be configured to detect the presence of an 80 conductor cable. The 80 conductor cable adds a ground wire between each signal, and uses standard 40 pin connectors, therefore an adapter board is required to connect an 80 conductor cable to CN10.

Cable Detection

Every time the cpuModule is powered on or a hardware reset is issued, the BIOS will automatically detect the presense of a 80 conductor cable connecting a device to CN10. The user selectable cable detection modes are described below.

Device and Host Mode

This method involves a capacitor on the PDIAG signal, which has a pull-up connection to a logic 1 voltage. To determine if the connected cable is 40 conductor or 80 conductor, the CPU first sends a command to the attached device. When the device receives the command, it asserts the PDIAG signal low, forcing the capacitor to discharge. The device then deasserts the PDIAG signal, and monitors the charging of the pulled-up capacitor.

If a 40-conductor cable is connected, the signal will still be low when sampled by the device. If an 80-conductor cable is connected, the capacitor will charge before the device samples PDIAG, and thus read a logic 1. Once the cable is determined, the device reports the type of cable to the CPU.

Host Determination of Cable Type

For this method of detection, the CPU reads the CPBLID pin, which determines if a 40-conductor or 80- conductor cable is connected between the CPU and device. The CPBLID signal is pulled low on the CPU end of the connection by default, indicating that a 40-conductor cable is used if the signal is not driven.

If an 80-conductor cable is connected, the device is able to drive CPBLID high, and the CPU can determine that an 80-conductor cable is connected. When a 40-conductor cable is used, this pin is not connected, and the CPU cannot read the the signal driven by the device.

Device Detect

For device detect mode, the CPU issues a command to the device, which tells the CPU the fastest drive speed mode it can use. The CPU then sets the transfer mode to the fastest speed supported by the device.

WARNING When this cable detection method is enabled, the highest transfer speed supported by the device will be used regardless of whether a 40-conductor or 80-conductor cable is used. If the device speed does not match the cable, data corruption and unexpected behaviors may occur. This mode should not be selected unless the user knows the cable type and the modes supported by the connected EIDE device.

BDM-610000050 Rev A

Chapter 4: Using the cpuModule 61

Image 69
Contents BDM-610000050 Revision a CMX58886CX cpuModulesRevision Date Reason for Change 06/30/06 Initial release Revision HistoryCMX58886CX cpuModules Iv CMX58886CX cpuModule Table of Contents MultiPort CN6 Audio CN11Memory Map Address Map BDM-610000050 Rev a Vii Application Notes System RecoveryChapter CMX58886CX cpuModule top view CMX58886CX cpuModulesThermal Monitor and Thermal Throttling Error-Correction CodesADIO with Wake-on-aDIO Ordering Information Cable Kits and AccessoriesCMX58886CX Model Options CMX58886CX cpuModule Model OptionsBoard Features VGA, SVGA, XGA, SXGA, Uxga Bios CMX58886CX cpuModule Simplified Block Diagram Block DiagramPhysical Characteristics SpecificationsPower Consumption Operating ConditionsElectrical Characteristics Electrical CharacteristicsSymbol Parameter Test Condition Min Max Ioc12 CMX58886CX cpuModule Contact Information 14 CMX58886CX cpuModule Getting Started CMX58886CX Connector Locations Connector LocationsCMX58886CX Basic Connectors Connecting the Utility Cable Connecting a KeyboardConnecting to the PC/104-PlusPCI Bus Slot Selection Switches PCI Bus Expansion Card PowerPCI Bus Signaling Levels Booting the CMX58886CX cpuModule for the First Time Connecting the cpuModule 22 CMX58886CX cpuModule Fan Power +5 Pin Auxiliary Power CN3 Auxiliary Power Connector CN31Pin Signal Function Power Supply Protection Reserved+3.3 +12 Utility Port Connector CN5 Utility Port Connector CN5Pin Signal Function In/Out SpeakerSoft Power Button System ResetKeyboard MouseBattery Svga Video Connector CN18 Svga Video Connector CN18Resolution Colors Refresh Rates Svga Video ResolutionsFlat Panel Video Connector CN19 Lvds Flat Panel Video Connector CN19Manufacturer Model Number Resolution Color Depth Tested Lvds PanelsEide Connector CN10 Eide Connector CN101Pin Signal ATA/IDE Disk Chip Socket U161 ATA/IDE Disk Chip Socket U16Serial Port Settings RS-232 Serial Port DefaultSerial Port in RS-232 Mode Serial Port 1 CN7 and Serial Port 2 CN8RS-422 or RS-485 Serial Port Half-Duplex RS-485 ModeFull-Duplex Connections PortPin Signal Function In/Out DB-9 Serial Port in RS-422/485 ModeMultiPort CN6 MultiPort Configured as an Advanced Digital I/O aDIO PortMultiPort aDIO Pinout CN6 Pin FunctionMultiPort Configured as a Parallel Port MultiPort Connector CN6 as a Parallel PortCN6 Pin Signal Function In/Out DB-25 MultiPort Configured as a Floppy Drive Controller MultiPort Connector Floppy Pinout CN61CN6 Pin Function DB-25 Floppy Drive Pin USB Connector CN17 USB 2.0 Connector CN17Ethernet 10/100Base-T and -TX Connector CN20 Ethernet Connector CN20RJ-45 Pin Pin DIL Pin Signal Function In/Out Audio Connector CN11 Pin DIL Pin Signal Function In/OutAudio CN11 PC/104-PlusBus Signal Assignments1 PC/104-PlusPCI Bus CN16Pin Address and Data PC/104-PlusPCI Bus SignalsPower Supplies and VIO Bridge Link CN4 Bridge Link CN4External Power Management CN12 Optional RTC Battery Input CN13Fan Power, +5 V CN14 Fan Power, Switched CN15 Fan Power, Switched CN15Using the cpuModule Configuring the RTD Enhanced AMI Bios RTD Enhanced AMI BiosEntering the Bios Setup Setup KeysPower On Self Test Post Codes Main Menu Setup FieldsMain Menu Setup Fields Field Active Keys SelectionsBooting to Boot Block Flash with Fail Safe Boot ROM Memory Map First Megabyte Memory MapAddress hex Description Address Map O Addresses Reserved for the CMX58886CX cpuModuleAddress Range hex Bytes Device Interrupt Normal Use Timer Hardware InterruptsHardware Interrupts Used on the CMX58886CX cpuModule Digital I/O Register Set MultiPort Advanced Digital I/O Ports aDIOPort 0 Data I/O Address 450h Port 1 Data I/O Address 451hDIO-Control I/O Address 453h-Read Access DIO-Control I/O Address 453h-Write AccessMulti-Function at Address 452h1 Interrupts =Interrupt is enabledWake Control I/O Address 451h =Interrupt triggers a Wake EventWakeEnable Int Mask Function Wake-on-aDIOInterrupt and Wake Event Generation MultiPort Floppy Drive MultiPort Parallel Port ControlAC’97 Audio Ethernet 10/100Base-T and -TXIDE Controller Configuration Cable ModesCable Detection Configuring the ATA/IDE Disk Chip Socket Legacy Mode and Native Mode IDEReal Time Clock Control Real Time Clock RegistersRegisters Number Function Wake Control I/O Address 455h Watchdog Timer ControlFan Mode Further Temperature ReductionThermal Management Advanced Power Management APM Power ManagementAdvanced Configuration and Power Interface Acpi Power Button ModesATX Power Supply Signals AT vs. ATX Power SuppliesReducing Power Consumption LED Colors Multi-Color LEDMulti-Color LED I/O Address 456h Manual LED Colors70 CMX58886CX cpuModule Reset Status Register Reset Status I/O Address 457h Read AccessReset Status I/O Address 457h Write Access Address Reset Description Reset Status Description and PrioritesUser Eeprom Bit Signal Function Read / WriteUser Eeprom I/O Address 456h Eeprom Register DescriptionFeatures and Settings That Can Affect Boot Time System Recovery Loading Default Bios SettingsBooting to the Fail Safe Boot ROM Fsbr Basic Interrupt Information for Programmers What happens when an interrupt occurs?How long does it take to respond to an interrupt? Interrupt Request LinesIntel 8259 Programmable Interrupt Controller Writing an Interrupt Service Routine ISRPCI Interrupts Sample Code78 CMX58886CX cpuModule Appendix a Hardware Reference Jumper Settings and Locations Pins 1-2 +5 Pins 2-3 +3.3 Jumper Pins Function DefaultPins 1-2 +3.3 Pins 2-3 +5 Pins 1-2 +12 Pins 2-3 +5Solder Positions Function Default Blob CMX58886CX Solder BlobsPositions 1-2 +5 Positions 2-3 +3.3 Onboard PCI Devices Onboard PCI DevicesDevice ID Vendor ID Description CMX58886CX Physical Dimensions ±0.005 inches Physical DimensionsAppendix B Troubleshooting Common Problems and Solutions TroubleshootingProblem Cause Solution Troubleshooting cont’d Troubleshooting a PC/104-PlusSystemHow to Obtain Technical Support Appendix C Idan Dimensions and Pinout IDAN-CMX58886CX Connectors Idan Dimensions and ConnectorsKeyboard 6-Pin mini-DIN Connector female PS/2 Mouse 6-Pin mini-DIN Connector femaleIdan Pin # Signal Function External I/O ConnectionsCOM1/COM2 RS-232 9-Pin D Connector male COM1/COM2 RS-422/485 9-Pin D Connector maleIdan Pin # Signal Function Mode Idan Pin # ADIO Port Parallel Port Floppy Port CPU Pin # MultiPort 25-Pin D Connector femaleIdan Pin # Signal Name CPU Pin # Panel 25-Pin mini D Connector femaleIdan Pin # Signal Function CPU Pin # Svga 15-Pin High Density D Connector femaleUSB 9-Pin D Connector male Ethernet 9-Pin D Connector femaleIdan Pin # 10Base-T Signal CPU Pin # Idan Pin # Signal CPU Pin # Audio 9-Pin D Connector female98 CMX58886CX cpuModule Application Notes PC/104 and PC/104-PlusSpecificationsDrivers and Example Programs Interrupt Programming100 CMX58886CX cpuModule Appendix E Limited Warranty 102 CMX58886CX cpuModule