About Adaptive Clocking To Synchronize The Jtag Port - ARM DS-5 Manual

Hide thumbs Also See for DS-5:
Table of Contents

Advertisement

1.1

About adaptive clocking to synchronize the JTAG port

ARM architecture-based devices that use only hard macrocells, such as ARM7TDMI
use the standard five-wire JTAG interface. However, some target systems require that JTAG events are
synchronized to a clock in the system. The adaptive clocking feature of DSTREAM addresses this
requirement.
The standard five-wire JTAG interface comprises the TCK, TMS, TDI, TDO, and nTRST signals. To
ensure a valid JTAG CLK setting, systems that require the JTAG events to be synchronized to a clock in
the system often support an extra signal (RTCK) at the JTAG port:
An Application-Specific Integrated Circuit (ASIC) with single rising-edge D-type design rules, such
as one based on an ARM7TDMI-S
A system where scan chains external to the ARM macrocell must meet single rising-edge D-type
design rules.
When adaptive clocking is enabled, DSTREAM issues a TCK signal and waits for the RTCK signal to
come back. DSTREAM does not progress to the next TCK until RTCK is received.
Adaptive clocking is automatically configured in ARM DS-5
If you use the adaptive clocking feature, transmission delays, gate delays, and synchronization
requirements result in a lower maximum clock frequency than with non-adaptive clocking. Do not
use adaptive clocking unless it is required by the hardware design.
If, when autoconfiguring a target, the DSTREAM unit receives pulses on RTCK in response to TCK
it assumes that adaptive clocking is required, and enables adaptive clocking in the target
configuration. If the hardware does not require adaptive clocking, the target is driven slower than it
could be. You can disable adaptive clocking using controls on the JTAG settings dialog box.
If adaptive clocking is used, DSTREAM cannot detect the clock speed, and therefore cannot scale its
internal timeouts. If the target clock frequency is very slow, a JTAG timeout might occur. This leaves
the JTAG in an unknown state, and DSTREAM cannot operate correctly without reconnecting to the
processor. JTAG timeouts are enabled by default. You can disable JTAG timeouts by deselecting the
option JTAG Timeouts Enabled in the installed Debug Hardware Config utility provided with the
DSTREAM unit.
You can use adaptive clocking as an interface to targets with slow or widely varying clock frequency,
such as battery-powered equipment that varies its clock speed according to processing demand. In this
system, TCK might be hundreds of times faster than the system clock, and the debugger loses
synchronization with the target system. Adaptive clocking ensures that the JTAG port speed
automatically adapts to slow system speed.
The following figure shows a circuit for a basic JTAG port synchronizer.
ARM 100956_0527_00_en
Note
Copyright © 2010–2012, 2015–2017 ARM Limited or its affiliates. All rights reserved.
1.1 About adaptive clocking to synchronize the JTAG port
processor.
Non-Confidential
1 ARM DSTREAM System Design Guidelines
and ARM920T,
®
as required by the target.
1-13

Advertisement

Table of Contents
loading

Table of Contents