Chapter12 debugging the scripts processor, 1 chip debugging guidelines, Chapter 12, debugging the scripts processor – Avago Technologies LSI53C1010 User Manual
Page 267: Chapter 12, Debugging the scripts processor, Chip debugging guidelines, Chapter 12 debugging the scripts processor
![background image](https://www.manualsdir.com/files/864554/content/doc267.png)
SCSI SCRIPTS Processors
12-1
Chapter 12
Debugging the
SCRIPTS Processor
This chapter describes debugging the SCRIPTS processor and includes
these topics:
•
Section 12.1, “Chip Debugging Guidelines,” page 12-1
•
Section 12.2, “Register Used for Debugging,” page 12-3
12.1 Chip Debugging Guidelines
The list below has common problems and solutions you can use as part
of a debugging routine.
•
Check the register initialization routine.
Several registers should be checked in this step. The most important
registers to verify are listed in
Chapter 6, “Using the Registers to
Save and print out the data values in all SCRIPTS processor
registers at the time the problem occurs.
Record the value of the ISTAT register first, since further register
accesses may trigger interrupts that were not caused by the initial
problem. If there is not an interrupt, abort the SCRIPTS operation by
writing to the ABRT bit in the ISTAT register. This will cause a DMA
abort interrupt. Reset this bit before reading the DSTAT register to
prevent further interrupts from being generated. Clear the interrupt(s)
following the method suggested in
Chapter 6, “Using the Registers
Check the registers listed in
after clearing the interrupts.
If there is no indication of what is causing the problem, it might be
helpful to examine the remaining registers.