JP2003058522A - Method and device for monitoring internal ram - Google Patents

Method and device for monitoring internal ram

Info

Publication number
JP2003058522A
JP2003058522A JP2001249929A JP2001249929A JP2003058522A JP 2003058522 A JP2003058522 A JP 2003058522A JP 2001249929 A JP2001249929 A JP 2001249929A JP 2001249929 A JP2001249929 A JP 2001249929A JP 2003058522 A JP2003058522 A JP 2003058522A
Authority
JP
Japan
Prior art keywords
data
event occurrence
ram
address
event
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.)
Withdrawn
Application number
JP2001249929A
Other languages
Japanese (ja)
Inventor
Kazuyoshi Ajiro
和由 網代
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP2001249929A priority Critical patent/JP2003058522A/en
Publication of JP2003058522A publication Critical patent/JP2003058522A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Microcomputers (AREA)
  • For Increasing The Reliability Of Semiconductor Memories (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)
  • Debugging And Monitoring (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a method and a device for monitoring a RAM, which accurately monitor an internal RAM with a small amount of hardware and improve the convenience for debugging. SOLUTION: A memory (101) for data copy is provided which always latches the same data as data written in a prescribed address of the internal RAM of a microcomputer. An access address comparator (106) generates a first event occurrence signal in the case of coincidence between the internal address value of an internal address bus and a set address value, and a program counter comparator (105) generates a second event occurrence signal in the case of coincidence between the count value of a program counter and a set program counter value. One of the first and second event occurrence signals is selected, and the selected event occurrence signal is outputted to the memory for data copy as a data latch inhibition signal and is outputted to a program counter latch (110) as a latch timing signal.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明はマイクロコンピュー
タの内蔵RAMをモニタする技術に係り、特にシングル
チップ・マイクロコンピュータの内部RAM(Random Ac
cess Memory)に書き込まれたデータをモニタすることで
デバッグの利便性を向上させるRAMモニタ装置および
方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a technique for monitoring a built-in RAM of a microcomputer, and more particularly to an internal RAM (Random Ac) of a single chip microcomputer.
The present invention relates to a RAM monitor device and method for improving convenience of debugging by monitoring data written in a cess memory).

【0002】[0002]

【従来の技術】一般に、シングルチップ・マイクロコン
ピュータに内蔵された内部RAMはCPUによってアド
レスが制御されており、外部からユーザがアクセスする
ことができない構造となっている。しかしながら、自動
車エンジン電子制御やロボット制御など高度のリアルタ
イム制御を必要とする応用分野では、時々刻々と変化す
る内部RAMを正確にモニタすることがプログラムをデ
バッグする上で極めて重要である。このため、内部RA
Mをリアルタイムでモニタする技術が種々提案されてい
る。
2. Description of the Related Art Generally, an internal RAM incorporated in a single-chip microcomputer has a structure in which an address is controlled by a CPU and a user cannot access it from the outside. However, in an application field that requires a high degree of real-time control such as electronic control of an automobile engine or robot control, it is extremely important to debug the program by accurately monitoring the internal RAM that changes from moment to moment. Therefore, the internal RA
Various techniques for monitoring M in real time have been proposed.

【0003】特開平6−52333号公報に開示された
シングルチップ・マイクロコンピュータでは、外部から
アクセス可能なアドレスレジスタとデータラッチ回路と
が設けられ、アドレスレジスタにモニタしたい内部RA
Mのアドレスを設定する。その設定アドレスと内部アド
レスバス上のアドレス値とをアドレス比較器により比較
し、設定アドレスとアドレスバス上のアドレス値とが一
致したときにアドレス比較器がトリガ信号をデータラッ
チ回路へ出力する。データラッチ回路は、トリガ信号を
入力した時点でのデータバス上のデータをラッチする。
データラッチ回路にラッチされたデータとアドレスレジ
スタの設定アドレス値とは、外部からのトリガ信号に従
って外部へ取り出される。データラッチ回路にラッチさ
れたデータは、アドレス比較器から次のトリガ信号が入
力するまで保持される。
The single-chip microcomputer disclosed in Japanese Patent Laid-Open No. 6-52333 is provided with an address register and a data latch circuit which can be accessed from the outside, and an internal RA to be monitored in the address register.
Set the address of M. The set address and the address value on the internal address bus are compared by the address comparator, and when the set address and the address value on the address bus match, the address comparator outputs a trigger signal to the data latch circuit. The data latch circuit latches the data on the data bus at the time when the trigger signal is input.
The data latched by the data latch circuit and the set address value of the address register are taken out according to a trigger signal from the outside. The data latched by the data latch circuit is held until the next trigger signal is input from the address comparator.

【0004】特公平4−47857号公報に開示された
RAMモニタ装置では、内部RAMと同じ内容となる複
写用RAMと、複写用RAMと並列に接続されたモニタ
用RAMとが設けられている。通常、複写用RAMおよ
びモニタ用RAMは、内部RAMと同じ内容に常時書き
換えられ、データの追随が行われている。しかし、モニ
タすべきタイミングを与えるイベント信号が入力される
と、モニタ用RAMがコンピュータシステムから切り離
され、データ入力禁止状態となり、そのときのモニタ用
RAMの内容(その時点の内部RAMと同じデータ)が
読み取られる。読み取りが完了すると、モニタ用RAM
は再び内部RAMのデータに追随する。
In the RAM monitor device disclosed in Japanese Patent Publication No. 4-47857, a copy RAM having the same contents as the internal RAM and a monitor RAM connected in parallel with the copy RAM are provided. Normally, the copy RAM and the monitor RAM are constantly rewritten to have the same contents as the internal RAM, and the data is followed. However, when an event signal that gives the timing to be monitored is input, the monitor RAM is disconnected from the computer system and the data input is disabled, and the contents of the monitor RAM at that time (the same data as the internal RAM at that time) Is read. When reading is completed, monitor RAM
Again follows the data in the internal RAM.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、特開平
6−52333号公報に開示されたシングルチップ・マ
イクロコンピュータでは、ラッチされたデータが常に更
新可能状態となっている。従って、不正データが内部R
AMに書き込まれ誤動作が起きた場合でも、正常なデー
タが上書きされてしまうと不正データを発見することが
できなくなる。また、不正なデータを外部に読み出せた
としても、外部通信に時間がかかることにより、いつの
時点のデータであるか判別することが困難になる。
However, in the single-chip microcomputer disclosed in Japanese Patent Laid-Open No. 6-52333, the latched data is always updatable. Therefore, illegal data is
Even if the data is written in the AM and a malfunction occurs, if the normal data is overwritten, the invalid data cannot be found. Even if the illegal data can be read to the outside, it takes a long time to perform the external communication, which makes it difficult to determine when the data is.

【0006】また、特公平4−47857号公報に開示
されたRAMモニタ装置では、モニタ用RAMがモニタ
時にシステムから切り離されることで不正データが更新
されることはないが、複写用およびモニタ用に同じRA
Mを2個設置する必要があるために、ハードウエア量が
増大するという難点がある。
Further, in the RAM monitor device disclosed in Japanese Patent Publication No. 4-47857, illegal data is not updated by disconnecting the monitor RAM from the system at the time of monitoring, but for copying and monitoring. Same RA
Since it is necessary to install two Ms, there is a drawback that the amount of hardware increases.

【0007】本発明の目的は、少ないハードウエア量で
内部RAMを正確にモニタすることができるRAMモニ
タ装置及び方法を提供することにある。
It is an object of the present invention to provide a RAM monitor device and method capable of accurately monitoring the internal RAM with a small amount of hardware.

【0008】本発明の他の目的は、デバッグの利便性を
更に向上させるRAMモニタ装置及び方法を提供するこ
とにある。
Another object of the present invention is to provide a RAM monitor device and method that further improve the convenience of debugging.

【0009】[0009]

【課題を解決するための手段】本発明によれば、マイク
ロコンピュータの内部RAM(Random Access Memory)に
書き込まれるデータをモニタするRAMモニタ装置は、
前記マイクロコンピュータの内部データバスに接続さ
れ、前記内部RAMの所望アドレスに書き込まれるデー
タと同じデータを格納するデータ複写用メモリと、予め
定められた複数のイベント発生要因によるイベント発生
を検出するイベント発生検出手段と、前記複数のイベン
ト発生要因のうち予め選択されたイベント発生要因によ
るイベント発生が検出された時点で、前記データ複写用
メモリのデータ複写動作を禁止するデータ複写禁止手段
と、前記データ複写用メモリに格納されたデータを外部
へ読み出すための外部インタフェースと、を有すること
を特徴とする。
According to the present invention, there is provided a RAM monitor device for monitoring data written in an internal RAM (Random Access Memory) of a microcomputer.
A data copying memory which is connected to the internal data bus of the microcomputer and stores the same data as the data written in a desired address of the internal RAM, and an event occurrence for detecting an event occurrence due to a plurality of predetermined event occurrence factors Detecting means, data copy prohibiting means for prohibiting a data copying operation of the data copying memory when an event occurrence due to a preselected event occurrence factor is detected, and the data copying And an external interface for reading the data stored in the memory for external use.

【0010】さらに、本発明によれば、マイクロコンピ
ュータの内部RAM(Random AccessMemory)に書き込ま
れるデータをモニタするRAMモニタ装置は、前記マイ
クロコンピュータの内部データバスに接続され、前記内
部RAMの所望アドレスに書き込まれるデータと同じデ
ータを常に格納するデータ複写用メモリと、前記マイク
ロコンピュータの内部アドレスバスに接続され、そのア
ドレス値と予め設定されたアドレス値とを比較し、一致
するときに第1イベント発生信号を生成するアクセスア
ドレス比較手段と、前記マイクロコンピュータが実行す
るプログラムにおけるプログラムカウンタのカウンタと
予め設定されたプログラムカウンタ値とを比較して一致
するときに第2イベント発生信号を生成するプログラム
カウンタ比較手段と、前記第1および第2イベント発生
信号のうち1つを選択し、選択されたイベント発生信号
を前記データ複写用メモリへデータラッチ禁止信号とし
て出力するイベント選択手段と、前記データ複写用メモ
リにラッチされたデータを外部へ読み出すための外部イ
ンタフェースと、を有することを特徴とする。
Further, according to the present invention, a RAM monitor device for monitoring data written in an internal RAM (Random Access Memory) of a microcomputer is connected to an internal data bus of the microcomputer and is provided at a desired address of the internal RAM. A data copying memory that always stores the same data as the data to be written is connected to the internal address bus of the microcomputer, and its address value is compared with a preset address value. When they match, a first event occurs. An access address comparison means for generating a signal and a program counter comparison for generating a second event generation signal when the counter of the program counter in the program executed by the microcomputer is compared with a preset program counter value and they match. Means and said Event selecting means for selecting one of the first and second event occurrence signals and outputting the selected event occurrence signal to the data copying memory as a data latch inhibit signal; and data latched in the data copying memory. And an external interface for reading out to the outside.

【0011】前記イベント選択手段により選択されたイ
ベント発生信号のタイミングで前記プログラムカウンタ
のカウント値をラッチするプログラムカウンタメモリを
更に有し、当該プログラムカウンタメモリにラッチされ
たプログラムカウンタのカウンタ値は前記外部インタフ
ェースによって外部へ読み出し可能であることを特徴と
する。
A program counter memory for latching the count value of the program counter at the timing of the event occurrence signal selected by the event selection means is further provided, and the counter value of the program counter latched in the program counter memory is the external value. It is characterized in that it can be read to the outside by an interface.

【0012】前記イベント選択手段により選択されたイ
ベント発生信号のタイミングで前記マイクロコンピュー
タのタイマカウンタ値をラッチするタイマカウンタメモ
リを更に有し、当該タイマカウンタメモリにラッチされ
たタイマカウンタ値は前記外部インタフェースによって
外部へ読み出し可能であることを特徴とする。
The system further comprises a timer counter memory for latching the timer counter value of the microcomputer at the timing of the event occurrence signal selected by the event selecting means, and the timer counter value latched in the timer counter memory is the external interface. It is characterized by being readable to the outside by.

【0013】本発明の他の観点によれば、マイクロコン
ピュータの内部RAM(Random Access Memory)に書き込
まれるデータをモニタするRAMモニタ装置は、前記マ
イクロコンピュータの内部データバスに接続され、前記
内部RAMの所望アドレスに書き込まれるデータと同じ
データを常に格納するデータ複写用メモリと、前記マイ
クロコンピュータの内部アドレスバスに接続され、その
アドレス値と予め設定されたアドレス値とを比較し、一
致するときに第1イベント発生信号を生成するアクセス
アドレス比較手段と、前記マイクロコンピュータが実行
するプログラムにおけるプログラムカウンタのカウント
値と予め設定されたプログラムカウンタ値とを比較して
一致するときに第2イベント発生信号を生成するプログ
ラムカウンタ比較手段と、前記内部データバスに接続さ
れ、前記内部データバス上のデータと前記内部RAMへ
の書き込みを許可するデータ範囲とを比較し、予め設定
された範囲外の値の書き込みデータであるときに第3イ
ベント発生信号を生成するデータ比較手段と、前記第
1、第2および第3イベント発生信号のうち1つを選択
し、選択されたイベント発生信号を前記データ複写用メ
モリへデータラッチ禁止信号として出力するイベント選
択手段と、前記データ複写用メモリにラッチされたデー
タを外部へ読み出すための外部インタフェースと、を有
することを特徴とする。
According to another aspect of the present invention, a RAM monitor device for monitoring data written in an internal RAM (Random Access Memory) of a microcomputer is connected to an internal data bus of the microcomputer to store data in the internal RAM. A data copying memory that always stores the same data as the data written to the desired address is connected to the internal address bus of the microcomputer, and its address value is compared with a preset address value. A second event generation signal is generated when the access address comparison means for generating one event generation signal and the count value of the program counter in the program executed by the microcomputer and the preset program counter value are compared and coincide with each other. Program counter comparing means for The third event is connected to the internal data bus, compares the data on the internal data bus with a data range that allows writing to the internal RAM, and when the write data has a value outside the preset range, A data comparison means for generating a generation signal and one of the first, second and third event generation signals are selected and the selected event generation signal is output to the data copying memory as a data latch inhibit signal. It is characterized by comprising an event selection means and an external interface for reading the data latched in the data copying memory to the outside.

【0014】また、本発明によるRAMモニタ方法は、
前記マイクロコンピュータの内部データバスに接続され
たデータ複写用メモリに、前記内部RAMの所望アドレ
スに書き込まれるデータと同じデータを格納し、予め定
められた複数のイベント発生要因によるイベント発生を
検出し、前記複数のイベント発生要因のうち予め選択さ
れたイベント発生要因によるイベント発生が検出された
時点で、前記データ複写用メモリのデータ複写動作を禁
止し、前記データ複写用メモリに格納されたデータを外
部インタフェースを通して外部へ読み出す、ことを特徴
とする。
Further, the RAM monitoring method according to the present invention is
In the data copying memory connected to the internal data bus of the microcomputer, the same data as the data to be written at the desired address of the internal RAM is stored, and event occurrence due to a plurality of predetermined event occurrence factors is detected, When an event occurrence due to a preselected event occurrence factor among the plurality of event occurrence factors is detected, the data copying operation of the data copying memory is prohibited, and the data stored in the data copying memory is externally stored. It is characterized by reading out to the outside through an interface.

【0015】以上述べたように、本発明によれば、所望
の内部RAMアドレスに書き込まれるデータと同じデー
タをデータ複写用ラッチに常時ラッチし、予め定められ
た複数のイベント発生要因のうちから選択された1つの
イベント発生のタイミングで、データ複写用ラッチのデ
ータ更新を禁止する。したがって、更新禁止状態のデー
タ複写用ラッチからデータを読み出すことで、外部イン
タフェースの動作が遅い場合であっても内部RAMのデ
ータを正確に把握することができ、データの同時性とデ
ータの信頼性を共に達成することができる。
As described above, according to the present invention, the same data as the data to be written in the desired internal RAM address is always latched in the data copying latch and selected from a plurality of predetermined event occurrence factors. The data update of the data copying latch is prohibited at the timing of the occurrence of one event. Therefore, by reading the data from the data copying latch in the update prohibited state, the data in the internal RAM can be accurately grasped even when the operation of the external interface is slow, and the simultaneity of the data and the reliability of the data can be obtained. Can be achieved together.

【0016】また、選択された1つのイベント発生のタ
イミングで、実行中のプログラムカウンタ値をラッチす
ることにより、どのアドレスのプログラムコードによっ
て不正なデータを書き込んだかを容易に判定することが
できる。
By latching the program counter value being executed at the timing of the occurrence of one selected event, it is possible to easily determine at which address the program code has written the illegal data.

【0017】さらに、イベント発生時にタイマカウンタ
値をラッチすることにより、CPUが暴走したとして
も、どの時点でイベントが発生したのかを把握すること
が可能となる。
Further, by latching the timer counter value when an event occurs, it is possible to know at what time the event occurred even if the CPU runs out of control.

【0018】また、内部RAMへのデータ書き込み範囲
を予め設定しておけば、想定範囲外の不正データが書き
込まれたときにイベントを発生させ、上述したようにデ
ータ複写用ラッチのデータ更新を禁止し、かつ実行中の
プログラムカウンタ値をラッチすることができる。
Further, if the data writing range to the internal RAM is set in advance, an event is generated when illegal data outside the expected range is written, and the data update of the data copying latch is prohibited as described above. In addition, the program counter value being executed can be latched.

【0019】[0019]

【発明の実施の形態】(第1実施形態の構成)図1は、
本発明によるRAMモニタ装置の第1実施形態を示す機
能ブロック図である。本実施形態によるRAMモニタ装
置にはデータ複写用ラッチ101が設けられ、後述する
ように、シングルチップ・マイクロコンピュータの内部
RAMに書き込まれたデータとの同期性が維持され、か
つCPUの動作を妨げることなく外部からのアクセスを
可能にする。
BEST MODE FOR CARRYING OUT THE INVENTION (Structure of First Embodiment) FIG.
1 is a functional block diagram showing a first embodiment of a RAM monitor device according to the present invention. The RAM monitor device according to the present embodiment is provided with the data copying latch 101, and as described later, maintains the synchronism with the data written in the internal RAM of the single-chip microcomputer and prevents the operation of the CPU. It is possible to access from the outside without.

【0020】データ複写用ラッチ101が内部データバ
スからデータをラッチするタイミングは、複写アドレス
比較器102から出力される複写許可信号SCPYにより
決定される。複写アドレス設定レジスタ103にはユー
ザによりモニタすべき内部RAMのアドレスが設定され
る。複写アドレス比較器102は、RAM書き込み許可
信号が内部RAMの書き込みを示す時に、内部アドレス
バスのアドレス値と複写アドレス設定レジスタ103に
設定された所望の複写アドレス値とを比較し、一致すれ
ば、複写許可信号SCPYをデータ複写用ラッチ101へ
出力する。従って、モニタを行う内部RAMアドレスに
データ書き込みが行われる毎に複写許可信号SCPYが出
力され、内部RAMと同じデータが内部データバスから
データ複写用ラッチ101に書き込まれ、リアルタイム
でデータが更新される。
The timing at which the data copying latch 101 latches the data from the internal data bus is determined by the copy permission signal S CPY output from the copy address comparator 102. In the copy address setting register 103, the address of the internal RAM to be monitored is set by the user. The copy address comparator 102 compares the address value of the internal address bus with the desired copy address value set in the copy address setting register 103 when the RAM write enable signal indicates writing to the internal RAM, and if they match, The copy permission signal S CPY is output to the data copy latch 101. Therefore, every time data is written to the internal RAM address to be monitored, the copy permission signal S CPY is output, the same data as the internal RAM is written from the internal data bus to the data copying latch 101, and the data is updated in real time. It

【0021】プログラムカウンタ設定レジスタ104に
は、CPUの実行プログラムにおける所望の命令実行場
所のプログラムカウンタ値が設定される。プログラムカ
ウンタ比較器105はCPUのプログラムカウンタとプ
ログラムカウンタ設定レジスタ104の設定レジスタ値
とを常に比較し、一致したときに一致信号SPCをイベン
ト発生信号として出力する。
In the program counter setting register 104, a program counter value at a desired instruction execution location in the CPU execution program is set. The program counter comparator 105 constantly compares the program counter of the CPU with the setting register value of the program counter setting register 104, and outputs a match signal S PC as an event generation signal when they match.

【0022】アクセスアドレス比較器106は、内部ア
ドレスバスのアドレス値とアドレス設定レジスタ107
に設定されたレジスタ値とを常に比較し、一致したとき
に一致信号SADRをイベント発生信号として出力する。
アクセスアドレス比較器106は、複写アドレス比較器
102と異なり、CPUのアクセス先のアドレスを観測
するために、RAM領域のアドレスだけでなくシングル
チップ・マイクロコンピュータ内の回路にアクセスする
アドレスを内部アドレスバスから入力する必要がある。
ただし、アドレス検出範囲をRAM領域に限定する場合
は、RAMデータ複写ラッチ11に接続されているアド
レスと同じアドレスを接続する構成とすることも可能で
ある。ここでは、内部アドレスバスをアクセスアドレス
比較器106と複写アドレス比較器102とに接続し、
複写アドレス比較器102の検出範囲をRAM書込許可
信号を用いて限定している。
The access address comparator 106 includes an address value of the internal address bus and an address setting register 107.
The register value set to is always compared, and when they match, a match signal S ADR is output as an event generation signal.
Unlike the copy address comparator 102, the access address comparator 106 uses not only an address in the RAM area but also an address for accessing a circuit in the single-chip microcomputer in order to observe the address of the access destination of the CPU. Must be entered from.
However, when the address detection range is limited to the RAM area, the same address as the address connected to the RAM data copy latch 11 may be connected. Here, the internal address bus is connected to the access address comparator 106 and the copy address comparator 102,
The detection range of the copy address comparator 102 is limited by using the RAM write enable signal.

【0023】プログラムカウンタ比較器105からのイ
ベント発生信号(SPC)およびアクセスアドレス比較器
106からのイベント発生信号(SADR)はイベントセ
レクタ108に入力し、予め選択された側のイベント発
生信号がデータ書き込み禁止(データ複写禁止)信号と
してデータ複写用ラッチ101へ、ラッチタイミング信
号としてプログラムカウンタラッチ110へそれぞれ出
力される。
The event generation signal (S PC ) from the program counter comparator 105 and the event generation signal (S ADR ) from the access address comparator 106 are input to the event selector 108, and the event generation signal on the preselected side is A data write inhibit (data copy inhibit) signal is output to the data copy latch 101, and a latch timing signal is output to the program counter latch 110.

【0024】イベント選択レジスタ109はイベントセ
レクタ108により選択されるイベント発生信号、すな
わちイベント要因を決定するための設定値を保持する。
たとえば、イベント選択レジスタ109に“00”が設
定されていれば、イベントセレクタ108はアクセスア
ドレス比較器106からのイベント発生信号(SADR
を選択してデータ複写用ラッチ101およびプログラム
カウンタラッチ110へそれぞれ出力される。プログラ
ムカウンタラッチ110は、イベントセレクタ108に
より選択されたイベント発生信号を入力すると、その時
点でのプログラムカウンタ値をラッチする。
The event selection register 109 holds an event occurrence signal selected by the event selector 108, that is, a set value for determining an event factor.
For example, if “00” is set in the event selection register 109, the event selector 108 causes the event generation signal (S ADR ) from the access address comparator 106.
Are selected and output to the data copying latch 101 and the program counter latch 110, respectively. When the event occurrence signal selected by the event selector 108 is input, the program counter latch 110 latches the program counter value at that time.

【0025】外部インタフェース111は、複写アドレ
ス設定レジスタ103、プログラムカウンタ設定レジス
タ104、アドレス設定レジスタ107、イベント選択
レジスタ109、データ複写用ラッチ101、およびプ
ログラムカウンタラッチ110にそれぞれ接続されてい
る。ユーザは、外部インタフェース111を通して、C
PUの動作を妨げることなしに、レジスタの設定やデー
タの読み出しを行うことができる。
The external interface 111 is connected to the copy address setting register 103, the program counter setting register 104, the address setting register 107, the event selection register 109, the data copying latch 101, and the program counter latch 110, respectively. The user can enter C through the external interface 111.
Register settings and data reading can be performed without disturbing the operation of the PU.

【0026】なお、データ複写用ラッチ101の容量
は、シングルチップ・マイクロコンピュータの内部RA
Mと同容量である必要はない。内部RAMの全データを
複写する用途はほとんど無いからであり、また同容量の
データ複写用ラッチ101を設けるとシングルチップ・
マイクロコンピュータの回路規模が増大してしまうため
である。従って、一部のデータを複写できる容量のデー
タ複写用ラッチ101を備えていればよい。
The capacity of the data copying latch 101 is equal to the internal RA of the single-chip microcomputer.
It does not have to have the same capacity as M. This is because there is almost no use for copying all the data in the internal RAM, and if a data copying latch 101 of the same capacity is provided, it becomes a single chip.
This is because the circuit scale of the microcomputer increases. Therefore, it suffices if the data copying latch 101 having a capacity capable of copying a part of data is provided.

【0027】どのアドレスのデータを複写するかは、複
写アドレス設定レジスタ103に設定されたレジスタ値
によって決定される。上述したように、モニタを行う内
部RAMアドレスにデータ書き込みが行われる毎に、内
部RAMと同じデータが内部データバスからデータ複写
用ラッチ101に書き込まれる。通常の状態では、この
更新動作が繰り返されている。
Which address data is to be copied is determined by the register value set in the copy address setting register 103. As described above, every time data is written to the internal RAM address for monitoring, the same data as the internal RAM is written to the data copying latch 101 from the internal data bus. In a normal state, this updating operation is repeated.

【0028】なお、外部に出力したいデータが複数アド
レスにわたる場合には、データ複写用ラッチ101、複
写アドレス比較器102、および複写アドレス設定レジ
スタ103をそれぞれ複数設ければよい。
If the data to be output to the outside spans a plurality of addresses, a plurality of data copying latches 101, copy address comparators 102, and copy address setting registers 103 may be provided.

【0029】(データ複写禁止制御)第1実施形態で
は、データ複写用ラッチ101のデータ複写が禁止され
るのは、プログラムカウンタの設定値との一致(イベン
ト発生信号SPC)およびアクセスアドレスの設定値との
一致(イベント発生信号SADR)のうち、イベントセレ
クタ108によって選択されたものがデータ複写用ラッ
チ101に入力した場合である。上述したように、プロ
グラムカウンタの設定値との一致とは、命令が実行され
た際のプログラムカウンタと上記プログラムカウンタ設
定レジスタ104の設定値とが一致した場合をいう。ま
た、アクセスアドレスの設定値との一致とは、コンピュ
ータ内の回路があるメモリ空間にアクセスする際のアク
セスアドレスとアドレス設定レジスタ107の設定値と
が一致した場合をいう。
(Data Copy Inhibit Control) In the first embodiment, the data copy of the data copy latch 101 is prohibited because it matches the set value of the program counter (event generation signal S PC ) and the access address setting. This is the case where the one selected by the event selector 108 among the coincidence with the value (event generation signal S ADR ) is input to the data copying latch 101. As described above, the coincidence with the set value of the program counter means a case where the program counter when the instruction is executed coincides with the set value of the program counter setting register 104. The matching with the set value of the access address means a case where the access address when the circuit in the computer accesses a memory space in which the circuit is present and the set value of the address setting register 107 match.

【0030】イベントセレクタ108はイベント選択レ
ジスタ109の設定値によってイベント要因を予め選択
しており、選択されたイベント発生信号がデータ複写禁
止信号としてデータ複写用ラッチ101へ出力され、デ
ータ複写用ラッチ101のデータ書き込み禁止制御を行
う。データ複写用ラッチ101がデータ複写禁止状態と
なった場合は、それ以降にデータ複写用ラッチ101に
対して複写許可信号S CPYが入力しても、データ複写用
ラッチ101のデータは更新されず、イベント発生直前
のデータが保持される。このようにしてデータ複写用ラ
ッチ101に保持されたデータは、外部インタフェース
111から読み出すことが可能である。
The event selector 108 is an event selection record.
Event factor is selected in advance according to the setting value of register 109
The selected event occurrence signal is prohibited from data copying.
It is output to the data copying latch 101 as a stop signal and
Data write inhibition control of the data copying latch 101
U When the data copy latch 101 is in the data copy prohibited state
If it becomes, the data copy latch 101 is added after that.
On the other hand, a copy permission signal S CPYEven if you enter, for data copying
The data in the latch 101 is not updated, just before the event occurs
Data is retained. In this way,
Data stored in the switch 101 is an external interface.
It is possible to read from 111.

【0031】また、イベントセレクタ108によって選
択されたイベント発生信号はラッチタイミング信号とし
てプログラムカウンタラッチ110へ出力される。プロ
グラムカウンタラッチ110は、選択されたイベント発
生信号を入力すると、その時点でのプログラムカウンタ
値をラッチする。このイベント発生時におけるプログラ
ムカウンタの値についても、同様に外部インタフェース
111から読み出すことが可能である。したがって、イ
ベント発生時に、どのプログラムコードでRAMに書き
込まれたデータがデータ複写用ラッチ101に記憶され
ているかをユーザ側で容易に知ることができる。
The event generation signal selected by the event selector 108 is output to the program counter latch 110 as a latch timing signal. When the selected event occurrence signal is input, the program counter latch 110 latches the program counter value at that time. The value of the program counter at the time of this event can be similarly read from the external interface 111. Therefore, when an event occurs, the user can easily know which program code is used to store the data written in the RAM in the data copying latch 101.

【0032】その他、複写アドレス設定レジスタ10
3、プログラムカウンタ設定レジスタ104、アドレス
設定レジスタ107、およびイベント選択レジスタ10
9についても、外部インタフェース111によって外部
からデータの読み出し/書き込みが可能である。外部イ
ンタフェース111は、シングルチップ・マイクロコン
ピュータとは独立に動作するので、シングルチップ・マ
イクロコンピュータの動作(CPUの動作)には影響を
与えない。
In addition, the copy address setting register 10
3, program counter setting register 104, address setting register 107, and event selection register 10
Also for 9, the external interface 111 can read / write data from the outside. Since the external interface 111 operates independently of the single-chip microcomputer, it does not affect the operation of the single-chip microcomputer (CPU operation).

【0033】複写禁止状態のデータ複写用ラッチ101
は、外部インタフェース111を介してデータの読み出
しが行われることで、複写許可状態に移行する。複写許
可状態となったRAMデータ複写ラッチ101は、上述
したように、再び複写許可信号SCPYが入力するタイミ
ングでデータ更新が繰り返される。
Data copy latch 101 in copy prohibited state
When the data is read via the external interface 111, the state shifts to the copy permitted state. In the RAM data copy latch 101 in the copy permitted state, the data update is repeated at the timing when the copy permission signal S CPY is input again, as described above.

【0034】データ複写用ラッチ101を複写禁止状態
および複写許可状態の間で切り換える方法としては、別
に設けたフラグ設定レジスタを利用することもできる。
具体的には、イベントが発生すると、フラグ設定レジス
タを回路側で自動的にセットしてデータ複写用ラッチ1
01を複写禁止状態とし、ユーザによる外部インタフェ
ースからの制御により、フラグ設定レジスタをリセット
して複写許可状態に移行する。
As a method of switching the data copying latch 101 between the copy prohibited state and the copy permitted state, a separately provided flag setting register can be used.
Specifically, when an event occurs, the flag setting register is automatically set on the circuit side and the data copy latch 1
01 is set to the copy prohibited state, and the flag setting register is reset to shift to the copy permitted state under the control of the external interface by the user.

【0035】(第2実施形態)図2は、本発明によるR
AMモニタ装置の第2実施形態を示す機能ブロック図で
ある。第2実施形態の構成において、図1に示す第1実
施形態と同一の機能ブロックについては同一の参照番号
を付して説明を省略する。
(Second Embodiment) FIG. 2 shows an R according to the present invention.
It is a functional block diagram which shows 2nd Embodiment of AM monitor apparatus. In the configuration of the second embodiment, the same functional blocks as those of the first embodiment shown in FIG. 1 are designated by the same reference numerals and the description thereof will be omitted.

【0036】図2において、データ比較器201および
データ範囲設定レジスタ202が追加され、イベントセ
レクタ203の入力数が3個に増えたことが図1の第1
実施形態と異なる点である。第2実施形態では、内部R
AMへの書き込み時におけるデータ範囲を指定し、その
範囲内若しくは範囲外をイベント発生の条件として付加
している。このようなデータ範囲を設定することによっ
て、あるプログラムルーチンにおいて、実行プログラム
の不具合により所望しないデータがRAMへ書き込まれ
る場合や、重要なRAMデータへ余計なデータが上書き
される場合などを検出することができる。
In FIG. 2, the data comparator 201 and the data range setting register 202 are added, and the number of inputs of the event selector 203 is increased to three.
This is a difference from the embodiment. In the second embodiment, the internal R
A data range at the time of writing to the AM is specified, and the inside or outside of the range is added as a condition for event occurrence. By setting such a data range, in a certain program routine, it is possible to detect a case where undesired data is written to the RAM due to a malfunction of the execution program, or a case where the extra data is overwritten on the important RAM data. You can

【0037】データ範囲設定レジスタ202には、外部
インタフェース111を通して、たとえばあるプログラ
ムにおいて内部RAMへ書き込み不可のデータ範囲の設
定が行われる。データ比較器201は、データ範囲設定
レジスタ202に設定された書き込み不可データ範囲と
内部データバス上のデータ値とを常に比較し、一致した
場合には一致信号(イベント発生信号)をイベントセレ
クタ203へ出力される。
The data range setting register 202 is set through the external interface 111, for example, in a certain program to a data range that is not writable in the internal RAM. The data comparator 201 constantly compares the unwritable data range set in the data range setting register 202 with the data value on the internal data bus, and if they match, outputs a match signal (event occurrence signal) to the event selector 203. Is output.

【0038】イベントセレクタ203は、上述したよう
に、イベント選択レジスタ109の設定値に従って、プ
ログラムカウンタ比較器105からのイベント発生信号
(S PC)、アクセスアドレス比較器106からのイベン
ト発生信号(SADR)、およびデータ比較器201から
のイベント発生信号の1つを選択し、選択されたイベン
ト発生信号がデータ書き込み禁止(データ複写禁止)信
号としてデータ複写用ラッチ101へ、ラッチタイミン
グ信号としてプログラムカウンタラッチ110へそれぞ
れ出力される。データ複写用ラッチ101、プログラム
カウンタラッチ110そのた回路ブロックの動作は第1
実施形態と同じであるから説明は省略する。
The event selector 203 is as described above.
According to the setting value of the event selection register 109,
Event occurrence signal from program counter comparator 105
(S PC), The event from the access address comparator 106
Generation signal (SADR), And from the data comparator 201
Select one of the event occurrence signals of
Signal is a data write inhibit (data copy inhibit) signal.
No. to the data copying latch 101 as the number
To the program counter latch 110 as a signal
Output. Data copy latch 101, program
Counter latch 110 The operation of that circuit block is the first
The description is omitted because it is the same as the embodiment.

【0039】(第3実施形態)図3は、本発明によるR
AMモニタ装置の第3実施形態を示す機能ブロック図で
ある。第3実施形態は、図2に示す第2実施形態の構成
にタイマカウンタラッチ301を付加した構成を有す
る。第3実施形態は、図1に示す第1実施形態の構成に
タイマカウンタラッチ301を付加した構成であっても
よい。第3実施形態の構成において、図1及び図2に示
す実施形態と同一の機能ブロックについては同一の参照
番号を付して説明を省略する。
(Third Embodiment) FIG. 3 shows an R according to the present invention.
It is a functional block diagram which shows 3rd Embodiment of AM monitor apparatus. The third embodiment has a configuration in which a timer counter latch 301 is added to the configuration of the second embodiment shown in FIG. The third embodiment may have a configuration in which a timer counter latch 301 is added to the configuration of the first embodiment shown in FIG. In the configuration of the third embodiment, the same functional blocks as those of the embodiment shown in FIGS. 1 and 2 are designated by the same reference numerals and description thereof will be omitted.

【0040】図3において、イベントセレクタ203に
より選択されたイベント発生信号がデータ書き込み禁止
(データ複写禁止)信号としてデータ複写用ラッチ10
1へ、ラッチタイミング信号としてプログラムカウンタ
ラッチ110へ、同じくラッチタイミング信号としてタ
イマカウンタラッチ301へ、それぞれ出力される。タ
イマカウンタラッチ301は、シングルチップ・マイク
ロコンピュータ内のタイマカウンタ(図示せず)に接続
されており、イベントセレクタ203からのラッチタイ
ミング信号によってタイマ値をラッチする。タイマカウ
ンタラッチ301にラッチされたタイマ値は、外部イン
タフェース111を通して読み出すことができる。
In FIG. 3, the event generation signal selected by the event selector 203 is used as a data write prohibition (data copy prohibition) signal as the data copying latch 10.
1 to the program counter latch 110 as a latch timing signal, and similarly to the timer counter latch 301 as a latch timing signal. The timer counter latch 301 is connected to a timer counter (not shown) in the single-chip microcomputer, and latches the timer value according to the latch timing signal from the event selector 203. The timer value latched by the timer counter latch 301 can be read through the external interface 111.

【0041】タイマカウンタラッチ301を設けること
で、CPUが暴走してプログラムカウンタが不定値とな
ってしまった場合にも、ラッチされたタイマ値を読み出
すことによりどの時点でのイベント発生によりRAMデ
ータが保持されたかを知ることができる。
By providing the timer counter latch 301, even when the CPU runs out of control and the program counter becomes an indefinite value, the latched timer value is read to cause the RAM data to be stored at the time when the event occurs. You can know if it was held.

【0042】なお、以上説明した第1〜第3実施形態に
おける動作は、シングルチップ・コンピュータの動作と
は全く独立しているために、シングルチップ・コンピュ
ータのリアルタイム性には全く影響を与えない。
Since the operations in the above-described first to third embodiments are completely independent of the operation of the single chip computer, they do not affect the real-time property of the single chip computer at all.

【0043】[0043]

【発明の効果】以上詳細に説明したように、本発明によ
れば、所望の内部RAMアドレスに書き込まれるデータ
と同じデータをデータ複写用ラッチに常時ラッチし、予
め定められた複数のイベント発生要因のうちから選択さ
れた1つのイベント発生のタイミングで、データ複写用
ラッチのデータ更新を禁止し、かつ実行中のプログラム
カウンタ値をラッチする。
As described in detail above, according to the present invention, the same data as the data to be written to a desired internal RAM address is always latched in the data copying latch, and a plurality of predetermined event occurrence factors are generated. At the timing of occurrence of one event selected from the above, the data update of the data copying latch is prohibited and the program counter value being executed is latched.

【0044】したがって、更新禁止状態のデータ複写用
ラッチからデータを読み出すことで、外部インタフェー
スの動作が遅い場合であっても内部RAMのデータを正
確に把握することができ、データの同時性とデータの信
頼性を共に達成することができる。また、イベント発生
時のプログラムカウンタ値を読み出すことができるため
に、どのアドレスのプログラムコードによって不正なデ
ータを書き込んだかを容易に判定することができる。
Therefore, by reading the data from the data copy latch in the update prohibited state, the data in the internal RAM can be accurately grasped even when the operation of the external interface is slow, and the simultaneity of the data and the data can be obtained. Can be achieved together. Further, since the program counter value at the time of event occurrence can be read, it is possible to easily determine at which address the program code has written the illegal data.

【0045】また、内部RAMへのデータ書き込み範囲
を予め設定しておけば、想定範囲外の不正データが書き
込まれたときにイベントを発生させ、上述したようにデ
ータ複写用ラッチのデータ更新を禁止し、かつ実行中の
プログラムカウンタ値をラッチすることができる。
Further, if the data writing range to the internal RAM is set in advance, an event is generated when illegal data outside the assumed range is written, and the data update of the data copying latch is prohibited as described above. In addition, the program counter value being executed can be latched.

【0046】さらに、イベント発生時にタイマカウンタ
値をラッチすることで、CPUが暴走したとしても、ど
の時点でイベントが発生したのかを把握することが可能
となる。
Further, by latching the timer counter value when an event occurs, even when the CPU runs out of control, it is possible to know at what time the event occurred.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明によるRAMモニタ装置の第1実施形態
を示した機能ブロック図である。
FIG. 1 is a functional block diagram showing a first embodiment of a RAM monitor device according to the present invention.

【図2】本発明によるRAMモニタ装置の第2実施形態
を示した機能ブロック図である。
FIG. 2 is a functional block diagram showing a second embodiment of a RAM monitor device according to the present invention.

【図3】本発明によるRAMモニタ装置の第3実施形態
を示した機能ブロック図である。
FIG. 3 is a functional block diagram showing a third embodiment of a RAM monitor device according to the present invention.

【符号の説明】[Explanation of symbols]

101 データ複写用ラッチ 102 複写アドレス比較器 103 複写アドレス設定レジスタ 104 プログラムカウンタ設定レジスタ 105 プログラムカウンタ比較器 106 アクセスアドレス比較器 107 アドレス設定レジスタ 108 イベントセレクタ 109 イベント選択レジスタ 110 プログラムカウンタラッチ 111 外部インタフェース 201 データ比較器 202 データ範囲設定レジスタ 203 イベント選択レジスタ 301 タイマカウンタラッチ 101 Data copy latch 102 Copy address comparator 103 Copy address setting register 104 Program counter setting register 105 Program counter comparator 106 access address comparator 107 address setting register 108 Event Selector 109 event selection register 110 program counter latch 111 External interface 201 data comparator 202 Data range setting register 203 Event selection register 301 timer counter latch

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 マイクロコンピュータの内部RAM(Ran
dom Access Memory)に書き込まれるデータをモニタする
RAMモニタ装置において、 前記マイクロコンピュータの内部データバスに接続さ
れ、前記内部RAMの所望アドレスに書き込まれるデー
タと同じデータを格納するデータ複写用メモリと、 予め定められた複数のイベント発生要因によるイベント
発生を検出するイベント発生検出手段と、 前記複数のイベント発生要因のうち予め選択されたイベ
ント発生要因によるイベント発生が検出された時点で、
前記データ複写用メモリのデータ複写動作を禁止するデ
ータ複写禁止手段と、 前記データ複写用メモリに格納されたデータを外部へ読
み出すための外部インタフェースと、 を有することを特徴とするRAMモニタ装置。
1. An internal RAM (Ran of a microcomputer
dom access memory) for monitoring data written to a RAM monitor device, which is connected to an internal data bus of the microcomputer and stores the same data as the data written to a desired address of the internal RAM, Event occurrence detection means for detecting an event occurrence due to a plurality of predetermined event occurrence factors, and at the time when an event occurrence due to a preselected event occurrence factor among the plurality of event occurrence factors is detected,
A RAM monitor device, comprising: a data copy prohibiting unit for prohibiting a data copy operation of the data copy memory; and an external interface for reading the data stored in the data copy memory to the outside.
【請求項2】 前記イベント発生検出手段は、 前記マイクロコンピュータの内部アドレスバスに接続さ
れ、そのアドレス値と予め設定されたアドレス値とを比
較し、一致するときに第1イベント発生信号を生成する
アクセスアドレス比較手段と、 前記マイクロコンピュータが実行するプログラムにおけ
るプログラムカウンタのカウンタ値と予め設定されたプ
ログラムカウンタ値とを比較して一致するときに第2イ
ベント発生信号を生成するプログラムカウンタ比較手段
と、 を有することを特徴とする請求項1記載のRAMモニタ
装置。
2. The event occurrence detection means is connected to an internal address bus of the microcomputer, compares the address value with a preset address value, and generates a first event occurrence signal when they match. Access address comparing means, and program counter comparing means for generating a second event occurrence signal when the counter value of the program counter in the program executed by the microcomputer is compared with a preset program counter value and they match. The RAM monitor device according to claim 1, further comprising:
【請求項3】 前記イベント発生検出手段は、更に、 前記マイクロコンピュータ内部のデータバスに接続さ
れ、前記マイクロコンピュータ内部のデータバス上のデ
ータと前記内部RAMへの書き込みを許可するデータ範
囲とを比較し、予め設定された範囲外の値の書き込みデ
ータであるときに第3イベント発生信号を生成するデー
タ比較手段を有することを特徴とする請求項2記載のR
AMモニタ装置。
3. The event occurrence detecting means is further connected to a data bus inside the microcomputer, and compares the data on the data bus inside the microcomputer with a data range in which writing to the internal RAM is permitted. 4. The R according to claim 2, further comprising a data comparison means for generating the third event occurrence signal when the write data has a value outside the preset range.
AM monitor device.
【請求項4】 前記データ複写禁止手段は、 前記複数のイベント発生要因のうち予め選択された1つ
を選択するイベント選択手段と、 前記選択されたイベント発生要因によるイベント発生を
前記データ複写用メモリへデータ複写禁止指令として出
力するセレクタと、 を有することを特徴とする請求項1記載のRAMモニタ
装置。
4. The data copy prohibiting means selects an event selection means selected in advance from the plurality of event occurrence factors; and an event occurrence due to the selected event occurrence cause, the data copying memory. 2. The RAM monitor device according to claim 1, further comprising a selector that outputs a data copy prohibition command to the RAM monitor.
【請求項5】 前記選択されたイベント発生要因による
イベント発生により前記データ複写用メモリがデータ複
写禁止状態となる同一時点でのプログラムカウンタ値を
保持するプログラムカウンタメモリを有することを特徴
とする請求項1ないし4のいずれかに記載のRAMモニ
タ装置。
5. A program counter memory for holding a program counter value at the same point in time when the data copying memory becomes a data copying prohibited state due to an event occurrence due to the selected event occurrence factor. 5. The RAM monitor device according to any one of 1 to 4.
【請求項6】 前記選択されたイベント発生要因による
イベント発生により前記データ複写用メモリがデータ複
写禁止状態となる同一時点でのタイマカウンタ値を保持
するタイマカウンタメモリを有することを特徴とする請
求項1ないし5のいずれかに記載のRAMモニタ装置。
6. A timer counter memory for holding a timer counter value at the same time when the data copying memory is in a data copying prohibited state due to the occurrence of an event due to the selected event occurrence factor. 6. The RAM monitor device according to any one of 1 to 5.
【請求項7】 マイクロコンピュータの内部RAM(Ran
dom Access Memory)に書き込まれるデータをモニタする
方法において、 前記マイクロコンピュータの内部データバスに接続され
たデータ複写用メモリに、前記内部RAMの所望アドレ
スに書き込まれるデータと同じデータを格納し、 予め定められた複数のイベント発生要因によるイベント
発生を検出し、 前記複数のイベント発生要因のうち予め選択されたイベ
ント発生要因によるイベント発生が検出された時点で、
前記データ複写用メモリのデータ複写動作を禁止し、 前記データ複写用メモリに格納されたデータを外部イン
タフェースを通して外部へ読み出す、 ことを特徴とするRAMモニタ方法。
7. An internal RAM (Ran) of a microcomputer
dom access memory), in the data copying memory connected to the internal data bus of the microcomputer, the same data as the data written at the desired address of the internal RAM is stored, Event occurrence due to a plurality of event occurrence factors that have been detected, when the event occurrence due to a preselected event occurrence factor among the plurality of event occurrence factors is detected,
A RAM monitoring method, wherein the data copying operation of the data copying memory is prohibited, and the data stored in the data copying memory is read out to the outside through an external interface.
JP2001249929A 2001-08-21 2001-08-21 Method and device for monitoring internal ram Withdrawn JP2003058522A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001249929A JP2003058522A (en) 2001-08-21 2001-08-21 Method and device for monitoring internal ram

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001249929A JP2003058522A (en) 2001-08-21 2001-08-21 Method and device for monitoring internal ram

Publications (1)

Publication Number Publication Date
JP2003058522A true JP2003058522A (en) 2003-02-28

Family

ID=19078845

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001249929A Withdrawn JP2003058522A (en) 2001-08-21 2001-08-21 Method and device for monitoring internal ram

Country Status (1)

Country Link
JP (1) JP2003058522A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005284557A (en) * 2004-03-29 2005-10-13 Fujitsu Ltd Microcomputer whose internal memory can be monitored
WO2013073009A1 (en) * 2011-11-15 2013-05-23 トヨタ自動車株式会社 Microcomputer system and monitoring microcomputer

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005284557A (en) * 2004-03-29 2005-10-13 Fujitsu Ltd Microcomputer whose internal memory can be monitored
WO2013073009A1 (en) * 2011-11-15 2013-05-23 トヨタ自動車株式会社 Microcomputer system and monitoring microcomputer

Similar Documents

Publication Publication Date Title
JP4519738B2 (en) Memory access control device
US6604060B1 (en) Method and apparatus for determining CC-NUMA intra-processor delays
US5862148A (en) Microcontroller with improved debug capability for internal memory
JPH10228421A (en) Memory access control circuit
JPH0690677B2 (en) Channel error injection device
US20030126515A1 (en) Automatic testing for multi-core architecture
US20090271861A1 (en) Data processing apparatus and access control method therefor
JPH08328848A (en) Microprocessor
US20070226418A1 (en) Processor and method for controlling processor
KR20200088760A (en) Checksum generation
JP2000132430A (en) Signal processor
JP2002358237A (en) Protection circuit for preventing access without privilege to memory device of processor
US7774758B2 (en) Systems and methods for secure debugging and profiling of a computer system
JP2003058522A (en) Method and device for monitoring internal ram
JP2021515308A (en) Devices and methods for accessing metadata when debugging devices
JP2001175500A (en) Trace method for in-circuit emulator and recording medium with trace procedure and trace circuit
JP7369701B2 (en) How to access metadata when debugging programs to be executed on processing circuits
US20060190675A1 (en) Control apparatus
KR0150161B1 (en) Device for displaying register and ram data
JPH06236300A (en) Microcomputer
JP2001282568A (en) Illegal access detection circuit, in-circuit emulator having the same and illegal access detecting method
JP2003006047A (en) One-chip microcomputer and ic card using the same
JPH1091218A (en) Programmable controller
JP2000259453A (en) Debugging method
JPH11203174A (en) State supervisory information processor

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20081104