Z8F160x Zilog, Z8F160x Datasheet - Page 176

no-image

Z8F160x

Manufacturer Part Number
Z8F160x
Description
Z8 Encore / Microcontrollers with Flash Memory and 10 Bit A/D Converter
Manufacturer
Zilog
Datasheet
PS017610-0404
Write OCD Control Register (04H)—The Write OCD Control Register command
writes the data that follows to the OCDCTL register. When the Read Protect Option
Bit is enabled, the DBGMODE bit (OCDCTL[7]) can only be set to 1, it cannot be
cleared to 0 and the only method of putting the Z8F640x family device back into
normal operating mode is to reset the device.
Read OCD Control Register (05H)—The Read OCD Control Register command
reads the value of the OCDCTL register.
Write Program Counter (06H)—The Write Program Counter command writes the
data that follows to the eZ8 CPU’s Program Counter (PC). If the Z8F640x family
device is not in Debug mode or if the Read Protect Option Bit is enabled, the Program
Counter (PC) values are discarded.
Read Program Counter (07H)—The Read Program Counter command reads the
value in the eZ8 CPU’s Program Counter (PC). If the Z8F640x family device is not in
Debug mode or if the Read Protect Option Bit is enabled, this command returns
FFFFH
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
zero). If the Z8F640x family device is not in Debug mode, the address and data values
are discarded. If the Read Protect Option Bit is enabled, then only writes to the Flash
Control Registers are allowed and all other register write data values are discarded.
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
DBG <-- 03H
DBG --> RuntimeCounter[15:8]
DBG --> RuntimeCounter[7:0]
DBG <-- 04H
DBG <-- OCDCTL[7:0]
DBG <-- 05H
DBG --> OCDCTL[7:0]
DBG <-- 06H
DBG <-- ProgramCounter[15:8]
DBG <-- ProgramCounter[7:0]
DBG <-- 07H
DBG --> ProgramCounter[15:8]
DBG --> ProgramCounter[7:0]
DBG <-- 08H
DBG <-- {4’h0,Register Address[11:8]}
DBG <-- Register Address[7:0]
DBG <-- Size[7:0]
DBG <-- 1-256 data bytes
.
Z8F640x/Z8F480x/Z8F320x/Z8F240x/Z8F160x
On-Chip Debugger
Z8 Encore!
®
158

Related parts for Z8F160x