| g 由 У 2. m (7) 2 19 C CPU BOARD Part 2 CPU Oscilloscope Troubleshooting SERVICING SERIES " x Supplied By /~ Williams Vidpin Amusements ELECTRONICS, INC. www.vidpin.com CPU OSCILLOSCOPE TROUBLESHOOTING Welcome to Williams Electronics video-based ser- vicing series. This Recap Sheet contains the most important points covered in the accompanying video tape. Use the recap sheet to assist you later on in recalling information as you need it while troub- leshooting. This recap covers troubleshooting the CPU board for the Defender Game, using a multime- ter, a logic probe, and an oscilloscope. Also included with the recap sheet are a series of checkpoint charts showing the test points at which you should take 'scope' readings, and what you should see. These scope readings and some com- mon timing considerations are discussed in this re- cap. All of the oscilloscope timing measurements depicted in the video tape are provided here for your reference during actual servicing situations. You will have to use your schematic diagrams in con- junction with the recap information. Since the information contained here is a continua- tion of the troubleshooting begun in tape one, it is assumed that you have completed certain checks and replaced some of the board chips before begin- ning the procedures covered in the second tape. Here are the things that should be done before start- ing oscilloscope troubleshooting. CHECK CMOS RAM POWER SUPPLY First, check the battery voltage in the on-board CMOS RAM power supply, with the Defender main power off. This should be about 4 volts at the cathode of diode D14. Also check the condition of diodes D13 and D14. Next, check that all connectors are tight and that all Socketed parts are secure in their sockets. It is а good idea to remove and replace all ribbon connec- tor plugs to be sure that they are completely seated. CHECK DC VOLTAGES ON POWER BUSSES The next step is to power up Defender and check the DC voltages on the power busses. Remember that logic circuits, especially ROMS, are very sensitive to low voltages. A perfectly good part can appear to be defective with a slight voltage drop. After you are sure that the main power busses are at the correct level, complete the steps in the troub- leshooting flow chart, using a logic probe. (See the recap sheet for tape one of the CPU servicing.) As you work through the steps of the troubleshoot- ing flow chart, you will replace certain socketed parts. The parts include the MPU ... The Vertical and Horizontal Decoder ROMS .. . and the twenty- four chips in the Video RAM Banks ... For most steps on the flow chart, you will check the pulsing at one or more chip pins. On the Reset, Watchdog and Screen Control Circuits, you will check for a con- stant high or low level. If you fail to find pulsing, or if you find pulsing where a constant level is expected (or any other inconsis- tency), isolate and repair the problem. Once you locate a problem, repair itand then retestthe circuit. Having completed these tests and replaced the parts indicated, if you still have not found the fault, the chances are good that it is a timing problem. While timing problems are rare, they can occur, and you will need an oscilloscope to track them down. This tape discusses where to look with the scope, and what you should see. CHECK WATCHDOG CIRCUIT First check the Watchdog circuit. The Watchdog circuit is a timer which resets the MPU every 133 milliseconds if it is not cleared by the game program. Check the output of the Watchdog at pin 13 of chip 5M. You should see a high level and no pulsing in a properly operating circuit. This indicates that the game program is clearing the Watchdog before it can reset the MPU. If you see a trace which is 266 milliseconds between the leading edges of successive pulses, the most likely cause is an MPU lockup. If you see a trace which consists of a pulse 133 milliseconds long, followed by a second pulse of 133 microseconds, then the cause is most likely a defec- tive MPU, a bad ROM, or a faulty Color RAM. Another possibility is a defective chip in the Watch- dog circuit. To determine if the problem is in the Watchdog circuit, cut the pad connecting the 5M OR ДЕЧ, II Gate to the 50 (5 “ОН”) Тітег. If you cutthe pad and it cures the problem, stopping the incorrect pulsing at the Watchdog output and cleaning up the video, then you should look for the fault in the Watchdog Circuit. If thefaultis notinthe Watchdog, you will usually get one or two "Carpet Pattern" screen scans on newer boards, then a screen crash. In that case, re-solder the pad of the Watchdog, and continue troub- leshooting. You should suspect a faulty MPU, a problem in the ROM Board, or a problem in a CPU component which must read data buss information. Once you have determined that the problem is not in the Watchdog Circuit, the next point to check with the scope is the clock outputs of chips 6R and 7P. The timing signals to look for are shown on the appropriate timing charts. The basic clock fre- quency is a 12 Megahertz pulse at pin 8 of chip 7P. This signal also appears as an inverted 12 Megahertz pulse at pin 10 of 7P. If you don't see the 12 Megahertz output of 7P, then the problem is most likely the 7P chip or the crystal. The next check point is pin 3 of chip 7R, here you should see an asymetrical 4 Megahertz output. At pin 6 of the same chip, you should see an inverted version of the same signal. Finally, you should see symmetrical 4 Megahertz, and inverted 4 Megahertz outputs at pins 9 and 8 of chip 6R, and a 6 Megahertz output at pin 6 of 6R. CHECK E AND Q GENERATOR CIRCUIT The next check after the Clock Circuit is the E and Q Generator Circuit. The E and Q Generator provides overlapping clock signals necessary to the opera- tion of the MPU, Video RAM Timing and several other circuits. You should see a symmetrical input pulse with an interval of 500 nanoseconds between the trailing edge of one pulse and the trailing edge of the next, at pin 5 of chip 7J. You should also see a symmetrical “Е” output pulse with an interval of one microsecond between the trailing edges of two pulses, at pin 9 of chip 7L. If you have a dual trace scope, you should also see that the leading edge of the “О” output (pin 5 of chip 7L) leads the leading edge of the "E" output by 250 nanoseconds. Any variations from these timings will prevent proper game operation. CHECK VIDEO ADDRESS GENERATOR CIRCUIT With proper output from both the Clock and E and Q Generator circuits, the next check is the Video Ad- dress Generator Circuit. The Video Address Generator supplies the address bits which scan the Video RAM. Given correct DC voltage on the 5 volt buss, 4 Megahertz in from the Clock, and no reset signal, the Video Address Generator should have the timing outputs shown in the appropriate timing chart. If thetiming is notas shown, start troubleshooting at the 5J counter, then go to 5H, 5F, 5E and the remain- ing components. Once the Video Address Generator is known to be good, move on to the Video RAM Control Circuit. The Video RAM Control allows the MPU to sequentially address the Video RAM Banks. You should see a timing pattern on the Video RAM Control MUX 1 line at pin 12 of chip 6P. You should also see Enable pulses at pins 3 and 11 of chip 5P, and pin 6 of chip 4R. Write pulses should appear at pins 3, 8 and 11 of chip 4R. If the timing is not as shown, check out the circuit. CHECK VIDEO RAM TIMING CIRCUIT The next checkpoint is the Video RAM Timing Cir- cuit. This circuit uses the 12 Megahertz and E and Q outputs to produce timing pulses required for ac- cess to the video RAM. You should see outputs on the 5S, 6P and 4J chips. In case of problems, check the 4S data latches first, and then the remainder of the circuit. CHECK MONITOR SYNC GENERATOR CIRCUIT The Monitor Sync Generator Circuit is the next cir- cuit to check with the 'scope. The Monitor Sync Generator derives vertical and horizontal sync pulses for the Monitor by counting video addresses. Check for vertical and horizontal sync pulses at pins 8 and 11 of chip 3A. The Address Bus brings Video Address information to the 3B, 4C and 5B chips. These chips decode the address count and selectively assert inputs to the qp exclusive OR gates of стр ЗА. When gated with ground, these inputs result in Vertical and Horizon- tal Sync Pulses and a Composite Pulse, which is not used in this game. You should see a vertical sync pulse occurring every 16.6 milliseconds, with a 0.77 millisecond pulse width. The horizontal pulse occurs every 64 mil- liseconds and is 4 microseconds wide. In addition to sync signals, blanking is needed for proper video operation. The Blanking Circuit de- codes video address information and provides a blanking signal to the Video Driver Circuits whenever the scan passes screen limits. This additional memory area is used for MPU scratchpad, and the blanking signal prevents possible interfer- ence between scratchpad and normal video access. Check for a blanking signal output on pin 8 of chip 4B. As with the other circuits described in the video, you should check for any additional problems in the circuit. CHECK COUNT 240 CIRCUIT The final circuit to be considered is the Count 240 Circuit. This circuit provides an interrupt signal when the screen scan gets to the bottom of the screen at Count 240 (240 lines of video). You should check for a Count 240 output at pin 8 of chip 4C. The timing pattern on the Count 240 Circuit is a 1.3 millisecond pulse occurring each 16.6 milliseconds. If you know that the Video Address input to the Count 240 circuit is good, but there is no pulsing at the output, replace the 4C chip. This completes the two-part series on Defender CPU Video Board Servicing. OSCILLOSCOPE TIMING CHARTS =) |- ата 12MHz «ПІЛІЛІЛІЛІГІЛІЛІГІЛІГІ. (Output at Chip 7P, Pin 8) 7R3 LLL. (Output at Chip 78, Pin 3) m-e — LL — LLL. (Output at Chip 78, Pin 6) 4MHz LLL. (Output at Chip 6R, Pin 9) EMAZ Г.Г... Г.Г” (Output at Chip 6R, Pin 6) Indicates Faulty MPU, ROM, or RAM M br TAr (Faulty n 13) Chip m | лзив Indicates MPU Lockup Bi (zen Fert (Faulty output at Chip 5M, Pin 13) *Note: Normal Outputis high level constant signal. е OSCILLOSCOPE TIMING CHARTS м i Ps ЖЗ (Chip 4E, Pin 5) (Chip 5H, Pin 15) [— — 165ms — (Chip 3B, Pin 8.259. І = kes 1 1 (Сһір БЕ, Ріп 15) ll zsons =) ашы JUUL (Output at Chip 7L, Pin 5) е | == ЕЕГ L_J (Output at Chip 7L, Pin 9) 十 |0 95 Г-1 [CU Output at chip 74, Pin 5) в. Е ә] [Є833пз МЕ (Input at Chip 6P, Pin 4) роз} 6Р-12 pum (Output at Chip 6P, Pin 12) Remains High Pulses Low with 一 (Mux1) During Read Write Operation (Input at Chip 6P, Pin 1) OSCILLOSCOPE TIMING CHARTS 64us 4 |+ 077ms d —FLL _ 三 AtchipsApPin8) (Vertical) -ң 1664s к E | A (At Chip 3A, Pin 11) M (Horizontal) + |-өззле 12МН? ІПЛЛЛЛЛЛЛЛЛЛЛЛЛЛЛЛЛЛЛЛЛЛГ (input at Chip 6M, Pin 9) 500п5--» pec ue BR (Input at Chip 5R, Pin 5) 250ns ias Битан И (Input at Chip 58, Pin 4) 250ns D-3 十 |-4t6ns ә] |--20п5 45 LI LI Lf (Output of First Latch, 45, Pin 5) БЕСІ Е |--250п5 MUXg—I ^ LT LT ^ LI ^ (о ошри of Second Latch, 4S, Pin 5) E 333ns l- E l—1670s RAS LLLI LT LT L (Output at Chip 4J, Pin 9) 5 4 (Output of Chip 58, Pin 3) ШЕГЕ [_250пв э] |--41бпв (Ошірші аї Сһір 55, Ріп 5) аш КЕЗЕ LII SRLI ________(""(Ошршастр БР, Pin 8) E [_418пз ud OSCILLOSCOPE TIMING CHARTS ЊЕ | 3us Г Sus 1 il 53us 1 NE әл Ша (АЕ Стр 48, Ріп 11) (Blanking, Chip 4B, Pin 8) TO С> VIDEO DRIVERS OSCILLOSCOPE TIMING CHARTS ^ [^ TO ROM COUNT 240 BOARD PIA 4MS-IRQ > TO !JI-3 г> MONITOR г> MONITOR MONITOR SYNC. GENERATION б. OSCILLOSCOPE TIMING CHARTS *Watchdog| | Checkpoint 2: Clock Check For Output at Pin 14, 5M: Check For 4.6 and 12 Mhz at 6R and High Constant, No Pulse 7P Chips. ^T PT x PULL oie ан А (Output at Chip 7P, Pin 8) 3—7. ^ 239» Faulty MPU 一 (Output at Chip 7R, Pin 3) J” Г... Lockup = (Output at Chip 78, Pin 6) амне (Output at Chip 6R, Pin 9) Li (Output at Chip 6R, Pin 6) Ter ELECTRONICS, INC. 3401 М. California AveeChicago, IL 606186 (312) 267-2240