JP2006127231A - Abnormality detection device for memory control circuit - Google Patents
Abnormality detection device for memory control circuit Download PDFInfo
- Publication number
- JP2006127231A JP2006127231A JP2004316091A JP2004316091A JP2006127231A JP 2006127231 A JP2006127231 A JP 2006127231A JP 2004316091 A JP2004316091 A JP 2004316091A JP 2004316091 A JP2004316091 A JP 2004316091A JP 2006127231 A JP2006127231 A JP 2006127231A
- Authority
- JP
- Japan
- Prior art keywords
- data
- eeprom
- control circuit
- memory
- memory control
- 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.)
- Pending
Links
Images
Landscapes
- Techniques For Improving Reliability Of Storages (AREA)
Abstract
Description
本発明は、不揮発性メモリとメモリ制御回路との間の異常を検出するメモリ制御回路の異常検出装置に関する。 The present invention relates to an abnormality detection device for a memory control circuit that detects an abnormality between a nonvolatile memory and a memory control circuit.
従来より、EEPROM等の不揮発性メモリに対するデータ書込時やデータ消去時におけるメモリ制御回路と不揮発性メモリとの間の通信異常を検出するものが知られている。 2. Description of the Related Art Conventionally, a device that detects a communication abnormality between a memory control circuit and a nonvolatile memory at the time of data writing to or erasing data from a nonvolatile memory such as an EEPROM is known.
しかしながら、上述した従来の技術では、実際にメモリ制御回路から不揮発性メモリに送信したデータが異常である場合であっても、この異常を検出することが出来ないという問題があった。 However, the above-described conventional technique has a problem that even if the data actually transmitted from the memory control circuit to the nonvolatile memory is abnormal, this abnormality cannot be detected.
そこで、本発明は、上述した実情に鑑みて提案されたものであり、実際にメモリ制御回路と不揮発性メモリとの間で通信を行うときのデータを監視して、メモリ制御回路の通信異常を検出することができるメモリ制御回路の異常検出装置を提供することを目的とする。 Accordingly, the present invention has been proposed in view of the above-described circumstances, and monitors data when communication is actually performed between the memory control circuit and the nonvolatile memory, thereby detecting a communication abnormality in the memory control circuit. An object of the present invention is to provide an abnormality detection device for a memory control circuit that can be detected.
本発明は、不揮発性メモリに対するデータの書込及び消去を制御する不揮発性メモリのメモリ制御回路の異常を検出する異常検出装置であって、不揮発性メモリに対するデータ書込時には、書込コマンド、アドレス情報及び書込対象となる書込データからなる送信データを送信すると共に、不揮発性メモリのデータ消去時には、消去コマンド及びアドレス情報からなる送信データを送信する送信手段と、不揮発性メモリから送信された情報を受信する受信手段とを備え、異常検出手段により、送信手段から送信して不揮発性メモリに受信される送信データを受信して、この送信データと送信手段から送信した送信データとが一致している場合には、不揮発性メモリに対する通信状態が正常であると判定し、一致していない場合には、不揮発性メモリに対する通信状態が異常であると判定することによって、上述の課題を解決する。 The present invention relates to an abnormality detection device for detecting an abnormality in a memory control circuit of a nonvolatile memory that controls writing and erasing of data to and from the nonvolatile memory. Transmitting data composed of information and write data to be written and transmitting data transmitted from the non-volatile memory and transmitting means for transmitting transmission data composed of the erase command and address information when erasing the data in the non-volatile memory Receiving means for receiving information, and receiving the transmission data transmitted from the transmission means and received in the nonvolatile memory by the abnormality detection means, and the transmission data and the transmission data transmitted from the transmission means match. If it is determined that the communication status for the non-volatile memory is normal, By determining the communication state is abnormal for Mori, to solve the problems described above.
本発明に係るメモリ制御回路の異常検出装置によれば、送信手段から送信して不揮発性メモリに受信されるデータを受信して、このデータと送信手段から送信したデータとが一致していない場合には、不揮発性メモリに対する通信状態が異常であると判定するので、実際にメモリ制御回路と不揮発性メモリとの間で通信を行うときのデータを監視して、メモリ制御回路の異常を検出することができる。 According to the abnormality detection device for a memory control circuit according to the present invention, when data transmitted from the transmission means and received by the nonvolatile memory is received, and the data transmitted from the transmission means does not match Since it is determined that the communication state with respect to the non-volatile memory is abnormal, the data when the communication is actually performed between the memory control circuit and the non-volatile memory is monitored to detect an abnormality of the memory control circuit. be able to.
以下、本発明の実施の形態について図面を参照して説明する。 Hereinafter, embodiments of the present invention will be described with reference to the drawings.
本発明に係るメモリ制御回路の異常検出装置は、例えば図1及び図2に示すように構成されたMPU1と不揮発性メモリであるEEPROM2とが接続されたメモリシステムに適用される。
The abnormality detection device for a memory control circuit according to the present invention is applied to a memory system in which an
このメモリシステムは、用途の一例を挙げると、例えばディーゼルエンジンによって走行する車両に搭載され、ディーゼルエンジン車両から排出される排気ガス中のNOxを水と窒素に分解する尿素SCR触媒用尿素水の尿素濃度を検出する検出回路(図示せず)と接続され、尿素濃度の検出値をMPU1によって入力してEEPROM2に記憶制御し、排気ガス浄化システムを実現するものである。したがって、このメモリシステムは、車両の電源が投入されている時には、確実にEEPROM2に記憶した情報の更新を実現すると共に、車両の電源が切断された場合であっても、確実にEEPROM2に各種情報を保持する必要がある。
For example, this memory system is mounted on a vehicle that is driven by a diesel engine, and urea water for urea SCR catalyst that decomposes NOx in exhaust gas discharged from the diesel engine vehicle into water and nitrogen. It is connected to a detection circuit (not shown) for detecting the concentration, and the detected value of the urea concentration is inputted by the
MPU1は、クロック信号ポート、受信ポート(受信手段)及び送信ポート(送信手段)が設けられている。一方、EEPROM2は、MPU1のクロック信号ポートと接続されたクロック信号ポート、MPU1の送信ポートと接続された受信ポート及びMPU1の受信ポートと接続された送信ポートが設けられている。
The
このようなメモリシステムは、MPU1内にクロック信号を生成するクロック回路、クロック信号状態を監視するクロック監視回路などを備えている。このメモリシステムは、MPU1内のクロック回路で発生させたクロック信号をクロック信号ポートから、EEPROM2のクロック信号ポートに出力し、このクロック信号に従った動作周波数でEEPROM2がデータ書込動作及び消去動作を行う。
Such a memory system includes a clock circuit that generates a clock signal in the
また、このメモリシステムは、EEPROM2にデータの書込動作をさせる場合には、MPU1の送信ポートからEEPROM2にコマンド、アドレス情報及び書込対象となるデータを送信する。これにより、EEPROM2は、受信ポートによって受信したコマンドに従って、受信したアドレスに書込対象となるデータを保存する。また、このメモリシステムは、EEPROM2にデータの消去動作をさせる場合には、MPU1の送信ポートからEEPROM2にコマンド、アドレス情報を送信する。これにより、EEPROM2は、受信ポートによって受信したコマンドに従って、受信したアドレスに対応する値を「1」に設定して消去動作をする。
In addition, in the case where the data writing operation is performed in the
更に、MPU1は、EEPROM2にデータの書込動作又は消去動作をさせるに際して、EEPROM2に送信したデータを受信ポートによって自己受信する。ここで、MPU1の受信ポートは、EEPROM2からのデータを受信する受信ポートと、MPU1から送信したデータを自己受信する受信ポートとを共用化している。
Further, when the
このようにMPU1から送信したデータを自己受信できるのは、EEPROM2からデータ送信を行わない期間では、EEPROM2の送信ポートが高インピーダンス状態となっているために、MPU1から送信したデータを受信ポートで受信できることによる。
In this way, the data transmitted from the
そして、MPU1は、送信したデータと、自己受信したデータとを比較して、一致している場合にはEEPROM2との間の通常処理が正常であると判定し、一致していない場合には、EEPROM2との間の通常処理が異常であると判定する通信監視回路(異常検出手段)を備えている。
Then, the
このようなメモリシステムは、MPU1の異常検出処理の処理手順を図3に示すように、MPU1によってEEPROM2との間での通信を開始すると、コマンド、アドレスや書込データのデータ送信を行うと共に(ステップS1)、受信ポートによってデータの自己受信を行う(ステップS2)。
In such a memory system, as shown in FIG. 3, the
そして、MPU1は、ステップS1で送信したデータと、ステップS2で自己受信したデータとを比較して、一致しているか否かを判定し、一致している場合にはEEPROM2との間の通常処理が正常に行われていると判定し、一致していない場合には、EEPROM2との間の通常処理に異常が発生していると判定する。
Then, the MPU 1 compares the data transmitted in step S1 with the data received in step S2, and determines whether or not they match. If they match, normal processing with the EEPROM 2 is performed. Is determined to be normal, and if they do not match, it is determined that an abnormality has occurred in normal processing with the
以上説明したように、本発明を適用したメモリシステムによれば、MPU1から送信してEEPROM2に受信されるデータをMPU1によって受信して、このデータと送信したデータとが一致している場合には、EEPROM2に対する通信状態が正常であると判定し、一致していない場合には、EEPROM2に対する通信状態が異常であると判定することができるので、実際にMPU1(メモリ制御回路)とEEPROM2(不揮発性メモリ)との間で通信を行うときのデータを監視して、MPU1の異常を検出することができる。
As described above, according to the memory system to which the present invention is applied, when the data transmitted from the
また、このメモリシステムによれば、EEPROM2から送信されたデータを受信する受信ポートと、EEPROM2に受信されるデータを自己受信する受信ポートとを共用化したので、データ比較を行う監視回路を作動させるのみで、通常処理の異常を検出することができる。
Further, according to this memory system, since the reception port for receiving the data transmitted from the
なお、上述の実施の形態は本発明の一例である。このため、本発明は、上述の実施形態に限定されることはなく、この実施の形態以外であっても、本発明に係る技術的思想を逸脱しない範囲であれば、設計等に応じて種々の変更が可能であることは勿論である。 The above-described embodiment is an example of the present invention. For this reason, the present invention is not limited to the above-described embodiment, and various modifications can be made depending on the design and the like as long as the technical idea according to the present invention is not deviated from this embodiment. Of course, it is possible to change.
1 MPU
2 EEPROM
1 MPU
2 EEPROM
Claims (2)
前記不揮発性メモリに対するデータ書込時には、書込コマンド、アドレス情報及び書込対象となる書込データからなる送信データを送信すると共に、前記不揮発性メモリのデータ消去時には、消去コマンド及びアドレス情報からなる送信データを送信する送信手段と、
前記不揮発性メモリから送信された情報を受信する受信手段と、
前記送信手段から送信して前記不揮発性メモリに受信される送信データを受信して、この送信データと前記送信手段から送信した送信データとが一致している場合には、前記不揮発性メモリに対する通信状態が正常であると判定し、一致していない場合には、前記不揮発性メモリに対する通信状態が異常であると判定する異常検出手段と
を備えることを特徴とするメモリ制御回路の異常検出装置。 An abnormality detection device for detecting an abnormality in a memory control circuit of a nonvolatile memory that controls writing and erasing of data with respect to the nonvolatile memory,
At the time of data writing to the nonvolatile memory, transmission data including a write command, address information and write data to be written is transmitted, and at the time of erasing data from the nonvolatile memory, it includes an erase command and address information. A transmission means for transmitting transmission data;
Receiving means for receiving information transmitted from the nonvolatile memory;
When transmission data transmitted from the transmission means and received by the non-volatile memory is received, and the transmission data matches the transmission data transmitted from the transmission means, communication to the non-volatile memory is performed. An abnormality detection device for a memory control circuit, comprising: an abnormality detection unit that determines that the state is normal and determines that the communication state with respect to the nonvolatile memory is abnormal when the states do not match.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004316091A JP2006127231A (en) | 2004-10-29 | 2004-10-29 | Abnormality detection device for memory control circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004316091A JP2006127231A (en) | 2004-10-29 | 2004-10-29 | Abnormality detection device for memory control circuit |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2006127231A true JP2006127231A (en) | 2006-05-18 |
JP2006127231A5 JP2006127231A5 (en) | 2006-12-21 |
Family
ID=36721920
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004316091A Pending JP2006127231A (en) | 2004-10-29 | 2004-10-29 | Abnormality detection device for memory control circuit |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2006127231A (en) |
-
2004
- 2004-10-29 JP JP2004316091A patent/JP2006127231A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2014091666A1 (en) | Onboard electronic control device | |
US11433718B2 (en) | Upgrading method and apparatus for tire pressure monitoring module and tire pressure sensor | |
JP4367513B2 (en) | Electronic control unit | |
JP2008155736A (en) | Electronic control device | |
US20020062480A1 (en) | Program updating system having communication function | |
JP2009266017A (en) | Storage device and method of starting the storage device | |
JP2006127231A (en) | Abnormality detection device for memory control circuit | |
US20140245046A1 (en) | Communication node | |
JP2001295694A (en) | Rewrite system for vehicle control device | |
JP2006172314A (en) | Data writing device for non-volatile memory | |
JPH08178976A (en) | Power breakage detector | |
JP2010098477A (en) | Electronic control device and method for controlling the electronic control device | |
JP2011123569A (en) | Processor | |
JP2008254518A (en) | On-vehicle communication device | |
US20220060867A1 (en) | Wireless sensor device, host device, and method of controlling low-power operation of wireless sensor device | |
JP5867350B2 (en) | Electronic control device for vehicle | |
JP2006127232A (en) | Controller for nonvolatile memory | |
JPH07119537A (en) | Control device | |
JP2005297652A (en) | Communication device of on-vehicle electronic control device | |
JP4960545B2 (en) | MEMORY WRITE DEVICE, MEMORY WRITE METHOD, AND RECORDING MEDIUM CONTAINING MEMORY WRITE PROGRAM | |
JP2006276947A (en) | Power supply control device and power supply control method | |
JPH11203173A (en) | Watch dog timer circuit | |
JP2008257415A (en) | Controller having program write function | |
JP2007022362A (en) | Program rewriting system for electronic control unit | |
JP3297097B2 (en) | Remote control system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20061101 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20061207 |
|
A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A712 Effective date: 20071204 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20090522 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20090527 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20091002 |