JP3943616B2 - Data processor with transparent operation in background mode - Google Patents

Data processor with transparent operation in background mode Download PDF

Info

Publication number
JP3943616B2
JP3943616B2 JP29383995A JP29383995A JP3943616B2 JP 3943616 B2 JP3943616 B2 JP 3943616B2 JP 29383995 A JP29383995 A JP 29383995A JP 29383995 A JP29383995 A JP 29383995A JP 3943616 B2 JP3943616 B2 JP 3943616B2
Authority
JP
Japan
Prior art keywords
peripheral circuit
state
background mode
bit
mode
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
Application number
JP29383995A
Other languages
Japanese (ja)
Other versions
JPH08235010A (en
Inventor
シャーリー・エル・マン
デビッド・ジェイ・エイ・ペナ
チャールズ・エフ・ストゥドー
ゴードン・ダブリュ・マッキンノン
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NXP USA Inc
Original Assignee
NXP USA Inc
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by NXP USA Inc filed Critical NXP USA Inc
Publication of JPH08235010A publication Critical patent/JPH08235010A/en
Application granted granted Critical
Publication of JP3943616B2 publication Critical patent/JP3943616B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/22Microcontrol or microprogram arrangements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/362Software debugging
    • G06F11/3648Software debugging using additional hardware
    • G06F11/3656Software debugging using additional hardware using a specific debug interface

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Software Systems (AREA)
  • Debugging And Monitoring (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)
  • Microcomputers (AREA)

Description

【0001】
【産業上の利用分野】
本発明は、一般に、データ・プロセッサに関し、さらに詳しくは、バックグランド・モードを有するデータ・プロセッサに関する。
【0002】
【従来の技術】
従来、コンピュータ・システムは、中央処理装置(CPU),メモリおよび入力/出力周辺装置を有すると定義される。近年の集積回路技術の進歩により、従来のコンピュータ機能の多くを単一集積回路チップ上に集積可能になっている。チップが中央処理装置と、いくつかの周辺回路とを含む場合、「集積データ・プロセッサ」と呼ぶことができる。集積データ・プロセッサの一例として、モトローラ社から入手可能なMC68302集積マルチプロトコル・プロセッサ(Integrated Multiprotocol Processor)がある。チップがメモリを含む場合には、さらに高度なシステム集積を達成し、かかるチップは「マイクロコントローラ」と呼ばれることがあるが、マイクロコンピュータ,組み込み型(embedded)コントローラなどさまざまな名称で一般に知られている。マイクロコントローラの例として、モトローラ社から入手可能なMC68HC11マイクロプロセッサがある。いずれの集積データ・プロセッサおよびマイクロコントローラも、オンチップ・メモリおよび/または周辺装置をCPUと集積するためシステム集積モジュールとして知られる「グルー論理(glue logic)」回路を含む。
【0003】
高度な集積のため、集積データ・プロセッサおよびマイクロコントローラは、自動車エンジン・コントローラ,冷蔵庫,セルラ電話,リモート・コントローラなどの用途で理想的である。これらの用途で動作するソフトウェアを開発するため、ソフトウェアのフローを監視することは役立つ。この監視は、ソフトウェア・バグの検出を可能にし、一般にバックグランド・モード(background mode) として知られる診断モードにより達成できる。バックグランド・モードでは、データ・プロセッサは一連のソフトウェア命令によりシングル・ステップ処理される。各命令の後、CPUのレジスタの内容を調べて、ソフトウェアがこの内容にどのように影響したかを判断できる。また、レジスタを変更して、ソフトウェアに対する修正が動作に及ぼす影響を調べる機能を備えることも役立つ。
【0004】
一般に、データ・プロセッサは、バックグランド・モードに入らせる特定の状態を検出する回路も含む。これらの状態は、一般に、ブレークポイント(breakpoints) という。ブレークポイントは、例えば、ある特定のメモリ番地にアクセスするCPUまたはある特定のデータ・パターンを行うデータ・バスを監視することによって検出できる。ブレークポイントを検出した後、システム集積モジュールは、(例えば、割り込みを送出することによって)例外を強制実行する。例外に応答して、CPUはその動作に関する重要な情報をスタックに入れる。スタックされた情報により、CPUは、バックグランド・モードの終了後に、何もなかったかのように通常動作モードに戻ることができる。従って、バックグランド・モードに出入りすることは、一般にアプリケーションの動作に対してトランスペアレント(transparent) である。
【0005】
しかし、データ・プロセッサは他の周辺装置を内蔵しているので、CPUがバックグランド・モードからトランスペアレントに自動復帰することを保証することは十分ではない。チップ全体がトランスペアレントに動作することが望ましい。例えば、多くのデータ・プロセッサは、シリアル通信モジュールを内蔵する。これらのモジュールは、データを送受信し、送受信されたキャラクタなどの特定の条件の発生に基づいて、CPUに割り込む。CPUが割り込みを受信した後、ステータス・レジスタを読み、どのイベントが割り込みを起こしたのか調べる。
【発明が解決しようとする課題】
通常、ブレークポイント回路は、バックグランド・モードへのエントリを示す信号を与える。この信号により、周辺装置のクロックは停止され、一般にこれでトランスペアレント動作を維持するのに十分である。ときどきデバッグ・プロセス中に、周辺装置の状態を調べることが望ましい場合もある。しかし、周辺装置のステータス・レジスタを読むことにより、周辺装置の状態が変化する。通常動作モードに復帰すると、周辺装置の状態は、バックグランド・モードに入ったときの状態とは異なる。従って、周辺装置の状態を変更せずに調べることを可能にすることにより、バックグランド・モードでのトランスペアレントな動作を保証するデータ・プロセッサが必要とされる。この問題は、本発明によって解決され、その特徴および利点は、添付の図面とともに以下の説明からより明確に理解されよう。
【0006】
【実施例】
図1は、本発明によるマイクロコントローラ10の形式のデータ・プロセッサを示す。マイクロコントローラ10は、集積回路マイクロコントローラであり、一般に、中央処理装置(CPU)12,システム集積モジュール14,ブレーク・モジュール15,回路のシリアル部16,ランダム・アクセス・メモリ(RAM)回路18,リード・オンリ・メモリ(ROM)回路20,別のメモリ回路22(例えば、EEPROM (electrically erasable programmable read only memory)),ポート論理回路24,外部バス・インタフェース回路26,回路のタイマ部28および直接メモリ・アクセス(DMA:direct memory access)回路30を含む。CPU12,システム集積モジュール14,ブレーク・モジュール15,シリアル部16,RAM18,ROM20,別のメモリ22,ポート論理回路24,外部バス・インタフェース26,タイマ回路28およびDMA30のそれぞれは、情報バス32に双方向に結合される。CPU12およびシステム集積モジュール14は、バス34を介して双方向に結合される。同様に、CPU12は,バス36を介してDMA30に結合される。
【0007】
システム集積モジュール14は、複数の集積回路ピン38を介して、マイクロコントローラ10の外部で信号を送受信できる。複数の集積回路ピンは、ここでは詳細に図示しない。シリアル部16は、複数の集積回路ピン40を介して、マイクロコントローラ10の外部で信号を送受信できる。この場合も、複数の集積回路ピンは詳細に図示しない。メモリの種類に応じて、別のメモリ22は、複数の集積回路ピン42(詳細に図示せず)を介して、マイクロコントローラ10の外部で信号を送受信してもよい。ポート論理回路24も、複数の集積回路ピン44を介して、マイクロコントローラ10の外部で信号を送受信できる。さらに、外部バス・インタフェース26は、複数の集積回路ピン46を介して、マイクロコントローラ10の外部で信号を送受信できる。タイマ部28も、複数の集積回路ピン48を介して、マイクロコントローラ10の外部で信号を送受信できる。図1は、マイクロコントローラ・ファミリ内の1つの可能なマイクロコントローラを示す。データ・プロセッサの同じファミリ内のマイクロコントローラは一般に複数の異なるオンボード周辺装置を有するので、マイクロコントローラ10は、本明細書で説明する発明の1つの実施例のみを提供する。例えば、マイクロコントローラ10の他の実施例は、ROM20,外部バス・インタフェース26またはDMA30を有していなくてもよい。さらに、他のコプロセッサもマイクロコントローラ10内で構成してもよい。実際、マイクロコントローラ10の他の実施例は、図1に示す実施例よりも少ない,多いまたは異なる周辺装置を有してもよい。さらに、図1に示す本発明の実施例では、マイクロコントローラ10は、16ビット・アドレスと、8ビット格納レジスタと、16ビット格納レジスタとを含む8ビット・マイクロコントローラである。
【0008】
図1に示す発明の実施例の動作中に、システム集積モジュール14は、マイクロコントローラ10の汎用コントローラとして用いられる。一般に、システム集積モジュール14は、動作をイネーブルおよびディセーブルし、タイミング制御を行い、マイクロコントローラ10の例外処理条件を実行するため、複数の制御情報を提供する。システム集積モジュール14は、バス34を介して中央処理装置12と、複数の集積回路ピン38を介して外部ユーザと、そして情報バス32を介してマイクロコントローラ10の残りの複数の構成要素のそれぞれと直接インタフェースする。
【0009】
ブレーク・モジュール15は、情報バス32に接続され、ブレークポイントの発生を検出する。ブレークポイントの検出に応答して、ブレーク・モジュール15は、システム集積モジュール14に対する「BKPT」と記されたブレーク信号をアクティブにする。信号BKPTに応答して、システム集積モジュール14は、ソフトウェア割り込み(SWI:software interrupt)命令をCPU12の命令レジスタ内に強制的に入れる。SWI命令を強制的に入れることにより、マイクロコントローラ10は、カレント命令の終了後にバックグランド・モードに入る。
【0010】
システム集積モジュール14は、好ましくは外部ブレーク入力信号にも応答して、外部エミュレータがマイクロコントローラ10をバックグランド・モードにさせることを可能にする。この場合、マイクロコントローラ10がバックグランド・モードに入るための条件は、2つのブレーク条件のORであり、これはアクティブ・ロー(active-low)BKPTと外部ブレーク信号との間の論理NANDとして実施される。この追加ブレーク信号源により、外部エミュレータは、データ・バス上で導通されるデータ,命令のシーケンスなどより広い範囲の条件についてマイクロコントローラ10をバックグランド・モードにすることができる。この追加ブレーク信号源についてはこれ以上説明しない。1つのブレーク信号源だけが必要なことが明白である。しかし、ブレーク・モジュール15は、マイクロコントローラ10がシングル・チップ・モードで動作しても、マイクロコントローラ10がバックグランド・モードに入ることを可能にし、従ってマイクロコントローラ10にブレーク・モジュール15を内蔵することが好ましい。
【0011】
マイクロコントローラ10において、DMA30は、マイクロコントローラ10の内部のメモリと複数の周辺装置(図示せず)との間のデータの直接通信を可能にする。DMA30は、ユーザが高速メモリ・アクセス方法を必要とする場合、マイクロコントローラ10上で任意に構成してもよい。直接メモリ・アクセスの利用および構成は、データ処理技術分野で周知であり、これ以上詳しく説明しない。
【0012】
タイマ部28は、自走(self-running)16ビット・カウンタに基づく複数のタイミング機能を実行する。複数の集積回路ピン48によってイネーブルされると、タイマ部28は入力捕捉(input-capture) 機能,出力比較(output-compare)機能,リアルタイム割り込みまたはコンピュータ適正動作ワッチドッグ(computer operating properly watchdog)機能を実行すべく機能できる。これらの各機能の実施および利用はデータ処理技術分野で周知であり、これ以上詳しく説明しない。
【0013】
外部バス・インタフェース26は、外部ユーザまたは外部周辺装置とマイクロコントローラ10との間のアドレスおよびデータ値の送受信を制御する。外部バス・インタフェース26は、情報バス32を介して複数のアドレスおよびデータ値をマイクロコントローラ10の残りの部分に通信する。外部バス・インタフェース回路の利用および構成はデータ処理技術分野で周知であり、これ以上詳しく説明しない。
【0014】
ポート論理回路24は、複数の集積回路ピン44のそれぞれの動作および機能を制御する。ポート論理回路24は、第1動作モードで汎用入力/出力ピンとして機能するように、複数の集積回路ピン44を構成する。第2動作モードでは、ポート論理回路24は、複数の集積回路ピン44のそれぞれを利用して、多重化アドレスおよびデータ情報を通信する。ポート論理回路の利用および構成はデータ処理技術分野で周知であり、これ以上詳しく説明しない。
【0015】
RAM18,ROM20および別のメモリ22は、マイクロコントローラ10の適正動作のために必要な情報を格納すべく機能する。さらに、ユーザ・プログラムで指定されれば、他のデータおよびアドレス値もそこに格納してもよい。マイクロコントローラにおけるメモリの利用および構成は当技術分野で周知であり、これ以上詳しく説明しない。
【0016】
シリアル部16は、マイクロコントローラ10と外部ユーザまたは外部周辺装置との間でシリアル・デジタル・データを通信する。シリアル・デジタル・データおよび適切な制御信号は、複数の集積回路ピン40を介して通信される。シリアル部16は、本発明によりその状態がバックグランド・モードに維持される周辺装置の例を示し、シリアル部16については以下の図5で詳しく説明する。
【0017】
CPU12は、マイクロコントローラ10の動作中に、CPU12の命令セットからの特定の命令からなるプログラムを実行する。さまざまなマイクロプロセッサおよびマイクロコントローラ命令セットは当技術分野で周知であり、本発明によるマイクロコントローラはさまざまな命令セットで動作できることが明白である。従って、CPU12の特定の命令セットについてはこれ以上詳しく説明しない。
【0018】
図2は、本発明を理解するのに役立つ、図1のマイクロコントローラ10のシステム集積モジュールの一部のブロック図を示す。図2から、システム集積モジュール14は、条件決定回路(conditioning circuit)49,「SIM BREAKPOINT STATUS REGISTER」と記されたレジスタ50,「SIM BREAK FLAG CONTROL REGISTER」と記されたレジスタ52,論理回路54を含むことがわかる。
【0019】
条件決定回路49は、ブレーク・モジュール15から信号BKPTを受ける第1入力端子と、「CTMBKPT」と記された信号を受ける第2入力端子と、「LAST」と記された信号を受ける第3入力端子と、「IBREAK」と記された信号を情報バス32に与える出力端子とを有する。条件決定回路49は、内部ブレーク条件(ブレーク・モジュール15が信号BKPTをアクティブにすることによる)、または入力信号CTMBKPTをアクティブにすることによる外部ブレーク条件のいずれかを認識する論理回路である。条件決定回路49は、信号BKPTまたはCTMBKPTのいずれかのアクティブ化に応答して信号IBREAKをアクティブにし、信号IBREAKは、信号LASTのアクティブ化によって示されるように命令境界(instruction boundary)に同期される。アクティブのとき、信号LASTは、カレント・クロック・サイクルが命令の最後のクロック・サイクルであることを示す。バックグランド・モードを出る場合、ブレーク・モジュール15および外部ブレーク・モジュールの両方は、割り込み復帰(RTI:return from interrupt )命令の最後のサイクルまで、それぞれのブレークポイント信号を非アクティブにすることを遅らせる。RTI命令を検出する別の論理は図2に図示しない。
【0020】
レジスタ50,52は、CPU12のアドレス・スペースに現れる、さらに詳しくは、システム集積モジュール14の動作に関連するレジスタを含むアドレス・スペースの一部に現れるメモリ・マップド・レジスタ(memory-mapped register)である。レジスタ50は、SIMブレーク/ストップ/ウェート(SBSW)ビット51として知られるビットを有する。SBSWビット51は、ブレーク割り込みから出た後にリターン・ツー・ウェート(return to wait)またはストップ・モードを必要とするアプリケーションで有用である。バイナリ1に設定されると、SBSWビット51は、ストップまたはウェート・モードがブレーク割り込みによって抜け出たことを示す。バイナリ0にクリアされると、SBSWビット51は、ストップまたはウェート・モードがブレーク割り込みによって抜け出なかったことを示す。このビットは、バイナリ0をレジスタ50のビット位置1に書き込むことによってクリアされる。ストップ・モードおよびウェート・モードは、Smith et al.による1988年5月31日に発光された米国特許第4,748,559号 "Apparatus for Reducing Power Consumed by a Static Microprocessor" で教示されるように、マイクロコントローラ10を低電力で動作させることを可能にするモードである。
【0021】
レジスタ52は、ブレーク・ポイント・クリア・フラグ・イネーブル(BCFE)ビット53として知られるビットを有する。BCFEビット53は、デフォルトでリセット時にバイナリ0でクリアされるが、それ以降は変更可能である。レジスタ52は、BCFEビット53の状態を表す信号を論理回路54の入力に伝える出力を有する。BCFEビット53は、ソフトウェアがバックグランド・モード中に周辺装置の状態に影響を与えることができるかどうかを決定する読み出し可能,書き込み可能なビットである。バイナリ1に設定されると、BCFEビット53は、ソフトウェアがバックグランド・モード中に周辺装置の状態を変更することを可能にする。例えば、BCFEビット53が設定されると、周辺装置のステータス・レジスタに対するアクセスは、一部のビットまたはすべてのビットをクリアすることが許される。バックグランド・モード中にステータス・ビットをクリアする場合、CFEビット53をバイナリ1に設定しなければならない。バイナリ0にクリアされると、BCFEビット53は、バックグランド・モード中にステータス・ビットはクリア可能でないことを表す。
【0022】
論理回路54は、NANDゲート56,57およびインバータ58,59を含む。NANDゲート56は、レジスタ52に接続されBCFEビット52を表す論理信号を受ける第1入力端子と、ブレーク・モジュール15から信号BKPTを受ける第2入力端子と、出力端子とを有する。NANDゲート57は、NANDゲート56の出力端子に接続された第1入力端子と、信号BKPTを受ける第2入力端子と、出力端子とを有する。インバータ58は、NANDゲート57の出力端子に接続された入力端子と、出力端子とを有する。インバータ59は、インバータ58の出力端子に接続された入力端子と、「ICLRFLGEN」と記された信号を情報バス32に与える出力端子とを有する。論理回路54は、BCFEビット53が設定される場合に、バックグランド・モード中に信号ICLRFLGENをアクティブにすべく動作する。従って、BCFEビット53により、ユーザは信号ICLRFLGENを受ける周辺装置に対するアクセスがその状態を変更することが許されるかどうかを判断できる。
【0023】
図3は、図1のマイクロコントローラ10のブレーク・モジュール15のブロック図を示す。ブレーク・モジュール15は、「BREAK STATUS/CONTROL REGISTER」と記されたレジスタ60を含む。レジスタ60は、ブレーク・イネーブル(BRKE)ビット61と、ブレーク・アクティブ(BRKA)ビット62とを含む読み出し可能,書き込み可能なメモリ・マップド・レジスタである。BRKEビット61は、ブレーク・アドレス・レジスタ一致で、ブレークをイネーブルする読み出し可能,書き込み可能なビットである。バイナリ1に設定されると、BRKEビット61は、16ビットのアドレス一致で信号BKPTの生成をイネーブルする。バイナリ0にクリアされると、BRKEビット61は、16ビットのアドレス一致で信号BKPTの生成をディセーブルする。BRKEビット61は、ブレーク・ルーチンを出る前に論理0を書き込むことによってクリアでき、リセット時に自動的にクリアされる。BRKAビット62は、ブレーク・アドレス一致を検出した後にブレーク・モジュール15によってバイナリ1に設定される読み出し可能,書き込み可能なステータス・ビットである。このビットは、ブレーク・ルーチンを出る前に論理0に書き込むことによってバイナリ0にクリアできる。また、このビットはリセット時にもクリアされる。
【0024】
また、ブレーク・モジュール15は、BREAK ADDRESS REGISTER HIGHと記されたレジスタ63,8ビット比較器64,8ビット比較器65,BREAK ADDRESS REGISTER LOWと記されたレジスタ66および制御ブロック67を含む、16ビット・アドレス一致で信号BKPTをアクティブにする回路も含む。レジスタ63、66は、それぞれ一致アドレスの8ビット・ロー部分およびハイ部分を収容する読み出し可能,書き込み可能なレジスタである。比較器64は、「A15:8」と記されたバス・アドレスのハイ部分を受ける第1入力と、レジスタ63に接続された第2入力と、A15:8とレジスタ63の内容との間の一致に応答してアクティブになる出力とを有する。比較器65は、「A7:0」と記されたバス・アドレスのロー部分を受ける第1入力と、レジスタ66に接続された第2入力と、A7:0とレジスタ66の内容との間の一致に応答してアクティブになる出力とを有する。制御ブロック67は、比較器64の出力に接続された第1入力と、比較器65の出力に接続された第2入力と、信号LASTを受ける第3入力と、信号BKPTを与える出力とを有する。制御ブロック67は、RTI命令の最後で、BRKEビット61が設定され、かつ両方の入力がアクティブの場合に、信号BKPTをアクティブにし、また信号LASTに応答して信号BKPTを非アクティブにする。信号BKPTをアクティブにするのと同時に、制御ブロック67はBRKAビット62を設定する。
【0025】
バックグランド・モード中の動作について、図1のマイクロコントローラ10の理解に役立つタイミング図を示す図4においてより明確に説明する。図4において、横軸は時間を表す。2つの時点をそれぞれ「t1」,「t2」と表す。時間t1前では、マイクロコントローラ10は通常動作モードである。このモードは、信号BKPTが論理ハイで非アクティブであることによって表される。信号IBREAKは、論理ローで非アクティブである。カレントCPU命令サイクルの終了で生じる時間t1で、システム集積モジュール14は信号IBREAKをアクティブにする。従って、時間t1と時間t2との間で、マイクロコントローラ10はバックグランド・モードとなる。信号ICLRFLGENは、マイクロコントローラ10が通常動作モードのとき、論理ハイでアクティブである。バックグランド・モード中に、信号ICLRFLGENは、BCFEビットの状態に依存する論理状態を有する。BCFEビットがクリアされる(バイナリ0)場合、論理回路54は信号ICLRFLGENを論理ローで非アクティブにする。従って、信号ICLRFLGENを受ける任意の周辺装置におけるレジスタを調べても、この周辺装置はその状態を変更しない。しかし、バイナリ1にリセットした後に、ユーザがBCFEビット52を設定すると、信号ICLRFLGENはバックグランド・モード中に論理ハイでアクティブになり、周辺装置のレジスタを読み出す試みにより、論理状態が変化する。
バックグランド・モード中のトランスペアレント周辺装置動作の例
バックグランド・モードで周辺装置の状態を維持できるマイクロコントローラ10の能力については、特定の例により最もよく理解される。図5は、図1のマイクロコントローラ10のシリアル部16のブロック図を示す。シリアル部16は、信号ICLRFLGENを利用して、バックグランド・モード中に周辺装置の状態を維持できる3つの方法を示す。まず第1に、シリアル部16のステータス・レジスタ内のいくつかの制御ビットは、これらを読み出すことに応答してクリアされる。信号ICLRFLGENは、これらのビットが読み出された後でバックグランド・モード中にクリアされるかどうか、あるいはこれらのビットが以前の状態を維持するかどうかを決定する。第2に、ステータス・レジスタを読み出すことは、他の制御ビットを即刻クリアしない。むしろ、これらのステータス・ビットを読み出す行為は、クリア機構を装備する(arm) ;クリアは、ある別の条件が発生したときに完了する。この機構の例として、別のレジスタへの書き込みがある。信号ICLRFLGENにより、ステータス・レジスタを読み出す行為でクリア機構を装備しないことができる。第3に、別のレジスタに書き込むことにより、ステータス・レジスタ内のビットがクリアされることがある。しかし、信号ICLRFLGENにより、この他のレジスタへの書き込みがステータス・レジスタを変更しないことができる。
【0026】
図5を参照して、シリアル部16は、送信データ・レジスタ81,シフト・レジスタ82,受信データ・レジスタ83,ピン制御論理ブロック84,「SPICONTROL REGISTER」と記されたレジスタ85,「SPI STATUS AND CONTROL REGISTER」と記されたレジスタ86およびシリアル周辺インタフェース(SPI)制御ブロック88を含むことがわかる。送信データ・レジスタ81は、「D7:0」と記された情報バス32のデータ部分から8ビットデータ要素を受ける入力と、シフト・レジスタ82の入力に接続された8ビット出力とを有する8ビット・レジスタである。シフト・レジスタ82も、受信データ・レジスタ83の入力に接続された8ビット出力を有する。シフト・レジスタ82は、ピン制御論理ブロック84の出力端子に接続されたシリアル入力端子と、ピン制御論理ブロック84の入力端子に接続されたシリアル出力端子とを有する。従って、シフト・レジスタ82は、シリアル部16の送信部および受信部の両方と機能する。送信動作の場合、シフト・レジスタ82は送信すべき1バイトのデータを受け、一度に1ビットだけデータをピン制御論理ブロック84にシフト・アウトする。受信動作の場合、シフト・レジスタ82は、ピン制御論理ブロック84からシリアル・データ・ストリームを受けて、数バイトのデータを形成し、これは受信データ・レジスタ83に格納される。受信データ・レジスタ83も、信号D7:0を情報バス32に与える出力を有する。
【0027】
ピン制御論理ブロック84は、集積回路ピン40に接続される。集積回路ピン40は、シリアル部16のレジスタおよび論理ブロックとともに、シリアル周辺インタフェース(SPI)を形成する。集積回路ピン40の機能を以下の表1に示す。
【0028】
【表1】

Figure 0003943616
Figure 0003943616
SPI CONTROL REGISTER85は、8制御ビットを格納するメモリ・マップド・レジスタである。レジスタ85は、SPI制御ブロック88に接続され、シリアル部16の動作を制御する出力を有する。これらの各ビットの機能について、以下の表2で説明する。
【0029】
【表2】
Figure 0003943616
Figure 0003943616
さらに、SPI STATUS AND CONTROL REGISTER86は、シリアル部16のステータスに関連する6ビットを含み、これらを以下の表3に示す。
【0030】
【表3】
Figure 0003943616
Figure 0003943616
一般に、SPI制御ブロック88は、シリアル部16の動作を制御する順序論理ブロックである。動作の一部は、データの送信または受信の信号に関する。この目的のため、SPI制御ブロック88は、4ビットの出力端子を含み、この4ビット出力端子は、2つの割り込み要求信号をCPU12に与え(一方は送信レジスタ81がフルであることを示し、他方は受信レジスタ83がエンプティであることを示す)、2つのDMAサービス要求信号をDMA30に与える(一方は送信レジスタ81がフルであることを示し、他方は受信レジスタ83がエンプティであることを示す)。
【0031】
さらに、SPI制御ブロック88は、信号ICLRFLGENに応答して、マイクロコントローラ10がバックグランド・モードに入ったときにシリアル部16の状態を維持する機構を提供する。異なるビットに対するICLRFLGENの影響を以下の表4に示す。
【0032】
【表4】
Figure 0003943616
DMA30がレジスタ86を読み出す場合(およびDMAS=1)、ビットSPRFおよびSPTEは、装備機構なしにクリアされる。しかし、ステータス・レジスタ・クリアおよび装備機構は、信号ICLRFLGENに基づいて条件的に保持できる可能な状態の一例にすぎない。
【0033】
さらに、周辺装置は、信号ICLRFLGENによって決定されるように、バックグランド・モード中にその状態に影響を及ぼすかどうかを局所的に決定できる。例えば、シリアル部16は、特定の状態変化について信号ICLRFLGENに応答するかどうかを決定するため、追加制御ビットを含んでもよい。このステータス・ビットが設定されると、シリアル部16は信号ICLRFLGENに応答して、バックグランド・モード中に状態を選択的に変更する。すなわち、シリアル部16は、信号ICLRFLGENがバックグランド中にアクティブの場合にのみ、特定の状態変化を許す。このステータス・ビットがクリアされると、シリアル部16は、信号ICLRFLGENがアクティブかどうかにかかわらず、バックグランド・モード中に状態変化を許す。シリアル部16では、この制御ビットはレジスタ86の未使用ビット位置に入れることができる。別の例では、タイマ部28が信号ICLRFLGENに応答すべきかどうかのこの「局所」判定を行うことが望ましいことがある。この機構は、追加レベルの柔軟性を提供し、一部の用途で望ましい場合がある。この局所制御ビットは、周辺装置内の一部の状態変化のみを制御することに留意されたい。
【0034】
本発明の1つの態様では、システム集積モジュール(14)は、制御信号をアクティブにすることにより、周辺回路(16)を制御して、複数の状態間の遷移を防ぎ、周辺回路(16)は、制御信号を受ける制御入力をさらに有する。
【0035】
本発明の別の態様では、システム集積モジュール(14)は、レジスタ(52)からなり、このレジスタ(52)は、ブレーク・クリア・フラグ・イネーブル・ビット(53)を格納し、システム集積モジュール(14)を選択的にイネーブルして、バックグランド・モードで周辺回路(16)の複数の状態間の遷移を制御する。
【0036】
本発明のさらに別の態様では、データ・プロセッサは、情報バス(32)およびブレーク・モジュール(15)をさらに含んで構成される。情報バス(32)は、中央処理装置(12)と、周辺回路(16)と、システム集積モジュール(14)とに結合され、中央処理装置(12),周辺回路(16)およびシステム集積モジュール(14)のそれぞれの間で信号を伝達する。ブレーク・モジュール(15)は、情報バス(32)に結合された入力と、ブレーク信号を与える出力とを有する。ブレーク信号は、データ・プロセッサ(10)がバックグランド・モードに入ることを表す。
【0037】
本発明のさらに別の態様では、周辺回路(16)は、周辺回路(16)が制御信号に応答して、バックグランド・モード中に複数の状態の少なくとも2つの間で遷移を行うかどうかを決定する少なくとも1つの制御ビットを有する制御レジスタ(86)を含む。
【0038】
本発明のさらに別の態様では、データ・プロセッサ(10)は、中央処理装置(12)に結合された第2周辺回路(28)をさらに含んで構成され、この第2周辺回路(28)は、第2周辺回路(28)が制御信号に応答して、バックグランド・モード中に複数の状態の間で遷移するかどうかを決定する少なくと1つの制御ビットを有する制御レジスタを含む。
【0039】
本発明のさらに別の態様では、周辺回路(16)は、シリアル周辺インタフェースからなり、システム集積モジュール(14)は、ステータス・レジスタの少なくとも1ビットの変更を禁止することにより、シリアル周辺インタフェースを制御すべくバックグランド・モードで動作する。
【0040】
本発明のさらに別の態様では、制御する段階は、周辺回路(16)の制御レジスタ(86)における制御ビットにさらに応答して、周辺回路(16)を制御して、バックグランド・モード中に複数の状態間の遷移をディセーブルする段階からなる。
【0041】
本発明について好適な実施例の観点から説明してきたが、本発明は多くの点で修正でき、本発明には上記で具体的に図説した実施例以外の実施例もあることが当業者に明らかである。バックグランド・モードで選択的に変更または維持できる特定の周辺状態は、実施例ごとに異なる。トランスペアレント・バックグランド・モードを実施するために用いられる信号のアクティブ論理状態は反転してもよい。さらに、本発明によるデータ・プロセッサは、(オンチップ・メモリを有する)マイクロコントローラでもよく、少なくとも1つのオンチップ周辺回路を有する集積データ・プロセッサでもよい。さらに、使用される周辺回路の種類は、実施例ごとに異なる。情報バス32は16ビット・アドレス・バスおよび8ビット・データ・バスを含むが、アドレス・バスおよびデータ・バスの大きさは実施例ごとに異なる。従って、特許請求の範囲は、発明の真の精神および範囲に入る発明のすべての修正を網羅するものとする。
【図面の簡単な説明】
【図1】本発明によるマイクロコントローラの形式のデータ・プロセッサを示すブロック図である。
【図2】図1のマイクロコントローラのシステム集積モジュールを示すブロック図である。
【図3】図1のマイクロコントローラのブレーク・モジュールを示すブロック図である。
【図4】図1のマイクロコントローラの理解荷役立つタイミング図である。
【図5】本発明の理解に役立つ、図1のシリアル部の一部を示すブロック図である。
【符号の説明】
10 マイクロコントローラ(データ・プロセッサ)
12 中央処理装置(CPU)
14 システム集積モジュール
15 ブレーク・モジュール
16 シリアル部
18 RAM回路
20 ROM回路
22 別のメモリ
24 ポート論理回路
26 外部バス・インタフェース
28 タイマ部
30 直接メモリ・アクセス(DMA)
32 情報バス
34,36 バス
38,40,42,44,46,48 集積回路ピン
49 条件決定回路
50 レジスタ
51 SBSWビット
52 レジスタ
53 BCFEビット
54 論理回路
56,57 NANDゲート
58,59 インバータ
60 レジスタ
61 ブレーク・イネーブル(BRKE)ビット
62 ブレーク・アクティブ(BRKA)ビット
63,66 レジスタ,
64,65 8ビット比較器
67 制御ブロック
81 送信データ・レジスタ
82 シフト・レジスタ
83 受信データ・レジスタ
84 ピン制御論理ブロック
85,86 レジスタ
88 シリアル周辺インタフェース(SPI)制御ブロック[0001]
[Industrial application fields]
The present invention relates generally to data processors, and more particularly to data processors having a background mode.
[0002]
[Prior art]
Traditionally, a computer system is defined as having a central processing unit (CPU), memory, and input / output peripherals. Recent advances in integrated circuit technology have made it possible to integrate many conventional computer functions on a single integrated circuit chip. If a chip includes a central processing unit and several peripheral circuits, it can be referred to as an “integrated data processor”. One example of an integrated data processor is the MC68302 integrated multiprotocol processor available from Motorola. If the chip contains memory, it achieves a higher degree of system integration, and such a chip is sometimes called a “microcontroller”, but is commonly known by various names such as microcomputers, embedded controllers, etc. Yes. An example of a microcontroller is the MC68HC11 microprocessor available from Motorola. Any integrated data processor and microcontroller includes "glue logic" circuitry known as a system integration module to integrate on-chip memory and / or peripheral devices with the CPU.
[0003]
Due to the high degree of integration, integrated data processors and microcontrollers are ideal for applications such as automotive engine controllers, refrigerators, cellular phones, remote controllers. In order to develop software that works for these applications, it is useful to monitor the flow of software. This monitoring allows detection of software bugs and can be achieved by a diagnostic mode commonly known as a background mode. In background mode, the data processor is single-stepped by a series of software instructions. After each instruction, the contents of the CPU registers can be examined to determine how the software has affected this contents. It is also useful to have the ability to change the registers and examine the effect of software modifications on the operation.
[0004]
In general, the data processor also includes circuitry that detects a particular condition that causes a background mode to be entered. These states are commonly referred to as breakpoints. Breakpoints can be detected, for example, by monitoring a CPU that accesses a particular memory address or a data bus that performs a particular data pattern. After detecting the breakpoint, the system integration module forces an exception (eg, by sending an interrupt). In response to the exception, the CPU places important information about its operation on the stack. The stacked information allows the CPU to return to normal operating mode as if nothing had happened after the background mode ended. Thus, entering and leaving the background mode is generally transparent to the operation of the application.
[0005]
However, since the data processor incorporates other peripheral devices, it is not sufficient to ensure that the CPU automatically recovers transparently from the background mode. It is desirable for the entire chip to operate transparently. For example, many data processors contain a serial communication module. These modules send and receive data and interrupt the CPU based on the occurrence of specific conditions such as characters sent and received. After the CPU receives the interrupt, it reads the status register to see which event caused the interrupt.
[Problems to be solved by the invention]
Usually, the breakpoint circuit provides a signal indicating entry into the background mode. This signal stops the peripheral clock, which is generally sufficient to maintain transparent operation. Sometimes it is desirable to check the status of peripheral devices during the debugging process. However, reading the peripheral device status register changes the state of the peripheral device. When returning to normal operating mode, the state of the peripheral device is different from the state when it entered the background mode. Therefore, there is a need for a data processor that ensures transparent operation in the background mode by allowing peripheral devices to be examined without change. This problem is solved by the present invention and its features and advantages will be more clearly understood from the following description in conjunction with the accompanying drawings.
[0006]
【Example】
FIG. 1 shows a data processor in the form of a microcontroller 10 according to the invention. The microcontroller 10 is an integrated circuit microcontroller and is generally a central processing unit (CPU) 12, a system integrated module 14, a break module 15, a serial portion 16 of a circuit, a random access memory (RAM) circuit 18, a lead. Only memory (ROM) circuit 20, another memory circuit 22 (for example, EEPROM (electrically erasable programmable read only memory)), port logic circuit 24, external bus interface circuit 26, circuit timer section 28 and direct memory A direct memory access (DMA) circuit 30 is included. CPU 12, system integrated module 14, break module 15, serial unit 16, RAM 18, ROM 20, another memory 22, port logic circuit 24, external bus interface 26, timer circuit 28 and DMA 30 are both connected to information bus 32 Are bound together. The CPU 12 and the system integrated module 14 are coupled bidirectionally via a bus 34. Similarly, CPU 12 is coupled to DMA 30 via bus 36.
[0007]
The system integrated module 14 can transmit and receive signals outside the microcontroller 10 via a plurality of integrated circuit pins 38. The plurality of integrated circuit pins are not shown in detail here. The serial unit 16 can transmit and receive signals outside the microcontroller 10 via a plurality of integrated circuit pins 40. Again, the plurality of integrated circuit pins are not shown in detail. Depending on the type of memory, another memory 22 may send and receive signals external to the microcontroller 10 via a plurality of integrated circuit pins 42 (not shown in detail). The port logic circuit 24 can also send and receive signals external to the microcontroller 10 via a plurality of integrated circuit pins 44. Furthermore, the external bus interface 26 can transmit and receive signals outside the microcontroller 10 via a plurality of integrated circuit pins 46. The timer unit 28 can also transmit and receive signals outside the microcontroller 10 via a plurality of integrated circuit pins 48. FIG. 1 shows one possible microcontroller within the microcontroller family. Because microcontrollers within the same family of data processors typically have a plurality of different on-board peripherals, microcontroller 10 provides only one embodiment of the invention described herein. For example, other embodiments of the microcontroller 10 may not have the ROM 20, the external bus interface 26, or the DMA 30. Further, other coprocessors may be configured within the microcontroller 10. Indeed, other embodiments of the microcontroller 10 may have fewer, more or different peripheral devices than the embodiment shown in FIG. Further, in the embodiment of the invention shown in FIG. 1, microcontroller 10 is an 8-bit microcontroller that includes a 16-bit address, an 8-bit storage register, and a 16-bit storage register.
[0008]
During operation of the embodiment of the invention shown in FIG. 1, the system integrated module 14 is used as a general purpose controller for the microcontroller 10. In general, the system integrated module 14 provides a plurality of control information for enabling and disabling operations, performing timing control, and executing the exception handling conditions of the microcontroller 10. The system integrated module 14 communicates with the central processing unit 12 via a bus 34, an external user via a plurality of integrated circuit pins 38, and each of the remaining components of the microcontroller 10 via an information bus 32. Direct interface.
[0009]
The break module 15 is connected to the information bus 32 and detects the occurrence of a breakpoint. In response to detecting the breakpoint, break module 15 activates a break signal labeled “BKPT” for system integrated module 14. In response to the signal BKPT, the system integrated module 14 forces a software interrupt (SWI) instruction into the instruction register of the CPU 12. By forcing the SWI instruction, the microcontroller 10 enters the background mode after the end of the current instruction.
[0010]
System integrated module 14 preferably also responds to an external break input signal to allow an external emulator to place microcontroller 10 in background mode. In this case, the condition for the microcontroller 10 to enter the background mode is the OR of two break conditions, which are implemented as a logical NAND between the active-low BKPT and the external break signal. Is done. This additional break signal source allows the external emulator to place the microcontroller 10 in background mode for a wider range of conditions, such as data conducted on the data bus, instruction sequences, and the like. This additional break signal source will not be described further. Obviously, only one break signal source is required. However, the break module 15 allows the microcontroller 10 to enter the background mode even if the microcontroller 10 operates in single chip mode, and thus incorporates the break module 15 in the microcontroller 10. It is preferable.
[0011]
In the microcontroller 10, the DMA 30 enables direct communication of data between the internal memory of the microcontroller 10 and a plurality of peripheral devices (not shown). The DMA 30 may be arbitrarily configured on the microcontroller 10 if the user requires a high speed memory access method. The use and configuration of direct memory access is well known in the data processing arts and will not be described in further detail.
[0012]
The timer unit 28 performs a plurality of timing functions based on a self-running 16-bit counter. When enabled by multiple integrated circuit pins 48, timer section 28 provides input-capture, output-compare, real-time interrupt or computer operating properly watchdog functions. Can function to execute. The implementation and use of each of these functions is well known in the data processing art and will not be described in further detail.
[0013]
The external bus interface 26 controls transmission and reception of addresses and data values between the external user or external peripheral device and the microcontroller 10. The external bus interface 26 communicates a plurality of addresses and data values to the rest of the microcontroller 10 via the information bus 32. The use and configuration of the external bus interface circuit is well known in the data processing art and will not be described in further detail.
[0014]
The port logic circuit 24 controls the operation and function of each of the plurality of integrated circuit pins 44. The port logic circuit 24 configures a plurality of integrated circuit pins 44 to function as general purpose input / output pins in the first mode of operation. In the second mode of operation, the port logic circuit 24 utilizes each of the plurality of integrated circuit pins 44 to communicate multiplexed address and data information. The use and configuration of port logic is well known in the data processing art and will not be described in further detail.
[0015]
The RAM 18, ROM 20 and another memory 22 function to store information necessary for proper operation of the microcontroller 10. Further, other data and address values may be stored there if specified by the user program. The use and configuration of memory in a microcontroller is well known in the art and will not be described in further detail.
[0016]
The serial unit 16 communicates serial digital data between the microcontroller 10 and an external user or an external peripheral device. Serial digital data and appropriate control signals are communicated via a plurality of integrated circuit pins 40. The serial unit 16 shows an example of a peripheral device whose state is maintained in the background mode according to the present invention. The serial unit 16 will be described in detail with reference to FIG. 5 below.
[0017]
The CPU 12 executes a program composed of specific instructions from the instruction set of the CPU 12 during the operation of the microcontroller 10. Various microprocessor and microcontroller instruction sets are well known in the art, and it is apparent that the microcontroller according to the present invention can operate with various instruction sets. Therefore, the specific instruction set of the CPU 12 will not be described in further detail.
[0018]
FIG. 2 shows a block diagram of a portion of the system integrated module of microcontroller 10 of FIG. 1 that is useful for understanding the present invention. From FIG. 2, the system integrated module 14 includes a conditioning circuit 49, a register 50 labeled "SIM BRAKEPOINT STATUS REGISTER", a register 52 labeled "SIM BRAKE FLAG CONTROL REGISTER", and a logic circuit 54. I understand that it contains.
[0019]
Condition determining circuit 49 has a first input terminal for receiving signal BKPT from break module 15, a second input terminal for receiving a signal labeled “CTMBKPT”, and a third input for receiving a signal labeled “LAST”. And an output terminal for providing a signal labeled “IBREAK” to the information bus 32. The condition determination circuit 49 is a logic circuit that recognizes either an internal break condition (by the break module 15 activating the signal BKPT) or an external break condition by activating the input signal CTMBKPT. Condition determination circuit 49 activates signal IBREAK in response to activation of either signal BKPT or CTMBKPT, which is synchronized to an instruction boundary as indicated by activation of signal LAST. . When active, signal LAST indicates that the current clock cycle is the last clock cycle of the instruction. When exiting background mode, both break module 15 and the external break module delay deactivating their respective breakpoint signals until the last cycle of a return from interrupt (RTI) instruction. . Another logic for detecting RTI instructions is not shown in FIG.
[0020]
Registers 50 and 52 are memory-mapped registers that appear in the CPU 12 address space, and more particularly in a portion of the address space that contains registers associated with the operation of the system integrated module 14. is there. Register 50 has a bit known as SIM break / stop / wait (SBSW) bit 51. The SBSW bit 51 is useful in applications that require a return to wait or stop mode after exiting a break interrupt. When set to binary 1, SBSW bit 51 indicates that stop or wait mode has been exited by a break interrupt. When cleared to binary 0, the SBSW bit 51 indicates that the stop or wait mode was not exited by a break interrupt. This bit is cleared by writing binary 0 to bit position 1 of register 50. Stop mode and weight mode are as taught in US Pat. No. 4,748,559 “Apparatus for Reducing Power Consumed by a Static Microprocessor” issued May 31, 1988 by Smith et al. In this mode, the microcontroller 10 can be operated with low power.
[0021]
Register 52 has a bit known as break point clear flag enable (BCFE) bit 53. The BCFE bit 53 is cleared by binary 0 upon reset by default, but can be changed thereafter. Register 52 has an output that conveys a signal representing the state of BCFE bit 53 to the input of logic circuit 54. BCFE bit 53 is a readable and writable bit that determines whether the software can affect the state of the peripheral device during the background mode. When set to binary 1, BCFE bit 53 allows software to change the state of the peripheral device during background mode. For example, when BCFE bit 53 is set, access to the peripheral status register is allowed to clear some or all bits. If the status bit is cleared during background mode, CFE bit 53 must be set to binary one. When cleared to binary 0, BCFE bit 53 indicates that the status bit cannot be cleared during background mode.
[0022]
Logic circuit 54 includes NAND gates 56 and 57 and inverters 58 and 59. NAND gate 56 has a first input terminal connected to register 52 for receiving a logic signal representing BCFE bit 52, a second input terminal for receiving signal BKPT from break module 15, and an output terminal. NAND gate 57 has a first input terminal connected to the output terminal of NAND gate 56, a second input terminal for receiving signal BKPT, and an output terminal. Inverter 58 has an input terminal connected to the output terminal of NAND gate 57, and an output terminal. Inverter 59 has an input terminal connected to the output terminal of inverter 58, and an output terminal for providing a signal labeled “ICLRFLGEN” to information bus 32. The logic circuit 54 operates to activate the signal ICLRFLGEN during the background mode when the BCFE bit 53 is set. Thus, BCFE bit 53 allows the user to determine whether access to a peripheral device receiving signal ICLRFLGGEN is allowed to change its state.
[0023]
FIG. 3 shows a block diagram of the break module 15 of the microcontroller 10 of FIG. Break module 15 includes a register 60 labeled “BREAK STATUS / CONTROL REGISTER”. Register 60 is a readable and writable memory mapped register that includes a break enable (BRKE) bit 61 and a break active (BRKA) bit 62. The BRKE bit 61 is a readable / writable bit that enables a break when the break address register matches. When set to binary 1, BRKE bit 61 enables the generation of signal BKPT with a 16-bit address match. When cleared to binary 0, the BRKE bit 61 disables the generation of the signal BKPT with a 16-bit address match. The BRKE bit 61 can be cleared by writing a logical 0 before exiting the break routine and is automatically cleared at reset. The BRKA bit 62 is a readable and writable status bit set to binary 1 by the break module 15 after detecting a break address match. This bit can be cleared to binary 0 by writing to logic 0 before exiting the break routine. This bit is also cleared at reset.
[0024]
The break module 15 also includes a register 63 labeled BRAKE ADDRESS REGISTER HIGH, an 8-bit comparator 64, an 8-bit comparator 65, a register 66 labeled BRAKE ADDRESS REGISTER LOW, and a control block 67. Also included is a circuit that activates the signal BKPT upon address matching. Registers 63 and 66 are readable and writable registers that accommodate the 8-bit low and high portions of the match address, respectively. Comparator 64 is between a first input that receives the high portion of the bus address labeled “A15: 8”, a second input connected to register 63, and between A15: 8 and the contents of register 63. And an output that becomes active in response to the match. Comparator 65 has a first input that receives the low portion of the bus address labeled “A7: 0”, a second input connected to register 66, and between A7: 0 and the contents of register 66. And an output that becomes active in response to the match. Control block 67 has a first input connected to the output of comparator 64, a second input connected to the output of comparator 65, a third input for receiving signal LAST, and an output for providing signal BKPT. . Control block 67 activates signal BKPT and deactivates signal BKPT in response to signal LAST when BRKE bit 61 is set and both inputs are active at the end of the RTI instruction. At the same time as activating signal BKPT, control block 67 sets BRKA bit 62.
[0025]
Operation during the background mode is more clearly described in FIG. 4, which shows a timing diagram useful for understanding the microcontroller 10 of FIG. In FIG. 4, the horizontal axis represents time. The two time points are represented as “t1” and “t2”, respectively. Prior to time t1, the microcontroller 10 is in a normal operating mode. This mode is represented by signal BKPT being logic high and inactive. Signal IBREAK is logic low and inactive. At time t1, which occurs at the end of the current CPU instruction cycle, system integration module 14 activates signal IBREAK. Therefore, between time t1 and time t2, the microcontroller 10 is in the background mode. Signal ICLRFLGGEN is logic high and active when microcontroller 10 is in the normal operating mode. During the background mode, the signal ICLRFLGEN has a logic state that depends on the state of the BCFE bit. If the BCFE bit is cleared (binary 0), logic circuit 54 deactivates signal ICLRFLGEN with a logic low. Thus, checking the register in any peripheral device that receives the signal ICLRFLGGEN does not change its state. However, after resetting to binary 1, if the user sets BCFE bit 52, signal ICLRFLGEN is active at logic high during the background mode, and the logic state changes due to an attempt to read the peripheral register.
Example of transparent peripheral operation during background mode
The ability of the microcontroller 10 to maintain the state of the peripheral device in background mode is best understood by a specific example. FIG. 5 shows a block diagram of the serial unit 16 of the microcontroller 10 of FIG. The serial unit 16 uses the signal ICLRFLGEN to illustrate three ways that the state of the peripheral device can be maintained during the background mode. First of all, some control bits in the status register of the serial unit 16 are cleared in response to reading them. The signal ICLRFLGGEN determines whether these bits are cleared during background mode after they are read, or whether these bits maintain their previous state. Second, reading the status register does not immediately clear the other control bits. Rather, the act of reading these status bits is armed with a clear mechanism; clearing is completed when some other condition occurs. An example of this mechanism is writing to another register. The clearing mechanism can be omitted by the action of reading the status register by the signal ICLRFLGGEN. Third, a bit in the status register may be cleared by writing to another register. However, the signal ICLRFLGGEN can prevent writing to this other register from changing the status register.
[0026]
Referring to FIG. 5, the serial unit 16 includes a transmission data register 81, a shift register 82, a reception data register 83, a pin control logic block 84, a register 85 labeled “SPICONTROL REGISTER”, and “SPI STATUS AND”. It can be seen that it includes a register 86 labeled CONTROL REGISTER and a serial peripheral interface (SPI) control block 88. The transmit data register 81 is an 8 bit having an input receiving an 8 bit data element from the data portion of the information bus 32 labeled “D7: 0” and an 8 bit output connected to the input of the shift register 82. • It is a register. Shift register 82 also has an 8-bit output connected to the input of receive data register 83. Shift register 82 has a serial input terminal connected to the output terminal of pin control logic block 84 and a serial output terminal connected to the input terminal of pin control logic block 84. Therefore, the shift register 82 functions as both a transmission unit and a reception unit of the serial unit 16. In the case of a transmission operation, the shift register 82 receives one byte of data to be transmitted and shifts out the data one bit at a time to the pin control logic block 84. For receive operations, shift register 82 receives the serial data stream from pin control logic block 84 to form a few bytes of data that is stored in receive data register 83. Receive data register 83 also has an output that provides signal D7: 0 to information bus 32.
[0027]
Pin control logic block 84 is connected to integrated circuit pin 40. The integrated circuit pins 40 form a serial peripheral interface (SPI) together with the registers and logic blocks of the serial unit 16. The function of the integrated circuit pin 40 is shown in Table 1 below.
[0028]
[Table 1]
Figure 0003943616
Figure 0003943616
The SPI CONTROL REGISTER 85 is a memory mapped register that stores 8 control bits. The register 85 is connected to the SPI control block 88 and has an output for controlling the operation of the serial unit 16. The function of each bit is described in Table 2 below.
[0029]
[Table 2]
Figure 0003943616
Figure 0003943616
Further, the SPI STATUS AND CONTROL REGISTER 86 includes 6 bits related to the status of the serial unit 16 and these are shown in Table 3 below.
[0030]
[Table 3]
Figure 0003943616
Figure 0003943616
Generally, the SPI control block 88 is a sequential logic block that controls the operation of the serial unit 16. Part of the operation relates to signals for data transmission or reception. For this purpose, the SPI control block 88 includes a 4-bit output terminal that provides two interrupt request signals to the CPU 12 (one indicates that the transmit register 81 is full and the other Indicates that the reception register 83 is empty) and provides two DMA service request signals to the DMA 30 (one indicates that the transmission register 81 is full and the other indicates that the reception register 83 is empty). .
[0031]
Furthermore, the SPI control block 88 provides a mechanism for maintaining the state of the serial portion 16 when the microcontroller 10 enters the background mode in response to the signal ICLRFLGGEN. The effect of ICLRFGEN on the different bits is shown in Table 4 below.
[0032]
[Table 4]
Figure 0003943616
When DMA 30 reads register 86 (and DMAS = 1), bits SPRF and SPTE are cleared without any equipment. However, the status register clear and equip mechanism is only one example of possible states that can be conditionally maintained based on the signal ICLRFLGEN.
[0033]
In addition, the peripheral device can locally determine whether to affect its state during the background mode, as determined by the signal ICLRFLGEN. For example, the serial portion 16 may include additional control bits to determine whether to respond to the signal ICLRFLGEN for a particular state change. When this status bit is set, the serial unit 16 selectively changes state during the background mode in response to the signal ICLRFLGEN. That is, the serial unit 16 allows a specific state change only when the signal ICLRFLGEN is active during the background. When this status bit is cleared, the serial unit 16 allows a state change during the background mode regardless of whether the signal ICLRFLGEN is active. In the serial unit 16, this control bit can be placed in an unused bit position of the register 86. In another example, it may be desirable to make this “local” determination as to whether the timer unit 28 should respond to the signal ICLRFLGGEN. This mechanism provides an additional level of flexibility and may be desirable in some applications. Note that this local control bit only controls some state changes within the peripheral device.
[0034]
In one aspect of the invention, the system integrated module (14) controls the peripheral circuit (16) by activating the control signal to prevent transitions between states, and the peripheral circuit (16) And a control input for receiving a control signal.
[0035]
In another aspect of the invention, the system integration module (14) comprises a register (52), which stores a break clear flag enable bit (53), 14) is selectively enabled to control transitions between multiple states of the peripheral circuit (16) in the background mode.
[0036]
In yet another aspect of the invention, the data processor further comprises an information bus (32) and a break module (15). The information bus (32) is coupled to the central processing unit (12), the peripheral circuit (16) and the system integrated module (14), and is connected to the central processing unit (12), the peripheral circuit (16) and the system integrated module ( 14) A signal is transmitted between each of the above. The break module (15) has an input coupled to the information bus (32) and an output providing a break signal. The break signal indicates that the data processor (10) enters background mode.
[0037]
In yet another aspect of the invention, the peripheral circuit (16) determines whether the peripheral circuit (16) transitions between at least two of the plurality of states during the background mode in response to the control signal. A control register (86) having at least one control bit to be determined is included.
[0038]
In yet another aspect of the invention, the data processor (10) is further configured to include a second peripheral circuit (28) coupled to the central processing unit (12), the second peripheral circuit (28) being The second peripheral circuit (28) includes a control register having at least one control bit that determines whether to transition between states during the background mode in response to the control signal.
[0039]
In yet another aspect of the present invention, the peripheral circuit (16) comprises a serial peripheral interface, and the system integrated module (14) controls the serial peripheral interface by prohibiting changing at least one bit of the status register. Operate in background mode.
[0040]
In yet another aspect of the invention, the controlling step further controls the peripheral circuit (16) in response to a control bit in the control register (86) of the peripheral circuit (16) during background mode. It consists in disabling transitions between states.
[0041]
While the invention has been described in terms of a preferred embodiment, it will be apparent to those skilled in the art that the invention can be modified in many respects and that the invention includes embodiments other than those specifically illustrated above. It is. The specific ambient states that can be selectively changed or maintained in the background mode vary from embodiment to embodiment. The active logic state of the signal used to implement the transparent background mode may be reversed. Furthermore, the data processor according to the invention may be a microcontroller (with on-chip memory) or an integrated data processor with at least one on-chip peripheral circuit. Furthermore, the type of peripheral circuit used varies from one embodiment to another. The information bus 32 includes a 16-bit address bus and an 8-bit data bus, but the size of the address bus and data bus varies from embodiment to embodiment. Accordingly, the claims are intended to cover all modifications of the invention which fall within the true spirit and scope of the invention.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a data processor in the form of a microcontroller according to the present invention.
2 is a block diagram showing a system integrated module of the microcontroller of FIG. 1. FIG.
FIG. 3 is a block diagram illustrating a break module of the microcontroller of FIG.
FIG. 4 is a timing diagram useful for understanding the microcontroller of FIG.
FIG. 5 is a block diagram showing a part of the serial part of FIG. 1 useful for understanding the present invention.
[Explanation of symbols]
10 Microcontroller (data processor)
12 Central processing unit (CPU)
14 System integration module
15 Break module
16 Serial part
18 RAM circuit
20 ROM circuit
22 Another memory
24 port logic circuit
26 External bus interface
28 Timer section
30 Direct memory access (DMA)
32 Information bus
34, 36 bus
38, 40, 42, 44, 46, 48 Integrated circuit pins
49 Condition determination circuit
50 registers
51 SBSW bit
52 registers
53 BCFE bit
54 Logic Circuit
56,57 NAND gate
58, 59 inverter
60 registers
61 Break enable (BRKE) bit
62 Break active (BRKA) bit
63, 66 registers,
64,65 8-bit comparator
67 Control block
81 Transmit data register
82 Shift register
83 Receive Data Register
84 pin control logic block
85,86 registers
88 Serial peripheral interface (SPI) control block

Claims (3)

バックグランド・モードでトランスペアレント動作を有し、通常動作モードも有するデータ・プロセッサ(10)であって:
命令を実行し、メモリにアクセスする中央処理装置(12);
前記中央処理装置(12)に結合され、複数の状態を有する周辺回路(16)であって、前記データ・プロセッサが前記通常動作モードにある間に前記周辺回路に所定のアクセスを実行する前記中央処理装置に応答して第1状態と第2状態との間で遷移を行う周辺回路(16);および
前記周辺回路(16)に結合され、かつバックグランド・モードで動作して、前記周辺回路(16)を制御し、前記中央処理装置が前記所定のアクセスを実行するときに前記第1状態と前記第2状態との間の遷移を防ぐシステム集積モジュール(14);
によって構成され、
前記データ・プロセッサ(10)は、バックグランド・モード中に前記周辺回路(16)の状態を維持し、
前記システム集積モジュールは、制御信号をアクティブにすることにより前記第1状態と前記第2状態との間の遷移を防ぐように前記周辺回路を制御するユーザ制御されたビットを有し、前記周辺回路はさらに、前記制御信号を受ける制御入力を有する、
ことを特徴とするデータ・プロセッサ。
A data processor (10) having transparent operation in background mode and also in normal operation mode:
A central processing unit (12) that executes instructions and accesses memory;
A peripheral circuit (16) coupled to the central processing unit (12) and having a plurality of states, wherein the central processing unit performs predetermined access to the peripheral circuit while the data processor is in the normal operation mode. A peripheral circuit (16) that transitions between a first state and a second state in response to a processing device; and the peripheral circuit coupled to the peripheral circuit (16) and operating in a background mode; A system integrated module (14) that controls (16) and prevents transition between the first state and the second state when the central processing unit performs the predetermined access;
Composed by
The data processor (10) maintains the state of the peripheral circuit (16) during background mode;
Said system integration module is to have a bit that is user controlled to control the peripheral circuits in anti Guyo the transition between the second state and the first state by activating a control signal, said peripheral The circuit further has a control input for receiving the control signal.
A data processor characterized by that.
通常動作モードと、バックグランド・モードとを有する集積回路マイクロコントローラ(10)であって:
命令を実行し、メモリにアクセスする中央処理装置(12)であって、情報バス(32)に結合される中央処理装置(12);
前記情報バス(32)に結合され、それぞれが複数の状態を有する少なくとも1つの周辺回路(16,24,28,30)であって、前記少なくとも1つの周辺回路(16,24,28,30)のそれぞれは、前記通常動作モードにおいて前記周辺回路にアクセスする前記中央処理装置に応答して前記複数の状態間で遷移を行う少なくとも1つの周辺回路(16,24,28,30);および
バックグランド・モードで動作して、前記少なくとも1つの周辺回路(16,24,28,30)のそれぞれを制御して、前記複数の状態の間の遷移を防ぐ論理回路を含むシステム集積モジュール(14);
によって構成され、
前記集積回路マイクロコントローラ(10)は、バックグランド・モード中に前記少なくとも1つの周辺回路(16,24,28,30)の状態を維持し、
前記システム集積モジュールは、制御信号をアクティブにすることにより前記第1状態と前記第2状態との間の遷移を防ぐように前記少なくとも1つの周辺回路のそれぞれを制御するユーザ制御されたビットを備えたレジスタ(52)を有し、さらに、前記少なくとも1つの周辺回路のそれぞれが、前記制御信号を受ける制御入力を有する、
ことを特徴とする集積回路マイクロコントローラ。
An integrated circuit microcontroller (10) having a normal operation mode and a background mode:
A central processing unit (12) for executing instructions and accessing memory, the central processing unit (12) coupled to an information bus (32);
At least one peripheral circuit (16, 24, 28, 30) coupled to the information bus (32), each having a plurality of states, the at least one peripheral circuit (16, 24, 28, 30) Each of at least one peripheral circuit (16, 24, 28, 30) that transitions between the plurality of states in response to the central processing unit accessing the peripheral circuit in the normal mode of operation; and background A system integrated module (14) including a logic circuit that operates in a mode to control each of the at least one peripheral circuit (16, 24, 28, 30) to prevent transitions between the plurality of states;
Composed by
The integrated circuit microcontroller (10) maintains the state of the at least one peripheral circuit (16, 24, 28, 30) during a background mode;
Said system integration module, the bits user controls for controlling each of the at least one peripheral circuit proof Guyo the transition between the second state and the first state by activating the control signal have a register (52) having, furthermore, each of the at least one peripheral circuit has a control input for receiving said control signal,
An integrated circuit microcontroller characterized by that.
バックグランド・モードでデータ・プロセッサ(10)をトランスペアレントに動作する方法であって:
バス(32)に接続されたシステム集積モジュール(14)のレジスタ(52)に、ユーザ制御されたブレーク・クリア・フラグ・イネーブル・ビット(53)を格納する段階であって、前記ブレーク・クリア・フラグ・イネーブル・ビット(53)は、バス(32)に接続された周辺回路(16)の状態がバックグランド・モードで影響を受けるかどうかを表し、前記周辺回路の前記状態は、前記周辺回路が通常動作モードのときに常に影響を受ける、段階;
バス(32)に接続された中央処理装置(12)でブレークポイント条件を検出する段階であって、前記ブレークポイント条件により、データ・プロセッサ(10)は前記通常動作モードを去ってバックグランド・モードに入る、段階;
前記ブレーク・クリア・フラグ・イネーブル・ビット(53)が第1論理状態の場合に、前記ブレークポイント条件を検出する前記段階に応答して、システム集積モジュール(14)が制御信号をアクティブにし、また前記ブレーク・クリア・フラグ・イネーブル・ビット(53)が第2論理状態の場合に、前記ブレークポイント条件を検出する前記段階に応答して、前記制御信号を非アクティブに維持する段階;および
前記制御信号をシステム集積モジュール(14)から周辺回路(16)の入力に接続することにより、バックグランド・モード中に複数の状態の間の遷移を選択的に妨げるために、前記周辺回路(16)を選択的に制御する段階であって、前記制御信号がアクティブのときに前記周辺回路の前記状態がバックグランド・モードに影響されることがあり得ず、前記制御信号が非アクティブのときに前記周辺回路の前記状態が前記バックグランド・モードに影響され得る、段階;
によって構成されることを特徴とする方法。
A method of operating the data processor (10) transparently in background mode, comprising:
Storing the user-controlled break clear flag enable bit (53) in the register (52) of the system integrated module (14) connected to the bus (32), the break clear The flag enable bit (53) indicates whether the state of the peripheral circuit (16) connected to the bus (32) is affected in the background mode, and the state of the peripheral circuit is determined by the peripheral circuit. Always affected when is in normal operating mode;
Detecting a breakpoint condition in the central processing unit (12) connected to the bus (32), wherein the data processor (10) leaves the normal operation mode and enters a background mode according to the breakpoint condition; Enter the stage;
In response to the step of detecting the breakpoint condition when the break clear flag enable bit (53) is in a first logic state, the system integrated module (14) activates a control signal; Maintaining the control signal inactive in response to the step of detecting the breakpoint condition when the break clear flag enable bit (53) is in a second logic state; and Connecting the signal from the system integrated module (14) to the input of the peripheral circuit (16) allows the peripheral circuit (16) to selectively prevent transitions between states during background mode. Selectively controlling, wherein the state of the peripheral circuit is set to a background mode when the control signal is active. The state of the peripheral circuit can be affected by the background mode when the control signal is inactive;
A method characterized by comprising.
JP29383995A 1994-11-10 1995-10-18 Data processor with transparent operation in background mode Expired - Fee Related JP3943616B2 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US33696794A 1994-11-10 1994-11-10
US336967 1994-11-10

Publications (2)

Publication Number Publication Date
JPH08235010A JPH08235010A (en) 1996-09-13
JP3943616B2 true JP3943616B2 (en) 2007-07-11

Family

ID=23318508

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29383995A Expired - Fee Related JP3943616B2 (en) 1994-11-10 1995-10-18 Data processor with transparent operation in background mode

Country Status (7)

Country Link
US (1) US5954813A (en)
EP (1) EP0712078B1 (en)
JP (1) JP3943616B2 (en)
KR (1) KR100385499B1 (en)
CN (1) CN1097781C (en)
DE (1) DE69525129T2 (en)
TW (1) TW247949B (en)

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE19611942C2 (en) * 1996-03-26 2003-02-20 Daimler Chrysler Ag Semiconductor circuit for an electronic control unit
US6175913B1 (en) * 1997-09-12 2001-01-16 Siemens Ag Data processing unit with debug capabilities using a memory protection unit
US6701395B1 (en) 1998-02-06 2004-03-02 Analog Devices, Inc. Analog-to-digital converter that preseeds memory with channel identifier data and makes conversions at fixed rate with direct memory access
US6385689B1 (en) 1998-02-06 2002-05-07 Analog Devices, Inc. Memory and a data processor including a memory
EP0935195A2 (en) 1998-02-06 1999-08-11 Analog Devices, Inc. "An integrated circuit with a high resolution analog-to-digital converter, a microcontroller and high density memory and an emulator for an integrated circuit
US6233627B1 (en) * 1998-08-10 2001-05-15 Micron Technology, Inc. Processor with internal register for peripheral status
US6564269B1 (en) * 1998-09-10 2003-05-13 Silicon Image, Inc. Bi-directional data transfer using the video blanking period in a digital data stream
US6681280B1 (en) * 1998-10-29 2004-01-20 Fujitsu Limited Interrupt control apparatus and method separately holding respective operation information of a processor preceding a normal or a break interrupt
US6754749B1 (en) * 2001-01-22 2004-06-22 Sharewave, Inc. Multiple use integrated circuit for embedded systems
TW564350B (en) * 2002-03-01 2003-12-01 Via Tech Inc Control chip for speeding up memory access and the operation method
KR100462177B1 (en) * 2002-08-26 2004-12-17 삼성전자주식회사 Embedded controller capable of backing up operating states of a peripheral device in the real time
US7574585B1 (en) * 2003-01-31 2009-08-11 Zilog, Inc. Implementing software breakpoints and debugger therefor
US7395443B1 (en) 2004-12-28 2008-07-01 Advanced Micro Devices, Inc. Integrated circuit with a hibernate mode and method therefor
US7752363B2 (en) * 2005-07-04 2010-07-06 Mediatek Inc. Signal generating circuit and related method for activating physical channel between host and peripheral device
US7533106B2 (en) * 2005-09-09 2009-05-12 Quickfilter Technologies, Inc. Data structures and circuit for multi-channel data transfers using a serial peripheral interface
EP2041937A1 (en) * 2006-07-05 2009-04-01 Freescale Semiconductor, Inc. Improvements in or relating to buffer management
CN109726163B (en) * 2018-12-30 2020-12-11 广东大普通信技术有限公司 SPI-based communication system, method, equipment and storage medium
CN115562464B (en) * 2022-02-14 2023-09-12 荣耀终端有限公司 Control method for activation mode of electronic device, electronic device and storage medium

Family Cites Families (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4942516A (en) * 1970-12-28 1990-07-17 Hyatt Gilbert P Single chip integrated circuit computer architecture
US4056846A (en) * 1976-06-30 1977-11-01 Ibm Corporation Data processing system with apparatus for sharing channel background processing
US4532587A (en) * 1981-08-26 1985-07-30 Texas Instruments Incorporated Single chip processor connected to an external memory chip
US4545015A (en) * 1982-12-27 1985-10-01 Pitney Bowes Inc. Word processing system with foreground/background capability
US4813009A (en) * 1984-11-02 1989-03-14 Tektronix, Inc. Method and apparatus for determining internal status of a processor
US4674089A (en) * 1985-04-16 1987-06-16 Intel Corporation In-circuit emulator
US5084814A (en) * 1987-10-30 1992-01-28 Motorola, Inc. Data processor with development support features
US5073968A (en) * 1988-08-09 1991-12-17 Hewlett-Packard Company Method and apparatus for marking emulation analysis states
KR0136594B1 (en) * 1988-09-30 1998-10-01 미다 가쓰시게 Single chip microcomputer
JPH0644236B2 (en) * 1989-03-08 1994-06-08 富士ゼロックス株式会社 Recording device monitor control device
JPH03156554A (en) * 1989-11-14 1991-07-04 Hitachi Ltd Data transfer control system
US5307464A (en) * 1989-12-07 1994-04-26 Hitachi, Ltd. Microprocessor and method for setting up its peripheral functions
US5157781A (en) * 1990-01-02 1992-10-20 Motorola, Inc. Data processor test architecture
JPH0682901A (en) * 1992-09-07 1994-03-25 Hitachi Ltd Date position setting method for camera
JPH06103109A (en) * 1992-09-22 1994-04-15 Hitachi Ltd Data processor and debugging device using the same
JPH0778731B2 (en) * 1993-03-10 1995-08-23 日本電気株式会社 Information processing equipment
US5530858A (en) * 1993-04-01 1996-06-25 Intel Corporation Method and apparatus for background processing for PCMCIA card services

Also Published As

Publication number Publication date
TW247949B (en) 1995-05-21
CN1097781C (en) 2003-01-01
DE69525129T2 (en) 2002-07-11
KR100385499B1 (en) 2003-08-02
EP0712078A1 (en) 1996-05-15
US5954813A (en) 1999-09-21
DE69525129D1 (en) 2002-03-14
CN1159032A (en) 1997-09-10
KR960018880A (en) 1996-06-17
JPH08235010A (en) 1996-09-13
EP0712078B1 (en) 2002-01-23

Similar Documents

Publication Publication Date Title
JP3943616B2 (en) Data processor with transparent operation in background mode
US5644703A (en) Data processor providing fast break in program execution
US5097154A (en) Latched multiplexer for stabilizing the switch crystal to ring oscillator at power-down
EP0702297B1 (en) A data processor with breakpoint circuit
US5862148A (en) Microcontroller with improved debug capability for internal memory
US5566303A (en) Microcomputer with multiple CPU'S on a single chip with provision for testing and emulation of sub CPU's
US5903912A (en) Microcontroller configured to convey data corresponding to internal memory accesses externally
JP3397230B2 (en) Debug system
US20030100133A1 (en) System-on-chip breakpoint synchronization
EP0657826A1 (en) Interprocessor boot-up handshake for upgrade identification
EP0797148A1 (en) Multi-mode cache structure
US5860161A (en) Microcontroller configured to indicate internal memory accesses externally
US5751641A (en) Microprocessor memory test circuit and method
CN117150478A (en) Trust root, chip and data verification method based on system on chip
EP0840223A1 (en) Microcomputer capable of accessing an external memory
CN101169767B (en) Access control device and access control method
KR100223096B1 (en) Method and apparatus for observing internal memory-mapped registers
US6907503B2 (en) Dual port RAM communication protocol
EP0840221A1 (en) Microcomputer with packet bus
EP0840222A1 (en) Microcomputer with debugging system
JPH04280334A (en) One chip microcomputer
JPH06139084A (en) Information processor
JPH11143732A (en) Microcomputer and emulator
JP2558902B2 (en) Semiconductor integrated circuit device
JPH0333939A (en) Microprocessor

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A711

Effective date: 20041217

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20050303

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20050310

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050525

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050705

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20051005

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20060928

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070125

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20070201

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: 20070329

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070406

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: 20100413

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110413

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120413

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120413

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130413

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130413

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140413

Year of fee payment: 7

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees