English
Language : 

Z8FMC16100 Datasheet, PDF (272/402 Pages) Zilog, Inc. – Z8 Encore-R Motor Control Flash MCUs
Z8 Encore!® Motor Control Flash MCUs
Product Specification
250
Read Program Counter. The Read Program Counter command reads the value in the eZ8
CPU’s Program Counter (PC). If the device is not in DEBUG mode or if the Read Protect
option bit is enabled, this command returns FFFFh.
DBG ← 07h
DBG → ProgramCounter[15:8]
DBG → ProgramCounter[7:0]
Write Register. The Write Register command writes data to the Register File. Data can be
written 1-256 bytes at a time (256 bytes can be written by setting size to zero). If the
device is not in DEBUG mode, the address and data values are discarded. If the Read Pro-
tect option bit is enabled, then only writes to the on-chip peripheral registers are allowed
and all other register write data values are discarded.
DBG ← 08h
DBG ← {4’h0,Register Address[11:8]}
DBG ← Register Address[7:0]
DBG ← Size[7:0]
DBG ← 1-256 data bytes
Read Register. The Read Register command reads data from the Register File. Data can
be read 1-256 bytes at a time (256 bytes can be read by setting size to zero). If the device
is not in DEBUG mode or if the Read Protect option bit is enabled and on-chip RAM is
being read from, this command returns FFh for all the data values.
DBG ← 09h
DBG ← {4’h0,Register Address[11:8]
DBG ← Register Address[7:0]
DBG ← Size[7:0]
DBG → 1-256 data bytes
Write Program Memory. The Write Program Memory command writes data to Program
Memory. This command is equivalent to the LDC and LDCI instructions. Data can be
written 1–65536 bytes at a time (65536 bytes can be written by setting size to 0). The on-
chip Flash controller must be written to and unlocked for the programming operation to
occur. If the Flash controller is not unlocked, the data is discarded. If the device is not in
DEBUG mode or if the Read Protect option bit is enabled, the data is discarded.
DBG ← 0Ah
DBG ← Program Memory Address[15:8]
DBG ← Program Memory Address[7:0]
DBG ← Size[15:8]
DBG ← Size[7:0]
DBG ← 1-65536 data bytes
On-Chip Debugger
PRELIMINARY
PS024604-1005