English
Language : 

Z8FMC16100 Datasheet, PDF (274/402 Pages) Zilog, Inc. – Z8 Encore-R Motor Control Flash MCUs
Z8 Encore!® Motor Control Flash MCUs
Product Specification
252
CRC value, and returns the result. The delay is a function of the Program Memory size and
is approximately equal to the system clock period multiplied by the number of bytes in the
Program Memory.
DBG ← 0Eh
DBG → CRC[15:8]
DBG → CRC[7:0]
Step Instruction. The Step Instruction command steps one assembly instruction at the
current Program Counter (PC) location. If the device is not in DEBUG mode or the Read
Protect option bit is enabled, the OCD ignores this command.
DBG ← 10h
Stuff Instruction. The Stuff Instruction command steps one assembly instruction and
allows specification of the first byte of the instruction. The remaining 0–4 bytes of the
instruction are read from Program Memory. This command is useful for stepping over
instructions where the first byte of the instruction has been overwritten by a break point. If
the device is not in DEBUG mode or the Read Protect option bit is enabled, the OCD
ignores this command.
DBG ← 11h
DBG ← opcode[7:0]
Execute Instruction. The Execute Instruction command allows sending an entire instruc-
tion to be executed to the eZ8 CPU. This command can also step over break points. The
number of bytes to send for the instruction depends on the Op Code. If the device is not in
DEBUG mode or the Read Protect option bit is enabled, the OCD ignores this command
DBG ← 12h
DBG ← 1-5 byte opcode
Read Baud Reload Register. The Read Baud Reload Register command returns the cur-
rent value in the Baud Reload register.
DBG ← 1Bh
DBG → BAUD[15:8]
DBG → BAUD[7:0]
OCD Control Register
The OCD Control Register, shown in Table 135, controls the state of the On-Chip Debug-
ger. This register enters or exits DEBUG mode and enables the BRK instruction. It can
also reset the Z8FMC16100 Series Flash MCU.
On-Chip Debugger
PRELIMINARY
PS024604-1005