Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Скачиваний:
34
Добавлен:
27.04.2015
Размер:
1.98 Mб
Скачать

JTAG/OnCE Port Pinout

12.2 JTAG/OnCE Port Pinout

As described in the IEEE 1149.1a-1993 specification, the JTAG port requires a minimum of four pins to support TDI, TDO, TCK, and TMS signals. The DSP56824 also uses the optional test reset (TRST) input signal and multiplexes it so that the same pin can support the debug event (DE) output signal used by the OnCE interface. The pin functions are described in Table 12-1.

 

 

 

 

 

 

 

 

 

Table 12-1. JTAG/OnCE Pin Descriptions

 

 

 

 

 

 

 

 

Pin Name

 

Pin Description

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

TDI

 

Test Data Input— This input provides a serial data stream to the JTAG and the OnCE module. It is

 

 

 

 

 

 

 

 

 

sampled on the rising edge of TCK and has an on-chip pull-up resistor.

 

 

 

 

 

 

 

 

TDO

 

Test Data Output— This tri-statable output provides a serial data stream from the JTAG and the OnCE

 

 

 

 

 

 

 

 

 

module. It is driven in the Shift-IR and Shift-DR controller states of the JTAG state machine and changes

 

 

 

 

 

 

 

 

 

on the falling edge of TCK.

 

 

 

 

 

 

 

 

TCK

 

Test Clock Input— This input provides a gated clock to synchronize the test logic and shift serial data

 

 

 

 

 

 

 

 

 

through the JTAG/OnCE port. The maximum frequency for TCK is one-eighth the maximum frequency

 

 

 

 

 

 

 

 

 

of the DSP56824 (that is, 5 MHz for TCK if the maximum CLK input is 40 MHz). The TCK pin has an

 

 

 

 

 

 

 

 

 

on-chip pull-down resistor.

 

 

 

 

 

 

 

 

TMS

 

Test Mode Select Input— This input sequences the TAP controller’s state machine. It is sampled on

 

 

 

 

 

 

 

 

 

the rising edge of TCK and has an on-chip pull-up resistor.

 

 

 

 

 

 

 

 

 

 

 

 

 

/

 

 

 

 

 

Test Reset/Debug Event— This bidirectional pin, when configured as an input, provides a reset signal

 

TRST

DE

 

 

 

 

 

 

 

 

 

to the TAP controller. When configured as an output, it signals debug events detected on a trigger condi-

 

 

 

 

 

 

 

 

 

tion. Pin operation is configured by bit 14 of the OnCE control register (OCR). The

TRST

/

DE

pin has an

 

 

 

 

 

 

 

 

 

on-chip pull-up resistor.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

The TRST/DE pin can be configured for one of two functions. It can be used as a reset for the JTAG port or can provide a useful event-acknowledge feature. This selection is performed through appropriate control bits in the OCR. The two functions available are as follows:

TRST—When enabled, this input resets the JTAG TAP controller state machine.

DE—When enabled, this open-drain output provides a signal that indicates that an event has occurred in the OnCE debug logic. This event can be any of the following occurrences:

Hardware breakpoint

Software breakpoint

Trace or entry into debug mode caused by a DEBUG_REQUEST instruction being decoded in the JTAG port instruction register (IR)

Events cause TRST/DE to be asserted only if DE = 1 and DRM = 0 (in the OCR), as shown in Table 12-2.

Table 12-2. DE and DRM Encoding for TRST/DE Assertion

DE

DRM

Function

 

 

 

 

 

 

 

 

 

 

0

X

Input: JTAG reset when

 

pulled low

TRST

 

 

 

1

0

Output: pulled low on OnCE events

 

 

 

1

1

Output: disabled (weak on-chip pull-up)

 

 

 

 

 

 

OnCE™ Module

12-3

Соседние файлы в папке DSP568xx