SECTION 7 INITIALIZATION The SCSI device may be initialized by asserting RST for a period of at least 100ns, or by issuing a Chip Reset command to the device. The NCR 5386 will respond to the RST pulse or the Chip Reset command, by immediately disconnecting from the SCSI bus, initializing all storage elements and executing an internal self-diagnostic program. The self-diagnostic is explained in a previous section (See Section 4.10, Diagnostic Status Register). The following table lists the status of all registers after the initialization procedure. 7 6 5 4 3 2 1 0 Data Register 1 .................................. x x x x x x x x Command Register ..............................
0 0 0 0 0 0 0 0 Control Register ................................. 0 0 0 0 0 0 0 0 Destination 10 Register .......................... 0 0 0 0 0 0 0 0 Auxiliary Status Register ......................... 0 0 x x x 0 1 0 10 Register ...................................... 0 0 0 0 0 x x x Interrupt Register ................................ 0 0 0 0 0 0 0 0 Source Register ................................. 0 0 0 0 0 1 1 1 Data Register 2 .................................. x x x x x x x x Diagnostic Status Register ....................... 1 x x x x x x x Transfer Counter (MSB) .......................... 0 0 0 0 0 0 0 0 Transfer Counter (2nd) ...........................
0 0 0 0 0 0 0 0 Transfer Counter (LSB) ........................... 0 0 0 0 0 0 0 0 x :;:: Unknown Table 7.1 Register Initialization The controlling processor should loop on reading the Diagnostic Status Register until the Self-Diagnostic Complete bit (bit 7) is on (1). This should take approximately 350 clock cycles after reset occurs. If Pro- grammed 10 Mode is used, the processor should then check the remaining bits in this register for all zeros (no errors), and then load the 10 Register. Following this, the Control Register should be programmed to enable the proper bits for SCSI operation. The SCSI Protocol Controller is now connected to the SCSI bus in a disconnected state.
It is ready to receive commands from the controlling processor or respond to (re) selection attempts. 30