JP5287117B2 - measuring device - Google Patents
measuring device Download PDFInfo
- Publication number
- JP5287117B2 JP5287117B2 JP2008262595A JP2008262595A JP5287117B2 JP 5287117 B2 JP5287117 B2 JP 5287117B2 JP 2008262595 A JP2008262595 A JP 2008262595A JP 2008262595 A JP2008262595 A JP 2008262595A JP 5287117 B2 JP5287117 B2 JP 5287117B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- area
- stored
- storage area
- updated
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Testing Or Calibration Of Command Recording Devices (AREA)
- Techniques For Improving Reliability Of Storages (AREA)
- Read Only Memory (AREA)
Description
本発明は、電圧、電流、その他の各種物理量の測定を行う測定装置に関する。 The present invention relates to a measuring apparatus that measures various physical quantities such as voltage, current, and the like.
従来から、電気信号の測定には電流計、電圧計、オシロスコープ、又はスペクトルアナライザ等の測定装置が用いられている。また、気体や流体の測定には圧力計、流量計、温度計、湿度計等の測定装置が用いられている。更に、近年においては、環境に対する関心が高まっており、pH計、酸素計、濃度計等の環境に関する物理量の測定を行う測定装置の開発も盛んに行われている。これら各種の測定装置は、発電プラント、石油化学プラント、その他の各種プラントにおいては、フィールド機器として設置される。 Conventionally, measuring devices such as an ammeter, a voltmeter, an oscilloscope, or a spectrum analyzer have been used for measuring an electric signal. In addition, measuring devices such as a pressure gauge, a flow meter, a thermometer, and a hygrometer are used for measuring gas and fluid. Furthermore, in recent years, interest in the environment has increased, and development of measuring devices that measure physical quantities related to the environment, such as pH meters, oxygen meters, and concentration meters, has been actively conducted. These various measuring devices are installed as field devices in power plants, petrochemical plants, and other various plants.
近年、上述した各種測定装置の多くは、利便性の向上、機能改善の容易化、多機能化等を図るためにプログラム制御により動作するものになっている。例えば、電圧を測定するフィールド機器は、電圧の測定を行う本来のセンサ部に加えて、センサ部の制御(例えば、バイアス制御等)を行うセンサ制御部と、センサ部で測定された測定データをフィールドバスを介して送信する通信部と、これらセンサ制御部や通信部の動作を所定のプログラムに基づいて統括制御する制御部とを備える構成である。 In recent years, many of the various measuring apparatuses described above operate under program control in order to improve convenience, facilitate function improvement, increase functionality, and the like. For example, a field device that measures voltage includes, in addition to an original sensor unit that measures voltage, a sensor control unit that controls the sensor unit (for example, bias control) and measurement data measured by the sensor unit. The configuration includes a communication unit that transmits via a field bus, and a control unit that performs overall control of operations of the sensor control unit and the communication unit based on a predetermined program.
以上の構成のフィールド機器は、フラッシュROM(Read Only Memory)とEEPROM(Electrically Erasable and Programmable ROM)とを備えており、制御部で用いられるプログラムをフラッシュROMに格納し、センサ制御部に対する調整値や設定値をEEPROMに格納するものが多い。これは、フラッシュROM及びEEPROMの性質の相違によるものである。 The field device having the above-described configuration includes a flash ROM (Read Only Memory) and an EEPROM (Electrically Erasable and Programmable ROM), stores a program used in the control unit in the flash ROM, and provides adjustment values for the sensor control unit. In many cases, the set value is stored in the EEPROM. This is due to the difference in properties between the flash ROM and the EEPROM.
ここで、フラッシュROM及びEEPROMは共に、電源を遮断してもデータが保持される不揮発性メモリである。しかしながら、フラッシュROMは1ビット単位でのデータ書き込みが可能であるがデータの消去は複数ビットからなるセクタ単位でしか行うことができないという性質があるのに対し、EEPROMはデータの消去と書き込みとをまとめて1ビット単位で行うことが可能であるという性質がある。 Here, both the flash ROM and the EEPROM are non-volatile memories that retain data even when the power is turned off. However, flash ROM has the property that data can be written in 1-bit units, but data can only be erased in units of sectors consisting of a plurality of bits, whereas EEPROM can erase and write data. There is a property that it can be performed in units of one bit at a time.
また、フラッシュROMは、セクタ単位でのデータの消去のみが可能であるという上記の性質に加えて、データの消去に長時間(例えば、1秒以上)を要し、しかも消去時の消費電流が大きく(例えば、数十mA)、更に消去回数にも制限がある(例えば、数万回程度)という性質がある。このため、フラッシュROMでは、消去が頻繁に行われる状況は望ましくない。 Further, in addition to the above-described property that only the data can be erased in units of sectors, the flash ROM requires a long time (for example, 1 second or more) to erase the data, and the current consumption at the time of erasing is high. It is large (for example, several tens of mA) and has a property that the number of erasures is also limited (for example, about several tens of thousands). For this reason, in a flash ROM, a situation where erasure is frequently performed is not desirable.
これに対し、EEPROMは、データをシリアル通信により転送しており、データの通信及び書き込みに要する時間が数msec程度の時間が必要になるという性質がある。また、EEPROMは信頼性が十分ではなく、格納されているプログラムやデータの一部が変化してしまうこともある。このため、信頼性を向上させるために、定期的にデータの読み出しを行ってデータが正常であるか否かの確認を行うチェック回路又はプログラムが設けられたり、或いはデータ(プログラム)を複数の領域に記憶して二重化し、一方のデータに変化が生じた場合には他方のデータを用いる切り替え回路が設けられることもある。 On the other hand, the EEPROM transfers data by serial communication, and has a property that time required for data communication and writing is about several milliseconds. Moreover, the reliability of the EEPROM is not sufficient, and some stored programs and data may change. For this reason, in order to improve the reliability, a check circuit or a program for periodically reading data and confirming whether the data is normal is provided, or data (program) is stored in a plurality of areas. When a change occurs in one data, a switching circuit using the other data may be provided.
尚、以下の特許文献1には、一の半導体チップ上に中央処理装置と不揮発性のフラッシュメモリとが設けられたマイクロコンピュータにおいて、内部昇圧電圧と外部高電圧の何れを用いてもフラッシュメモリに対するデータの消去、書込みを可能とする技術が開示されている。
ところで、従来の測定装置は、上述した通り、性質の異なる2種類の不揮発性メモリ(フラッシュROM及びEEPROM)を備えており、記憶させるデータの種類(プログラムであるか、又は調整値若しくは設定値であるか)に応じて使用する不揮発性メモリの使い分けを行っている。また、EEPROMを設ける場合には、信頼性を高めるために、EEPROMに付随して上述したチェック回路や切り替え回路が設けられることもある。 Incidentally, as described above, the conventional measuring apparatus includes two types of non-volatile memories (flash ROM and EEPROM) having different properties, and the type of data to be stored (a program, an adjustment value, or a setting value). The nonvolatile memory to be used is properly used according to whether there is any). When an EEPROM is provided, the above-described check circuit and switching circuit may be provided along with the EEPROM in order to increase reliability.
複数種類の不揮発性メモリを備えることは測定装置のコストを上昇させる一因になるとともに、より多くの実装面積が必要になるという問題がある。また、上記のチェック回路や切り替え回路を設けた場合には、測定装置の更なるコスト上昇を招くとともにより多くの実装面積が必要になる。このため、コスト低減及び実装面積の低減のためには、チェック回路等の実装が必要となるEEPROMを省略して搭載する不揮発性メモリをフラッシュROMに統一することが望ましい。 Providing a plurality of types of non-volatile memories increases the cost of the measuring apparatus and requires a larger mounting area. Further, when the above check circuit and switching circuit are provided, the cost of the measuring apparatus is further increased and a larger mounting area is required. Therefore, in order to reduce the cost and the mounting area, it is desirable to unify the nonvolatile memory to be mounted on the flash ROM by omitting the EEPROM that requires mounting of a check circuit or the like.
本発明は上記事情に鑑みてなされたものであり、コスト及び実装面積の低減を図ることができるとともに信頼性を確保することができる測定装置を提供することを目的とする。 The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a measuring apparatus capable of reducing cost and mounting area and ensuring reliability.
上記課題を解決するために、本発明の測定装置は、所定のプログラムに従って動作して、所定の物理量を測定する測定装置(1)において、1ビット単位でのデータの書き込みが可能であるとともに複数ビットからなるセクタ単位でのデータの消去が可能であって、前記プログラムを記憶する第1領域(R1)と前記所定の物理量の測定を行う上で用いられるデータを該データが有効であるか又は無効であるかを示す複数ビットのステータス情報とともに記憶する第2領域(R2)とが設けられた不揮発性メモリ(24)と、前記不揮発性メモリの前記第2領域に記憶されているデータを更新する場合には、更新されるべき当該データ及び当該データに付随するステータス情報を消去することなく、前記第2領域内における未使用領域に対して更新すべき新たなデータ及び該データが有効である旨を示すステータス情報の書き込みを行うとともに、当該データに付随するステータス情報に対する1ビット単位での書き込みを行うことによって該ステータス情報を有効から無効に変えるメモリ制御部(23)とを備えることを特徴としている。
この発明によると、不揮発性メモリの第1領域に記憶されたプログラムが読み出された場合には測定装置内でそのプログラムに従った動作が行われ、不揮発性メモリの第2領域に記憶されているデータが更新される場合には、第2領域に記憶されている更新されるべきデータ及びこのデータに付随するステータス情報の消去が行われることなく、更新すべき新たなデータ及びこのデータが有効である旨を示すステータス情報が第2領域内における未使用領域に書き込まれるとともに、上記の更新されるべきデータに付随するステータス情報に対する1ビット単位での書き込みが行われて、そのステータス情報が有効から無効に変えられる。
また、本発明の測定装置は、前記不揮発性メモリの前記第2領域に記憶されているデータであって付随する前記ステータス情報が有効であるデータと、該データが前記第2領域内において記憶されている位置を示すアドレス情報とを組にして一時的に記憶する揮発性メモリ(25)を備えることを特徴としている。
また、本発明の測定装置は、前記メモリ制御部が、前記不揮発性メモリの前記第2領域に記憶されているデータの更新を行う必要が生じた場合には、前記揮発性メモリに記憶されたデータのうち更新を行う必要のあるデータに対応するデータの更新を行い、所定時間経過した後に、更新が行われた前記揮発性メモリに記憶されたデータを前記不揮発性メモリの前記第2領域に書き込むことを特徴としている。
また、本発明の測定装置は、前記メモリ制御部が、前記揮発性メモリに記憶されたデータを前記不揮発性メモリの前記第2領域に書き込んだ場合に、前記揮発性メモリに記憶されている前記データに付随するアドレス情報を、新たに書き込まれたデータの前記第2領域内における記憶位置を示すアドレス情報に更新することを特徴としている。
また、本発明の測定装置は、前記不揮発性メモリの前記第2領域が複数設けられており、前記メモリ制御部が、前記第2領域の何れかにおいて未使用領域が無くなった場合に、未使用領域が無くなった第2領域に記憶されているデータを未使用領域がある他の第2領域にコピーし、未使用領域が無くなった第2領域に記憶されているデータの一括消去を行うことを特徴としている。
In order to solve the above-described problems, a measuring apparatus according to the present invention operates in accordance with a predetermined program and can write data in units of 1 bit in a measuring apparatus (1) that measures a predetermined physical quantity. It is possible to erase data in units of sectors consisting of bits, and whether the data is valid for the first area (R1) for storing the program and the data used for measuring the predetermined physical quantity or Update the data stored in the second area of the nonvolatile memory and the nonvolatile memory (24) provided with the second area (R2) to be stored together with status information of multiple bits indicating invalidity when, without erasing the status information associated with the data and the data to be updated, with respect to an unused area in the second region With writing status information indicating new data and the data to be updated is valid, be disabled by writing 1-bit units to the status information associated with the data from the enable said status information And a memory control unit (23) to be changed .
According to the present invention, when a program stored in the first area of the nonvolatile memory is read out, an operation according to the program is performed in the measuring apparatus and stored in the second area of the nonvolatile memory. If the data to be updated is updated, the data to be updated stored in the second area and the status information associated with the data are not erased, and the new data to be updated and the data are valid. with status information indicating that it is written in the unused area in the second area, the writing in 1-bit units is performed on the status information associated with data to be above update, the status information is valid Can be changed to invalid.
Further , the measuring apparatus of the present invention stores data in the second area of the non-volatile memory in which the accompanying status information is valid , and the data is stored in the second area. And a volatile memory (25) for temporarily storing a pair of address information indicating the current position.
Further, in the measuring apparatus according to the present invention, when the memory control unit needs to update the data stored in the second area of the nonvolatile memory, the data is stored in the volatile memory. The data corresponding to the data that needs to be updated is updated, and the data stored in the updated volatile memory is stored in the second area of the nonvolatile memory after a predetermined time has elapsed. It is characterized by writing.
Further, in the measuring apparatus according to the present invention, when the memory control unit writes the data stored in the volatile memory to the second area of the nonvolatile memory, the memory controller stores the data stored in the volatile memory. The address information associated with the data is updated to address information indicating the storage position of the newly written data in the second area.
Further, the measurement apparatus of the present invention includes a plurality of the second areas of the nonvolatile memory, and the memory control unit is not used when there is no unused area in any of the second areas. Copying data stored in the second area where the area has disappeared to another second area where there is no unused area, and performing batch erasure of the data stored in the second area where the unused area has disappeared It is a feature.
本発明によれば、電源を遮断してもデータが保持される不揮発性のメモリとして、1ビット単位でのデータの書き込みが可能であるとともに複数ビットからなるセクタ単位でのデータの消去が可能であって、測定装置で用いられるプログラムを記憶する第1領域と、所定の物理量の測定を行う上で用いられるデータを有効又は無効を示す複数ビットのステータス情報とともに記憶する第2領域とが設けられた不揮発性メモリのみを備えているため、コスト及び実装面積の低減を図ることができるという効果がある。また、第2領域に記憶されたデータの更新を行う場合には、第2領域に記憶されている更新されるべきデータ及びこのデータに付随するステータス情報の消去を行うことなく、第2領域の未使用領域に対して更新すべき新たなデータ及びこのデータが有効である旨を示すステータス情報の書き込みを行うとともに、上記の更新されるべきデータに付随するステータス情報に対する1ビット単位での書き込みを行って、そのステータス情報を有効から無効に変えており、データ更新の度にデータ及びステータス情報の消去が行われることがないため、信頼性の向上及び消費電流の低減を図ることができるという効果がある。 According to the present invention, as a non-volatile memory that retains data even when the power is turned off, data can be written in 1-bit units, and data can be erased in units of multiple bits. A first area for storing a program used in the measuring apparatus and a second area for storing data used for measuring a predetermined physical quantity together with a plurality of bits of status information indicating validity or invalidity. In addition, since only the nonvolatile memory is provided, there is an effect that the cost and the mounting area can be reduced. In addition, when updating the data stored in the second area, the data to be updated stored in the second area and the status information associated with the data are not erased. Write new data to be updated to the unused area and status information indicating that this data is valid, and write status information associated with the data to be updated in 1-bit units. The status information is changed from valid to invalid, and the data and status information are not erased every time the data is updated, so that the reliability can be improved and the current consumption can be reduced. There is.
以下、図面を参照して本発明の一実施形態による測定装置について詳細に説明する。図1は、本発明の一実施形態による測定装置の要部構成を示すブロック図である。図1に示す通り、本実施形態の測定装置1は、センサ部10及び制御部20を備えており、所定のプログラムに従った動作を行って、所定の物理量の測定を行う。ここで、測定装置1は、センサ部10の種類に応じて、電流、電圧、圧力、流量、温度、湿度、pH計、酸素、濃度等の様々な物理量の測定が可能である。本実施形態では、測定装置1が、プラントに設置された設備の電圧を測定するフィールド機器である場合を例に挙げて説明する。
Hereinafter, a measuring apparatus according to an embodiment of the present invention will be described in detail with reference to the drawings. FIG. 1 is a block diagram showing a main configuration of a measuring apparatus according to an embodiment of the present invention. As shown in FIG. 1, the measuring apparatus 1 of the present embodiment includes a
センサ部10は、電圧の測定が行われる設備に設けられた端子等に電気的に接続され、その端子に現れる電圧の測定を行う。尚、センサ部10は、周囲の温度変化等によって特性や測定精度が変化することがあるため、例えば特性を補正する制御又は測定精度を一定の精度に保つための制御(例えば、バイアス制御)が制御部20によって行われる。
The
制御部20は、センサ制御部21、通信部22、CPU(中央処理装置)23(メモリ制御部)、フラッシュROM24(不揮発性メモリ)、及びRAM(Random Access Memory)25(揮発性メモリ)を備える。この制御部20は、プラント内に敷設されたフィールドバス等のバスBに接続され、バスBに接続されたコントローラ(図示省略)の制御の下でセンサ部10に対する制御を行うとともに、センサ部10の測定結果をバスBを介してコントローラに送信する制御等の各種制御を行う。
The
センサ制御部21は、CPU23の制御の下で、センサ部10に対して前述したバイアス制御等の制御を行う。通信部22は、不図示のコントローラからバスBを介して送信されてくる各種のデータを受信するとともに、センサ部10の測定結果をバスBを介して不図示のコントローラに送信する。CPU23は、フラッシュROM24に記憶されたプログラムに従って測定装置1の各部(センサ制御部21、通信部22、フラッシュROM24、及びRAM25)を制御することにより測定装置1の動作を統括的に制御する。
The
具体的に、CPU23は、前述したセンサ部10に対するバイアス制御をセンサ制御部21に行わせる制御をし、通信部22を制御してバスBを介した不図示のコントローラとの間で行われる通信の制御をする。また、詳細は後述するが、フラッシュROM24に対するデータの書き込み制御を行う。ここで、CPU23は、フラッシュROM24の書き込み制御を行う場合には、フラッシュROM24に対して書き込むべきデータを一時的にRAM25に記憶させることで、フラッシュROM24に対する頻繁な書き込みを防止する制御を行う。
Specifically, the
フラッシュROM24は、測定装置1の電源を遮断してもデータが保持される不揮発性メモリであって、1ビット単位でのデータ書き込みは可能であるものの、データの消去は複数ビットからなるセクタ単位(例えば、64KB)でしか行うことができないという性質がある。つまり、フラッシュROM24は、値が「1」であるビットを値「0」に変えることは容易に行うことができるが、逆に値が「0」であるビットを値「1」に変えることは困難であるという性質を有する。
The
図2は、フラッシュROM24のメモリマップの一例を示す図である。図2に示す通り、フラッシュROM24は、測定装置1の動作を規定するプログラムが記憶されるプログラム記憶領域R1(第1領域)、電圧の測定を行う上で用いられるデータが記憶されるデータ記憶領域R2(第2領域)、及びCPU23の割り込み処理に用いられる割り込みベクタテーブルが記憶されるベクタテーブル記憶領域R3を備える。ここで、上記の電圧の測定を行う上で用いられるデータとは、センサ制御部21に対する調整値や設定値である。
FIG. 2 is a diagram illustrating an example of a memory map of the
フラッシュROM24内に確保されるこれらの領域の容量は、基本的には上述した1セクタ(64kB)の容量の整数倍の容量である。これは、データの消去を行う場合には、セクタ単位でしか行うことができないからである。プログラム記憶領域R1は、測定装置1で用いられるプログラムを十分に記憶できる容量が確保される。データ記憶領域R2は、例えば2セクタ分の容量(128kB)が確保される。ここで、データ記憶領域R2は、1セクタ分の容量を有する第1データ記憶領域R21と第2データ記憶領域R22とに分割して用いられる。これは、データの消去を効率的に行うためである。尚、データ記憶領域R2に対する初期データの書き込みは、プログラム記憶領域R1に対するプログラムの書き込みが行われる際に合わせて行われる。
The capacity of these areas secured in the
ここで、フラッシュROM24のデータ記憶領域R2に記憶されるデータは、その種類(カテゴリ)毎に分類されており、またデータの状態(ステータス)を示す情報が付随している。図3は、フラッシュROM24に記憶されるデータのフォーマットを示す図である。図3に示す通り、フラッシュROM24に記憶されるデータは、データのステータスを示す情報(ST)が格納されるステータスフィールドF1、カテゴリ名称(C−Name)が格納されるカテゴリフィールドF2、及び実際のデータ(例えば、センサ部10で測定された測定データ:Data)が格納されるデータフィールドF3からなる。
Here, the data stored in the data storage area R2 of the
ステータスフィールドF1及びカテゴリフィールドF2は固定長のフィールドであるが、データフィールドF3は可変長のフィールドである。ここで、図2に示す通り、データ記憶領域R2には、ステータスフィールドF1に格納されるステータスを示す情報(ST)、カテゴリフィールドF2に格納されるカテゴリの名称(C−Name)、及びデータフィールドF3に格納されるデータ(Data)を組にしたものが連続して記憶される。また、データフィールドF3は可変長のフィールドであるため、図2を参照すると、各組毎のデータ(Data)の長さがそれぞれ異なることが分かる。 The status field F1 and the category field F2 are fixed-length fields, while the data field F3 is a variable-length field. Here, as shown in FIG. 2, in the data storage area R2, information (ST) indicating the status stored in the status field F1, the name of the category (C-Name) stored in the category field F2, and the data field A set of data (Data) stored in F3 is continuously stored. Further, since the data field F3 is a variable length field, referring to FIG. 2, it can be seen that the length of the data (Data) for each group is different.
図4は、ステータスフィールドF1に格納されるステータスを示す情報の一例を示す図である。図4に示す通り、データのステータスを示す情報(ST)として、4つのステータス「GD」,「WR」,「BD」,「NU」が規定されている。ステータス「GD」はデータが有効(正常)である旨を示し、ステータス「WR」はフラッシュROM24に対するデータの書き込み中である旨を示す。また、ステータス「BD」はデータが無効である旨を示し、ステータス「NU」は未使用である旨を示す。
FIG. 4 is a diagram illustrating an example of information indicating the status stored in the status field F1. As shown in FIG. 4, four statuses “GD”, “WR”, “BD”, and “NU” are defined as information (ST) indicating the status of data. The status “GD” indicates that the data is valid (normal), and the status “WR” indicates that data is being written to the
これら4つのステータス「GD」,「WR」,「BD」,「NU」の実際の値は、それぞれ16進数で「0xAA」,「0xFA」,「0x00」,「0xFF」である。これらの値は、値が「1」であるビットを値「0」に変えることは容易に行うことができるが、逆に値が「0」であるビットを値「1」に変えることは困難であるというフラッシュROM24の性質に基づいて定められたものである。つまり、データ記憶領域R2に記憶されたデータが更新される場合に、ステータスフィールドF1に格納されたステータスの変更を容易にするために、上記のステータスの実際の値が定められている。
The actual values of these four statuses “GD”, “WR”, “BD”, and “NU” are “0xAA”, “0xFA”, “0x00”, and “0xFF” in hexadecimal. These values can be easily changed from a bit having a value “1” to a value “0”, but it is difficult to change a bit having a value “0” to a value “1”. This is determined based on the nature of the
図5は、カテゴリフィールドF2に格納されるカテゴリの名称の一例を示す図である。図5に示す通り、カテゴリの名称(C−Name)として、4つの名称「Sensor」,「Calculate」,「adjust」,「other」が規定されている。名称「Sensor」は、センサ部10で測定されたデータ等のセンサ関連のデータに付され、名称「Calculate」は、演算対象であるデータ又は演算を行って得られたデータ等の演算関連のデータに付される。また、名称「adjust」は、センサ部10の制御等に用いられる調整関連のデータに付され、名称「other」はその他のデータに付される。
FIG. 5 is a diagram showing an example of category names stored in the category field F2. As shown in FIG. 5, four names “Sensor”, “Calculate”, “adjust”, and “other” are defined as category names (C-Name). The name “Sensor” is attached to sensor-related data such as data measured by the
尚、データの取り扱いを容易にするために、これら名称がそのままカテゴリフィールドF2に格納されることはなく、カテゴリ毎に一意に割り当てられた値がカテゴリフィールドF2に格納される。例えば、名称「Sensor」,「Calculate」,「adjust」,「other」の代わりに、それぞれ16進数で「0x0001」,「0x0002」,「0x0003」,「0x0004」なる値が格納される。 In order to facilitate the handling of data, these names are not stored as they are in the category field F2, but a value uniquely assigned to each category is stored in the category field F2. For example, instead of the names “Sensor”, “Calculate”, “adjust”, and “other”, values “0x0001”, “0x0002”, “0x0003”, and “0x0004” in hexadecimal are stored.
RAM25は、測定装置1の電源を遮断するとデータが消去される揮発性メモリであって、1ビット単位での書き込み及び消去が可能なメモリである。このRAM25には、フラッシュROM24のデータ記憶領域R2に記憶されたデータとデータ記憶領域R2においてデータが記憶されている位置を示すアドレス(アドレス情報)とを組にして一時的に記憶する。また、フラッシュROM24から読み出されてCPU23で実行されるプログラムで用いられる各種変数の値を一時的に記憶する。
The
次に、上記構成における測定装置1の動作について説明する。尚、CPU23で実行されるべきプログラムは、予めフラッシュROM24のプログラム記憶領域R1に記憶されているとする。また、センサ制御部21に対する調整値や設定値等の初期データは、図2に示す通り、予めフラッシュROM24のデータ記憶領域R2の第1データ記憶領域R21に記憶されているものとする。本実施形態の測定装置1の動作は、電源投入時の動作、データ更新時の動作、及びデータ消去時の動作に大別される。以下、これらの動作について順に説明する。
Next, operation | movement of the measuring apparatus 1 in the said structure is demonstrated. It is assumed that the program to be executed by the
〔電源投入時の動作〕
測定装置1の電源投入等によって測定装置1が起動されると、フラッシュROM24のプログラム記憶領域R1に記憶されたプログラムがCPU23によって読み出されて実行され、そのプログラムに応じた処理が順次行われる。プログラムに応じた処理が開始されると、CPU23はフラッシュROM24の第1データ記憶領域R21を検索し、図3に示すステータスフィールドF1に格納されているステータスを示す情報(ST)が「GD」であるデータ(即ち、ステータスが有効であるデータ)を検索する。
[Operation at power-on]
When the measuring apparatus 1 is started by turning on the power of the measuring apparatus 1 or the like, the program stored in the program storage area R1 of the
尚、フラッシュROM24の第1データ記憶領域R21に記憶されたデータは、前述した通り、カテゴリ毎に分類されている。このため、CPU23は、フラッシュROM24の第1データ記憶領域R21から、各々のカテゴリにおいてステータスが有効であるデータを読み出し、このデータと第1データ記憶領域R21内におけるそのデータの記憶位置を示すアドレスとを組にしてRAM25に記憶させる。
Note that the data stored in the first data storage area R21 of the
以上の処理を行うのは、データの変更が生じた場合に、フラッシュROM24に記憶されたデータをその都度変更するのではなく、RAM25に記憶されたデータの変更を行い、所定の書き込み条件が成立したときにのみフラッシュROM24に記憶されたデータを変更することで、フラッシュROM24に対する書き込み回数を削減するためである。上記の所定の書き込み条件としては、例えば、RAM25に記憶されたデータが一定時間(例えば、30秒)更新されないことが挙げられる。つまり、RAM25に記憶されたデータが一定時間更新されない場合には、それらのデータが、CPU23の制御によってフラッシュROM24のデータ記憶領域R2にコピーされる。
The above processing is performed when the data is changed, instead of changing the data stored in the
ここで、フラッシュROM24の第1データ記憶領域R21には、1つのカテゴリに対して複数のデータが記憶される場合がある。しかしながら、1つのカテゴリにおいてステータスが有効であるデータは1つのみであり、そのカテゴリにおける他のデータは図4に示すステータス「BD」が付された無効なデータである。このため、以上の処理では、各カテゴリ毎の有効なデータのみの読み出しが行われる。
Here, in the first data storage area R21 of the
図6は、電源投入時にRAM25に記憶されるデータの一例を示す図である。図6に示す通り、RAM25には、フラッシュROM24のデータ記憶領域R2から読み出されたデータと第1データ記憶領域R21内におけるそのデータの記憶位置を示すアドレスとが組にされたカテゴリ毎のデータD1〜D4が記憶される。例えば、データD1は、名称が「Sensor」であるカテゴリに属するデータであって、アドレスa1とデータd1からなる。
FIG. 6 is a diagram illustrating an example of data stored in the
また、データD2は、名称が「Calculate」であるカテゴリに属するデータであってアドレスa2とデータd2からなり、データD3は、名称が「adjust」であるカテゴリに属するデータであってアドレスa3とデータd3からなる。同様に、データD4は、名称が「other」であるカテゴリに属するデータであってアドレスa4とデータd4からなる。以上の通り、測定装置1の電源投入時には、フラッシュROM24から読み出したデータ及びアドレスを組にしたデータをRAM25に記憶させる動作が行われる。
Further, the data D2 is data belonging to the category having the name “Calculate” and is composed of the address a2 and the data d2. The data D3 is data belonging to the category having the name “adjust” and is the data including the address a3 and the data d3. Similarly, the data D4 is data belonging to a category whose name is “other”, and includes an address a4 and data d4. As described above, when the measuring apparatus 1 is turned on, an operation for storing data read from the
〔データ更新時の動作〕
次に、フラッシュROM24のデータが更新される場合の動作について説明する。図7は、フラッシュROM24のデータ更新時に行われる動作の一例を示すフローチャートである。尚、図7に示すフローチャートは、上述した電源投入時の動作が終了した後に開始される。まず、CPU23は、フラッシュROM24の第1データ記憶領域R21に記憶されたデータの更新の有無を判断する(ステップS11)。
[Operation when updating data]
Next, the operation when the data in the
データの更新が有ったと判断した場合(ステップS11の判断結果が「YES」である場合)には、CPU23は、フラッシュROM24の第1データ記憶領域R21に記憶されたデータを直接更新するのではなく、RAM25に記憶されたデータの更新を行う(ステップS12)。これは、前述した通り、フラッシュROM24に対する書き込み回数を削減するためである。例えば、名称が「Sensor」であるカテゴリに属するデータD1のデータd1の更新が生じた場合には、CPU23はRAM24に記憶されたデータd1を新たなデータに書き替える。
If it is determined that the data has been updated (when the determination result of step S11 is “YES”), the
これに対し、データの更新が無いと判断した場合(ステップS11の判断結果が「NO」である場合)には、CPU23は、RAM25に記憶されたデータの更新を最後に行ってから一定時間(例えば、30秒)経過したか否かを判断する(ステップS13)。この判断結果が「NO」である場合は、ステップS11に戻ってフラッシュROM24の第1データ記憶領域R21に記憶されたデータの更新の有無を判断する。
On the other hand, when it is determined that there is no data update (when the determination result of step S11 is “NO”), the
他方、ステップS13の判断結果が「YES」である場合には、CPU23は、RAM25に記憶されたデータをフラッシュROM24の第1データ記憶領域R21に書き込んでコピーする(ステップS14)。ここで、CPU23は、フラッシュROM24の第1データ記憶領域R21に記憶されているデータの上書き(即ち、更新されるべきデータを新たなデータに書き換える動作)を行うのではなく、更新されるべき元のデータの消去を行うことなく、第1データ記憶領域R21における未使用領域に対して、更新すべき新たなデータの書き込み(追加書き込み)を行う。
On the other hand, if the determination result in step S13 is “YES”, the
図8は、データ更新時におけるフラッシュROM24に記憶されるデータの変化の一例を示す図である。まず、図8(a)に示す通り、フラッシュROM24の第1データ記憶領域21には、名称が「Sensor」であるカテゴリに属するデータ、名称が「Calculate」であるカテゴリに属するデータ、名称が「adjust」であるカテゴリに属するデータ、及び名称が「other」であるカテゴリに属するデータであって、ステータスが「GD」である4つのデータが連続して順に記憶されているとする。
FIG. 8 is a diagram illustrating an example of a change in data stored in the
ここで、データが記憶された第1データ記憶領域R21に対し、上述したステップS14の処理によって名称が「Sensor」であるカテゴリに属するデータの追加書き込みが行われたとする。すると、この新たに追加書き込みされたデータは、図8(b)中において斜線を付して示した通り、第1データ記憶領域R21の未使用領域であって、名称が「other」であるカテゴリに属するデータに続く位置に書き込まれる。 Here, it is assumed that additional writing of data belonging to the category whose name is “Sensor” has been performed on the first data storage area R21 in which data is stored by the process of step S14 described above. Then, the newly additionally written data is an unused area in the first data storage area R21 and has the name “other” as shown by hatching in FIG. 8B. Is written at a position following the data belonging to.
このとき、CPU23は、第1データ記憶領域R21の未使用領域に対する書き込みを行った新たなデータに付随するステータス情報を、図8(b)に示す通り、書き込み中である旨を示すステータス「WR」に設定する。つまり、書き込むべきデータのステータスフィールドF1(図3参照)にステータス「WR」を設定する。これは、瞬停等が発生してフラッシュROM24に対する書き込みが正常に完了できなかった場合を想定して、その状態を保存するためである。
At this time, as shown in FIG. 8B, the
次に、CPU23は、フラッシュROMの第1データ記憶領域R21に対する上記の書き込みが終了したか否かを判断する(ステップS15)。この判断結果が「NO」である場合には、ステップS14に戻って書き込みを継続する。これに対し、ステップS15の判断結果が「YES」である場合には、CPU23は、図8(c)中において斜線を付して示した通り、フラッシュROM23の第1データ記憶領域R21に新たに書き込みを行ったデータに付随するステータスを、書き込み中である旨を示す「WR」から有効である旨を示す「GD」に設定する(ステップS16)。
Next, the
ここで、図4に示す通り、ステータス「WR」の実際の値は0xFAであり、ステータス「GD」の実際の値は0xAAである。前述した通り、フラッシュROM24は、値が「1」であるビットを値「0」に変えることは容易に行うことができるが、逆に値が「0」であるビットを値「1」に変えることは困難であるという性質を有する。このため、
第1データ記憶領域R21に対する消去を行うことなく、第1記憶領域R21の一部のビットの値を「1」から「0」に変えることでデータのステータスを変更することができる。
Here, as shown in FIG. 4, the actual value of the status “WR” is 0xFA, and the actual value of the status “GD” is 0xAA. As described above, the
The data status can be changed by changing the values of some bits of the first storage area R21 from “1” to “0” without erasing the first data storage area R21.
以上の処理が終了すると、CPU23は、フラッシュROM24の第1データ記憶領域R21に記憶されていた元のデータ(図8(a)において、第1データ記憶領域R21の先頭部分に記憶されているデータ)のステータスを無効に設定する処理を行う(ステップS17)。具体的には、図8(c)中において斜線を付して示した通り、有効である旨を示すステータス「GD」から、無効である旨を示す「BD」に変更する処理が行われる。
When the above processing is completed, the
以上の処理によって、フラッシュROM24の第1データ記憶領域R21に記憶されていたデータの更新が完了する。第1データ記憶領域R21に記憶されているデータが更新されると、フラッシュROM24の第1データ記憶領域R21内においてそれらのデータが記憶されている位置が変化する。このため、CPU23は、フラッシュROM24の第1データ記憶領域R21における新たなデータの書き込みを終えると、その書き込み位置を示すアドレス(RAM25に記憶されているアドレス)の更新も併せて行う(ステップS18)。以上の処理によって、データの更新が終了する。
With the above processing, the update of the data stored in the first data storage area R21 of the
〔データ消去時の動作〕
次に、フラッシュROM24のデータ記憶領域R2に記憶されたデータを消去する際の動作について説明する。前述した通り、フラッシュROM24のデータ記憶領域R2は、第1データ記憶領域R21と第2データ記憶領域R22とに分割して用いられる。また、データの更新を行う場合には、前述した通り、第1データ記憶領域R21の未使用領域に新たなデータを書き込む制御を行っている。このため、データの更新が行われる度に、第1データ記憶領域R21の未使用領域は減少することになる。
[Operation when deleting data]
Next, an operation when erasing data stored in the data storage area R2 of the
本実施形態では、第1データ記憶領域R21の未使用領域が無くなって第1データ記憶領域R21に対する追加書き込みを行えなくなったときに、CPU23は、第1データ記憶領域R21に記憶されたデータを第2データ記憶領域R22にコピーした後に、第1データ記憶領域R21の消去を行う。前述した通り、第1データ記憶領域R21の容量はセクタの整数倍であるため、他の領域(例えば、第2データ記憶領域R22)に悪影響を与えることなく、第1データ記憶領域R21に記憶されたデータのみを一括して消去することができる。
In the present embodiment, when there is no unused area in the first data storage area R21 and additional writing to the first data storage area R21 cannot be performed, the
ここで、前述した通り、第1データ記憶領域R21に記憶されるデータは、有効なものばかりではなく、無効なもの(データに付随するステータスが「BD」のもの)も含まれる。データの変化の履歴を必要としない場合には、無効なデータは不要なデータである。このため、CPU23は、ステータスが有効なもの(つまり、付随するステータスが「GD」のもの)のみを第1データ記憶領域R21から第2データ記憶領域R22にコピーする。かかる処理を行うことにより、不要なデータが削減され、第2データ記憶領域R22の容量オーバーを防止しつつ、第2データ記憶領域R22を有効利用することができる。
Here, as described above, the data stored in the first data storage area R21 includes not only valid data but also invalid data (the status associated with the data is “BD”). If no data change history is required, invalid data is unnecessary data. For this reason, the
第1データ記憶領域R21に記憶されていたデータを第2データ記憶領域R22にコピーすることにより、データ記憶領域R2内における各々のデータの記憶位置が変化する。このため、CPU23は、第2データ記憶領域R22を検索して、RAM25に記憶されている各々のデータのアドレスの変更を行う。
By copying the data stored in the first data storage area R21 to the second data storage area R22, the storage position of each data in the data storage area R2 is changed. Therefore, the
尚、以上の説明では、第1データ記憶領域R21の未使用領域が無くなった場合の動作について説明したが、第2データ記憶領域R22の未使用領域が無くなった場合にも同様の動作によってデータの消去が行われる。つまり、第2データ記憶領域R22の未使用領域が無くなった場合には、第2データ記憶領域R22に記憶されたステータスが有効なデータのみが第1データ記憶領域R21にコピーされ、第2データ記憶領域R22の一括消去が行われた後に、RAM25に記憶されたアドレスが更新される。
In the above description, the operation when there is no unused area in the first data storage area R21 has been described. However, when the unused area in the second data storage area R22 runs out, Erasing is performed. That is, when there is no unused area in the second data storage area R22, only data with valid status stored in the second data storage area R22 is copied to the first data storage area R21, and the second data storage area R22 is stored. After the area R22 is erased collectively, the address stored in the
以上説明した通り、本実施形態では、従来の測定装置に設けられていたEEPROMを削減し、プログラムが記憶されるプログラム記憶領域R1と各種のデータが記憶されるデータ記憶領域R2とが設けられたフラッシュROM24のみを備えた構成にしたため、コスト及び実装面積の低減を図ることができ、更にはノイズ対策にも有効である。また、フラッシュROM24のデータ記憶領域R2に記憶されたデータを更新する場合には、既に書き込まれているデータの消去は行わずに、データ記憶領域R2の未使用領域に新たなデータを書き込むようにし、データが更新される度にデータ記憶領域R2に記憶されたデータの消去が行われることがないため、信頼性の向上及び消費電流の低減を図ることができる。
As described above, in this embodiment, the EEPROM provided in the conventional measuring apparatus is reduced, and the program storage area R1 for storing programs and the data storage area R2 for storing various data are provided. Since only the
また、従来の測定装置に設けられていたEEPROMは、書き込みが完了するまでにが数msec程度の時間が必要であったが、フラッシュROM24に対するデータの書き込みはI/Oアクセスにより高速に行うことができる。このため、本実施形態の測定装置1では、データの書き込みに要する時間を大幅に短縮することができる。また、EEPROMを備える従来の測定装置は、信頼性を高めるために、定期的にデータの読み出しを行ってデータが正常であるか否かの確認を行うチェック回路等を設ける必要があった。しかしながら、本実施形態では、フラッシュROM24の信頼性が高いため、チェック回路等を備える必要はない。これによっても、コストの低減及び実装面積の低減を図ることができる。
In addition, the EEPROM provided in the conventional measuring apparatus requires a time of about several milliseconds until the writing is completed. However, data writing to the
更に、従来は、測定装置の製造時に、測定装置で用いられるプログラムをフラッシュROMに格納するとともに、センサ制御部に対する調整値や設定値をEEPROMに格納するという工程が別々に必要であった。しかしながら、本実施形態では、これらを同時にフラッシュROMに書き込むだけで良いため、測定装置1の製造工程を大幅に削減することができる。また更に、本実施形態では、測定装置1の起動時に、高速なフラッシュROM24からプログラム及びデータの読み出しが行われるため、起動に要する時間を短縮することも可能である。
Further, conventionally, when manufacturing the measuring apparatus, a process of storing a program used in the measuring apparatus in the flash ROM and storing adjustment values and setting values for the sensor control unit in the EEPROM is separately required. However, in this embodiment, since it is only necessary to write these simultaneously in the flash ROM, the manufacturing process of the measuring apparatus 1 can be greatly reduced. Furthermore, in the present embodiment, since the program and data are read from the high-
以上、本発明の一実施形態による測定装置について説明したが、本発明は上述した実施形態に制限されることなく、本発明の範囲内で自由に変更が可能である。例えば、上記実施形態では、データ記憶領域R2を第1データ記憶領域R21と第2データ記憶領域R22との2つに分割して用いる例について説明したが、データ記憶領域R2に対する書き込みが頻繁に発生する場合や、大量のデータを書き込む必要がある場合等には、データ記憶領域R2の容量を増加させて、データ記憶領域R3を3つ以上に分割してもよい。データ記憶領域R2の分割数を増加することで、消去回数を更に低減することができる。 The measurement apparatus according to the embodiment of the present invention has been described above. However, the present invention is not limited to the above-described embodiment, and can be freely changed within the scope of the present invention. For example, in the above-described embodiment, the example in which the data storage area R2 is divided into the first data storage area R21 and the second data storage area R22 has been described, but writing to the data storage area R2 frequently occurs. For example, when it is necessary to write a large amount of data, the data storage area R3 may be divided into three or more by increasing the capacity of the data storage area R2. By increasing the number of divisions of the data storage area R2, the number of erasures can be further reduced.
また、上記実施形態では、フラッシュROM24のデータ記憶領域R2に記憶されたデータの更新を行った場合には、元のデータのステータスを無効にする例(つまり、データに付随するステータスを「BD」に設定する例)について説明した。しかしながら、例えば1つ前に更新されたデータである旨を示すステータス「old1」、2つ前に更新されたデータである旨を示すステータス「old2」等を新たに設け、データの更新が行われる度に、順次ステータスの変更を行ってもよい。かかるステータスを設けることにより、例えばデータの変更履歴を得ることができ、測定装置1の設定を、必要に応じて1つ前の設定又は2つ前の設定に戻すことができる。
In the above embodiment, when the data stored in the data storage area R2 of the
また、フラッシュROM24においてデータの消去を行う場合には大電流を伴うが、急激な電流増加を抑えるために間欠消去を実施しても良い。間欠消去を行うことで、データの消去に要するトータルの時間は長くなるものの、1回当たりの消去時間を短くすることで既存プログラムへの影響を軽減することができる。
Further, when erasing data in the
1 測定装置
23 CPU
24 フラッシュROM
25 RAM
R1 プログラム記憶領域
R2 データ記憶領域
R21 第1データ記憶領域
R22 第2データ記憶領域
1 Measuring
24 Flash ROM
25 RAM
R1 Program storage area R2 Data storage area R21 First data storage area R22 Second data storage area
Claims (5)
1ビット単位でのデータの書き込みが可能であるとともに複数ビットからなるセクタ単位でのデータの消去が可能であって、前記プログラムを記憶する第1領域と前記所定の物理量の測定を行う上で用いられるデータを該データが有効であるか又は無効であるかを示す複数ビットのステータス情報とともに記憶する第2領域とが設けられた不揮発性メモリと、
前記不揮発性メモリの前記第2領域に記憶されているデータを更新する場合には、更新されるべき当該データ及び当該データに付随するステータス情報を消去することなく、前記第2領域内における未使用領域に対して更新すべき新たなデータ及び該データが有効である旨を示すステータス情報の書き込みを行うとともに、当該データに付随するステータス情報に対する1ビット単位での書き込みを行うことによって該ステータス情報を有効から無効に変えるメモリ制御部と
を備えることを特徴とする測定装置。 In a measuring device that operates according to a predetermined program and measures a predetermined physical quantity,
Data can be written in units of 1 bit and data can be erased in units of sectors consisting of a plurality of bits, and used for measuring the first area storing the program and the predetermined physical quantity. A non-volatile memory provided with a second area for storing data to be stored together with a plurality of bits of status information indicating whether the data is valid or invalid ,
When updating the data stored in the second area of the non-volatile memory, the unused data in the second area is deleted without erasing the data to be updated and the status information associated with the data. Write new data to be updated to the area and status information indicating that the data is valid, and write the status information by writing to the status information accompanying the data in 1-bit units. And a memory control unit for changing from valid to invalid .
前記メモリ制御部は、前記第2領域の何れかにおいて未使用領域が無くなった場合に、未使用領域が無くなった第2領域に記憶されているデータを未使用領域がある他の第2領域にコピーし、未使用領域が無くなった第2領域に記憶されているデータの一括消去を行うことを特徴とする請求項1から請求項4の何れか一項に記載の測定装置。 When there is no unused area in any of the second areas, the memory control unit transfers the data stored in the second area in which the unused area is lost to another second area in which there is an unused area. 5. The measuring apparatus according to claim 1, wherein the data is copied and the data stored in the second area in which the unused area disappears is collectively erased. 6.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2008262595A JP5287117B2 (en) | 2008-10-09 | 2008-10-09 | measuring device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2008262595A JP5287117B2 (en) | 2008-10-09 | 2008-10-09 | measuring device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2010091458A JP2010091458A (en) | 2010-04-22 |
| JP5287117B2 true JP5287117B2 (en) | 2013-09-11 |
Family
ID=42254312
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2008262595A Expired - Fee Related JP5287117B2 (en) | 2008-10-09 | 2008-10-09 | measuring device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP5287117B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP5703939B2 (en) * | 2011-04-28 | 2015-04-22 | 株式会社バッファロー | Storage device, computer device, computer control method, and computer program |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP3271935B2 (en) * | 1997-10-15 | 2002-04-08 | 松下電工株式会社 | Control system |
| JP2004240660A (en) * | 2003-02-05 | 2004-08-26 | Matsushita Electric Ind Co Ltd | Method for controlling nonvolatile memory device |
| JP2007179460A (en) * | 2005-12-28 | 2007-07-12 | Denso Corp | Electronic control unit |
-
2008
- 2008-10-09 JP JP2008262595A patent/JP5287117B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2010091458A (en) | 2010-04-22 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8452913B2 (en) | Semiconductor memory device and method of processing data for erase operation of semiconductor memory device | |
| TWI493553B (en) | Method of executing wear leveling in a flash memory device according to ambient temperature information and related flash memory device | |
| US8102713B2 (en) | Non-volatile memory monitor | |
| US7523381B2 (en) | Non-volatile memory with error detection | |
| KR100515060B1 (en) | Nonvolatile semiconductor memory device having constant bit line precharge level | |
| CN103823642B (en) | Method and system for flash balanced storage | |
| EP2487689B1 (en) | Digital method to obtain the I-V curves of NVM bitcells | |
| JPWO2011102126A1 (en) | Nonvolatile semiconductor memory device and electronic device | |
| US5978941A (en) | Semiconductor memory device having deterioration determining function | |
| US9116830B2 (en) | Method to extend data retention for flash based storage in a real time device processed on generic semiconductor technology | |
| JPWO1996028826A1 (en) | Semiconductor storage device with degradation diagnosis function | |
| KR20180025356A (en) | Nonvolatile memory and nonvolatile memory system | |
| WO2021084225A1 (en) | Non-volatile memory on chip | |
| EP3176790A2 (en) | Non-volatile memory (nvm) with endurance control | |
| US11676669B2 (en) | Piecewise linear and trimmable temperature sensor | |
| CN109686392A (en) | Non-volatile memory device and the Error Compensation method that it is verified | |
| CN100369157C (en) | System and method for updating non-volatile memory using pointer | |
| JP5287117B2 (en) | measuring device | |
| CN1540670B (en) | Nonvolatile memory circuit and updating and operating method thereof | |
| JP3981268B2 (en) | Nonvolatile memory and data updating method thereof | |
| CN100530433C (en) | Information setting method for nonvolatile storage device and nonvolatile storage device | |
| CN114303200A (en) | Memory device and method for monitoring performance of memory device | |
| JP5983512B2 (en) | Writing device | |
| US20140122785A1 (en) | Data writing method and system | |
| JP2005267761A (en) | Method for monitoring degradation of flash memory |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20110815 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20121119 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20121211 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20130123 |
|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20130507 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20130520 |
|
| LAPS | Cancellation because of no payment of annual fees |