z8fmc16100 ZiLOG Semiconductor, z8fmc16100 Datasheet - Page 257

no-image

z8fmc16100

Manufacturer Part Number
z8fmc16100
Description
Z8 Encore Motor Control Flash Mcus
Manufacturer
ZiLOG Semiconductor
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
z8fmc16100AKEG
Manufacturer:
LT
Quantity:
151
Part Number:
z8fmc16100AKEG
Manufacturer:
Zilog
Quantity:
10 000
Part Number:
z8fmc16100AKSG
Manufacturer:
Zilog
Quantity:
10 000
Part Number:
z8fmc16100QKEG
Manufacturer:
TOREX
Quantity:
2 000
Table 134. On-Chip Debugger Commands
PS024611-0408
Debug Command
Read Revision
Write OCD Counter Register
Read OCD Status Register
Read OCD Counter Register
Write OCD Control Register
Read OCD Control Register
Write Program Counter
Read Program Counter
Write Register
On-Chip Debugger Commands
As this register is overwritten by various OCD commands, it must only be used to
generate temporary break points, such as stepping over CALL instructions or running to a
specific instruction and stopping.
When the OCDCNTR register is read, it returns the inverse of the data in this register. The
OCDCNTR register is only decremented when counting. The mode where it counts the
number of clock cycles in between execution is achieved by counting down from its
maximum count. When the OCDCNTR register is read, the counter appears to be counted
up as its value is inverted. The value in this register is always inverted when it is read. If this
register is used as a hardware break point, the value read from this register will be inverse of
the data actually in the register.
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 are available unless the user code is 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 Z8FMC16100 Series Flash MCU device. When this option is
enabled, several OCD commands are disabled.
commands. Each OCD command is described in detail in the list following
Table 134
(normal operation) and those commands that are disabled by programming the Read
Protect option bit.
indicates the commands that operate when the device is not in DEBUG mode
Command
Byte
00h
01h
02h
03h
04h
05h
06h
07h
08h
Enabled When Not
In Debug Mode?
Yes
Yes
Yes
Yes
Table 134
Z8FMC16100 Series Flash MCU
registers are enabled. Writes to
the on-chip RAM are disabled.
Writes to on-chip peripheral
Disabled by Read Protect
lists a summary of the OCD
On-Chip Debugger Commands
Product Specification
Option Bit
Disabled
Disabled
Table
134.
245

Related parts for z8fmc16100