Zakładka z wyszukiwarką danych komponentów
  Polish  ▼
ALLDATASHEET.PL

X  

AN2099 Arkusz danych(PDF) 2 Page - STMicroelectronics

Numer części AN2099
Szczegółowy opis  Guidelines for connecting via JTAG protocol to the STR71x microcontroller
PDF  8 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Producent  STMICROELECTRONICS [STMicroelectronics]
Strona internetowa  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN2099 Arkusz danych(HTML) 2 Page - STMicroelectronics

  AN2099 Datasheet HTML 1Page - STMicroelectronics AN2099 Datasheet HTML 2Page - STMicroelectronics AN2099 Datasheet HTML 3Page - STMicroelectronics AN2099 Datasheet HTML 4Page - STMicroelectronics AN2099 Datasheet HTML 5Page - STMicroelectronics AN2099 Datasheet HTML 6Page - STMicroelectronics AN2099 Datasheet HTML 7Page - STMicroelectronics AN2099 Datasheet HTML 8Page - STMicroelectronics  
Zoom Inzoom in Zoom Outzoom out
 2 / 8 page
background image
2/8
Guidelines for connecting via JTAG protocol to the STR71x microcontroller
1 OVERVIEW
One of the features of the STR71x is to allow the user to boot an application from internal
RAM, which could be used for debugging purposes. However, that system configuration may
potentially result in a hang-up when the debugger attempts to initiate the JTAG communica-
tion with the microcontroller. This could be caused by some random code in RAM that could
set the STR71x in an unpredictable mode and prevent JTAG connection to the target.
Section 2 of this application note describes the inherent features of the STR71x affecting the
JTAG connection. Section 3 presents a set of solutions for overcoming all the connection is-
sues. Finally, Section 4, gives a detailed description of the JTAG connection sequence from
the point of view of the JTAG protocol converter.
2 PARAMETERS AFFECTING JTAG CONNECTION
This section covers all the known parameters that affect the JTAG connection.
2.1 DELAY FOR FLASH INITIALIZATION
One aspect to be taken into account is the time for the internal STR71x flash initialization fol-
lowing a system reset. The flash initialization holds an internal signal controlling the ARM
JTAG Reset pin in an undefined state for a deterministic amount of time. This is explained in
detail in section 3.2.
2.2 RESET SIGNALS CONNECTED
Having both system reset and the JTAG reset connected to the same signal will prevent con-
nection since the system reset has to be asserted during the JTAG communication protocol
and released before the start of the application. Therefore having both pins tied to the same
signal will prevent any JTAG communication with the embedded ICE registers.
2.3 PUTTING THE STR71x CPU IN HALT MODE
The Halt Mode of the STR71x CPU is used for debug purposes. This means that once debug
state is initiated, the core is stopped and isolated from the rest of the system until the de-
bugger restores the system state.
The STR71x can only switch to debug state by switching from the main CPU clock (MCLK) to
the ARM JTAG clock (DCLK) controlled by the debugger. The STR71x CPU enters Halt mode
on the next falling edge of MCLK after DBGRQ is asserted. Therefore MCLK has to be running
internally to be able to connect via JTAG. For this reason, it is not possible to connect via
JTAG when the STR71x is in WFI (Wait For Interrupt) mode or STOP mode.



Html Pages

1 2 3 4 5 6 7 8


Arkusz danych Pobierz

Go To PDF Page


Link URL



Czy Alldatasheet okazała się pomocna?  [ DONATE ] 

O Alldatasheet   |   Reklama   |   Kontakt   |   Polityka prywatności   |   Link do karty katalogowej    |   Linki   |   Lista producentów
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com