Avago Technologies LSI53C1010 User Manual
Page 268
12-2
Debugging the SCRIPTS Processor
•
Use the DSP, DSPS, DCMD, and DBC registers to determine where
SCRIPTS execution was stopped.
The
.LIS
file generated by NASM using the
-l
option can be very
helpful in this step. Compare the listings to the debugging register
values to determine what might be causing the problem.
•
Examine the logic analyzer traces of both the host bus and the SCSI
bus to verify that SCRIPTS fetches are occurring correctly.
This may also be helpful when comparing data transferred between
the two interfaces.
•
Perform timing verification using a logic analyzer.
Signal quality issues and clock problems may require the use of an
oscilloscope.
•
The CPU is accessing registers other than ISTAT while SCRIPTS are
running.
ISTAT is the only register that can be accessed during SCRIPTS
operation.
•
The RESPID register(s) are not initialized.
This would keep the chip from responding to any
selection/reselection. Make sure these registers are initialized
correctly.
•
Verify signal connectivity. (Make sure that the chip pins are all
connected to board traces.)
•
Verify power and ground connection to the chip.
•
Verify that decoupling capacitors are connected as recommended in
the chip technical manual to avoid noise problems.
•
Make sure that the Enable Response to Selection/Reselection bits
are set correctly.
If you still have problems, take the information collected, along with your
code, and contact your LSI Logic field engineer.