FORCE Computers SYS68K/ISCSI-1 — SYS68K/ISCSI-1 User's Manual (EN)

4.10 DIAGNOSTIC STATUS REGISTER The Diagnostic Status Register is an eight-bit read-only register which indicates the result of self- diagnostics and the last diagnostic command issued to the chip. The format of the Diagnostic Status Register is shown below. 7 6 543 210 ~~--L ____ Self-diagnostic Status 000 Successful Completion 001 Unconditional Branch Fail 010 Data Reg. Full Failed 011 Initial Conditions Incorrect 100 Initial Command Bits Incorrect 101 Diagnostic Flag Failed 110 Data Turnaround Failed 111 Not Used ~--L---l.

________ Diagnostic Command Status 001 Turnaround Miscompare (Initial) 010 Turnaround Miscompare (Final) 011 Turnaround Good Parity 100 Turnaround Bad Parity ~-------------Self-Diagnostic Complete Bit 7 = 1 indicates that self-diagnostics have been completed. (NOTE: A reset will clear bits 6-3 if possible). After a reset to the chip, the microprocessor should make sure that the Diagnostic Status Register contains the following pattern before attempting any commands: 10000000. This code indicates self-diagnostics are complete and no errors were detected. After a diagnostic command has been executed, bits 6-3 will contain the resulting status, but bit 7 and bits 2-0 are not affected.

The microprocessor may read the Diagnostic Status Register by activating CS with A3-AO = 1001 and issuing a RD pulse. If an error is detected during self-diagnostics, the proper status is loaded into the Diagnostic Status Register and the chip halts until a Reset command or a Reset signal is asserted. Refer to the Self- Diagnostic Status Code Summary for an explanation of the individual codes. When a diagnostic command is issued to the chip, the chip will attempt to perform the function, load a status into bits 6-3, and initiate a Function Complete Interrupt. 15