English
Language : 

Z8F4822AR020SG Datasheet, PDF (209/323 Pages) Zilog, Inc. – High Performance 8-Bit Microcontrollers
Z8 Encore! XP® F64xx Series
Product Specification
189
Debug Command
Read OCD Revision
Read OCD Status
Register
Read Runtime Counter
Write OCD Control
Register
Read OCD Control
Register
Write Program Counter
Read Program Counter
Write Register
Read Register
Write Program Memory
Read Program Memory
Write Data Memory
Read Data Memory
Read Program Memory
CRC
Reserved
Step Instruction
Stuff Instruction
Execute Instruction
Reserved
Table 102. On-Chip Debugger Commands
Command
Byte
00H
02H
Enabled when
NOT in DEBUG
Mode?
Disabled by Read Protect Option Bit
Yes
—
Yes
—
03H
—
—
04H
Yes
Cannot clear DBGMODE bit
05H
Yes
—
06H
07H
08H
09H
0AH
0BH
0CH
0DH
0EH
—
Disabled
—
Disabled
—
Only writes of the Flash memory control
registers are allowed. Additionally, only the
Mass Erase command is allowed to be
written to the Flash Control Register.
—
Disabled
—
Disabled
—
Disabled
—
Disabled
—
Disabled
—
—
0FH
10H
11H
12H
13H–FFH
—
—
—
Disabled
—
Disabled
—
Disabled
—
—
In the following list of OCD commands, data and commands sent from the host to the On-
Chip Debugger are identified by DBG ← Command/Data. Data sent from the On-Chip
Debugger back to the host is identified by DBG → Data.
Read OCD Revision (00H). The Read OCD Revision command determines the version of
the On-Chip Debugger. If OCD commands are added, removed, or changed, this revision
number changes.
PS019924-0113
PRELIMINARY
On-Chip Debugger Commands