beautypg.com

Zilog Z86E07 User Manual

Page 39

background image

5-2

C50 ICEBOX

U

SER

'

S

M

ANUAL

TROUBLESHOOTING

(Continued)

6.

Clicking on the HALT button does not halt the emulator execution. If the application
inadvertently goes into STOP Mode, the only way to halt the emulator execution is by
doing a Stop-Mode Recovery (as defined by the user program). You may also reset
the application using the RESET button. (This will reset the emulator.)

7.

CHECKSUM differences may occur because during download of the user program
the memory is padded with code outside the user program memory if the user
program is less than the emulation memory. The memory is padded with either 00, FF,
or nothing according to the selection by the user. This will not effect the user program.
However, it will effect the calculation of the CHECKSUM during the OTP programming,
because the CHECKSUM is calculated through out the whole memory size of the OTP.

8.

Single-stepping into the Stop instruction will cause the ICE Chip to lock up, resulting
in register failure during the Self Test. The emulator must be powered down and
powered back up again.

9.

Halting the program execution or breakpointing when interrupts are enabled will
globally disable interrupts. The program must be reset and started from address
0000c hex.

10.

Breakpointing in interrupt service routine and single-stepping pass the IRET state-
ment will cause global interrupts to be disabled.

11.

Do not put breakpoint at address after Stop instruction. This will cause program
counter to continue at that location after a Stop-Mode Recovery.

12.

Low-current pull-ups/pull-downs/drivers may see slower rise and fall times when the
emulation cable is used due to additional inductance and capacitance of the cable.

PRECAUTION LIST

All Devices

1.

Program Counter jumps to strange address.

a.

stack not set to internal. Register %F8 (P01M Register) bit D2 not set to 1 state.

b.

Stack Pointer Register %FB (SPH) and Register %FF (SPL) are not initialized. For
internal stack, SPH does not have to be initialized since it is not used.

c.

any instruction other than a “DI” instruction was used to disable interrupts.

d.

the stack over flowed into the general register locations.

e.

extra “POP”, “PUSH”, “IRET”, or “RET” was encountered.

2.

Program keeps resetting.

a.

Program Counter rolled over from value “FFFF” to “0000” and proceeded back to
beginning of program.

b.

Watch-Dog Timer (WDT) was not refreshed.

c.

single-steps more than 256 times.

d.

refer to item "Precaution List—All Devices" No. 1.

UM009701-0201

This manual is related to the following products: