| VCC (+5V) Rail Integrity |
Measure Pin 8 (VCC) relative to Pin 1 (VSS) using a calibrated digital multimeter. Voltage must strictly remain within 4.75V to 5.25V; values outside this range often indicate degraded electrolytic decoupling capacitors (typically 0.1uF ceramic bypass caps) on the PCB power plane. Use an oscilloscope to check for ripple exceeding 50mV peak-to-peak, as switching noise can trigger erratic behavior in the internal 128-byte RAM. |
| Internal Clock Generator (EXTAL/XTAL) |
Inspect Pin 38 (EXTAL) and Pin 39 (XTAL) using a high-impedance 10x probe oscilloscope. Verify the presence of a stable 4MHz oscillation (for the 'B' variant) or the corresponding divided-down frequency; if signal amplitude is low, the internal crystal oscillator circuit may be failing due to aging load capacitors (typically 20-33pF). Confirm the crystal itself is not cracked or exhibiting frequency drift beyond +/- 0.01%. |
| RESET Line Stability (/RES) |
Monitor Pin 40 (/RES) to ensure a clean transition from logic low to logic high after power-on. The signal must be held low for at least 8 clock cycles to ensure proper internal register initialization; if the signal "floats" or oscillates, replace the external RC time-constant circuit components. A logic analyzer should be used to verify the /RES line does not droop due to parasitic leakage current on the bus. |
| Internal 128-Byte RAM Retention |
Perform a destructive memory write test on the address range $0000-$007F using a debugger or custom firmware routine. If bit-flipping occurs, verify the standby voltage on Pin 35 (RAM ENABLE); if using the RAM retention feature, ensure VCC is maintained above 4.5V during transitions, or troubleshoot the battery-backed VCC_STBY rail for leakage. Verify the /RE (RAM Enable) pin timing relative to the bus cycle signal E. |
| Address Bus Latency (A0-A15) |
Utilize a logic analyzer to verify signal transitions on address pins A0-A15 during a 'NOP' instruction loop. Ensure the timing satisfies the address valid time (T_AV) of 300ns (typical for 'B' grade) before the VMA (Valid Memory Address) signal goes high at Pin 5. If signals appear degraded, check for bus contention from peripherals or damaged bus transceiver buffers (e.g., 74LS245) that may be driving the lines low. |
| Data Bus Integrity (D0-D7) |
Validate data bus lines D0-D7 at pins 33-30 and 29-26. Use a logic analyzer to check for "ghost" signals indicating high-impedance state failures or improper tri-state timing during read/write cycles. Check the /RW (Read/Write) signal at Pin 34 to ensure it is not stuck high or low, which would prevent valid data transfer to external ROM or I/O devices. |
| Interrupt Request (IRQ) Latency |
Apply a TTL-level pulse to Pin 4 (/IRQ) and monitor the CPU response in the vector table at $FFF8/$FFF9. Use an oscilloscope to check for ringing on the line caused by poor termination or excessive trace length, which can trigger spurious interrupts. Ensure the line is pulled up to VCC with a 3.3k-ohm resistor; verify that no peripheral is holding the line in an indeterminate state. |
| Valid Memory Address (VMA) |
Probe Pin 5 (VMA) to confirm it asserts high during valid read/write operations. If VMA remains low, the address decoder logic is likely failing to acknowledge the current memory address, or the internal CPU state machine has stalled. Verify that the address decoding logic (e.g., 74LS138) is correctly gated by VMA and E (Enable) clock to avoid partial decoding and illegal bus access. |
| Non-Maskable Interrupt (/NMI) |
Test Pin 6 (/NMI) by pulling it low momentarily and observing the jump to the $FFFC/$FFFD vector. Ensure the hardware debounce circuit is functioning correctly to avoid multiple triggers, as NMI is edge-triggered. If the system hangs after the trigger, verify that the stack pointer is pointing to valid system RAM, as the MPU pushes the processor status, registers, and PC during the interrupt service sequence. |
| Bus Available (BA) and Halt (/HALT) |
Toggle Pin 2 (/HALT) and verify Pin 7 (BA) responds by going high, indicating the MPU has surrendered the address and data buses to a DMA controller or external tester. If BA fails to assert, check for internal MPU lockout conditions caused by an illegal opcode or infinite wait-for-interrupt loops. Use a multimeter to ensure the line is not stuck to the power rail due to internal bridge failure of the MPU's output driver. |