background image

AN2339

Development and debugging tool support

13/20

The JTAG input signals have weak internal pull-up and pull-down resistors, but these are not 
always active:

When debug protection is activated (JTAG permanently held in reset internally)

At power up and down there may be a short duration where the power on reset is 
already released internally, but where the resistors are not yet active. 

To avoid any floating input pins even for a very short period it is highly recommended to 
always provide additional external pull-up and pull-down resistors. This recommendation is 
valid whether the JTAG port is used or not.

RTCK

JRTCK

Return TCK (to 
JTAG equipment)

The RTCK signal is returned by the core to the 
JTAG equipment, and the clock is not 
advanced until the core had captured the data. 
In adaptive clocking mode, the debugging 
equipment waits for an edge on RTCK before 
changing TCK. 

TDO

JTDO

Test data out (to 
JTAG equipment)

TDO is the return path of the data input signal 
TDI. 

nSRST

nRSTIN

System reset 
(bidirectional)

nSRST is an active LOW open-collector signal 
that can be driven by the JTAG equipment to 
reset the target board. Some JTAG equipment 
senses this line to determine when a board has 
been reset by the user.
When the signal is driven LOW by the reset 
controller on the core module, the motherboard 
resets the whole system by driving nSYSRST 
low.

DBGRQ

GND

(not used)

Debug request 
(from JTAG 
equipment)

DBGRQ is a request for the processor core to 
enter debug state.

DBGACK

GND

(not used)

Debug 
acknowledge (to 
JTAG equipment)

DBGACK indicates to the debugger that the 
processor core has entered debug mode.

Table 1.

JTAG interface signals

Std name

STR91x

name

Direction/ 

Description

Function

Содержание STR91 Series

Страница 1: ...rm signal cycle DSP instructions good for speech processing audio algorithms and low end imaging This application note provides a complement to the information in the STR91x datasheet and reference ma...

Страница 2: ...TIM clock 9 3 5 Output clock 9 4 Reset control 10 4 1 Reset input 10 4 1 1 System Reset 10 4 1 2 Global Reset 10 4 2 Reset output 11 5 Development and debugging tool support 12 5 1 JTAG interface 12...

Страница 3: ...AN2339 Contents 3 20 6 STR91x basic schematic 18 7 Revision history 19...

Страница 4: ...y AN2339 4 20 1 Hardware requirements summary In order to build an application around STR91x the application board should at least provide the following features Power supply Clock management Reset co...

Страница 5: ...is typically achieved with thick track widths and preferably dedicated power supply planes in multi layer PCBs In addition each VDD VSS and VDDQ VSSQ pair should be decoupled with ceramic capacitors w...

Страница 6: ...e point in the STR91xF device on pin AVSS_VSSQ Also the ADC reference voltage is tied internally to the ADC unit supply voltage on pin AVCC_AVREF meaning the ADC reference voltage is fixed to the ADC...

Страница 7: ...CPU and X2_CPU or an external oscillator device connected to pin X1_CPU in this case the X2_CPU pin can be left open and not used The recommended circuitry for a crystal is shown below C1 C2 and R1 va...

Страница 8: ...area around the oscillation circuit using suitable shielding 3 2 Real time clock 3 2 1 External crystal A 32 768 kHz external crystal can be connected to pins X1_RTC and X2_RTC or an external oscillat...

Страница 9: ...rface TIM0 TIM1 and TIM2 TIM3 can receive an external clock on pin EXTCLK_T0T1 and EXTCLK_T2T3 respectively 3 5 Output clock The STR91xF devices can optionally output a 25 MHz clock to the external Et...

Страница 10: ...uit Emulators ICE software has to re initialize the debug interface in the target system nSRST is a bidirectional signal that both drives and senses the system reset signal on the target The open coll...

Страница 11: ...after which the CPU fetches the first instruction from address 0x0000 0000 Figure 6 Reset timing 4 2 Reset output The RESET_OUT pin can be used to reset other application components when a system or...

Страница 12: ...ion Description Function nTRST JTRST Test Reset from JTAG equipment This active LOW open collector is used to reset the JTAG port and the associated debug circuitry It is asserted at power up by each...

Страница 13: ...until the core had captured the data In adaptive clocking mode the debugging equipment waits for an edge on RTCK before changing TCK TDO JTDO Test data out to JTAG equipment TDO is the return path of...

Страница 14: ...you can instead improve the circuitry used at the target end The recommended solution is to add an external buffer with good current drive and a 100 series resistor for the TDO and RTCK signals 5 2 ET...

Страница 15: ...TAG port TDI JTDI 19 Test data input from run control to the JTAG port NTRST JNTRST 21 Active low JTAG reset Port A TRACEPKT 15 Not used 23 The trace packet port Port A TRACEPKT 14 Not used 25 The tra...

Страница 16: ...on is almost certainly necessary but there are some circumstances where it is not required The decision is related to track length between the STR91x and the Mictor connector 5 2 5 Rules for series te...

Страница 17: ...he output driver 3 A source terminated signal is only valid at the end of the signal path At any point between the source and the end of the track the signal appears distorted because of reflections A...

Страница 18: ...EMI_WRH 22 EMI_ALE 74 EMI_RD 75 RTCK 97 TRST 107 TCK 108 TMS 111 TDI 115 TDO 117 RTC X2 41 RTC X1 42 RTC_TAMPER1 91 MII_MDIO 94 USB 95 USB 96 U1A STR912FW 1 4 3 2 PB2 RESET C2 20pF C3 20pF X2 32 768KH...

Страница 19: ...AN2339 Revision history 19 20 7 Revision history Table 4 Document revision history Date Revision Changes 14 Apr 2006 1 Initial release 10 May 2006 2 Added Section 6 STR91x basic schematic...

Страница 20: ...LE OF ST PRODUCTS INCLUDING WITHOUT LIMITATION IMPLIED WARRANTIES OF MERCHANTABILITY FITNESS FOR A PARTICULAR PURPOSE AND THEIR EQUIVALENTS UNDER THE LAWS OF ANY JURISDICTION OR INFRINGEMENT OF ANY PA...

Отзывы: