日本黄色一级经典视频|伊人久久精品视频|亚洲黄色色周成人视频九九九|av免费网址黄色小短片|黄色Av无码亚洲成年人|亚洲1区2区3区无码|真人黄片免费观看|无码一级小说欧美日免费三级|日韩中文字幕91在线看|精品久久久无码中文字幕边打电话

當(dāng)前位置:首頁 > 技術(shù)學(xué)院 > 技術(shù)前線
[導(dǎo)讀]JLink、JTAG接口詳細圖解

1腳:通常連接到目標板的vdd,用來檢測目標系統(tǒng)是否供電;檢測原理上圖中有簡單的說明。

2腳:原版的JLink這個引腳沒有使用,不提供Vsupply輸出,而很多改造版的JLink通過跳線選擇從該引腳輸出3.3V的電壓給外邊,我的就是這樣的。

可以到網(wǎng)上找JLink的原理圖看看。

http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0517b/Cjaeccji.html

JTAG interface signals

The following table describes the signals on the JTAG interfaces:

Table 1. JTAG signals

SignalI/ODescription

DBGACK-This pin is connected in the RVI run control unit, but is not supported in the current release of the software. It is reserved for compatibility with other equipment to be used as a debug acknowledge signal from the target system. It is recommended that this signal is pulled LOW on the target.

DBGRQ-This pin is connected in the RVI run control unit, but is not supported in the current release of the software. It is reserved for compatibility with other equipment to be used as a debug request signal to the target system. The RVI software maintains this signal as LOW.

When applicable,RVI uses the scan chain 2 of the processor to put the processor in debug state. It is recommended that this signal is pulled LOW on the target.

GND-Ground.

nSRSTInput/outputActive Low output from RVI to the target system reset, with a 4.7kΩ pull-up resistor for de-asserted state. This is also an input to RVI so that a reset initiated on the target can be reported to the debugger.

This pin must be pulled HIGH on the target to avoid unintentional resets when there is no connection.

nTRSTOutputActive Low output from RVI to the Reset signal on the target JTAG port, driven to the VTref voltage for de-asserted state. This pin must be pulled HIGH on the target to avoid unintentional resets when there is no connection.

RTCKInputReturn Test Clock signal from the target JTAG port to RVI. Some targets must synchronize the JTAG inputs to internal clocks. To assist in meeting this requirement, you can use a returned, and retimed, TCK to dynamically control the TCK rate. RVI provides Adaptive Clock Timing, that waits for TCK changes to be echoed correctly before making more changes. Targets that do not have to process TCK can ground this pin.

RTCK is not supported in Serial Wire Debug (SWD) mode.

TCKOutputTest Clock signal from RVI to the target JTAG port. It is recommended that this pin is pulled LOW on the target.

TDIOutputTest Data In signal from RVI to the target JTAG port. It is recommended that this pin is pulled HIGH on the target.

TDOInputTest Data Out from the target JTAG port to RVI. It is recommended that this pin is pulled HIGH on the target.

TMSOutputTest Mode signal from RVI to the target JTAG port. This pin must be pulled HIGH on the target so that the effect of any spurious TCKs when there is no connection is benign.

VsupplyInputThis pin is not connected in the RVI unit. It is reserved for compatibility with other equipment to be used as a power feed from the target system.

VTrefInputThis is the target reference voltage. It indicates that the target has power, and It must be at least 0.628V. VTref is normally fed from Vdd on the target hardware and might have a series resistor (though this is not recommended). There is a 10kΩ pull-down resistor on VTref in RVI.

ARM系統(tǒng)的JTAG接口的設(shè)計不當(dāng)往往使硬件系統(tǒng)無法調(diào)試,所以在設(shè)計ARM系統(tǒng)前要先熟悉ARM系統(tǒng)的JTAG接口的定義和常見問題。

1.ARM系統(tǒng)的JTAG接口是如何定義的? 每個PIN又是如何連接的?

下圖是JTAG接口的信號排列示意:

接口是一個20腳的IDC插座。下表給出了具體的信號說明:

表 1 JTAG引腳說明

序號信號名方向說 明

1VrefInput接口電平參考電壓,通??芍苯咏与娫?

2VsupplyInput電源

3nTRSTOutput(可選項) JTAG復(fù)位。在目標端應(yīng)加適當(dāng)?shù)纳侠娮枰苑乐拐`觸發(fā)。

4GND--接地

5TDIOutputTest Data In from Dragon-ICE to target.

6GND--接地

7TMSOutputTest Mode Select

8GND--接地

9TCKOutputTest Clock output from Dragon-ICE to the target

10GND--接地

11RTCKInput(可選項) Return Test Clock。由目標端反饋給Dragon-ICE的時鐘信號,用來同步TCK信號的產(chǎn)生。不使用時可以直接接地。

12GND--接地

13TDOInputTest Data Out from target to Dragon-ICE.

14GND--接地

15nSRSTInput/Output(可選項) System Reset,與目標板上的系統(tǒng)復(fù)位信號相連??梢灾苯訉δ繕讼到y(tǒng)復(fù)位,同時可以檢測目標系統(tǒng)的復(fù)位情況。為了防止誤觸發(fā),應(yīng)在目標端加上適當(dāng)?shù)纳侠娮琛?

16GND--接地

17NC

保留

18GND--接地

19NC--保留

20GND--接地

2.目標系統(tǒng)如何設(shè)計?

目標板使用與Dragon-ICE一樣的20腳針座,信號排列見表1。RTCK和 nTRST這兩個信號根據(jù)目標ASIC有否提供對應(yīng)的引腳來選用。nSRST則根據(jù)目標系統(tǒng)的設(shè)計考慮來選擇使用。下面是一個典型的連接關(guān)系圖:

復(fù)位電路中可以根據(jù)不同的需要包含上電復(fù)位、手動復(fù)位等等功能。如果用戶希望系統(tǒng)復(fù)位信號nSRST能同時觸發(fā)JTAG口的復(fù)位信號nTRST,則可以使用一些簡單的組合邏輯電路來達到要求。后面給出了一種電路方案的效果圖。


faq4.jpg

圖 3 一個復(fù)位電路結(jié)構(gòu)的例子

在目標系統(tǒng)的PCB設(shè)計中,最好把JTAG接口放置得離目標ASIC近一些,如果這兩者之間的連線過長,會影響JTAG口的通信速率。

另外電源的連線也需要加以額外考慮,因為Dragon-ICE要從目標板上吸取超過100mA的大電流。最好能有專門的敷銅層來供電,假如只能使用連線供電的話,最小線寬不應(yīng)小于10mil (0.254mm)。

3. 14腳JTAG如何與20JTAG連接?

Dragon-ICE使用工業(yè)標準的20腳JTAG插頭,但是有些老的系統(tǒng)采用一種14腳的插座

。這兩類接口的信號排列如下:

這兩類接口之間的信號電氣特性都是一樣的,因此可以把對應(yīng)的信號直接連起來進

行轉(zhuǎn)接。Dragon-ICE配備這種轉(zhuǎn)接卡,隨機配備。

本站聲明: 本文章由作者或相關(guān)機構(gòu)授權(quán)發(fā)布,目的在于傳遞更多信息,并不代表本站贊同其觀點,本站亦不保證或承諾內(nèi)容真實性等。需要轉(zhuǎn)載請聯(lián)系該專欄作者,如若文章內(nèi)容侵犯您的權(quán)益,請及時聯(lián)系本站刪除。
換一批
延伸閱讀

LED驅(qū)動電源的輸入包括高壓工頻交流(即市電)、低壓直流、高壓直流、低壓高頻交流(如電子變壓器的輸出)等。

關(guān)鍵字: 驅(qū)動電源

在工業(yè)自動化蓬勃發(fā)展的當(dāng)下,工業(yè)電機作為核心動力設(shè)備,其驅(qū)動電源的性能直接關(guān)系到整個系統(tǒng)的穩(wěn)定性和可靠性。其中,反電動勢抑制與過流保護是驅(qū)動電源設(shè)計中至關(guān)重要的兩個環(huán)節(jié),集成化方案的設(shè)計成為提升電機驅(qū)動性能的關(guān)鍵。

關(guān)鍵字: 工業(yè)電機 驅(qū)動電源

LED 驅(qū)動電源作為 LED 照明系統(tǒng)的 “心臟”,其穩(wěn)定性直接決定了整個照明設(shè)備的使用壽命。然而,在實際應(yīng)用中,LED 驅(qū)動電源易損壞的問題卻十分常見,不僅增加了維護成本,還影響了用戶體驗。要解決這一問題,需從設(shè)計、生...

關(guān)鍵字: 驅(qū)動電源 照明系統(tǒng) 散熱

根據(jù)LED驅(qū)動電源的公式,電感內(nèi)電流波動大小和電感值成反比,輸出紋波和輸出電容值成反比。所以加大電感值和輸出電容值可以減小紋波。

關(guān)鍵字: LED 設(shè)計 驅(qū)動電源

電動汽車(EV)作為新能源汽車的重要代表,正逐漸成為全球汽車產(chǎn)業(yè)的重要發(fā)展方向。電動汽車的核心技術(shù)之一是電機驅(qū)動控制系統(tǒng),而絕緣柵雙極型晶體管(IGBT)作為電機驅(qū)動系統(tǒng)中的關(guān)鍵元件,其性能直接影響到電動汽車的動力性能和...

關(guān)鍵字: 電動汽車 新能源 驅(qū)動電源

在現(xiàn)代城市建設(shè)中,街道及停車場照明作為基礎(chǔ)設(shè)施的重要組成部分,其質(zhì)量和效率直接關(guān)系到城市的公共安全、居民生活質(zhì)量和能源利用效率。隨著科技的進步,高亮度白光發(fā)光二極管(LED)因其獨特的優(yōu)勢逐漸取代傳統(tǒng)光源,成為大功率區(qū)域...

關(guān)鍵字: 發(fā)光二極管 驅(qū)動電源 LED

LED通用照明設(shè)計工程師會遇到許多挑戰(zhàn),如功率密度、功率因數(shù)校正(PFC)、空間受限和可靠性等。

關(guān)鍵字: LED 驅(qū)動電源 功率因數(shù)校正

在LED照明技術(shù)日益普及的今天,LED驅(qū)動電源的電磁干擾(EMI)問題成為了一個不可忽視的挑戰(zhàn)。電磁干擾不僅會影響LED燈具的正常工作,還可能對周圍電子設(shè)備造成不利影響,甚至引發(fā)系統(tǒng)故障。因此,采取有效的硬件措施來解決L...

關(guān)鍵字: LED照明技術(shù) 電磁干擾 驅(qū)動電源

開關(guān)電源具有效率高的特性,而且開關(guān)電源的變壓器體積比串聯(lián)穩(wěn)壓型電源的要小得多,電源電路比較整潔,整機重量也有所下降,所以,現(xiàn)在的LED驅(qū)動電源

關(guān)鍵字: LED 驅(qū)動電源 開關(guān)電源

LED驅(qū)動電源是把電源供應(yīng)轉(zhuǎn)換為特定的電壓電流以驅(qū)動LED發(fā)光的電壓轉(zhuǎn)換器,通常情況下:LED驅(qū)動電源的輸入包括高壓工頻交流(即市電)、低壓直流、高壓直流、低壓高頻交流(如電子變壓器的輸出)等。

關(guān)鍵字: LED 隧道燈 驅(qū)動電源
關(guān)閉