130
Chapter 6: Solving Problems
Solving Target System Problems
respond with the same information as printed by the “ver” command.
Now you can do some more tests:
3
Enter the reset command:
U>rst
R>
The “R>” prompt is a good response that indicates SRESET and
HRESET are working.
If interrupts are non-recoverable
❏
Check that interrupt service routines (ISRs) in the target code
meet the requirements listed in the PowerPC documentation.
For proper debugging in ISRs, the PowerPC documentation specifies
that the exception handlers must do the following:
•
As an epilogue to the ISR:
•
Save the SRR0, SRR1, DAR, DSISR registers.
•
Set the RI bit in the MSR (Machine State Register.Recoverable
Interrupt Bit).
•
As a prologue to the ISR:
If the response is “!ERROR 905!
Driver firmware is incompatible
with ID of attached device”
Make sure the target interface
module is connected to the cable of
the emulation module, then try the
“init -c” command again.
If the initial prompt is “p>”
Check pin 9 on header, 3.3V (V
OD
).
If the initial prompt is “M>”
The processor entered debug mode
without the help of the emulation
module. Is another debugger
connected?
If the initial prompt is “U>”
The emulation module is scanning
the instruction register correctly.
Содержание 16610A
Страница 13: ...Contents 11 Glossary Index ...
Страница 14: ...12 Contents ...
Страница 15: ...13 1 Installing the Emulation Probe ...
Страница 44: ...42 Chapter 1 Installing the Emulation Probe Updating Emulation Probe Firmware ...
Страница 45: ...43 2 Installing the Emulation Module ...
Страница 64: ...62 Chapter 2 Installing the Emulation Module Preparing for a Debugger ...
Страница 65: ...63 3 Connecting to a Target System ...
Страница 74: ...72 Chapter 3 Connecting to a Target System Making the Target System Connection ...
Страница 76: ...74 Chapter 3 Connecting to a Target System Making the Target System Connection ...
Страница 77: ...75 4 Configuring the Emulation Probe Module ...
Страница 91: ...89 5 Using Debuggers ...
Страница 119: ...117 6 Solving Problems ...
Страница 149: ...147 7 Specifications and Characteristics ...
Страница 153: ...151 8 Service Information ...
Страница 166: ...164 Index ...