JP4421659B2 - Electronic device having flash memory - Google Patents
Electronic device having flash memory Download PDFInfo
- Publication number
- JP4421659B2 JP4421659B2 JP2008136150A JP2008136150A JP4421659B2 JP 4421659 B2 JP4421659 B2 JP 4421659B2 JP 2008136150 A JP2008136150 A JP 2008136150A JP 2008136150 A JP2008136150 A JP 2008136150A JP 4421659 B2 JP4421659 B2 JP 4421659B2
- Authority
- JP
- Japan
- Prior art keywords
- bus
- memory
- flash memory
- control circuit
- auxiliary
- 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
- Memory System (AREA)
- Techniques For Improving Reliability Of Storages (AREA)
- Debugging And Monitoring (AREA)
Description
本発明は、メモリカードや携帯電子機器等の不揮発性メモリからなるフラッシュメモリとそれを制御する制御部とを有する電子機器において、停電によるシステムダウンやシステムエラーの発生時におけるシステムの回復及びその処理を適切かつ容易に行うことができるフラッシュメモリを有する電子機器に関する。 The present invention relates to recovery and processing of a system in the event of a system failure or system error due to a power failure in an electronic device having a flash memory including a nonvolatile memory such as a memory card or a portable electronic device and a control unit that controls the flash memory. The present invention relates to an electronic device having a flash memory that can appropriately and easily perform the above.
フラッシュメモリを内蔵したメモリカードや、フラッシュメモリを内蔵した電子手帳等の携帯電子機器は、内蔵されたフラッシュメモリにデータを記録し、記録したデータを適宜読み出す。フラッシュメモリは、通常、フローティングゲート型のMOSトランジスタからなる不揮発性メモリで構成され、データの記録を行うプログラム、データの消去を行うイレーズ、及びデータの読み出しを行うリード動作を有する。一般に、プログラムモード、イレーズモードの動作は、リードモードに比較して、長時間を要するが、フラッシュメモリは、電源が遮断されている間も記録されたデータが保持される不揮発性であることから、メモリカードや携帯電子機器等の電源の使用が制限される状況で使用される電子機器に最適なメモリである。 A portable electronic device such as a memory card with a built-in flash memory or an electronic notebook with a built-in flash memory records data in the built-in flash memory and reads the recorded data as appropriate. The flash memory is usually composed of a nonvolatile memory composed of floating gate type MOS transistors, and has a program for recording data, an erase for erasing data, and a read operation for reading data. In general, program mode and erase mode operations require a longer time than read mode, but flash memory is non-volatile that retains recorded data even while the power is turned off. The memory is optimal for electronic devices used in situations where the use of power sources such as memory cards and portable electronic devices is restricted.
図13は、従来のメモリカード等の比較的小規模な電子機器の構成図である。この電子機器100は、フラッシュメモリからなるメインメモリ2とそれを制御する制御回路1とを有し、それらがバス4で接続される。かかる電子機器100は、パーソナルコンピュータ等に装着され、メインメモリ2にユーザのデータ等が記録される。パーソナルコンピュータからの要求に応じて、制御回路1は、バス4を介してメインメモリに数サイクルのコマンドを供給し、それに応答してメインメモリ2は、イレーズやプログラム動作等を行う。
FIG. 13 is a configuration diagram of a relatively small electronic device such as a conventional memory card. The
図14は、従来の携帯電子機器等の比較的大規模な電子機器の構成図である。この電子機器100は、制御回路1とフラッシュメモリからなるメインメモリ2に加えて、DRAMやSRAM等の比較的高速にデータの書き込みを行うことができるテンポラリメモリ3を有する。テンポラリメモリ3は、バス5とテンポラリメモリ制御線6とを介して制御回路1に接続される。そして、揮発性メモリからなるテンポラリメモリ3には、電池8が接続され、電源遮断時のデータの保持を可能にする。
FIG. 14 is a configuration diagram of a relatively large-scale electronic device such as a conventional portable electronic device. The
テンポラリメモリ3は、制御回路1がメインメモリ2に書き込みを行う時の書き込みデータが一時的に書き込まれ、テンポラリメモリ3に一時的に記録された書き込みデータが、比較的書き込みに時間を要するメインメモリ2に、時間をかけて書き込まれる。また、電子機器100のベンダー情報等の属性情報も、テンポラリメモリ3に記録される。
The
上記従来のフラッシュメモリを内蔵する電子機器は、フラッシュメモリへのプログラムやイレーズ中に停電やエラーが発生した場合、復帰後に停電やエラー発生時の状況を知る手段がない。従って、カードメモリの場合においては、パーソナルコンピュータ側のカードドライバやファイルシステムに、その停電やエラーが発生した時の状況を検出して対処できるようにする機能をもたせることが必要であり、システム側の負担が大きくなる傾向にある。 The electronic device incorporating the above-described conventional flash memory has no means of knowing the situation at the time of power failure or error after recovery when a power failure or error occurs during program or erase to the flash memory. Therefore, in the case of card memory, it is necessary to provide the card driver and file system on the personal computer side with a function to detect and deal with the situation when the power failure or error occurs. There is a tendency to increase the burden of.
更に、カードメモリ等は携帯性に富んでいるが、カードメモリ内にエラー発生要因が含まれている場合、それを検出することができず、カードメモリの流用性を損なうという問題がある。 Furthermore, the card memory or the like is rich in portability, but when an error occurrence factor is included in the card memory, it cannot be detected, and there is a problem that the diversion of the card memory is impaired.
また、図14で示したテンポラリ・メモリ3を有する場合も、同様に停電やエラー発生によりメインメモリ2へのプログラムやイレーズが中断された場合には、復帰後にその状況を検出することが困難であり、復帰に時間を要するという問題がある。
In the case of having the
そこで、本発明の目的は、停電やエラー発生によりプログラム動作やイレーズ動作が中断された場合でも、復帰時にその中断時の情報を容易に検出することができ、停電やエラー発生に対して短時間で且つ容易に復帰することができるフラッシュメモリ内蔵の電子機器を提供することにある。 Therefore, even if the program operation or erase operation is interrupted due to the occurrence of a power failure or error, the object of the present invention is to easily detect the information at the time of the interruption at the time of recovery, and for a short time against the occurrence of a power failure or error. It is another object of the present invention to provide an electronic device with a built-in flash memory that can be easily restored.
更に、本発明の目的は、フラッシュメモリの動作に不具合が発生した場合に、その情報を保持し、不具合発生後の復帰時に、短時間でかつ容易に復帰することができるフラッシュメモリ内蔵の電子機器を提供することにある。 Furthermore, an object of the present invention is to provide an electronic device with a built-in flash memory that can retain information when a malfunction occurs in the operation of the flash memory and can easily recover in a short time when the malfunction occurs. Is to provide.
更に、本発明の目的は、使用時においてフラッシュメモリに不良ビットが発生した場合でも継続して使用することができるフラッシュメモリ内蔵の電子機器を提供することにある。 It is another object of the present invention to provide an electronic device with a built-in flash memory that can be used continuously even when a defective bit occurs in the flash memory during use.
上記の目的を達成する為に、本発明は、フラッシュメモリを内蔵する電子機器において、フラッシュメモリとそれを制御する制御部とを接続するバスの情報を、所定のタイミングで記録する補助不揮発性メモリを有する。この補助不揮発性メモリは、好ましくは、フラッシュメモリよりも高速書き込みが可能なメモリであり、例えば、FeRAM(Ferroelectric RAM)が実際的な例である。FeRAMは、強誘電体の分極作用を利用したメモリであり、通常は、DRAMと同様に動作し、電源がオフになっても記録されたデータは保持される。しかも、その書き込みに要する時間は、従来のフラッシュメモリで使用されるフローティングゲート型のMOSトランジスタからなる不揮発性メモリよりも高速である。 In order to achieve the above object, the present invention provides an auxiliary nonvolatile memory that records information of a bus connecting a flash memory and a control unit that controls the flash memory at a predetermined timing in an electronic device incorporating the flash memory. Have This auxiliary non-volatile memory is preferably a memory capable of writing at a higher speed than a flash memory, and for example, FeRAM (Ferroelectric RAM) is a practical example. The FeRAM is a memory that utilizes the polarization action of a ferroelectric, and normally operates in the same manner as a DRAM, and retains recorded data even when the power is turned off. In addition, the time required for the writing is faster than that of a nonvolatile memory composed of a floating gate type MOS transistor used in a conventional flash memory.
上記の目的を達成するために、本発明は、不揮発性メモリからなるフラッシュメモリと、バスを介して前記フラッシュメモリに接続され、前記バスを介して制御コマンドを供給し前記フラッシュメモリを制御する制御部とを有する電子機器において、前記フラッシュメモリより書き込み動作が速い補助不揮発性メモリを有し、前記制御部は、所定のタイミングで、前記補助不揮発性メモリに前記バスの情報を記憶することを特徴とする。 In order to achieve the above object, the present invention provides a flash memory composed of a nonvolatile memory and a control connected to the flash memory via a bus and supplying a control command via the bus to control the flash memory. An electronic device having an auxiliary nonvolatile memory having a faster write operation than the flash memory, and the control unit stores the bus information in the auxiliary nonvolatile memory at a predetermined timing. And
以下、本発明の実施の形態について図面に従って説明する。しかしながら、本発明の技術的範囲がその実施の形態に限定されるものではない。 Hereinafter, embodiments of the present invention will be described with reference to the drawings. However, the technical scope of the present invention is not limited to the embodiment.
図1は、本発明の第1の実施の形態例の電子機器の構成図である。図1に示される通り、電子機器100は、フラッシュメモリからなるメインメモリ2とそれを制御する制御回路(CPU)1とを有し、それらはアドレス信号線とデータ信号線等を有するバス4で接続される。更に、電子機器100は、FeRAMからなる補助不揮発性メモリ10を有し、バス4から分岐したバス12が接続される。また、補助不揮発性メモリ10は、制御回路1からのFeRAM用のコントロール信号14により制御される。
FIG. 1 is a configuration diagram of an electronic apparatus according to a first embodiment of the present invention. As shown in FIG. 1, an
補助不揮発性メモリ10は、強誘電体の分極作用を利用したメモリであり、例えばMOS型のセルトランジスタのゲート酸化膜に強誘電体を利用し、そのゲート酸化膜に電圧を印加することで分極状態を作り、この分極状態が電源を遮断しても維持されることで不揮発性メモリの機能を持つ。分極状態に応じてセルトランジスタがオン、オフすることにより読み出しが行われる。また、分極状態にするための書き込みに要する時間は、フローティングゲート型のMOSトランジスタを利用するフラッシュメモリに比べて短い。
The auxiliary
図2は、図1の電子機器の動作タイミングチャート図である。図2は、FeRAMのステータスとして、チップ単位で消去を行うチップ・イレーズS1、セクタ単位で消去を行うセクタ・イレーズS2、読み出しを行うリードS3、そして、プログラムを行うプログラムS4が例示される。それぞれのステータスにおいて、制御回路であるCPU1は、バス4のアドレスバスやデータバスに、制御コマンドや対象アドレス等を供給する。それに応じて、フラッシュメモリからなるメインメモリ2は、それぞれのステータスで動作期間になる。
FIG. 2 is an operation timing chart of the electronic device of FIG. FIG. 2 illustrates a chip erase S1 for erasing in units of chips, a sector erase S2 for erasing in units of sectors, a read S3 for reading, and a program S4 for performing programs as FeRAM statuses. In each status, the
例えば、フラッシュメモリ2の動作期間の前半に、制御コマンドがバス4に供給され、それによりフラッシュメモリ2はそのステータスの動作を認識する。したがって、制御回路1は、FeRAMのコントロール信号14を補助不揮発性メモリ10に供給し、補助不揮発性メモリ10は、そのコントロール信号14に応答して、バス4の情報を記録する。このバス情報の記録は、ステータス毎に行われ、補助不揮発性メモリ10には、最新のステータスでの或いは最新の複数ステータスでのバス情報のみが記録される。したがって、補助不揮発性メモリ10はそれほど大きな記憶容量は必要ない。
For example, in the first half of the operation period of the
図2の例では、ステータスS1,S2,S3においては、正常に動作が終了しているが、サイクルS4のプログラム動作時において何らかのエラーまたは停電が発生する。その場合、その後の電子機器の電源立ち上げ時において、制御回路1は、補助不揮発性メモリ10に記録された、エラー発生の直前のバス情報を読み出す。そして、制御回路1は、エラー発生時のバス情報から、エラー発生時のステータスを知ることができる。このステータスには、チップ・イレーズ、セクタ・イレーズ、リード、プログラムのいずれかの情報が含まれる。また、セクタ・イレーズやプログラムの場合には、消去対象またはプログラム対象のアドレスも含まれる。従って、制御回路1は、どのアドレスへの消去またはプログラム中にエラーが発生したかを電源立ち上げ時に知ることができるので、電源立ち上げ後直ぐにエラー発生時の消去動作またはプログラム動作を開始することができる。従来の電子機器では、エラー発生時には、電源立ち上げ後にメインメモリのデータの内容をチェックし、プログラムされていないセルのアドレスを検出する必要があった。
In the example of FIG. 2, in the statuses S1, S2, and S3, the operation is normally completed, but some error or power failure occurs during the program operation of the cycle S4. In that case, at the time of power-on of the electronic device thereafter, the
更に、エラーの発生が、停電等ではなく、セル不良によるプログラム不良の場合は、その不良セルのアドレス番地を、マスクアドレスとして補助不揮発性メモリ10に記録する。かかるマスクアドレスを利用することで、その後の不良セルへのプログラムを禁止することができる。この点については、後で詳述する。
Furthermore, when the error is not a power failure or the like but a program failure due to a cell failure, the address address of the defective cell is recorded in the auxiliary
補助不揮発性メモリ10には、最新のバス情報のみが記録される。今仮に、1サイクル毎に補助不揮発性メモリ10にバス情報を更新するとする。メインメモリが4Mビットで入出力端子I/Oが16本とすると、アドレスバスが18ビット、入出力端子用のデータバスが16ビット、及びメインメモリへのコントロールピン数ビットで、合計40ビットの容量を補助不揮発性メモリ10が有していれば良い。
Only the latest bus information is recorded in the auxiliary
電子機器100は、例えばメモリカードの場合は、異なるパーソナルコンピュータに接続される。その場合、メモリカード内の補助不揮発性メモリ10には、前回のエラー発生時のバス情報が保持されているので、異なるパーソナルコンピュータでも、その情報を読み出して、エラー発生時の状況を認識することができ、システムの信頼性を上げることができる。
For example, in the case of a memory card,
図3は、第1の実施の形態例の電子機器の詳細図である。この例では、フラッシュメモリからなるメインメモリ2が、4Mビットの容量を有し、バス4が、18本のアドレスバスADDと、16本のデータバスD−I/Oと、数本のコントロールバスCTLとを有する。コントロールバスCTLは、例えば、チップイネーブル/CE、アウトプットイネーブル/OE、ライトイネーブル/WE等を有する。これらのバスは、更に分岐して補助不揮発性メモリ10にも接続される。
FIG. 3 is a detailed view of the electronic apparatus according to the first embodiment. In this example, the
図4は、図3の電子機器の動作タイミングチャート図である。図4には、複数の動作ステータスのうち、チップイレーズの例が示される。チップイレーズは、重要な記憶データを消去することになるので、エラーにより記憶データが消去されないように、制御回路1が6サイクルの制御コマンドを供給することにより、フラッシュメモリ2にそれを認識させる。即ち、第1のサイクルから第6のサイクルまで、アドレスバスADDとデータバスD−I/Oとに図示の如き制御コマンドが供給される。制御回路1は、FeRAMコントロール信号14により、各サイクルでの制御コマンドを補助不揮発性メモリ10に記録させる。即ち、6サイクル分の制御コマンドが補助不揮発性メモリ10に記録される。その後、チップ全体の消去動作が実行される。
4 is an operation timing chart of the electronic device of FIG. FIG. 4 shows an example of chip erase among a plurality of operation statuses. Since chip erase erases important stored data, the
上記の制御コマンドを供給するサイクルは、例えば100nsec 程度を要するのに対して、その後の消去動作には、例えば数sec を要する。従って、6サイクルのコマンドシーケンスをバス4に供給している時間は、約600nsec 程度であるのに対して、その後の消去動作は、それより遙かに長い数秒を要するのである。従って、図2において説明した通り、各ステータスの動作期間の前半においてバス4に供給される制御コマンドを記録し、エラー発生後の電源立ち上がり時において、エラー発生直前の6サイクル分の制御コマンドを分析することで、制御回路1は、エラー発生直前の動作状態を容易に検出することができる。
The cycle for supplying the above control command requires, for example, about 100 nsec, while the subsequent erase operation requires, for example, several seconds. Therefore, the time for supplying the command sequence of 6 cycles to the
図5は、制御コマンドの例を示す図である。リード動作では、3サイクルの制御コマンドと4サイクル目の読み出しアドレスRAに応答して、フラッシュメモリ2は、データバスD−I/Oに読み出しデータRDを出力する。プログラム動作では、3サイクルの制御コマンドと4サイクル目のプログラムアドレスPAとプログラムデータPDに応答して、フラッシュメモリ2は、プログラム動作を行う。プログラム動作は、対象アドレスを一旦消去し、その後プログラムし、プログラムベリファイ等が必要であり、コマンドシーケンスに比較して長時間を要する。更に、チップ・イレーズとセクタ・イレーズ動作では、6サイクルの制御コマンドが供給され、それに応答して、フラッシュメモリ2は消去動作を行う。両イレーズは、6サイクル目の制御コマンドで区別される。セクタ・イレーズの場合は、6サイクル目にセクタアドレスSAが供給される。
FIG. 5 is a diagram illustrating an example of a control command. In the read operation, in response to the control command for the third cycle and the read address RA for the fourth cycle, the
図5の制御コマンドの例で明らかな通り、各ステータスの前半においてバス4に出力される制御コマンドを補助不揮発性メモリ10に記録することで、その後のプログラム動作中や消去動作中にエラーが発生した場合、エラー発生直前の動作内容、動作対象アドレスPA,SAを読み出すことができる。また、消去動作の場合、7サイクル目以降に消去対象アドレスがバス4に供給されるので、かかる消去対象アドレスを補助不揮発性メモリ10に記録することにより、エラー発生直前の消去対象アドレスを知ることができる。
As is clear from the example of the control command in FIG. 5, by recording the control command output to the
図6は、第2の実施の形態例の電子機器の構成図である。この例では、バス4に含まれフラッシュメモリ2から制御回路1に供給されるフラグ信号である、レディービジー信号RY/BYとタイミングリミット超過信号DQ5とが、補助不揮発性メモリ10にも接続される。そして、これらのフラグ信号のタイミングで、バス4内のアドレスバスADD、データバスD−I/O及びコントロールバスCTLを含むバス線13のデータが、バス情報として補助不揮発性メモリ10に記録される。
FIG. 6 is a configuration diagram of an electronic apparatus according to the second embodiment. In this example, a ready busy signal RY / BY and a timing limit excess signal DQ5, which are flag signals included in the
図7は、図6の動作タイミングチャート図である。図7には、ステータスS11〜S14として、イレーズ、プログラム、プログラム、プログラムの例が示される。上記したフラグ信号は、消去動作とプログラム動作の場合にフラッシュメモリ2から出力される。例えば、レディービジー信号RY/BYは、フラッシュメモリにおいて消去またはプログラム動作が実行中の時にLレベルになり、それらの動作が終了するとHレベルになる。プログラム動作においては、レディービジー信号RY/BYは図5に示したコマンドシーケンスの4サイクル目でLレベルになる。同様に、消去動作においては、図5に示したコマンドの6サイクル目でLレベルになる。そして、動作が終了するとHレベルになる。図7に示される通りである。従って、このレディービジー信号RY/BYに応答して、制御回路1が、FeRAMコントロール信号14により、補助不揮発性メモリ10にバス13の情報を記録させる。これにより、実際に消去或いはプログラム動作が開始してから以降のバス情報が、補助不揮発性メモリ10に記録される。その結果、エラー発生時において、エラー発生直前の動作履歴を補助不揮発性メモリ10から読み出すことができる。
FIG. 7 is an operation timing chart of FIG. FIG. 7 shows erase, program, program, and examples of programs as statuses S11 to S14. The flag signal described above is output from the
もう一つのフラグ信号であるタイミングリミット超過信号DQ5は、プログラムまたは消去時間が規定限界を超えた場合に、フラッシュメモリ2が出力する。従って、タイミングリミット超過信号DQ5がLレベルの間は、規定限界を超えていないことを意味するので、各ステータスの動作期間中において、信号DQ5がLレベルを維持している限り、それぞれの消去またはプログラム動作が正常に行われていることを意味する。また、図7のステータスS14に示される通り、動作中に信号DQ5がHレベルになると、プログラムエラーが発生したことを意味する。従って、信号DQ5のLレベルからHレベルへの変化に応答して、制御回路1が、FeRAMコントロール14により、補助不揮発性メモリ10にバス情報を記録させる。その結果、プログラムエラーが発生したアドレス情報等を、補助不揮発性メモリ10に記録することができる。
The timing limit excess signal DQ5, which is another flag signal, is output from the
この記録されたエラー発生時のアドレスを利用することにより、そのアドレスからの再プログラム実行、或いはその後のエラー発生アドレスへのプログラム禁止などに利用することができる。 By using the recorded address at the time of error occurrence, it can be used for reprogram execution from that address, or for prohibiting the program to the error occurrence address thereafter.
図7に示された、レディービジー信号RY/BYに応答してバス情報を記録することと、タイミングリミット超過信号DQ5に応答してバス情報を記録することの両方を行うことで、より詳細なエラー情報を補助不揮発性メモリ10に記録することができる。
The bus information is recorded in response to the ready / busy signal RY / BY shown in FIG. 7 and the bus information is recorded in response to the timing limit excess signal DQ5. Error information can be recorded in the auxiliary
図8は、第3の実施の形態例の電子機器の構成図である。この例では、制御回路1とメインメモリ2とを接続するバス4のうち、上記したレディービジー信号RY/BYの履歴が、FeRAMコントロール信号14に応答して補助不揮発性メモリ10に記録される。
FIG. 8 is a configuration diagram of an electronic apparatus according to the third embodiment. In this example, in the
図9は、図8の動作タイミングチャート図である。上記した通り、レディービジー信号RY/BYは、消去動作あるいはプログラム動作において、動作中にLレベル、動作完了するとHレベルになる。従って、このレディービジー信号RY/BYの状態を補助不揮発性メモリ10に記録することにより、エラーが発生してシステムがダウンした場合、エラー発生は、消去あるいはプログラム動作中に発生したか否かを知ることができる。かかる情報を記録することで、システム復帰時において、再度消去あるいはプログラム動作を実行すべきか否かの判断に利用することができる。
FIG. 9 is an operation timing chart of FIG. As described above, the ready / busy signal RY / BY becomes L level during the erase operation or program operation, and becomes H level when the operation is completed. Therefore, by recording the state of the ready / busy signal RY / BY in the auxiliary
図9に示される通り、レディービジー信号RY/BYがHレベルからLレベルに切り替わる時、及びLレベルからHレベルに切り替わる時に、制御回路1は、コントロール信号14により、補助不揮発性メモリ10にレディービジー信号RY/BYの状態を記録させる。従って、エラー発生後のシステム復帰時において、補助不揮発性メモリ10に記録されている最後のレディービジー信号RY/BYをチェックすることで、動作中にエラー発生したか(RY/BY=L)、動作終了後にエラー発生したか(RY/BY=H)を検出することができる。即ち、正常終了したか不正常終了したかを検出することができる。しかも、補助不揮発性メモリ10は、レディービジー信号RY/BYの1ビットのみを記録するだけであるので、記憶容量を小さくすることができる。
As shown in FIG. 9, when the ready / busy signal RY / BY is switched from the H level to the L level, and when the ready busy signal RY / BY is switched from the L level to the H level, the
図10は、第4の実施の形態例の電子機器の構成図である。この例は、補助不揮発性メモリ10内に、バス記憶領域101とマスクアドレス領域102とを有する。そして、バス記憶領域101には、バス4から分岐したバス12の情報が上記してきた所定のタイミングで記録される。一方、マスクアドレス領域102には、プログラム不良あるいは消去不良が発生した時のアドレスが記録される。そして、バス記憶領域101内のバス情報は、システムが復帰した時の自動解析により読み出されて、システム復帰後の動作に利用される。一方、マスクアドレス領域102に記録されたアドレスは、システム復帰後に制御回路1により読み出され、その後のアクセスが禁止される。
FIG. 10 is a configuration diagram of an electronic apparatus according to the fourth embodiment. This example has a
図11は、第5の実施の形態例の電子機器の構成図である。この例は、補助不揮発性メモリ10内に、バス記憶領域101とテンポラリ領域104とを有する。バス記憶領域101には、図10と同様に所定のタイミングでバス情報が記録される。また、テンポラリ領域104は、従来例で説明したテンポラリメモリ3と同様に、一次的に書き込みデータを記録したり、メモリカードの属性データを記録したりするのに利用される。電池を必要としないで書き込み及び読み出し動作が高速なFeRAMを利用することにより、従来のテンポラリメモリ3と同等の機能をもたせることができる。
FIG. 11 is a configuration diagram of an electronic apparatus according to the fifth embodiment. This example has a
図12は、更に、第6の実施の形態例の電子機器の構成図である。この例では、フラッシュメモリ領域30からなるメインメモリ2のチップ内に、FeRAMからなる補助不揮発性メモリ領域32が設けられる。従って、フラッシュメモリ領域30に供給されるバスの情報が、接続線34を介して補助不揮発性メモリ32に供給され、所定のタイミングで記録される。
FIG. 12 is a block diagram of the electronic apparatus of the sixth embodiment. In this example, an auxiliary
以上説明した通り、本発明によれば、プログラム動作や消去動作に長時間を要するフラッシュメモリにおいて、動作中にエラーが発生しても、その直前のバス情報が補助不揮発性メモリに記録されるので、システム復帰後にその補助不揮発性メモリに記録されたバス情報を解析することにより、エラー発生時の動作状況を容易に知ることができ、復帰後の作業を容易にする。 As described above, according to the present invention, even if an error occurs during operation in a flash memory that requires a long time for a program operation or an erase operation, the bus information immediately before that is recorded in the auxiliary nonvolatile memory. By analyzing the bus information recorded in the auxiliary non-volatile memory after the system is restored, it is possible to easily know the operation status at the time of occurrence of an error and facilitate the work after the restoration.
1 制御回路
2 フラッシュメモリ、メインメモリ
4 バス
10 補助不揮発性メモリ、FeRAM
14 FeRAMのコントロール信号
DESCRIPTION OF
14 FeRAM control signal
Claims (10)
前記フラッシュメモリより書き込み動作が速い補助不揮発性メモリに前記バスを介して接続され、 Connected to the auxiliary non-volatile memory having a faster write operation than the flash memory via the bus,
前記フラッシュメモリへのリード動作、プログラム動作または消去動作を指示する時に、前記補助不揮発性メモリに前記バスの情報を記憶させること The bus information is stored in the auxiliary nonvolatile memory when a read operation, a program operation or an erase operation is instructed to the flash memory.
を特徴とする制御回路。A control circuit characterized by.
前記制御コマンドを供給するときに、前記フラッシュメモリより書き込み動作が速い補助不揮発性メモリに前記バスの情報を記憶させ、 When supplying the control command, the information of the bus is stored in an auxiliary nonvolatile memory that has a faster write operation than the flash memory,
電源投入時に前記補助不揮発性メモリから前記バスの情報を読み出すことを特徴とするフラッシュメモリの制御方法。 A method for controlling a flash memory, comprising: reading information on the bus from the auxiliary nonvolatile memory when power is turned on.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008136150A JP4421659B2 (en) | 2008-05-26 | 2008-05-26 | Electronic device having flash memory |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008136150A JP4421659B2 (en) | 2008-05-26 | 2008-05-26 | Electronic device having flash memory |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP27323198A Division JP4146006B2 (en) | 1998-09-28 | 1998-09-28 | Electronic device having flash memory |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2008210409A JP2008210409A (en) | 2008-09-11 |
JP4421659B2 true JP4421659B2 (en) | 2010-02-24 |
Family
ID=39786604
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2008136150A Expired - Fee Related JP4421659B2 (en) | 2008-05-26 | 2008-05-26 | Electronic device having flash memory |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4421659B2 (en) |
-
2008
- 2008-05-26 JP JP2008136150A patent/JP4421659B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2008210409A (en) | 2008-09-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4146006B2 (en) | Electronic device having flash memory | |
US8041879B2 (en) | Flash memory backup system and method | |
US9836392B2 (en) | Storage control apparatus to control pre-processing operations | |
US9075740B2 (en) | Memory system | |
US7911840B2 (en) | Logged-based flash memory system and logged-based method for recovering a flash memory system | |
US7330995B2 (en) | Nonvolatile memory apparatus which prevents destruction of write data caused by power shutdown during a writing process | |
KR101099804B1 (en) | Memory system | |
JP2010152514A (en) | Memory system | |
KR20010100793A (en) | Non-volatile memory for storing erase operation information | |
US11113202B2 (en) | Operating method forcing the second operation to fail using a scatter-gather buffer and memory system thereof | |
KR20170111386A (en) | Data storage device and operating method thereof | |
JPWO2009004674A1 (en) | Storage device, disk device, write determination method, control device | |
JP2007094921A (en) | Memory card and control method for it | |
JP4661369B2 (en) | Memory controller | |
JP4544167B2 (en) | Memory controller and flash memory system | |
JP4421659B2 (en) | Electronic device having flash memory | |
JP2004030849A (en) | Semiconductor nonvolatile memory having rewritable function for part of data | |
US9218858B2 (en) | Data storage device and operating method thereof | |
JP2010134822A (en) | Semiconductor memory device | |
JP2003263894A (en) | Method for controlling nonvolatile semiconductor memory device | |
JP2010097386A (en) | Data management method | |
JP3977859B2 (en) | Nonvolatile semiconductor memory device and control method thereof | |
JP2003242788A (en) | Nonvolatile semiconductor memory device and control method therefor | |
JP2005276288A (en) | Service life control method of nonvolatile memory | |
JPS6289273A (en) | Magnetic disk device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20080625 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20080625 |
|
A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A712 Effective date: 20080731 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20081126 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20091201 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20091202 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121211 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121211 Year of fee payment: 3 |
|
S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
S533 | Written request for registration of change of name |
Free format text: JAPANESE INTERMEDIATE CODE: R313533 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121211 Year of fee payment: 3 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121211 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131211 Year of fee payment: 4 |
|
S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313113 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313111 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
LAPS | Cancellation because of no payment of annual fees |