English
Language : 

Z8F0830HH020SG Datasheet, PDF (165/257 Pages) Zilog, Inc. – High-Performance 8-Bit Microcontrollers
Z8 Encore!® F0830 Series
Product Specification
147
DBG
DBG
DBG
DBG
DBG
DBG
←
←
←
←
←
←
0AH
Program Memory Address[15:8]
Program Memory Address[7:0]
Size[15:8]
Size[7:0]
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 com-
mand returns FFH for the data.
DBG
DBG
DBG
DBG
DBG
DBG
←
←
←
←
←→
0BH
Program Memory Address[15:8]
Program Memory Address[7:0]
Size[15:8]
Size[7:0]
1–65536 data bytes
Write Data Memory (0CH). The write data memory command, writes data to data mem-
ory. This command is equivalent to the LDE and LDEI instructions. Data can be written
1–65536 bytes at a time (65536 bytes can be written by setting size to 0). If the device is
not in DEBUG Mode or if the flash read protect option bit is enabled, the data is discarded.
DBG
DBG
DBG
DBG
DBG
DBG
←
←
←
←
←
←
0CH
Data Memory Address[15:8]
Data Memory Address[7:0]
Size[15:8]
Size[7:0]
1–65536 data bytes
Read Data Memory (0DH). The read data memory command, reads from data memory.
This command is equivalent to the LDE and LDEI instructions. Data can be read from 1 to
65536 bytes at a time (65536 bytes can be read by setting size to 0). If the device is not in
DEBUG Mode, this command returns FFH for the data.
DBG
DBG
DBG
DBG
DBG
DBG
←
←
←
←
←→
0DH
Data Memory Address[15:8]
Data Memory Address[7:0]
Size[15:8]
Size[7:0]
1–65536 data bytes
Read Program Memory CRC (0EH). The read program memory CRC command, com-
putes and returns the cyclic redundancy check (CRC) of program memory using the 16-bit
CRC-CCITT polynomial. If the device is not in DEBUG Mode, this command returns
FFFFH for the CRC value. Unlike the other OCD read commands, there is a delay from
issuing of the command until the OCD returns the data. The OCD reads program memory,
calculates the CRC value and returns the result. The delay is a function of program mem-
PS025113-1212
On-Chip Debugger Commands