Chapter 13: Troubleshooting the Emulation Module
Problems with the Target System
Problems with the Target System
If boot area accesses fail
When you start a debugger interface or attempt to run from reset, the
emulator makes four accesses to the target system boot area to find
reset values for the SP and PC. It then attempts to read the values on
the stack and the code at the PC.
This problem can result in unknown values for the SP and PC
(displayed as ???) and can make the debugger interface respond very
slowly.
To avoid this problem, you can do several things:
❏ Use the 10-pin connector. The extra two pins on this connector allow the
emulator to complete unterminated memory cycles.
❏ In your boot-up code, set the initial PC and stack pointer to memory which
will be accessible at reset. Be sure to set the chip selects appropriately.
274
Solutions for CPU32