IBM CMX58886CX user manual Using the cpuModule

Page 57

Chapter 4 Using the cpuModule

This chapter provides information for users who wish to develop their own applications programs for the CMX58886CX cpuModule.

This chapter includes information on the following topics:

The RTD Enhanced AMI BIOS —page 50

Memory Map—page 53

I/O Address Map—page 54

Hardware Interrupts—page 55

multiPort: Advanced Digital I/O Ports (aDIO™)—page 56

multiPort: Parallel Port Control—page 60

multiPort: Floppy Drive—page 60 AC’97 Audio—page 60

Ethernet (10/100Base-T and -TX)—page 60

IDE Controller Configuration—page 61

Real Time Clock Control—page 63

Watchdog Timer Control—page 64

Thermal Management—page 65

Power Management—page 66

Multi-ColorLED—page 69

Reset Status Register—page 71

User EEPROM—page 73

Features and Settings That Can Affect Boot Time—page 74

System Recovery—page 75

Basic Interrupt Information for Programmers—page 76

BDM-610000050 Rev A

Chapter 4: Using the cpuModule 49

Image 57
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