|
Z8F0113HJ005EG Datasheet, PDF (179/245 Pages) Zilog, Inc. – High-Performance 8-Bit Microcontrollers | |||
|
◁ |
Z8 Encore! XP® F0823 Series
Product Specification
164
Read Program Counter (07H). 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 Flash
Read Protect Option bit is enabled, this command returns FFFFH.
DBG â 07Hï
DBG â ProgramCounter[15:8]ï
DBG â ProgramCounter[7:0]
Write Register (08H). 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 0). If the
device is not in DEBUG Mode, the address and data values are discarded. If the Flash
Read Protect Option bit is enabled, only writes to the Flash Control 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 (09H). 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 0). If the
device is not in DEBUG Mode or if the Flash Read Protect Option bit is enabled, this com-
mand 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 (0AH). 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 Flash 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
Read Program Memory (0BH). The Read Program Memory command reads data from
Program Memory. This command is equivalent to the LDC and LDCI instructions. Data can
be read 1â65536 bytes at a time (65536 bytes can be read by setting size to 0). If the
device is not in DEBUG Mode or if the Flash Read Protect Option Bit is enabled, this
command returns FFH for the data.
PS024315-1011
PRELIMINARY
On-Chip Debugger Commands
|
▷ |