JP5239862B2 - デバッガ及びデバッグ方法 - Google Patents
デバッガ及びデバッグ方法 Download PDFInfo
- Publication number
- JP5239862B2 JP5239862B2 JP2008529830A JP2008529830A JP5239862B2 JP 5239862 B2 JP5239862 B2 JP 5239862B2 JP 2008529830 A JP2008529830 A JP 2008529830A JP 2008529830 A JP2008529830 A JP 2008529830A JP 5239862 B2 JP5239862 B2 JP 5239862B2
- Authority
- JP
- Japan
- Prior art keywords
- signal
- break
- microprocessor core
- trigger
- additional hardware
- 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.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/362—Software debugging
- G06F11/3648—Software debugging using additional hardware
Landscapes
- Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
- Test And Diagnosis Of Digital Computers (AREA)
Description
また、マイクロプロセッサ・コア及び付加ハードウェアに対するクロックの供給を停止しているとき、マイクロプロセッサ・コアに対するデバッグ状態への遷移指示を受け取ると、トリガ信号の出力を停止し、システム・オン・チップ・デバイスに対して、マイクロプロセッサ・コアをデバッグ状態に遷移させるためのブレーク信号を出力すると共に、マイクロプロセッサ・コア及び付加ハードウェアに対するクロックの供給を再開する。
図4は本発明のデバッガの一構成例を示すブロック図である。
UI108は、ユーザからの指示にしたがってデバッグ状態にあるプロセッサ・コア2の内部レジスタの読み書きを実行する。
SoCデバイス101は、設計の容易性から原則としてクロックに同期して動作する同期回路で構成され、プロセッサ・コア102や所定の機能を実現する付加ハードウェア103等の回路ブロック毎に、またはSoCデバイス101の回路全体が共通のクロックに同期して動作する。
第2の実施の形態のデバッガでは、SoCデバイス101に対するクロックの供給停止時、ロジック・アナライザ部120の機能は使用できるがICE部106の機能は使用できない。すなわち、SoCデバイス101から観測信号として引き出した信号はモニタできても、観測信号に含めていない信号、例えばプログラム・カウンタの値や汎用レジスタに格納された情報等のようにICE部で一般的に観測できる信号であっても観測信号に含めていなければモニタすることはできない。一般に、ICE部106の機能は、所定の割り込み信号で起動するプロセッサ・コア102に搭載されたソフトウェアによる動作によって実現される。そのため、クロックの供給停止によってプロセッサ・コア102の動作が停止すると、ICE部106の機能が利用できなくなる。
Claims (2)
- マイクロプロセッサ・コアと所定の機能を実現する付加ハードウェアとが混載されたシステム・オン・チップ・デバイスをデバッグするためのデバッガであって、
前記マイクロプロセッサ・コアの状態が予め設定されたブレーク条件と一致するとき、ソフトウェア的イベントの発生を示すブレーク要求信号を生成するブレーク検出回路と、
前記付加ハードウェアの所定の信号が予め設定されたトリガ条件と一致するとき、ハードウェア的イベントの発生を示すトリガ要求信号を生成するトリガ検出回路と、
前記ブレーク要求信号が発生したとき、前記所定の信号をロジック・アナライザにより観測するためのトリガ信号を出力すると共に、前記マイクロプロセッサ・コア及び前記付加ハードウェアに対する、前記マイクロプロセッサ・コア及び前記付加ハードウェアを通常動作させるためのクロックの供給を停止する実行制御回路と、
を有し、
前記実行制御回路は、
前記マイクロプロセッサ・コア及び前記付加ハードウェアに対する前記クロックの供給を停止しているとき、
外部から前記マイクロプロセッサ・コアに対するデバッグ状態への遷移指示を受け取ると、前記トリガ信号の出力を停止し、前記マイクロプロセッサ・コアを前記デバッグ状態に遷移させるためのブレーク信号を出力すると共に、前記マイクロプロセッサ・コア及び前記付加ハードウェアに対する前記クロックの供給を再開するデバッガ。 - マイクロプロセッサ・コアと所定の機能を実現する付加ハードウェアとが混載されたシステム・オン・チップ・デバイスをデバッグするためのデバッグ方法であって、
前記マイクロプロセッサ・コアの状態が予め設定されたブレーク条件と一致するとき、ソフトウェア的イベントの発生を示すブレーク要求信号を生成し、
前記付加ハードウェアの所定の信号が予め設定されたトリガ条件と一致するとき、ハードウェア的イベントの発生を示すトリガ要求信号を生成し、
前記ブレーク要求信号が発生したとき、前記システム・オン・チップ・デバイスに対して前記所定の信号をロジック・アナライザにより観測するためのトリガ信号を出力し、前記マイクロプロセッサ・コア及び前記付加ハードウェアに対する、前記マイクロプロセッサ・コア及び前記付加ハードウェアを通常動作させるためのクロックの供給を停止し、
前記マイクロプロセッサ・コア及び前記付加ハードウェアに対する前記クロックの供給を停止しているとき、
前記マイクロプロセッサ・コアに対するデバッグ状態への遷移指示を受け取ると、前記トリガ信号の出力を停止し、前記システム・オン・チップ・デバイスに対して、前記マイクロプロセッサ・コアを前記デバッグ状態に遷移させるためのブレーク信号を出力すると共に、前記マイクロプロセッサ・コア及び前記付加ハードウェアに対する前記クロックの供給を再開するデバッグ方法。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008529830A JP5239862B2 (ja) | 2006-08-14 | 2007-07-04 | デバッガ及びデバッグ方法 |
Applications Claiming Priority (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006220958 | 2006-08-14 | ||
JP2006220958 | 2006-08-14 | ||
PCT/JP2007/063370 WO2008020513A1 (fr) | 2006-08-14 | 2007-07-04 | débogueur et procédé de débogage |
JP2008529830A JP5239862B2 (ja) | 2006-08-14 | 2007-07-04 | デバッガ及びデバッグ方法 |
Publications (2)
Publication Number | Publication Date |
---|---|
JPWO2008020513A1 JPWO2008020513A1 (ja) | 2010-01-07 |
JP5239862B2 true JP5239862B2 (ja) | 2013-07-17 |
Family
ID=39082041
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2008529830A Active JP5239862B2 (ja) | 2006-08-14 | 2007-07-04 | デバッガ及びデバッグ方法 |
Country Status (3)
Country | Link |
---|---|
US (1) | US8024614B2 (ja) |
JP (1) | JP5239862B2 (ja) |
WO (1) | WO2008020513A1 (ja) |
Families Citing this family (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8312309B2 (en) * | 2008-03-05 | 2012-11-13 | Intel Corporation | Technique for promoting determinism among multiple clock domains |
GB2485095A (en) * | 2010-02-26 | 2012-05-02 | Hewlett Packard Development Co | Restoring stability to an unstable bus |
GB2493793B (en) * | 2010-12-23 | 2020-07-08 | Intel Corp | Test, validation, and debug architecture |
US8612650B1 (en) * | 2012-03-13 | 2013-12-17 | Western Digital Technologies, Inc. | Virtual extension of buffer to reduce buffer overflow during tracing |
US9632895B2 (en) | 2012-06-18 | 2017-04-25 | Intel Corporation | Apparatus, system and method for a common unified debug architecture for integrated circuits and SoCs |
US9043649B2 (en) * | 2012-06-18 | 2015-05-26 | Intel Corporation | Method and apparatus for output of high-bandwidth debug data/traces in ICS and SoCs using embedded high speed debug |
JP5818762B2 (ja) * | 2012-09-14 | 2015-11-18 | 株式会社東芝 | プログラマブルロジックデバイス及びその検証方法 |
GB2526850B (en) * | 2014-06-05 | 2020-11-25 | Advanced Risc Mach Ltd | Logic analyzer |
US10180890B2 (en) | 2014-06-19 | 2019-01-15 | Telefonaktiebolaget L M Ericsson (Publ) | Systems and methods for monitoring hardware observation points within a system on a Chip (SoC) |
JP6318976B2 (ja) | 2014-08-22 | 2018-05-09 | 富士通株式会社 | デバッグ回路、デバッガ装置、半導体装置及びデバッグ方法 |
US20160283423A1 (en) | 2015-03-25 | 2016-09-29 | Intel Corporation | System and method to enable closed chassis debug control interface using a universal serial bus (usb) type-c connector |
JP6477134B2 (ja) * | 2015-03-27 | 2019-03-06 | 富士通株式会社 | デバッグ回路、半導体装置及びデバッグ方法 |
CN106776191A (zh) * | 2016-11-28 | 2017-05-31 | 湖南国科微电子股份有限公司 | 一种soc芯片调试的实现方法及系统 |
US10235272B2 (en) * | 2017-03-06 | 2019-03-19 | Xilinx, Inc. | Debugging system and method |
US11681598B2 (en) * | 2020-04-16 | 2023-06-20 | Texas Instruments Incorporated | Method and apparatus to facilitate low latency fault mitigation, QoS management and debug of a processing pipeline |
WO2023224024A1 (ja) * | 2022-05-17 | 2023-11-23 | 三菱電機株式会社 | ロジックアナライザ回路、集積回路および集積回路システム |
CN116383091B (zh) * | 2023-05-29 | 2023-08-29 | 珠海妙存科技有限公司 | eMMC验证平台的启动方法、启动装置及存储介质 |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH03257384A (ja) * | 1990-03-08 | 1991-11-15 | Nec Corp | インサーキットエミュレータ |
JP2001209556A (ja) * | 1999-11-18 | 2001-08-03 | Yokogawa Electric Corp | 検証支援システム |
JP2004272679A (ja) * | 2003-03-10 | 2004-09-30 | Seiko Epson Corp | デバッグ装置およびデバッグ方法 |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0744416A (ja) * | 1993-08-02 | 1995-02-14 | Hitachi Ltd | 電流値測定機能付きエミュレータ |
US6393548B1 (en) * | 1997-02-14 | 2002-05-21 | Advanced Micro Devices, Inc. | Variable 16 or 32 bit PCI interface which supports steering and swapping of data |
US6389557B1 (en) * | 1998-09-16 | 2002-05-14 | Advanced Micro Devices, Inc. | Freezing mechanism for debugging |
US6550022B1 (en) * | 1999-11-02 | 2003-04-15 | International Business Machines Corporation | Hierarchical JTAG based checkstop architecture for computer systems |
US6760864B2 (en) * | 2001-02-21 | 2004-07-06 | Freescale Semiconductor, Inc. | Data processing system with on-chip FIFO for storing debug information and method therefor |
US6754763B2 (en) * | 2001-07-30 | 2004-06-22 | Axis Systems, Inc. | Multi-board connection system for use in electronic design automation |
JP2003316602A (ja) * | 2002-04-24 | 2003-11-07 | Cats Kk | Romエミュレータ |
JP2004038387A (ja) * | 2002-07-01 | 2004-02-05 | Fujitsu Ltd | 論理検証システム |
US7533315B2 (en) * | 2006-03-06 | 2009-05-12 | Mediatek Inc. | Integrated circuit with scan-based debugging and debugging method thereof |
-
2007
- 2007-07-04 WO PCT/JP2007/063370 patent/WO2008020513A1/ja active Application Filing
- 2007-07-04 US US12/310,129 patent/US8024614B2/en not_active Expired - Fee Related
- 2007-07-04 JP JP2008529830A patent/JP5239862B2/ja active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH03257384A (ja) * | 1990-03-08 | 1991-11-15 | Nec Corp | インサーキットエミュレータ |
JP2001209556A (ja) * | 1999-11-18 | 2001-08-03 | Yokogawa Electric Corp | 検証支援システム |
JP2004272679A (ja) * | 2003-03-10 | 2004-09-30 | Seiko Epson Corp | デバッグ装置およびデバッグ方法 |
Also Published As
Publication number | Publication date |
---|---|
WO2008020513A1 (fr) | 2008-02-21 |
US8024614B2 (en) | 2011-09-20 |
US20090249122A1 (en) | 2009-10-01 |
JPWO2008020513A1 (ja) | 2010-01-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5239862B2 (ja) | デバッガ及びデバッグ方法 | |
TW484054B (en) | Real-time processor debug system | |
US7636870B2 (en) | Semiconductor integrated circuit device, and debugging system and method for the semiconductor integrated circuit device | |
US8402314B2 (en) | Debug registers for halting processor cores after reset or power off | |
US10891207B2 (en) | Processor with debug pipeline | |
KR20150008447A (ko) | 인터럽트 상태에 기초한 구성 가능한 브레이크포인트를 갖는 디바이스 | |
US20060161818A1 (en) | On-chip hardware debug support units utilizing multiple asynchronous clocks | |
TW201835765A (zh) | 死結偵測器、包括其之系統與其方法 | |
KR100354932B1 (ko) | 멀티플렉싱버스상에쇼사이클을제공하는방법및데이타프로세서 | |
US8250504B2 (en) | Designing method of semiconductor integrated circuit | |
US7269756B2 (en) | Customizable event creation logic for hardware monitoring | |
US20060179380A1 (en) | On-chip electronic hardware debug support units having execution halting capabilities | |
JP3260083B2 (ja) | デバッグシステム及びデバッグ方法 | |
JP2006146412A (ja) | マルチコアプロセッサ及びデバッグ方法 | |
JP2006171810A (ja) | デバッグ制御システム及びその制御方法 | |
US20080072212A1 (en) | Semiconductor integrated circuit including a monitor unit | |
JP2005235047A (ja) | 電源瞬断デバッグ装置およびその方法を実現するためのプログラムを記録した記録媒体 | |
Fletcher et al. | Using System Tracing Tools to Optimize Software Quality and Behavior | |
Ferreira et al. | An enhanced debugger for real-time fault injection | |
JP2007264822A (ja) | マイクロプロセッサシステム | |
JP2011086005A (ja) | デバッグ装置と方法 | |
JP2005250821A (ja) | エミュレータ及びマイクロプロセッサ | |
JPH05108550A (ja) | 中央処理装置 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20100615 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20120522 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20120620 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20121002 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20121024 |
|
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: 20130305 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20130318 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20160412 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5239862 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |