Z8F042AHH020EG Zilog, Z8F042AHH020EG Datasheet - Page 191

IC ENCORE XP MCU FLASH 4K 20SSOP

Z8F042AHH020EG

Manufacturer Part Number
Z8F042AHH020EG
Description
IC ENCORE XP MCU FLASH 4K 20SSOP
Manufacturer
Zilog
Series
Encore!® XP®r
Datasheet

Specifications of Z8F042AHH020EG

Core Processor
Z8
Core Size
8-Bit
Speed
20MHz
Connectivity
IrDA, UART/USART
Peripherals
Brown-out Detect/Reset, LED, LVD, POR, PWM, Temp Sensor, WDT
Number Of I /o
17
Program Memory Size
4KB (4K x 8)
Program Memory Type
FLASH
Eeprom Size
128 x 8
Ram Size
1K x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 3.6 V
Data Converters
A/D 7x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 105°C
Package / Case
20-SSOP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
269-4156
Z8F042AHH020EG
Table 93. On-Chip Debugger Commands (Continued)
PS022517-0508
Debug Command
Execute Instruction
Reserved
In the following bulleted list of OCD Commands, data and commands sent from the host to
the OCD are identified by ’DBG ← Command/Data’. Data sent from the OCD back to the
host is identified by ’DBG → Data’
Read OCD Revision (00H)
version of the OCD. If OCD commands are added, removed, or changed, this revision
number changes.
Write OCD Counter Register (01H)
writes the data that follows to the OCDCNTR register. If the device is not in DEBUG
mode, the data is discarded.
Read OCD Status Register (02H)
the OCDSTAT register.
Read OCD Counter Register (03H)
count system clock cycles in between Breakpoints, generate a BRK when it counts
down to zero, or generate a BRK when its value matches the Program Counter. Since
this register is really a down counter, the returned value is inverted when this register
is read so the returned result appears to be an up counter. If the device is not in
DEBUG mode, this command returns FFFFH.
Write OCD Control Register (04H)
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 device back into normal operating
mode is to reset the device.
DBG ← 00H
DBG → OCDREV[15:8] (Major revision number)
DBG → OCDREV[7:0] (Minor revision number)
DBG ← 01H
DBG ← OCDCNTR[15:8]
DBG ← OCDCNTR[7:0]
DBG ← 02H
DBG → OCDSTAT[7:0]
DBG ← 03H
DBG → ~OCDCNTR[15:8]
DBG → ~OCDCNTR[7:0]
Command
Byte
13H - FFH
12H
Enabled when
NOT in DEBUG
mode?
—The Read OCD Revision command determines the
-
-
—The Read OCD Status Register command reads
—The Write OCD Control Register command
—The Write OCD Counter Register command
—The OCD Counter Register can be used to
Disabled by
Read Protect Option Bit
Z8 Encore! XP
Product Specification
Disabled
-
®
On-Chip Debugger
F0822 Series
178

Related parts for Z8F042AHH020EG