z8f0813 ZiLOG Semiconductor, z8f0813 Datasheet - Page 168

no-image

z8f0813

Manufacturer Part Number
z8f0813
Description
High-performance 8-bit Microcontrollers
Manufacturer
ZiLOG Semiconductor
Datasheet
PS024314-0308
Debug Command
Stuff Instruction
Execute Instruction
Reserved
In the following list of OCD Commands, data and commands sent from the host to the
OCD are identified by ’
is identified by ’
Read OCD Revision (00H)—The Read OCD Revision command determines the ver-
sion of the OCD. If OCD commands are added, removed, or changed, this revision number
changes.
DBG
DBG
DBG
Read OCD Status Register (02H)—The Read OCD Status register command reads the
OCDSTAT register.
DBG
DBG
Read Runtime Counter (03H)—The Runtime Counter counts system clock cycles in
between breakpoints. The 16-bit Runtime Counter counts up from
maximum count of
ry, Read Memory, Write Register, Read Register, Read Memory CRC, Step Instruction,
Stuff Instruction, and Execute Instruction commands.
DBG
DBG
DBG
Write OCD Control Register (04H)—The Write OCD Control Register command
writes the data that follows to the OCDCTL register. When the Flash Read Protect Option
Bit is enabled, the DBGMODE bit (
to 0 and the only method of returning the device to normal operating mode is to reset the
device.
DBG
DBG
Read OCD Control Register (05H)—The Read OCD Control Register command reads
the value of the OCDCTL register.
00H
OCDRev[15:8] (Major revision number)
OCDRev[7:0] (Minor revision number)
02H
OCDSTAT[7:0]
03H
RuntimeCounter[15:8]
RuntimeCounter[7:0]
04H
OCDCTL[7:0]
Command
Byte
13H–FFH
DBG → Data
12H
11H
FFFFH
DBG ← Command/Data
Enabled when
NOT in DEBUG
mode?
’.
. The Runtime Counter is overwritten during the Write Memo-
OCDCTL
[7]) can only be set to 1, it cannot be cleared
’. Data sent from the OCD back to the host
Disabled by Flash Read Protect
Option Bit
Z8 Encore! XP
Product Specification
Disabled.
Disabled.
0000H
®
On-Chip Debugger
F0823 Series
and stops at the
158

Related parts for z8f0813