JP3809444B2 - Built-in data access apparatus and method in boundary scan test interface - Google Patents
Built-in data access apparatus and method in boundary scan test interface Download PDFInfo
- Publication number
- JP3809444B2 JP3809444B2 JP2004054570A JP2004054570A JP3809444B2 JP 3809444 B2 JP3809444 B2 JP 3809444B2 JP 2004054570 A JP2004054570 A JP 2004054570A JP 2004054570 A JP2004054570 A JP 2004054570A JP 3809444 B2 JP3809444 B2 JP 3809444B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- built
- boundary scan
- scan test
- test interface
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Tests Of Electronic Circuits (AREA)
- Test And Diagnosis Of Digital Computers (AREA)
Description
本発明は境界走査試験インタフェースの技術領域に係り、特に、境界走査試験インタフェース中の内蔵データアクセス装置及び方法に関する。 The present invention relates to the technical field of boundary scan test interfaces, and more particularly to a built-in data access apparatus and method in a boundary scan test interface.
チップパッケージ及び多層プリント基板技術の複雑化に伴い、伝統的なピンベッドでの試験方式はプリント基板上のノードとの接触が難しくなり、且つ表面実装技術の成熟化により、ICの多くが直接基板の表面に実装されるようになったためにIC内部信号を直接測定することが困難となった。この問題を解決するため境界走査(Boundary scan)技術が生れた。例えば、JTAG(Joint Test Action Group)の境界走査があり、その正式標準名称はIEEE1149.1、及びIEEE1149.4のデジタルテストアクセスポート(Digital Test Access Port)インタフェースで、ICを試験できる境界走査試験インタフェースとされている。それはシリアルスキャンチェーン(Serial scan chain)により集積回路内部モジュールの試験を行ない、図1に示されるJTAGのインタフェース構造によると、それは5本の信号ピン(TDI、TDO、TMS、TCK、nTRST)により走査チェーンデータの操作を行なう。そのうち、TDIピンはシリアルデータを入力し、TDOピンはシリアルデータを出力し、TMSピンはモードを選択入力し、TCKピンはクロック信号を入力し、nTRSTピンはシステムリセットの機能を提供する。図示されるように、JTAG構造は試験アクセスポート(Test Access Port;TAP)コントローラ(TAPコントローラ11)、試験データレジスタ12(Test Data register)、命令レジスタ13、及びデコーダ14を具えている。
As chip packages and multi-layer printed circuit board technology become more complex, traditional pinbed test methods become difficult to contact with nodes on the printed circuit board, and with the maturation of surface mount technology, many ICs are directly connected to the board. Since it was mounted on the surface of the IC, it was difficult to directly measure the internal signal of the IC. In order to solve this problem, a boundary scan technique was born. For example, there is a JTAG (Joint Test Action Group) boundary scan, and its official standard name is IEEE1149.1, and IEEE1149.4 digital test access port (Digital Test Access Port) interface, a boundary scan test interface that can test ICs It is said that. It tests the integrated circuit internal modules by serial scan chain, and according to JTAG interface structure shown in Fig. 1, it scans by 5 signal pins (TDI, TDO, TMS, TCK, nTRST) Perform chain data operations. Among them, the TDI pin inputs serial data, the TDO pin outputs serial data, the TMS pin selects and inputs a mode, the TCK pin inputs a clock signal, and the nTRST pin provides a system reset function. As shown, the JTAG structure comprises a test access port (TAP) controller (TAP controller 11), a test data register 12 (test data register), an
試験データレジスタ12中にあって、走査チェーンレジスタ121(Scan chain register)は走査チェーンを提供し、TDIピンが入力するシリアルデータを保存でき、識別コードレジスタ122は特殊なコードを保存し、それは出力のみに供され、バイパスレジスタ123はTDIピンの入力を直接TDOピンに伝送しそれを出力させる。
Within the
命令レジスタ13はTDIピンが入力したシリアル命令を保存し、並びにデコーダ14でデコードして該TAPコントローラ11の運転を制御する。
The instruction register 13 stores the serial instruction input through the TDI pin and decodes it by the
該TAPコントローラ11はTMSピンの入力により状態シフトを実行し、且つ試験データレジスタ12のデータ及びデコーダ14のデコード結果に基づき運転する。図2はTAPコントローラ11の状態シフト図であり、それはTCKの正縁時にTMSの信号をサンプリングして状態をシフトし、図示されるように、開始時に、TAPコントローラ11はTest−Logic Reset状態にあり、その後、リセト処理21、データレジスタ処理22、及び命令レジスタ処理23の三つの部分の状態に進入する。そのうち、TMS入力が1であれば、試験ロジックリセット状態は保持され不変で、TMS入力が0である時、状態はアイドル処理21のRun−Test/Idle状態にシフトする。Run−Test/Idle状態の時、TMS入力が0であれば、Run−Test/Idle状態は保持され不変であり、TMS入力が1である時、状態はデータレジスタ処理22のSelect−DR−Scan状態にシフトする。Select−DR−Scan状態の時、TMS入力が0であれば、Capture−DR状態に進入し、試験データレジスタ12に対する処理を行ない、TMS入力が1の時、状態を命令レジスタ処理23のSelect−IR−Scan状態にシフトする。Select−IR−Scan状態の時、TMS入力が0であれば、Capture−IR状態に進入し、これにより命令レジスタに対する処理を行ない、TMS入力が1の時、状態を開始時のTest−Logic Reset状態にシフトする。
The
上述のJTAGの構造は、制御信号の伝送或いはレジスタのアクセスのいずれに対しても、いずれもTDIとTDOピンを通して読み書きしている。しかし、TDI及びTDOのデータ読み書きにはその循環性があり、人が容易に検出できる。このため例えば機密性のレジスタ値を保護することができない。ただし現在プロセッサの開発においては、往々にして開発ツールを保護して他人による盗用を防止する必要がある。ゆえにいかに境界走査試験インタフェース標準中で機密性のデータのアクセスを保護するかという問題の解決が求められている。 The above-described JTAG structure reads and writes through the TDI and TDO pins for both control signal transmission and register access. However, the TDI and TDO data read / write has its circularity and can be easily detected by humans. For this reason, for example, confidentiality register values cannot be protected. However, in current processor development, it is often necessary to protect development tools and prevent theft by others. Therefore, there is a need to solve the problem of how to protect access to sensitive data in the boundary scan test interface standard.
本発明は一種の境界走査試験インタフェース中の内蔵データアクセス装置及び方法を提供することを目的とし、それは標準のデータ入出力ピンを経由せずにデータの読み書きが行なえ、境界走査試験インタフェース標準中で機密性データのアクセスの保護を達成する装置及び方法であるものとする。 An object of the present invention is to provide a built-in data access apparatus and method in a boundary scan test interface, which can read and write data without going through standard data input / output pins. It is intended to be an apparatus and method for achieving confidentiality data access protection.
本発明のもう一つの目的は、境界走査試験インタフェース中の内蔵データアクセス装置及び方法を提供することにあり、それは境界走査試験インタフェース標準に相容しつつ、機密性のデータの読み書きが行なえ、完全に境界走査試験インタフェースの全ての状態とデータの経路に影響を与えない装置及び方法であるものとする。 Another object of the present invention is to provide a built-in data access apparatus and method in a boundary scan test interface, which is compatible with the boundary scan test interface standard, can read and write confidential data, and is completely The apparatus and method shall not affect all the states of the boundary scan test interface and the data path.
請求項1の発明は、 境界走査試験インタフェース中の内蔵データアクセス装置であり、該境界走査試験インタフェースはTAPコントローラ、試験データレジスタ、命令レジスタ、及びデコーダを包含し、該試験データレジスタはシリアルデータ入力ピンが入力するシリアル命令を保存し、該TAPコントローラは所定の状態シフト図により、モード選択入力ピンの入力により状態シフトを実行し、且つ該試験データレジスタのデータ及び該命令レジスタが保存するシリアル命令により運転し、そのうち、実行する状態シフトは、少なくとも一つの無作用の状態ループを含み、該装置は、状態検出器、シフトレジスタ、内蔵レジスタ、及び比較装置を具え、
該状態検出器は該モード選択入力ピンの入力を監視し、第1設定入力ストリングを検出する時、第1データを出力し、その後、第2設定入力ストリングを検出する時、第2データを出力し、該第1設定入力ストリングと第2設定入力ストリングは該無作用の状態ループの異なる入力ストリングに符合し、
該シフトレジスタは、該状態検出器の出力する第1及び第2データの組合せを保存し、該第1及び第2データの組合せは入力キー値を有し、
該内蔵レジスタはデータ保存に用いられ、
該比較装置は該入力キー値と設定された書き込みキー値を比較し、両者が符合する時、特定書き込みデータを該内蔵レジスタにロードすることを特徴とする、境界走査試験インタフェース中の内蔵データアクセス装置としている。
請求項2の発明は、請求項1記載の境界走査試験インタフェース中の内蔵データアクセス装置において、第1及び第2データの組合せが更に特定書き込みデータの情報を有することを特徴とする、境界走査試験インタフェース中の内蔵データアクセス装置としている。
請求項3の発明は、請求項2記載の境界走査試験インタフェース中の内蔵データアクセス装置において、内蔵レジスタ或いは境界走査試験インタフェースの定める特定レジスタの内容を選択してそれを出力するセレクタを更に具えたことを特徴とする、境界走査試験インタフェース中の内蔵データアクセス装置としている。
請求項4の発明は、請求項3記載の境界走査試験インタフェース中の内蔵データアクセス装置において、比較装置が入力キー値を設定された回復キー値と比較して両者が符合する時にセレクタを制御して内蔵レジスタの内容を出力させることを特徴とする、境界走査試験インタフェース中の内蔵データアクセス装置としている。
請求項5の発明は、請求項3記載の境界走査試験インタフェース中の内蔵データアクセス装置において、比較装置が入力キー値を設定された読み出しキー値と比較して両者が符合する時にセレクタを制御して特定レジスタの内容を出力させることを特徴とする、境界走査試験インタフェース中の内蔵データアクセス装置としている。
請求項6の発明は、請求項2記載の境界走査試験インタフェース中の内蔵データアクセス装置において、入力キー値は第1及び第2データの奇数ビットとし、特定書き込みデータは第1及び第2データの組合せの偶数ビットとすることを特徴とする、境界走査試験インタフェース中の内蔵データアクセス装置としている。
請求項7の発明は、請求項2記載の境界走査試験インタフェース中の内蔵データアクセス装置において、境界走査試験インタフェースはJTAGインタフェースとし、前記モード選択入力ピンの入力はTMS入力とすることを特徴とする、境界走査試験インタフェース中の内蔵データアクセス装置としている。
請求項8の発明は、請求項2記載の境界走査試験インタフェース中の内蔵データアクセス装置において、境界走査試験インタフェースはIEEE1149.1インタフェースとし、前記モード選択入力ピンの入力はTMS入力とすることを特徴とする、境界走査試験インタフェース中の内蔵データアクセス装置としている。
請求項9の発明は、請求項2記載の境界走査試験インタフェース中の内蔵データアクセス装置において、境界走査試験インタフェースはIEEE1149.4のデジタルテストアクセスポートインタフェースとし、前記モード選択入力ピンの入力はTMS入力とすることを特徴とする、境界走査試験インタフェース中の内蔵データアクセス装置としている。
請求項10の発明は、請求項7記載の境界走査試験インタフェース中の内蔵データアクセス装置において、状態シフト図はテストロジックリセット(Test−Logic Reset)状態において開始され、且つTMS入力が1の時、状態は保持され不変であり、TMS入力が0の時、状態はランテスト/アイドル(Run−Test/Idle)状態にシフトし、且つTMS入力が0の時、状態が保持され不変で、その後の連続する三つのTMS入力が1の時、状態はテストロジックリセット状態にシフトし、少なくとも一つの無作用の状態ループを形成することを特徴とする、境界走査試験インタフェース中の内蔵データアクセス装置としている。
請求項11の発明は、請求項10記載の境界走査試験インタフェース中の内蔵データアクセス装置において、第1設定入力ストリングが「0111」とされ、第2設定入力ストリングが「1」とされることを特徴とする、境界走査試験インタフェース中の内蔵データアクセス装置としている。
請求項12の発明は、請求項11記載の境界走査試験インタフェース中の内蔵データアクセス装置において、第1データが「1」とされ、第2データが「0」とされることを特徴とする、境界走査試験インタフェース中の内蔵データアクセス装置としている。
請求項13の発明は、請求項10記載の境界走査試験インタフェース中の内蔵データアクセス装置において、第1設定入力ストリングが「0〔0〕111」とされ、第2設定入力ストリングが「1」とされ、そのうち〔0〕が少なくとも一つの0を代表することを特徴とする、境界走査試験インタフェース中の内蔵データアクセス装置としている。
請求項14の発明は、請求項13記載の境界走査試験インタフェース中の内蔵データアクセス装置において、第1データが「1」とされ、第2データが「0」とされることを特徴とする、境界走査試験インタフェース中の内蔵データアクセス装置としている。
請求項15の発明は、請求項7記載の境界走査試験インタフェース中の内蔵データアクセス装置において、状態検出器の出力するデータはJTAGが定めるTCK信号によりサンプリングしてシフトレジスタ中に保存されることを特徴とする、境界走査試験インタフェース中の内蔵データアクセス装置としている。
請求項16の発明は、請求項2記載の境界走査試験インタフェース中の内蔵データアクセス装置において、特定レジスタが識別コードレジスタとされることを特徴とする、境界走査試験インタフェース中の内蔵データアクセス装置としている。
請求項17の発明は、境界走査試験インタフェース中の内蔵データアクセス方法において、該境界走査試験インタフェースはTAPコントローラ、試験データレジスタ、命令レジスタ、及びデコーダを包含し、該試験データレジスタはシリアルデータ入力ピンが入力するシリアル命令を保存し、該TAPコントローラは所定の状態シフト図により、モード選択入力ピンの入力により状態シフトを実行し、且つ該試験データレジスタのデータ及び該命令レジスタが保存するシリアル命令により運転し、そのうち、その実行する状態シフトは、少なくとも一つの無作用の状態ループを含み、該方法は、
(A)状態検出器で該モード選択入力ピンの入力を監視し、第1設定入力ストリングを検出する時、第1データを出力し、第2設定入力ストリングを検出する時、第2データを出力し、そのうち、該第1設定入力ストリングは該無作用の状態ループの入力ストリングに符合し、該第2設定入力ストリングは第1設定入力ストリングと同じでなく且つ該無作用の状態ループの入力ストリングに符合するものとするステップ、
(B)シフトレジスタで出力された第1、第2データの組合せを保存し、そのうち第1及び第2データの組合せは入力キー値を含むものとするステップ、
(C)比較装置で該入力キー値と設定された書き込みキー値を比較し、両者が符合する時、特定書き込みデータを内蔵レジスタにロードするステップ、
以上のステップを具えていることを特徴とする、境界走査試験インタフェース中の内蔵データアクセス方法としている。
請求項18の発明は、請求項17記載の境界走査試験インタフェース中の内蔵データアクセス方法において、第1及び第2データの組合せは更に特定書き込みデータの情報を含むことを特徴とする、境界走査試験インタフェース中の内蔵データアクセス方法としている。
請求項19の発明は、請求項18記載の境界走査試験インタフェース中の内蔵データアクセス方法において、(D)比較装置で入力キー値を設定された読み出しキー値と比較し、両者が符合する時、内蔵レジスタの内容を境界走査試験インタフェースの定める特定レジスタの出力経路を通して出力することを特徴とする、境界走査試験インタフェース中の内蔵データアクセス方法としている。
請求項20の発明は、請求項19記載の境界走査試験インタフェース中の内蔵データアクセス方法において、(E)入力キー値を設定された回復キー値と比較し、両者が符合する時、特定レジスタの内容を境界走査試験インタフェースの定める特定レジスタの出力経路を通して出力するステップ、を更に有することを特徴とする、境界走査試験インタフェース中の内蔵データアクセス方法としている。
請求項21の発明は、請求項18記載の境界走査試験インタフェース中の内蔵データアクセス方法において、(B)のステップ中、入力キー値は第1及び第2データの組合せの奇数ビットとし、特定書き込みデータは第1及び第2データの組合せの偶数ビットとすることを特徴とする、境界走査試験インタフェース中の内蔵データアクセス方法としている。
請求項22の発明は、請求項18記載の境界走査試験インタフェース中の内蔵データアクセス方法において、境界走査試験インタフェースはJTAGインタフェースとし、前記モード選択入力ピンの入力はTMS入力とすることを特徴とする、境界走査試験インタフェース中の内蔵データアクセス方法としている。
請求項23の発明は、請求項18記載の境界走査試験インタフェース中の内蔵データアクセス方法において、境界走査試験インタフェースはIEEE1149.1インタフェースとし、前記モード選択入力ピンの入力はTMS入力とすることを特徴とする、境界走査試験インタフェース中の内蔵データアクセス方法としている。
請求項24の発明は、請求項18記載の境界走査試験インタフェース中の内蔵データアクセス方法において、境界走査試験インタフェースはIEEE1149.4のデジタルテストアクセスポートインタフェースとし、前記モード選択入力ピンの入力はTMS入力とすることを特徴とする、境界走査試験インタフェース中の内蔵データアクセス方法としている。
請求項25の発明は、請求項22記載の境界走査試験インタフェース中の内蔵データアクセス方法において、状態シフト図はテストロジックリセット(Test−Logic Reset)状態で開始し、且つTMS入力が1の時、状態は保持され不変であり、TMS入力が0の時、状態はランテスト/アイドル(Run−Test/Idle)状態にシフトし、且つTMS入力が0の時、状態が保持され不変で、その後の連続する三つのTMS入力が1の時、状態はテストロジックリセット状態にシフトし、少なくとも一つの無作用の状態ループを形成することを特徴とする、境界走査試験インタフェース中の内蔵データアクセス方法としている。
請求項26の発明は、請求項25記載の境界走査試験インタフェース中の内蔵データアクセス方法において、(A)のステップ中、第1設定入力ストリングが「0111」とされ、第1データが「1」とされ、第2設定入力ストリングが「1」とされ、第2データが「0」とされることを特徴とする、境界走査試験インタフェース中の内蔵データアクセス方法としている。
請求項27の発明は、請求項25記載の境界走査試験インタフェース中の内蔵データアクセス方法において、第1設定入力ストリングが「0〔0〕111」とされ、第1データが「1」とされ、そのうち〔0〕が少なくとも一つの0を代表し、第2設定入力ストリングが「1」とされ、第2データが「0」とされることを特徴とする、境界走査試験インタフェース中の内蔵データアクセス方法としている。
請求項28の発明は、請求項19記載の境界走査試験インタフェース中の内蔵データアクセス方法において、特定レジスタが識別コードレジスタとされることを特徴とする、境界走査試験インタフェース中の内蔵データアクセス方法としている。
The invention of
The state detector monitors the input of the mode selection input pin and outputs the first data when detecting the first setting input string, and then outputs the second data when detecting the second setting input string. The first setting input string and the second setting input string match different input strings of the inactive state loop;
The shift register stores a combination of first and second data output from the state detector, and the combination of the first and second data has an input key value;
The built-in register is used for data storage,
The comparison device compares the input key value with the set write key value, and when the two match, loads the specific write data into the built-in register, the built-in data access in the boundary scan test interface It is a device.
According to a second aspect of the present invention, in the built-in data access device in the boundary scan test interface according to the first aspect, the combination of the first and second data further has information of specific write data. It is a built-in data access device in the interface.
According to a third aspect of the present invention, the internal data access device in the boundary scan test interface according to the second aspect further comprises a selector for selecting and outputting the contents of the internal register or the specific register defined by the boundary scan test interface. This is a built-in data access device in the boundary scan test interface.
According to a fourth aspect of the present invention, in the built-in data access device in the boundary scan test interface according to the third aspect, the comparison device compares the input key value with the set recovery key value and controls the selector when the two match. The built-in data access device in the boundary scan test interface is characterized in that the contents of the built-in register are output.
According to a fifth aspect of the present invention, in the built-in data access device in the boundary scan test interface according to the third aspect, the comparison device compares the input key value with the set read key value and controls the selector when the two match. The internal data access device in the boundary scan test interface is characterized in that the contents of the specific register are output.
According to a sixth aspect of the present invention, in the built-in data access device in the boundary scan test interface according to the second aspect, the input key value is an odd bit of the first and second data, and the specific write data is the first and second data. The built-in data access device in the boundary scan test interface is characterized by the combination of even bits.
According to a seventh aspect of the present invention, in the built-in data access device in the boundary scan test interface according to the second aspect, the boundary scan test interface is a JTAG interface, and the input of the mode selection input pin is a TMS input. The built-in data access device in the boundary scan test interface.
The invention according to claim 8 is the internal data access device in the boundary scan test interface according to
The invention according to
According to a tenth aspect of the present invention, in the built-in data access device in the boundary scan test interface according to the seventh aspect, when the state shift diagram is started in a test logic reset (Test-Logic Reset) state and the TMS input is 1, The state is retained and unchanged, when the TMS input is 0, the state is shifted to the Run-Test / Idle state, and when the TMS input is 0, the state is retained and unchanged. When three consecutive TMS inputs are 1, the state shifts to the test logic reset state, forming at least one inactive state loop, which is an internal data access device in the boundary scan test interface .
According to the eleventh aspect of the present invention, in the built-in data access device in the boundary scan test interface according to the tenth aspect, the first setting input string is set to “0111” and the second setting input string is set to “1”. The feature is a built-in data access device in the boundary scan test interface.
According to a twelfth aspect of the present invention, in the built-in data access device in the boundary scan test interface according to the eleventh aspect, the first data is set to “1” and the second data is set to “0”. Built-in data access device in boundary scan test interface.
According to a thirteenth aspect of the present invention, in the built-in data access device in the boundary scan test interface according to the tenth aspect, the first setting input string is “0 [0] 111” and the second setting input string is “1”. Among them, the built-in data access device in the boundary scan test interface is characterized in that [0] represents at least one zero.
According to a fourteenth aspect of the present invention, in the built-in data access device in the boundary scan test interface according to the thirteenth aspect, the first data is set to “1” and the second data is set to “0”. Built-in data access device in boundary scan test interface.
According to a fifteenth aspect of the present invention, in the built-in data access device in the boundary scan test interface according to the seventh aspect, the data output from the state detector is sampled by the TCK signal defined by JTAG and stored in the shift register. The feature is a built-in data access device in the boundary scan test interface.
According to a sixteenth aspect of the present invention, in the built-in data access device in the boundary scan test interface according to the second aspect, the specific register is an identification code register. Yes.
The invention according to
(A) The state detector monitors the input of the mode selection input pin, outputs the first data when detecting the first setting input string, and outputs the second data when detecting the second setting input string. Where the first set input string matches the input string of the inactive state loop, the second set input string is not the same as the first set input string and the input string of the inactive state loop A step that shall match
(B) storing a combination of the first and second data output from the shift register, wherein the combination of the first and second data includes an input key value;
(C) a step of comparing the input key value with the set write key value by a comparison device, and when the two match, loading specific write data into the built-in register;
The built-in data access method in the boundary scan test interface is characterized by comprising the above steps.
The invention according to claim 18 is the built-in data access method in the boundary scan test interface according to
According to a nineteenth aspect of the present invention, in the built-in data access method in the boundary scan test interface according to the eighteenth aspect, when (D) the input key value is compared with the set read key value by the comparison device , An internal data access method in the boundary scan test interface is characterized in that the contents of the internal register are output through an output path of a specific register defined by the boundary scan test interface.
When the invention of 請 Motomeko 20, in internal data access method in the boundary scan test interface of claim 19, wherein, for comparison with the recovery key value set input key value (E), both consistent, a special register The internal data access method in the boundary scan test interface is further provided with a step of outputting the content of the data through an output path of a specific register defined by the boundary scan test interface.
According to a twenty-first aspect of the present invention, in the built-in data access method in the boundary scan test interface according to the eighteenth aspect, during the step (B), the input key value is an odd number bit of the combination of the first and second data, and the specific write The built-in data access method in the boundary scan test interface is characterized in that the data is an even number bit of a combination of the first and second data.
The invention of claim 22 is the internal data access method in the boundary scan test interface according to claim 18, wherein the boundary scan test interface is a JTAG interface, and the input of the mode selection input pin is a TMS input. This is a built-in data access method in the boundary scan test interface.
The invention of
The invention of claim 24 is the internal data access method in the boundary scan test interface according to claim 18, wherein the boundary scan test interface is an IEEE 1149.4 digital test access port interface, and the input of the mode selection input pin is a TMS input. The built-in data access method in the boundary scan test interface is characterized by the following.
The invention of claim 25, in the internal data access method in the boundary scan test interface of claim 22, wherein, when the state shifts diagram begins with test logic reset (Test-Logic Reset) state and TMS inputs are 1, The state is retained and unchanged, when the TMS input is 0, the state is shifted to the Run-Test / Idle state, and when the TMS input is 0, the state is retained and unchanged. When three consecutive TMS inputs are 1, the state shifts to the test logic reset state, forming at least one inactive state loop, which is a built-in data access method in the boundary scan test interface .
According to a twenty-sixth aspect of the present invention, in the built-in data access method in the boundary scan test interface according to the twenty-fifth aspect, during the step (A), the first setting input string is “0111” and the first data is “1”. The internal data access method in the boundary scan test interface is characterized in that the second setting input string is set to “1” and the second data is set to “0”.
According to a twenty-seventh aspect of the present invention, in the built-in data access method in the boundary scan test interface according to the twenty-fifth aspect, the first setting input string is set to “0 [0] 111”, the first data is set to “1”, Built-in data access in the boundary scan test interface, wherein [0] represents at least one 0, the second setting input string is “1”, and the second data is “0” It is a way.
According to a twenty-eighth aspect of the present invention, in the built-in data access method in the boundary scan test interface according to the nineteenth aspect, the specific register is an identification code register. Yes.
本発明は境界走査試験インタフェースの状態シフト図中の無作用の状態ループを使用して機密信号を伝送し、標準のデータ入出力ピンを通さなくとも信号を入力でき、境界走査試験インタフェース標準中にあって機密性制御信号の伝送を保護する目的を達成し、且つ完全に境界走査試験インタフェースの全ての状態とデータの経路に影響を与えることがなく、完全に境界走査試験インタフェース標準に相容する。 The present invention uses the inactive state loop in the boundary scan test interface state shift diagram to transmit the confidential signal and input the signal without going through the standard data input / output pins. Achieves the objective of protecting the transmission of confidentiality control signals, and is completely compatible with the boundary scan test interface standard without affecting all the states and data paths of the boundary scan test interface. .
本発明は境界走査試験インタフェース中の内蔵データアクセス装置を提供し、該境界走査試験インタフェースは所定の状態シフト図により運転し、該状態シフト図は入力に基づき状態シフトを実行する。そのうち、実行する状態シフトは、少なくとも一つの無作用の状態ループを含み、該装置は、状態検出器、シフトレジスタ、内蔵レジスタ、及び比較装置を具えている。該状態検出器は該入力を監視し、第1設定入力ストリングを検出する時、第1データを出力し、その後、第2設定入力ストリングを検出する時、第2データを出力し、該第1設定入力ストリングと第2設定入力ストリングは該無作用の状態ループの異なる入力ストリングに符合する。該シフトレジスタは、該状態検出器の出力する第1及び第2データの組合せを保存する。該第1及び第2データの組合せは入力キー値を有する。該内蔵レジスタはデータ保存に用いられる。該比較装置は該入力キー値と設定された書き込みキー値を比較し、両者が符合する時、特定書き込みデータを該内蔵レジスタにロードする。 The present invention provides a built-in data access device in a boundary scan test interface that operates according to a predetermined state shift diagram that performs a state shift based on inputs. Of these, the state shift to perform includes at least one inactive state loop, the apparatus comprising a state detector, a shift register, a built-in register, and a comparator. The state detector monitors the input and outputs a first data when detecting a first set input string, and then outputs a second data when detecting a second set input string. The setting input string and the second setting input string match different input strings of the inactive state loop. The shift register stores a combination of first and second data output from the state detector. The combination of the first and second data has an input key value. The built-in register is used for data storage. The comparison device compares the input key value with the set write key value, and when the two match, loads the specific write data into the built-in register.
本発明はまた境界走査試験インタフェース中の内蔵データアクセス方法を提供し、該境界走査試験インタフェースは所定の状態シフト図により運転し、該状態シフト図は入力に基づき状態シフトを実行する。そのうち、その実行する状態シフトは、少なくとも一つの無作用の状態ループを含み、該方法は、(A)該入力を監視し、第1設定入力ストリングを検出する時、第1データを出力し、第2設定入力ストリングを検出する時、第2データを出力し、そのうち、該第1設定入力ストリングは該無作用の状態ループの入力ストリングに符合し、該第2設定入力ストリングは第1設定入力ストリングと同じでなく且つ該無作用の状態ループの入力ストリングに符合するものとするステップ、(B)出力された第1、第2データの組合せを保存し、そのうち第1及び第2データの組合せは入力キー値を含むものとするステップ、(C)該入力キー値と設定された書き込みキー値を比較し、両者が符合する時、特定書き込みデータを内蔵レジスタにロードするステップ、以上のステップを具えている。 The present invention also provides a built-in data access method in a boundary scan test interface that operates according to a predetermined state shift diagram that performs a state shift based on inputs. Wherein the performing state shift includes at least one inactive state loop, the method comprising: (A) monitoring the input and outputting a first data when detecting a first set input string; When detecting the second setting input string, it outputs second data, of which the first setting input string matches the input string of the inactive state loop, and the second setting input string is the first setting input. A step that is not the same as the string and matches the input string of the inactive state loop; (B) storing the combination of the first and second data output, of which the combination of the first and second data (C) Compare the input key value with the set write key value, and if both match, the specific write data is loaded into the built-in register. Step to, and includes the above steps.
本発明の境界走査試験インタフェース中の内蔵データアクセス装置及び方法に関しては図3の構造図を参照されたい。それは、TAPコントローラ31、試験データレジスタ32、命令レジスタ33、デコーダ34、機密データ検出及びアクセスコントローラ35、内蔵レジスタ37及びセレクタ38を具えている。本発明の境界走査試験インタフェースはJTAG、IEEE1149.1、IEEE1149.4或いはその他の類似のインタフェースとされ得る。本実施例では、境界走査試験インタフェースはJTAGインタフェースとされ、ゆえにTAPコントローラ31、試験データレジスタ32、命令レジスタ33、及びデコーダ34はJTAG標準により運転し、それは、シリアルデータを入力するTDI、シリアルデータを出力するTDO、モード選択入力を行なうTMS、クリック信号を入力するTCK、システムリセット用のnTRSTの5本の信号ピンを採用して走査チェーンデータの走査を行なう。前述のセレクタ38は内蔵レジスタ37或いは試験データレジスタ32中の識別コードレジスタ321の内容を出力するのに用いられ、前述の機密データ検出及びアクセスコントローラ35はTMS入力に基づき機密データの読み書きを実現する。
Refer to the structure diagram of FIG. 3 for the built-in data access apparatus and method in the boundary scan test interface of the present invention. It comprises a
さらに図2に示されるように、JTAG標準の定める状態シフト図から分かるように、JTAGインタフェースを不動作とする時、TMSピンの入力は連続する1であり(即ち一連の1の入力を有する)、これによりJTAGインタフェースがTest−Logic Reset状態を保持し、JTAGインタフェースを作動させたい時、TMS入力を0に改変して状態シフトを実行する。しかし、一連の1中、誤って一つの0が発生して誤ってJTAGを作動させることがないよう、TMSピン入力を0としてRun−Test/Idle状態にシフトした後に、もしTMS入力が続いて1であれば、状態をSelect−DR−Scan状態、Select−IR−Scan状態を経由して開始のTest−Logic Reset状態にシフトし、実質上、無作用の状態ループを実行し、実際の動作の状態に進入しないようにし、これにより誤動作の発生を防止する。 As further shown in FIG. 2, as can be seen from the state shift diagram defined by the JTAG standard, when the JTAG interface is disabled, the TMS pin input is a continuous 1 (ie, has a series of 1 inputs). Thus, when the JTAG interface holds the Test-Logical Reset state and the JTAG interface is to be operated, the TMS input is changed to 0 and the state shift is executed. However, if the TMS pin input is set to 0 and shifted to the Run-Test / Idle state so that a single 0 is not generated by mistake during a series of 1s, If 1, the state is shifted to the starting Test-Logic Reset state via the Select-DR-Scan state and the Select-IR-Scan state, and a practically inactive state loop is executed, and the actual operation This prevents the occurrence of malfunction.
図4は前述の無作用の状態ループを示す。この無作用の状態ループのTMS入力は、いずれもJTAGインタフェースにあって実際の動作を発生せず、これにより、本発明はこの無作用の状態ループに符合する少なくとも二つのTMS入力ストリングを定め、それぞれ二種類の異なるデータA及びBの入力となす。本実施例では、Aは二進数の0、Bは二進数の1とされ、且つ図示されるように、本発明によると、好ましくは、TMS入力ストリング「0111」を入力データB(=1)と定め、その後のTMS入力ストリング「1」を入力データA(=0)と定める。このほか、Run−Test/Idle状態では入力0の時、いずれもその状態を改変せず、これによりTMS入力ストリング「0〔0〕111」を入力データBと定めることもでき、そのうち〔0〕は少なくとも一つの0を示す。
FIG. 4 shows the inactive state loop described above. None of the TMS inputs of this inactive state loop are in the JTAG interface and do not generate any actual operation, so that the present invention defines at least two TMS input strings that match this inactive state loop; Two different types of data A and B are input. In this embodiment, A is a
さらに図5に前述の機密データ検出及びアクセスコントローラ35の回路図が示される。それは、状態検出器51、シフトレジスタ52、及び比較装置50を具えている。比較装置50内蔵レジスタ37には三つの比較器53、54、55があり、該状態検出器51の運転フローは図6に示されるとおりであり、そのTCK、TMSの入力、及びTAPコントローラ31の発生するJTAG状態から、該TAPコントローラ31の状態が開始のTest−Logic Reset状態であると判定された時、TMS入力の監視を開始し、TMS入力ストリング「0111」を検出した時、そのデータ出力端511はデータB(=1)を出力(ステップS601)、その後、TMS入力ストリング「1」を検出した時、そのデータ出力端511はデータA(=0)を出力(ステップS602)し、このデータ出力端511が出力するデータはTCKよりサンプリングされてシフトレジスタ52中に保存される。これにより、TMSピンに適当なストリングの組合せを入力することにより、状態検出器51のデータ出力端511が入力に必要なデータの組合せを発生し、このデータの組合せはシフトレジスタ52中に保存される。
Further, FIG. 5 shows a circuit diagram of the above-described confidential data detection and
前述のシフトレジスタ52中に保存されるデータの組合せの一部分は入力キー値とされ、別の一部分は書き込みデータとされ、本実施例では、このデータの組合せの奇数ビットが入力キー値とされ、データの組合せの偶数ビットは書き込みデータとされ、比較器53、54、55は該入力キー値を書き込みキー値、読み出しキー値及び回復キー値と比較し、入力キー値と書き込みキー値が同じ時、比較器53が書き込み制御信号を出力し、入力キー値が読み出しキー値と同じ時、比較器54が読み出し制御信号を出力し、入力キー値が回復キー値と同じ時、比較器55が回復制御信号を出力する。
A part of the combination of data stored in the
図3も併せて参照されたい。前述の作用の書き込み制御信号は該内蔵レジスタ37を設定(SET)し前述の書き込みデータをロードし、これにより内密にデータを書き込む時、TMSピン入力のストリングの組合せにより、状態検出器51のデータ出力端511にこのデータ及び書き込みキー値に等しい入力キー値を発生し、これにより書き込み制御信号を発生してこのデータを内蔵レジスタ37中に書き込むことができる。
See also FIG. The write control signal of the above operation sets (SET) the built-in
前述の作用の読み出し制御信号は、セレクタ38を制御して内蔵レジスタ37の内容を出力させ、前述の作用の回復制御信号はセレクタ38を制御して識別コードレジスタ321の内容を出力させ、これにより、内蔵レジスタ37の内容を読み出したい時は、TMSピン入力の適当なストリングの組合せにより、状態検出器51のデータ出力端511に読み出しキー値に等しい入力キー値を発生し、これにより読み出し制御信号を発生してセレクタ38を制御し内蔵レジスタ37の内容をJTAGインタフェースの定める識別コードレジスタの出力経路を通して出力する。それ以上内蔵レジスタ37の内容を読み取らない時は、TMSピン入力の適当なストリングの組合せにより、状態検出器51のデータ出力端511に回復キー値に等しい入力キー値を発生し、これにより回復制御信号を発生してセレクタ38を制御し識別コードレジスタ321の内容を出力し、即ち、JTAGインタフェースの定める識別コードレジスタの出力経路を通して識別コードレジスタの内容を出力し、これによりもとのJTAGインタフェースの状態に回復する。
The read control signal for the above operation controls the
以上の説明から分かるように、本発明は境界走査試験インタフェースの状態シフト図中の無作用の状態ループを使用して機密信号を伝送し、標準のデータ入出力ピンを通さなくとも信号を入力でき、境界走査試験インタフェース標準中にあって機密性制御信号の伝送を保護する目的を達成し、且つ完全に境界走査試験インタフェースの全ての状態とデータの経路に影響を与えることがなく、完全に境界走査試験インタフェース標準に相容する。 As can be seen from the above description, the present invention uses the inactive state loop in the state shift diagram of the boundary scan test interface to transmit the confidential signal and input the signal without going through the standard data input / output pins. Achieves the objective of protecting the transmission of confidentiality control signals within the boundary scan test interface standard, and does not completely affect all states and data paths of the boundary scan test interface; Compatible with scanning test interface standards.
11、31 TAPコントローラ
12、32 試験データレジスタ
121 走査チェーンレジスタ
122、321 識別コードレジスタ
123 バイパスレジスタ
13、33 命令レジスタ
14、34 デコーダ
21 アイドル処理
22 データレジスタ処理
23 命令レジスタ処理
35 機密データ検出及びアクセスコントローラ
37 内蔵レジスタ
38 セレクタ
50 比較装置
51 状態検出器
511 データ出力端
52 シフトレジスタ
53、54、55 比較器
11, 31
Claims (28)
該状態検出器は該モード選択入力ピンの入力を監視し、第1設定入力ストリングを検出する時、第1データを出力し、その後、第2設定入力ストリングを検出する時、第2データを出力し、該第1設定入力ストリングと第2設定入力ストリングは該無作用の状態ループの異なる入力ストリングに符合し、
該シフトレジスタは、該状態検出器の出力する第1及び第2データの組合せを保存し、該第1及び第2データの組合せは入力キー値を有し、
該内蔵レジスタはデータ保存に用いられ、
該比較装置は該入力キー値と設定された書き込みキー値を比較し、両者が符合する時、特定書き込みデータを該内蔵レジスタにロードすることを特徴とする、境界走査試験インタフェース中の内蔵データアクセス装置。 A built-in data access device in a boundary scan test interface, the boundary scan test interface including a TAP controller, a test data register, an instruction register, and a decoder, the test data register receiving a serial command input by a serial data input pin The TAP controller executes a state shift by inputting a mode selection input pin according to a predetermined state shift diagram, and operates by a serial instruction stored in the data of the test data register and the instruction register. The state shift comprises at least one inactive state loop, the device comprising a state detector, a shift register, a built-in register, and a comparator.
The state detector monitors the input of the mode selection input pin and outputs the first data when detecting the first setting input string, and then outputs the second data when detecting the second setting input string. The first setting input string and the second setting input string match different input strings of the inactive state loop;
The shift register stores a combination of first and second data output from the state detector, and the combination of the first and second data has an input key value;
The built-in register is used for data storage,
The comparison device compares the input key value with the set write key value, and when the two match, loads the specific write data into the built-in register, the built-in data access in the boundary scan test interface apparatus.
(A)状態検出器で該モード選択入力ピンの入力を監視し、第1設定入力ストリングを検出する時、第1データを出力し、第2設定入力ストリングを検出する時、第2データを出力し、そのうち、該第1設定入力ストリングは該無作用の状態ループの入力ストリングに符合し、該第2設定入力ストリングは第1設定入力ストリングと同じでなく且つ該無作用の状態ループの入力ストリングに符合するものとするステップ、
(B)シフトレジスタで出力された第1、第2データの組合せを保存し、そのうち第1及び第2データの組合せは入力キー値を含むものとするステップ、
(C)比較装置で該入力キー値と設定された書き込みキー値を比較し、両者が符合する時、特定書き込みデータを内蔵レジスタにロードするステップ、
以上のステップを具えていることを特徴とする、境界走査試験インタフェース中の内蔵データアクセス方法。 In the built-in data access method in the boundary scan test interface, the boundary scan test interface includes a TAP controller, a test data register, an instruction register, and a decoder, and the test data register stores a serial instruction input by a serial data input pin. The TAP controller performs a state shift by inputting a mode selection input pin according to a predetermined state shift diagram, and operates by a serial instruction stored in the data of the test data register and the instruction register , and the execution thereof The state shift to include at least one inactive state loop, the method comprising:
(A) The state detector monitors the input of the mode selection input pin, outputs the first data when detecting the first setting input string, and outputs the second data when detecting the second setting input string. Where the first set input string matches the input string of the inactive state loop, the second set input string is not the same as the first set input string and the input string of the inactive state loop A step that shall match
(B) storing a combination of the first and second data output from the shift register, wherein the combination of the first and second data includes an input key value;
(C) a step of comparing the input key value with the set write key value by a comparison device, and when the two match, loading specific write data into the built-in register;
A built-in data access method in a boundary scan test interface characterized by comprising the above steps.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004054570A JP3809444B2 (en) | 2004-02-27 | 2004-02-27 | Built-in data access apparatus and method in boundary scan test interface |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004054570A JP3809444B2 (en) | 2004-02-27 | 2004-02-27 | Built-in data access apparatus and method in boundary scan test interface |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2005242887A JP2005242887A (en) | 2005-09-08 |
JP3809444B2 true JP3809444B2 (en) | 2006-08-16 |
Family
ID=35024538
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004054570A Expired - Fee Related JP3809444B2 (en) | 2004-02-27 | 2004-02-27 | Built-in data access apparatus and method in boundary scan test interface |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3809444B2 (en) |
-
2004
- 2004-02-27 JP JP2004054570A patent/JP3809444B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2005242887A (en) | 2005-09-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9727754B2 (en) | Protecting chip settings using secured scan chains | |
US7216275B2 (en) | Method and apparatus for accessing hidden data in a boundary scan test interface | |
EP1499906B1 (en) | Method and apparatus for secure scan testing | |
EP1763715B1 (en) | Method and apparatus for resisting hardware hacking through internal register interface | |
US6070252A (en) | Method and apparatus for interactive built-in-self-testing with user-programmable test patterns | |
EP1817595B1 (en) | Integrated circuit and a method for secure testing | |
US5768289A (en) | Dynamically controlling the number of boundary-scan cells in a boundary-scan path | |
US7676698B2 (en) | Apparatus and method for coupling a plurality of test access ports to external test and debug facility | |
KR101079310B1 (en) | Semiconductor integrated circuit and method for testing same | |
US7234091B2 (en) | Method and apparatus for transferring hidden signals in a boundary scan test interface | |
US8042173B2 (en) | Semiconductor device with high security having JTAG ports | |
US7962766B2 (en) | Method and system for encryption-based design obfuscation for an integrated circuit | |
EP1443338A1 (en) | Secure test arrangement | |
JP3809444B2 (en) | Built-in data access apparatus and method in boundary scan test interface | |
KR100694315B1 (en) | At-speed interconnect test controller for system on chip using multiple system clock and having heterogeneous cores | |
JP3809443B2 (en) | Built-in data transmission apparatus and method in boundary scan test interface | |
EP2141597B1 (en) | Semiconductor integrated circuit | |
Praneeth et al. | A Novel Architecture Design of a USB Module in Wireless Modem for IOT Applications | |
CN100353173C (en) | Device and method for accessing hidden data in boundary scan test interface | |
JP4518790B2 (en) | Semiconductor device and control method thereof | |
JP2004127169A (en) | Semiconductor device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20051117 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20051122 |
|
A601 | Written request for extension of time |
Free format text: JAPANESE INTERMEDIATE CODE: A601 Effective date: 20060222 |
|
A602 | Written permission of extension of time |
Free format text: JAPANESE INTERMEDIATE CODE: A602 Effective date: 20060227 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20060320 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20060502 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20060522 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120526 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120526 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150526 Year of fee payment: 9 |
|
LAPS | Cancellation because of no payment of annual fees |