Fluke B0157-Troubleshooting 8086-8088 Interrupt Circuitry电路.pdf
《Fluke B0157-Troubleshooting 8086-8088 Interrupt Circuitry电路.pdf》由会员分享,可在线阅读,更多相关《Fluke B0157-Troubleshooting 8086-8088 Interrupt Circuitry电路.pdf(7页珍藏版)》请在收音机爱好者资料库上搜索。
1、TechnicalData Application Information B0157 Troubleshooting 8086/8088 Interrupt Circuitry with the Fluke 9000-Series Troubleshooters Introduction This technical note illustrates how to test interrupt vectors that are developed by an external interrupt where the UUT microprocessor is either an Intel8
2、 8086 or Intel 8088. During normal operation, the micro- processors software preconditions the circuitry to accept interrupts, establishes the vectors that correspond to a particular interrupt and sets priorities. Upon receiving an interrupt vector from a device the microprocessor branches to a soft
3、ware routine to handle that particular interrupt type. When troubleshooting interrupt circuitry, it is important to know if the microprocessor acknowledged and serviced the interrupt that was generated. If not, the problem can be diagnosed as either faulty hardware or software. The philosophy of the
4、 9000 Series is to test cicuitry in the same manner that it operates, providing ability to test interrupts in real-time closed-loop test situations. To better illustrate the capabilities of the 9000 Series Micro-System Troubleshooters when troubleshooting interrupt circuitry, the IBM Personal Comput
5、er was chosen as an example UUT. The microprocessor used is the 8088 and the device that generates the interrupt vector is an Intela 8259A Programmable Interrupt Con- troller (PIC). This technical note also illustrates the immediate mode commands needed to test for interrupt vectors when using the 8
6、088/8086 pods. Included with this technical note is a program listing for testing U2, (the PIC) in the IBM PC. 收音机爱好者资料库 Ra d i o Fa n s .CN How The 8088/8086 Microprocessors Handle Interrupts When an 808818086 microprocessor receives an interrupt request, it will be acknowledged by executing two co
7、n- secutive interrupt acknowledge bus cycles. The first notifies the requesting device that the interrupt has been acknowledged by the microprocessor. During the second cycle, the PIC places eight-bits of data on the data bus along with 3-bits of data on the CASO-CAS2 lines. The eight-bit byte conta
8、ins the interrupt vector type (O-255), and the 3-bits of address information contains the cascade address. What Is An Interrupt Vector? The interrupt vector is a code that will direct the microprocessor to the proper service routine. The micro- processor contains an Interrupt Pointer Table that sup-
9、 ports up to 256 interrupt types. The pointer table is the link between the interrupt type code and the service routine for that interrupt. The code in the pointer table contains the address of the procedure that is to service interrupts of that type. Interrupt type assignments may be defined by pro
10、gramming the PIC with the micro- processor software. The steps and commands required to program the PIC will be discussed later in this technical note. What Is A Cascade Address? Each 82S9A is designed to service eight interrupts. With the CASO-CAS2 lines, seven additional PICs may be slaved togethe
11、r which would provide the capability of servicing up to 64 interrupts. The CASO-CAS2 lines form a private 8259A bus to control (similar to chip select) a multiple 8259A structure. If the CASO-CAS2 lines are tied to the system address bus, the selection of the slaved PICs becomes available as the Cas
12、cade Ad- dress. Copyright i: 1983, John Fluke Mfg. Co., Inc. All rights reserved How The 8088/8086 Pods Handle Interrupts The 808818086 pods will handle interrupts in much the same way as the microprocessor does during normal UUT operation. The one exception is, the pod micro- processor will not jum
13、p to the interrupt routine to service the interrupt that was generated. Instead the interrupt type and the cascade address are stored in the pod for further analysis by the operator or the Micro-System Troubleshooter. STATUS LINES SIGNAL BIT NUMBER 11 10 9 8 MINIMUM MODE INT VECT MAXIMUM MODE INT VE
14、CT RG ERROR TEST MK;.MX PWR FAIL TEST- MN -INTR 2 NM1 NM1 1s-“HOLD0f HOLD 0t .READY -I .READY .; USER ENABLEABLE FORCING LINES Figure 1. Troubleshooter Display Message Bit Assignments for the 8088. As shown in figure 1, status bit 11 is identified as INT VECT. When the interrupt type is recorded in
15、the pod, the INT VECT will be set high. At this time the pod has a new interrupt vector available to be read. As long as the INT VECT status bit is high, the interrupt acknowledge routine is disabled. This means that interrupts will not be serviced by the interrupt acknowledge routine until the INT
16、VECT status bit is reenabled. With the interrupts disabled you can, however, force an interrupt acknowl- edge routine at any time with the use of a special address. 收音机爱好者资料库 Ra d i o Fa n s .CN To reenable or force an interrupt acknowledge routine requires the use of special addresses. The differen
17、t special addresses available for each pod are explained in detail in the pod manual or the pod reference card. For the purpose of this application note, a READ 500000 will be defined as the address used to read the interrupt type and reenable interrupts while a READ 600000 will read the interrupt t
18、ype without reenabling interrupts. A READ 500002 will read the cascade address, and a WRITE 500000 will force an interrupt acknowledge routine at any time. The operator also has the option of determining if interrupts are to be disabled by using the Setup function of the Micro-System Troubleshooter.
19、 The power-on de- fault condition for the user-enabled Interrupt line is “enabled.” If the operator wishes to disable interrupts he simply answers “NO” to the setup question SET- ENABLE INTR? In summary, to enable interrupts the following conditions must be true: the INT VECT status bit is low and t
20、hrough the setup commands, INTR ENABLE is set to YES. To disable interrupts either of these conditions must be true: the INT VECT status bit is high or through the setup commands, INTR ENABLE is set to NO. With this information the necessary steps to handle interrupts can be illustrated using the im
21、mediate mode operation of the Micro-System Troubleshooter. To do this, however, we must assume for the moment that the PIC has been previously programmed to accept interrupts. To generate interrupts for testing, set the probe to toggle in the pulser mode of operation. The specifications of the 8259A
22、 require the interrupt input to remain at the device until the first interrupt acknowledge bus cycle has oc- curred. The 8259A should see the first interrupt present at its input and to avoid any potential timing problems during the test we will synchronize the pulser to FREE-RUN. The following step
23、s illustrate how the Micro-System Troubleshooter and the 808818086 pod will handle interrupts. ENABLE READ 500000 INTERRUPTS By reading the interrupt type, bit 11 in the status register is set to a low which reenables the interrupts. GENERATE AN Set pulser to toggle, sync to INTERRUPT free-run, plac
24、e probe on interrupt input. MONITOR READ STATUS STATUS BIT 11 By performing this operation the Micro-System Troubleshooter will display the condition of the bits in the status register. bitObserve the Micro-System Troubleshooters display. Is 11 a “l”? If so, an interrupt has been acknowledged and we
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- Fluke B0157-Troubleshooting 8086-8088 Interrupt Circuitry 电路 B0157 Troubleshooting 8086 8088
收音机爱好者资料库所有资源均是用户自行上传分享,仅供网友学习交流,未经上传用户书面授权,请勿作他用。
链接地址:http://www.radiofans.cn/p-200845.html



Marshall-9100-62-02-Schematic电路原理图.pdf


