English
Language : 

Z8F0830HH020SG Datasheet, PDF (164/257 Pages) Zilog, Inc. – High-Performance 8-Bit Microcontrollers
Z8 Encore!® F0830 Series
Product Specification
146
Read OCD Control Register (05H). The read OCD Control Register command reads the
value of the OCDCTL register.
DBG
DBG
←→
05H
OCDCTL[7:0]
Write Program Counter (06H). The write program counter command, writes the data that
follows to 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, the program counter (PC) values are discarded.
DBG
DBG
DBG
←
←
←
06H
ProgramCounter[15:8]
ProgramCounter[7:0]
Read Program Counter (07H). The read program counter command, reads the value in
the eZ8 CPUs 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
DBG
DBG
←→ →
07H
ProgramCounter[15:8]
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
DBG
DBG
DBG
DBG
←
←
←
←
←
08H
{4’h0,Register Address[11:8]}
Register Address[7:0]
Size[7:0]
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 command
returns FFH for all of the data values.
DBG
DBG
DBG
DBG
DBG
←
←
←
←→
09H
{4’h0,Register Address[11:8]
Register Address[7:0]
Size[7:0]
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.
PS025113-1212
On-Chip Debugger Commands