z8f0822 ZiLOG Semiconductor, z8f0822 Datasheet - Page 189
z8f0822
Manufacturer Part Number
z8f0822
Description
High Performance 8-bit Microcontrollers
Manufacturer
ZiLOG Semiconductor
Datasheet
1.Z8F0822.pdf
(264 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
z8f0822PJ020SG
Manufacturer:
Zilog
Quantity:
45
Company:
Part Number:
z8f0822SJ020SG
Manufacturer:
Zilog
Quantity:
567
- Current page: 189 of 264
- Download datasheet (6Mb)
On-Chip Debugger Commands
PS022517-0508
OCDCNTR Register
Caution:
The OCD contains a multipurpose 16-bit Counter Register. It can be used for the
following:
•
•
•
When configured as a counter, the OCDCNTR register starts counting when the OCD
leaves DEBUG mode and stops counting when it enters DEBUG mode again or when it
reaches the maximum count of
to
between breakpoints.
Since this register is overwritten by various OCD commands, it should only be used to
generate temporary breakpoints, such as stepping over CALL instructions or running to a
specific instruction and stopping.
The host communicates to the OCD by sending OCD commands using the DBG interface.
During normal operation, only a subset of the OCD commands are available. In DEBUG
mode, all OCD commands become available unless the user code and control registers are
protected by programming the Read Protect Option Bit (RP). The Read Protect Option Bit
prevents the code in memory from being read out of the Z8 Encore! XP F0822 Series
products. When this option is enabled, several of the OCD commands are disabled.
Table 93
described further in the bulleted list. It also lists the commands that operate when the
device is not in DEBUG mode (normal operation) and those commands that are disabled
by programming the Read Protect Option Bit.
0000H
Count system clock cycles between Breakpoints.
Generate a BRK when it counts down to zero.
Generate a BRK when its value matches the Program Counter.
The OCDCNTR register is used by many of the OCD commands. It counts
the number of bytes for the register and memory read/write commands. It
holds the residual value when generating the CRC. Therefore, if the OCD-
CNTR is being used to generate a BRK, its value should be written as a last
step before leaving DEBUG mode.
on page 177 contains a summary of the OCD commands. Each OCD command is
when the OCD exits DEBUG mode if it is configured to count clock cycles
FFFFH
. The OCDCNTR register automatically resets itself
Z8 Encore! XP
Product Specification
®
On-Chip Debugger
F0822 Series
176
Related parts for z8f0822
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Z8 Encore!? Microcontroller With Flash Memory And 10-bit A/d Converter
Manufacturer:
ZiLOG Semiconductor
Datasheet:
Part Number:
Description:
Z8 Encore! Xp F64xx Series
Manufacturer:
ZiLOG Semiconductor
Datasheet:
Part Number:
Description:
Z8 Encore Motor Control Flash Mcus
Manufacturer:
ZiLOG Semiconductor
Datasheet:
Part Number:
Description:
Z8 Encore XP-R F08xA Series with eXtended Peripherals
Manufacturer:
ZILOG [Zilog, Inc.]
Datasheet:
Part Number:
Description:
Z8 Encore Microcontrollers with Flash Memory and 10-Bit A/D Converter
Manufacturer:
ZILOG [Zilog, Inc.]
Datasheet:
Part Number:
Description:
Z8 Encore-R Motor Control Flash MCUs
Manufacturer:
ZILOG [Zilog, Inc.]
Datasheet:
Part Number:
Description:
Z8 Encore-R Motor Control Series
Manufacturer:
ZILOG [Zilog, Inc.]
Datasheet:
Part Number:
Description:
Z8 MCU MICROCONTROLLERS
Manufacturer:
ZILOG [Zilog, Inc.]
Datasheet:
Part Number:
Description:
Z8 Encore / Microcontrollers with Flash Memory and 10 Bit A/D Converter
Manufacturer:
Zilog
Datasheet:
Part Number:
Description:
Z8 MCU MICROCONTROLLERS
Manufacturer:
Zilog.
Datasheet:
Part Number:
Description:
Ez80f91 Mini Enet Module
Manufacturer:
ZiLOG Semiconductor
Datasheet:
Part Number:
Description:
Z90233, Z90234, And Z90231 Ezvision 200 Television Controller
Manufacturer:
ZiLOG Semiconductor
Datasheet:
Part Number:
Description:
Digital Television Controllers
Manufacturer:
ZiLOG Semiconductor
Datasheet:
Part Number:
Description:
Television Controllers
Manufacturer:
ZiLOG Semiconductor
Datasheet:
Part Number:
Description:
40-pin Low-cost Digital Television Controller
Manufacturer:
ZiLOG Semiconductor
Datasheet: