IBM BDM-610000049 user manual Basic Interrupt Information for Programmers, Interrupt Request Lines

Page 93

Basic Interrupt Information for Programmers

An interrupt is a subroutine called asynchronously by external hardware (usually an I/O device) during the execution of another application. The CPU halts execution of its current process by saving the system state and next instruction, and 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. Interrupts on this cpuModule are controlled by two Intel 8259-equivalent interrupt controllers containing 13 available interrupt request lines.

What happens when an interrupt occurs?

An IRQx pin on the PC/104 bus makes a low to high transition while the corresponding interrupt mask bit is unmasked and the PIC determines that the IRQ has priority, that is, the PIC interrupts the processor. The current code segment (CS), instruction pointer (IP), and flags are pushed onto the stack. The CPU then 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 interrupted.

How long does it take to respond to an interrupt?

A DOS system can respond to an interrupt between 6 and 15 μs. 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 to 1500 μs or longer. The time the CPU spends in the interrupt depends on the efficiency of the code in the ISR. These numbers are general guidelines and will fluctuate depending on operating system and version. Minimum time between two IRQ requests is 125 ns per ISA specification.

Interrupt Request Lines

To allow different peripheral devices to generate interrupts on the same computer, the ISA bus has eight different interrupt request (IRQ) lines. On the ISA bus, a transition from low to high on one of these lines generates an interrupt request, which is handled by the PC’s interrupt controller. On the PCI bus, an interrupt request is level-triggered.

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 request has a higher priority. The priority level is based on the number of the IRQ; IRQ0 has the highest 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. IRQ0 is used by the system timer, IRQ1 is used by the keyboard, IRQ3 by COM2, IRQ4 by COM1, and IRQ6 by the disk drives. Therefore, it is important to know which IRQ lines are available in your system for use by the cpuModule.

BDM-610000049 Rev G

Chapter 4: Using the cpuModule 83

Image 93
Contents BDM-610000049 Revision G CMX158886 cpuModulesRevision Date Reason for Change 12/13/06 Initial release Revision HistoryCMX158886 cpuModules Iv CMX158886 cpuModule Table of Contents Audio CN11 MultiPort CN6Port 1 Data register is a read/write byte direction MultiPort Advanced Digital I/O Ports aDIOSystem Recovery User EepromApplication Notes 107 CMX158886 cpuModule Chapter CMX158886 cpuModule top view CMX158886 cpuModulesEnhanced Intel SpeedStep PX only Error-Correction Codes Selected Models OnlyThermal Monitor ADIO with Wake-on-aDIOCMX158886 cpuModule CMX158886 Model Options Ordering InformationCMX158886 cpuModule Model Options Part Number DescriptionCable Kits and Accessories Board Features VGA, SVGA, XGA, SXGA, Uxga Bios 10 CMX158886 cpuModule CMX158886 cpuModule Simplified Block Diagram Block DiagramPhysical Characteristics SpecificationsPower Consumption Electrical CharacteristicsSymbol Parameter Test Condition Min Max Electrical CharacteristicsIoc VosOutput Voltage High Common ModeOutput Voltage Low Input Voltage HighContact Information 16 CMX158886 cpuModule Getting Started CMX158886 Connector Locations Connector LocationsCMX158886 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 CMX158886 cpuModule for the First Time Connecting the cpuModule Proper Grounding Techniques PC/104-PlusPCI Bus 120-pin Auxiliary Power CN3 Auxiliary Power Connector CN31Pin Signal Function GND 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 Installing and Configuring the ATA/IDE Disk Chip ATA/IDE Disk Chip Socket U16ATA/IDE Disk Chip Socket U161 CMX158886 before and after ATA/IDE Disk Chip Installation Serial 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 ModeTransmit Data + Receive Data + ResevedDual Serial Port Connections Dual Serial Port ModesDual Serial Port Modes COM a RS-232 and COM BRS-232COM a RS-422/485 and COM B RS-422/485 COM a RS-422/485 and COM B RS-232MultiPort 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 Connector Floppy Pinout CN61 MultiPort Configured as a Floppy Drive ControllerOdd pins CN6 Pin Function DB-25 Floppy Drive PinUSB Connector CN17 USB 2.0 Connector CN1746 CMX158886 cpuModule Ethernet 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 CN4Legacy/ISA DMA Request Serial Interrupt RequestExternal Power Management CN12 Optional RTC Battery Input CN13Fan Power, +5 V CN14 Fan Power, Switched CN15 Fan Power, Switched CN15+5 Volts DC, switched Using 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 CMX158886 cpuModuleAddress Range hex Bytes Device Hardware Interrupts Hardware Interrupts Used on the CMX158886 cpuModuleInterrupt Normal Use 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 ReservedWake-on-aDIO WakeEnable Int Mask FunctionInterrupt and Wake Event Generation No Interrupt or Wake event is generatedMultiPort 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 Accessing the RTC RegistersOverview Real Time Clock Registers0Bh Registers Registers Function Hex decimal0Ch 0DhWatchdog Timer Control I/O Address 455h Watchdog Timer ControlFan Mode Further Temperature ReductionThermal Management Advanced Configuration and Power Interface Acpi Power ManagementPower Button Modes Low-Power Wake OptionsATX Power Supply Signals AT vs. ATX Power SuppliesReducing Power Consumption LED Colors Multi-Color LEDMulti-Color LED I/O Address 456h Manual LED ColorsReset Status Register Reset Status I/O Address 457h Read AccessReset Status I/O Address 457h Write Access Address Reset Description Reset Status Description and PrioritiesDvmt Mode Select User 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 CodeAppendix a Hardware Reference JP9 JP2 Jumper Settings and LocationsJP11 Jumper Pins Function DefaultJP12 JP13Onboard PCI Devices Onboard PCI DevicesDevice ID Vendor ID Description CMX158886 Physical Dimensions ±0.005 inches Physical Dimensions90 CMX158886 cpuModule Appendix 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-CMX158886 Connectors1 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 20-Pin mini D Connector femaleIdan Pin # Signal Function CPU Pin # Svga 15-Pin High Density D Connector femaleGround + 5 Volts Ground Reserved DDC Data Monitor dataEthernet 9-Pin D Connector female USB 9-Pin D Connector maleIdan Pin # 10Base-T Signal CPU Pin # Receive + Reserved Transmit + GroundIdan Pin # Signal CPU Pin # Audio 9-Pin D Connector femaleIDAN-CMX158886-BRG Connectors1 Idan Dimensions and Connectors BRG version onlyADIO 37-Pin D Connector female External I/O Connections BRG version onlyBRG Pin # Function Idan Pin # 106 CMX158886 cpuModule Application Notes PC/104 and PC/104-PlusSpecificationsDrivers and Example Programs Interrupt Programming108 CMX158886 cpuModule Appendix E Limited Warranty 110 CMX158886 cpuModule

BDM-610000049 specifications

The IBM BDM-610000049 is a powerful and versatile device designed for advanced data processing and analytics. This model is engineered to handle large volumes of data while ensuring high-speed performance and reliability. One of the main features of the BDM-610000049 is its robust processing capabilities, enabled by a state-of-the-art multi-core CPU architecture. This allows it to perform complex calculations and data manipulations efficiently, making it ideal for big data applications.

In terms of storage, the BDM-610000049 comes equipped with high-capacity SSD drives, which not only accelerate data access speeds but also enhance the overall system responsiveness. This feature is particularly beneficial for organizations that require rapid retrieval of stored information. The device also supports a variety of storage configurations, allowing users to tailor the system according to their specific needs, balancing between performance and capacity.

Networking technologies integrated into the BDM-610000049 are designed to facilitate seamless connectivity, ensuring quick and secure data transfers. Its advanced networking capabilities include support for multiple protocols, which streamline communication between different parts of the system and external devices. This is crucial for environments that rely on real-time data processing, such as financial services, healthcare, and logistics.

The IBM BDM-610000049 is also notable for its security features, which help protect sensitive data from unauthorized access and cyber threats. It incorporates state-of-the-art encryption protocols and secure access controls, providing an additional layer of safety for businesses handling critical information.

Moreover, the scalability of the BDM-610000049 is a key characteristic that sets it apart from competitors. Organizations can easily upgrade or expand their systems to accommodate growing data requirements without significant downtime or disruption. This flexibility is indispensable for businesses in today’s fast-paced digital landscape.

In summary, the IBM BDM-610000049 is a cutting-edge device that combines powerful processing, advanced storage technologies, robust networking capabilities, and enhanced security features. Its scalability ensures that it can grow with the demands of modern enterprises, making it a worthwhile investment for companies looking to harness the full power of their data. With the BDM-610000049, businesses can confidently pursue data-driven strategies, knowing they have a reliable and sophisticated technology solution at their disposal.