JP2012022541A - Electronic apparatus and program start control method thereof - Google Patents
Electronic apparatus and program start control method thereof Download PDFInfo
- Publication number
- JP2012022541A JP2012022541A JP2010160222A JP2010160222A JP2012022541A JP 2012022541 A JP2012022541 A JP 2012022541A JP 2010160222 A JP2010160222 A JP 2010160222A JP 2010160222 A JP2010160222 A JP 2010160222A JP 2012022541 A JP2012022541 A JP 2012022541A
- Authority
- JP
- Japan
- Prior art keywords
- program
- activation
- rewriting
- electronic device
- flash memory
- 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
Links
Images
Abstract
Description
本発明はプログラム制御プロセッサを有する電子機器に係り、特にフラッシュメモリのような不揮発性メモリからプログラムを読み出して起動するための制御方法に関する。 The present invention relates to an electronic apparatus having a program control processor, and more particularly to a control method for reading a program from a nonvolatile memory such as a flash memory and starting it.
NANDフラッシュメモリは、NORフラッシュメモリよりも半導体構造が簡単でコスト削減が可能になることから多くの電子機器で採用されている。しかしながら構造上データエラーが発生しやすいために、エラー検出・訂正(ECC:Error Checking and Correction)を併用するものが一般的である。特に、近年採用されている低コストのMLC(Multiple Level Cell)型NANDフラッシュメモリはSLC(Single Level Cell)型よりもエラーが発生しやすい。 NAND flash memory is used in many electronic devices because it has a simpler semiconductor structure than NOR flash memory and enables cost reduction. However, since data errors are likely to occur due to the structure, it is common to use error checking and correction (ECC) together. In particular, low-cost MLC (Multiple Level Cell) type NAND flash memories adopted in recent years are more susceptible to errors than SLC (Single Level Cell) type.
さらに、フラッシュメモリでは、選択したメモリセルのデータ消去や書込み時に印加される高電圧が非選択メモリセルに影響してデータエラーの原因となるディスターブ現象が知られている(特許文献1を参照)。特に、フラッシュメモリに格納したプログラムを読み出して起動する携帯通信機器では、ディスターブ現象により訂正不能のエラーが発生すると携帯通信機器が起動しなくなるという重大な問題が生じる。そこで、フラッシュメモリの信頼性を十分に高めることが強く要請されており、そのための方法が種々提案されている。 Further, in a flash memory, a disturb phenomenon is known in which a high voltage applied at the time of erasing or writing data in a selected memory cell affects unselected memory cells and causes a data error (see Patent Document 1). . In particular, a portable communication device that reads and starts a program stored in a flash memory has a serious problem that the portable communication device does not start when an uncorrectable error occurs due to a disturb phenomenon. Therefore, there is a strong demand for sufficiently increasing the reliability of flash memory, and various methods for that purpose have been proposed.
たとえば、特許文献1に開示された記憶装置では、プログラムデータを複数の物理アドレス領域に多重化して格納しておき、電源投入時にエラー検出・訂正を実行し、エラーのない領域のデータを用いて訂正不能のエラーが発生している領域のデータを修復する。これによって記録データの信頼性を向上させるとともに、データ修復中に電源断となっても正常データの破壊を回避できることが認識されている。
For example, in the storage device disclosed in
特許文献2に開示された半導体装置によれば、フラッシュメモリ内の複数ブロックに同一のブートプログラムを格納しておき、あるブロックから読み出したデータの判定結果が不良であれば、次のブロックから読み出して同様の判定を行い、判定が不良でなければ当該データをCPUへ出力する。
According to the semiconductor device disclosed in
特許文献3に開示されたフラッシュメモリシステムによれば、データのコピーがフラッシュメモリの異なる位置に記憶され、これらコピーデータから最良の部分を選択してシステムを起動する。
According to the flash memory system disclosed in
しかしながら、上述したように、NANDフラッシュメモリはMLCの採用によりデータの信頼性が十分高いとはいえない状況にある。このために、複数ブロックに同一データを格納したり、複数データから良好部分を選択して使用したりする方法では十分な信頼性を確保できない可能性がある。 However, as described above, the NAND flash memory is in a situation where data reliability is not sufficiently high due to the adoption of MLC. For this reason, there is a possibility that sufficient reliability cannot be secured by a method of storing the same data in a plurality of blocks or selecting and using a good portion from a plurality of data.
また、予備プログラムが動作するうちに、もとのプログラムが復旧できればよいが、NANDフラッシュメモリへのデータの書き込みには時間がかかる。したがって、この間に携帯機器のバッテリ切れが発生した場合あるいはユーザが誤って電源供給を停止した場合には、NANDフラッシュメモリのデータが異常となり、その後の読出しだけでは復旧できない状態となる。 In addition, it is sufficient that the original program can be restored while the spare program is operating, but it takes time to write data to the NAND flash memory. Therefore, if the battery of the portable device is exhausted during this time or if the user stops the power supply accidentally, the data in the NAND flash memory becomes abnormal and cannot be recovered only by subsequent reading.
さらに、ユーザがNANDフラッシュメモリの特性についての知識を持たないのが一般的であるから、携帯電話機などの携帯通信機器では、通常、メモリ管理をユーザに見えない状態で実施している。しかしながら、このことは、修復に失敗するとプログラムが起動しなくなる恐れがある重大な処理をユーザが知らないうちに実行しているということである。このために、ユーザが知らずに何らかの操作をする可能性があり、その操作により電源断となってプログラムの修復が失敗する可能性もないとはいえない。 Furthermore, since the user generally does not have knowledge about the characteristics of the NAND flash memory, in a mobile communication device such as a mobile phone, memory management is usually performed in a state invisible to the user. However, this means that a critical process that may prevent the program from starting if the repair fails is performed without the user's knowledge. For this reason, there is a possibility that the user may perform some operation without knowing it, and it cannot be said that there is no possibility that the restoration of the program will fail due to the operation being turned off.
このように、上記特許文献に開示された起動制御方式では、フラッシュメモリの修復時に電源断の可能性を排除できないために起動に十分な信頼性を得ることができない。 As described above, the activation control method disclosed in the above-mentioned patent document cannot obtain sufficient reliability for activation because the possibility of power interruption cannot be excluded when the flash memory is restored.
そこで本発明の目的は、不揮発性メモリからプログラムを読み出して電子機器を起動する場合の信頼性を向上させるプログラム起動制御方法およびそれを用いた電子機器を提供することにある。 SUMMARY OF THE INVENTION An object of the present invention is to provide a program activation control method for improving reliability when an electronic device is activated by reading a program from a nonvolatile memory, and an electronic device using the method.
本発明による電子機器は、表示部と操作部とを有する電子機器であって、前記電子機器を起動するための同一の起動用プログラムを格納した複数の不揮発性記憶手段と、第1不揮発性記憶手段から読み出した第1起動用プログラムのデータ誤りを検出する誤り検出手段と、前記第1起動用プログラムのデータ誤りが検出されると、第2不揮発性記憶手段から第2起動用プログラムを読み出し、前記第1起動用プログラムを前記第2起動用プログラムで書き換えるか否かの選択メッセージを前記表示部に表示させ、前記操作部を通して書き換えが選択されると前記書き換えを実行するプログラム実行手段と、を有することを特徴とする。 An electronic device according to the present invention is an electronic device having a display unit and an operation unit, and includes a plurality of nonvolatile storage means storing the same startup program for starting the electronic device, and a first nonvolatile storage An error detection means for detecting a data error in the first activation program read from the means, and when a data error in the first activation program is detected, the second activation program is read out from the second nonvolatile storage means; A program execution means for displaying a selection message as to whether or not to rewrite the first activation program with the second activation program on the display unit, and executing the rewriting when rewriting is selected through the operation unit; It is characterized by having.
本発明によるプログラム起動制御方法は、表示部と、操作部と、同一の起動用プログラムを格納した複数の不揮発性記憶手段と、を有する電子機器におけるプログラム起動制御方法であって、誤り検出手段が第1不揮発性記憶手段から読み出した第1起動用プログラムのデータ誤りを検出し、プログラム実行手段が、前記第1起動用プログラムのデータ誤りが検出されると、第2不揮発性記憶手段から第2起動用プログラムを読み出し、前記プログラム実行手段が、前記第1起動用プログラムを前記第2起動用プログラムで書き換えるか否かの選択メッセージを前記表示部に表示させ、前記プログラム実行手段が、前記操作部を通して書き換えが選択されると前記書き換えを実行する、ことを特徴とする。 A program activation control method according to the present invention is a program activation control method in an electronic apparatus having a display unit, an operation unit, and a plurality of nonvolatile storage units storing the same activation program. When a data error in the first startup program read from the first nonvolatile storage means is detected, and the program execution means detects a data error in the first startup program, the second nonvolatile storage means outputs the second error. The startup program is read, and the program execution means displays a selection message as to whether or not to rewrite the first startup program with the second startup program on the display unit, and the program execution means includes the operation unit When rewriting is selected through the rewriting, the rewriting is executed.
本発明によれば、不揮発性記憶手段からプログラムを読み出して電子機器を起動する場合の信頼性を向上させることができる。 ADVANTAGE OF THE INVENTION According to this invention, the reliability at the time of starting an electronic device by reading a program from a non-volatile memory | storage means can be improved.
以下、電子機器の一例として携帯通信機器を取り上げ、本発明の実施形態について詳細に説明する。携帯通信機器には、携帯電話機や通信機能を有する携帯情報端末が含まれる。ただし、本発明による電子機器は、これに限定されるものではなく、フラッシュメモリのような不揮発性メモリに格納された起動用プログラムをプログラム実行手段で実行する機器であればよく、携帯電話器やPDA(Personal Digital Assistants)の他に、ポータブル音楽プレーヤ、電子手帳、ラップトップPCあるいは携帯トランシーバなども含まれる。 Hereinafter, a mobile communication device will be taken as an example of an electronic device, and an embodiment of the present invention will be described in detail. The mobile communication device includes a mobile phone and a mobile information terminal having a communication function. However, the electronic device according to the present invention is not limited to this, and may be any device that executes a startup program stored in a non-volatile memory such as a flash memory by means of program execution means. In addition to PDA (Personal Digital Assistants), portable music players, electronic notebooks, laptop PCs, portable transceivers, and the like are also included.
1.機能構成
図1に示すように、本発明の一実施形態による携帯通信機器は、制御部10により制御される送受信部11、表示部12、操作部13、電源部14およびその他図示しない機能部(送受話器として機能するスピーカやマイクロフォンなど)を有するものとする。電源部14はバッテリ(図示せず。)から機器全体に電力を供給するが、制御部10によって電源電圧がモニタされている。送受信部11は、たとえば携帯電話システムの基地局と無線通信するための無線通信回路を含む。表示部12は種々の情報をユーザに可視表示するためのモニタであり、操作部13はキーパッドあるいはタッチパネル等であり、ユーザの手動操作を可能にする。
1. Functional Configuration As shown in FIG. 1, a portable communication device according to an embodiment of the present invention includes a transmission /
制御部10は、プログラム実行手段であるプログラム制御プロセッサ(ここではCPU(中央処理装置))101と、CPU101に共通バスで接続されたNANDフラッシュメモリ(#1)102およびNANDフラッシュメモリ(#2)103と、CPU101に別のバスで接続されたランダムアクセスメモリ(RAM)104と、を含む。NANDフラッシュメモリ102および103には同じ起動用プログラムがそれぞれ格納されているが、ここでは「#1」と記されたNANDフラッシュメモリ102が初期設定されたプログラム読み出しメモリであり、「#2」と記されたNANDフラッシュメモリ103が予備のメモリであるものとする。CPU101は、後述する手順に従って、プログラムをページ単位でNANDフラッシュメモリ102または103からRAM104に転送し、転送されたプログラムを実行することにより携帯通信機器を起動する。
The
図2に示すように、NANDフラッシュメモリ102および103のデータはページ単位で構成され書き込み/読出しが行われる。ここではプログラムの大きさやメモリ配置によりnページ分のプログラムが1ブロックとして記憶され、各ページにはプログラムデータとそのECCデータとが格納されている。たとえばページ0には、プログラムデータP0とそのプログラムP0から計算されたECCデータE0とが格納されている。CPU201はプログラムデータを読み出すときに、そのECCデータも読み出し、プログラムにエラーがないか否かを確認する。プログラムはそれが実現する機能に従ってページ使用量が異なり、使用量が多い機能の場合には複数ブロックにわたることもある。
As shown in FIG. 2, the data in the NAND
NANDフラッシュメモリ102または103に格納された起動用プログラムが実行されることで本実施形態のシステムが起動する。電源投入により起動用プログラムを実行する場合、まず、CPU101は所定のNANDフラッシュメモリ102のプログラムをECCデータとともに読み出し、ECCデータを用いてデータのエラーの有無を判定する。エラーが検出された場合、CPU101は、プログラム読み出し元を所定のNANDフラッシュメモリ102から予備のNANDフラッシュメモリ103へ変更し、NANDフラッシュメモリ103からプログラムをRAM104へ転送して実行する。
The system according to this embodiment is activated by executing the activation program stored in the
本実施形態によれば、他方のNANDフラッシュメモリ103からプログラムを起動した後、携帯通信機器にエラーが発生したことをユーザに通知し、ユーザ操作によりエラーが発生した側のNANDフラッシュメモリ102に格納されているプログラムの再書込みが選択可能である。さらに、プログラム再書き込みが選択された場合には、バッテリ電源の状態を考慮して再書き込みを実行するか否かを判定することも可能である。以下、本発明の実施例を詳細に説明する。
According to this embodiment, after starting the program from the other
2.第1実施例
図3および図4を参照しながら本発明の第1実施例を詳細に説明する。
2. First Embodiment A first embodiment of the present invention will be described in detail with reference to FIGS.
図3において、CPU101は起動動作を開始すると、予め定められたNANDフラッシュメモリ(#1)102に格納された起動用プログラムをそのECCデータと共にRAM104へ転送する(ステップS201)。CPU101は、当該ECCデータを用いてプログラムデータのエラーチェックを開始する(ステップS202)。読み出されたプログラムにエラーがないと判定された場合(ステップS203;N)、制御は図3のフローを出て、RAM104に転送されたプログラムで携帯通信機器を起動する。
In FIG. 3, when starting the startup operation, the
読み出されたプログラムにエラーがあると判定された場合(ステップS203;Y)、CPU101は別のNANDフラッシュメモリ(#2)103からプログラムを読み出してRAM104へ転送する(ステップS204)。この時、ECCデータも同時に読み出してエラー検出・訂正を行ってもよい。ただし、通常使用されるNANDフラッシュメモリ(#1)102に比べて、NANDフラッシュメモリ(#2)103は書込/消去回数が少ないのでエラーが生じにくく、十分な信頼性を保持しうる。NANDフラッシュメモリ(#2)103からRAM104にプログラムが転送されると、CPU101は、携帯通信機器の表示部12にメンテナンスを行うか否かをユーザに問いかけるメッセージを表示する(ステップS205)。具体的には、図4(A)に示すようなメッセージを表示部12に表示し、ユーザによる操作部13の操作入力を待つ(ステップS206)。この表示によって、ユーザにECCエラーが検出されたことを知らせると共に、ユーザにメモリ#1の書き換えの可否を選択させることができる。
If it is determined that there is an error in the read program (step S203; Y), the
ユーザ操作入力があり、それがメンテナンス実行(図4(A)の例では「START」)を選択するものであれば(ステップS206;Y、ステップS207;Y)、ユーザがNANDフラッシュメモリ(#1)のメンテナンスを希望するものと判断し、表示部12に図4(B)に示すような「メンテナンス中」を意味する表示を行いユーザに電源供給を停止しないように注意を喚起する(ステップS208)。この表示を出した後、CPU101はメンテナンスの動作としてNANDフラッシュメモリ(#1)102のデータを消去し(ステップ209)、正常に動作したNANDフラッシュメモリ(#2)103のデータをNANDフラッシュメモリ(#1)102に書き込む(ステップS210)。NANDフラッシュメモリ(#2)103からNANDフラッシュメモリ(#1)102へのデータ書き込みが終了すると(ステップS211;Y)、CPU101はRAM104に転送されたプログラムで携帯通信機器を起動する。
If there is a user operation input and it is to select maintenance execution (“START” in the example of FIG. 4A) (step S206; Y, step S207; Y), the user uses the NAND flash memory (# 1). ), The
なお、ユーザ操作入力があり、それがメンテナンス不実行(図4(A)の例では「END」)を選択するものであれば(ステップS206;Y、ステップS207;N)、ユーザがNANDフラッシュメモリのメンテナンスを希望しないものと判断して、CPU101はNANDフラッシュメモリ(#1)102のプログラムを書き換えることなしに、NANDフラッシュメモリ(#2)103からRAM204に転送されたプログラムで携帯通信機器を起動する。
Note that if there is a user operation input and it selects maintenance non-execution (“END” in the example of FIG. 4A) (step S206; Y, step S207; N), the user will read the NAND flash memory. The
以上説明したように、本実施例においては、以下に記載するような効果がある。 As described above, the present embodiment has the following effects.
第1の効果は、プログラムが格納されたNANDフラッシュメモリ(#1)102がディスターブ現象などでエラーが発生する状態となっても、ECCチェックなどでエラーを検出することで別のNANDフラッシュメモリ(#2)103のプログラムを用いて携帯通信機器を起動することができる。
The first effect is that even if an error occurs in the NAND flash memory (# 1) 102 in which the program is stored due to a disturb phenomenon or the like, another NAND flash memory ( # 2) The mobile communication device can be activated using the
第2の効果は、NANDフラッシュメモリ(#2)103のプログラムで起動した後、NANDフラッシュメモリ(#1)102を消去してからNANDフラッシュメモリ(#2)103のデータを書き込むことで、次回からNANDフラッシュメモリ(#1)102で起動可能となる。 The second effect is that the data in the NAND flash memory (# 2) 103 is written next time after the NAND flash memory (# 1) 102 is erased after being started by the program of the NAND flash memory (# 2) 103. To the NAND flash memory (# 1) 102.
第3の効果は、リカバーのためNANDフラッシュメモリ(#1)102の消去/書込みを開始する前に、表示部12にメンテナンスが必要な旨を表示することにより、NANDフラッシュメモリの専門知識がないユーザにも注意を喚起することができ、ユーザの操作に起因するデータ修復失敗を回避できる。
The third effect is that there is no expertise of the NAND flash memory by displaying that the maintenance is necessary on the
第4の効果は、メンテナンスを行うか否かをユーザに選択させ、さらに、メンテナンス動作が行われている旨を表示することにより、携帯通信機器の状況をユーザに強く印象付けることができる。それによって、NANDフラッシュメモリの消去/書き込み中に電源供給を停止する操作を防止でき、NANDフラッシュメモリに格納されたプログラムデータが破壊されプログラムが起動しなくなる事態を確実に回避できる。 As a fourth effect, the user can select whether or not to perform maintenance, and further display the fact that the maintenance operation is being performed, thereby making it possible to strongly impress the user on the status of the mobile communication device. Accordingly, it is possible to prevent an operation of stopping power supply during erasing / writing of the NAND flash memory, and it is possible to reliably avoid a situation in which the program data stored in the NAND flash memory is destroyed and the program is not started.
3.第2実施例
図5を参照しながら本発明の第2実施例を詳細に説明する。ただし、図3と同じステップには同じ参照符号を付して説明は簡略化する。
3. Second Embodiment A second embodiment of the present invention will be described in detail with reference to FIG. However, the same steps as those in FIG.
図5において、CPU101は起動動作を開始すると、予め定められたNANDフラッシュメモリ(#1)102に格納されたプログラムをそのECCデータと共にRAM104へ転送する(ステップS201)。CPU101は、当該ECCデータを用いてプログラムデータのエラーチェックを開始する(ステップS202)。読み出されたプログラムにエラーがないと判定された場合(ステップS203;N)、制御は図3のフローを出て、RAM104に転送されたプログラムで携帯通信機器を起動する。読み出されたプログラムにエラーがあると判定された場合(ステップS203;Y)、CPU101は別のNANDフラッシュメモリ(#2)103からプログラムデータを読み出してRAM104へ転送する(ステップS204)。
In FIG. 5, when the
NANDフラッシュメモリ(#2)103からRAM104にプログラムが転送されたら、CPU101は、携帯通信機器の表示部12にメンテナンスを行うか否かをユーザに問いかけるメッセージを表示し、ユーザによるメンテナンス実行の可否の選択入力を待つ(ステップS401)。メンテナンス実行(図4(A)の例では「START」)が選択されると(ステップS401;Y)、CPU101は電源部14の電源電圧を所定閾値Vthと比較してバッテリ残量を推定する(ステップS402)。バッテリ残量がプログラム書き換えに十分であれば(ステップS402;Y)、上述したステップS208−S211を実行することでNANDフラッシュメモリ(#1)102のプログラムを書き換える。
When the program is transferred from the NAND flash memory (# 2) 103 to the
バッテリ残量がプログラム書き換えに不十分であれば(ステップS402;N)、CPU101は表示部12に充電の必要性を表示してユーザに注意を喚起し、NANDフラッシュメモリ(#1)102のプログラムを書き換えることなしに、NANDフラッシュメモリ(#2)103からRAM204に転送されたプログラムで携帯通信機器を起動する。
If the remaining battery level is insufficient for rewriting the program (step S402; N), the
上述した第2実施例においても、上述した第1実施例と同様の効果を得ることができ、さらに、NANDフラッシュメモリの消去/書き込み中にバッテリ切れで電源供給が停止し、NANDフラッシュメモリに格納されたプログラムデータが破壊されプログラムが起動しなくなる事態を確実に回避できる。 In the second embodiment described above, the same effects as in the first embodiment described above can be obtained, and furthermore, the power supply is stopped due to the battery running out during erasing / writing of the NAND flash memory, and stored in the NAND flash memory. It is possible to reliably avoid a situation in which the programmed program data is destroyed and the program does not start.
4.その他の実施例
本発明は上記実施例に限定されるものではなく、以下のような変形例を含むものと解すべきである。たとえば、図1ではNANDフラッシュメモリ102とNANDフラッシュメモリ103とが分けて記載されているが、これらは1つのNANDフラッシュメモリの別領域(別ブロック)で構成することも可能である。
4). Other Embodiments The present invention is not limited to the above-described embodiments, but should be understood as including the following modifications. For example, in FIG. 1, the
またNANDフラッシュメモリ103はプログラムを格納しておく用途であるから、不揮発性メモリであればよく、CPU101とのインタフェースが特定のNANDフラッシュ102と異なる方式でもあってもよい。また、NORフラッシュメモリやPRAM(Phase Change RAM)など種類の異なるメモリであっても同様の効果となる。NANDフラッシュメモリ103は脱着式のメモリカードであってもよい。
Further, since the
さらに、上記第1および第2実施例ではCPU201がプログラムデータのエラーチェックを行うが、NANDフラッシュメモリにはECCエラーチェック機能を内蔵しているものもあり、それらを使ってCPU101自身がECC計算を行わず、エラー確認だけを行っても同様の効果を得ることができる。
Further, in the first and second embodiments, the CPU 201 performs an error check on the program data. However, some NAND flash memories have a built-in ECC error check function, and the
なお、図4に示す表示部12のメッセージは一例であり、同様の内容を指示するものであれば任意の形態であってもよい。また、操作部13のボタンの配置などの割付も任意である。
Note that the message on the
本発明は、携帯電話器、PDA、ポータブル音楽プレーヤ、電子手帳、ラップトップPC、トランシーバなどの携帯機器に適用可能である。 The present invention is applicable to portable devices such as a cellular phone, a PDA, a portable music player, an electronic notebook, a laptop PC, and a transceiver.
10 制御部
11 送受信部
12 表示部
13 操作部
14 電源部
101 CPU
102 NANDフラッシュメモリ
103 NANDフラッシュメモリ
104 RAM
DESCRIPTION OF
102
Claims (8)
前記電子機器を起動するための同一の起動用プログラムを格納した複数の不揮発性記憶手段と、
第1不揮発性記憶手段から読み出した第1起動用プログラムのデータ誤りを検出する誤り検出手段と、
前記第1起動用プログラムのデータ誤りが検出されると、第2不揮発性記憶手段から第2起動用プログラムを読み出し、前記第1起動用プログラムを前記第2起動用プログラムで書き換えるか否かの選択メッセージを前記表示部に表示させ、前記操作部を通して書き換えが選択されると前記書き換えを実行するプログラム実行手段と、
を有することを特徴とする電子機器。 An electronic device having a display unit and an operation unit,
A plurality of nonvolatile storage means storing the same activation program for activating the electronic device;
Error detection means for detecting a data error in the first activation program read from the first nonvolatile storage means;
When a data error in the first activation program is detected, the second activation program is read from the second nonvolatile storage means, and whether or not the first activation program is rewritten with the second activation program is selected. A program execution means for displaying a message on the display unit and executing the rewrite when rewrite is selected through the operation unit;
An electronic device comprising:
前記プログラム実行手段は、前記バッテリの残量が所定閾値より少ないときには前記書き換えを実行せずに、充電を促すメッセージを前記表示部に表示させることを特徴とする請求項1−3のいずれかに記載の電子機器。 Further comprising power monitoring means for estimating a remaining amount of a battery serving as a power source for the electronic device,
The said program execution means displays the message which urges | charges on the said display part, without performing the said rewriting, when the remaining amount of the said battery is less than a predetermined threshold value. The electronic device described.
誤り検出手段が第1不揮発性記憶手段から読み出した第1起動用プログラムのデータ誤りを検出し、
プログラム実行手段が、前記第1起動用プログラムのデータ誤りが検出されると、第2不揮発性記憶手段から第2起動用プログラムを読み出し、
前記プログラム実行手段が、前記第1起動用プログラムを前記第2起動用プログラムで書き換えるか否かの選択メッセージを前記表示部に表示させ、
前記プログラム実行手段が、前記操作部を通して書き換えが選択されると前記書き換えを実行する、
ことを特徴とするプログラム起動制御方法。 A program activation control method in an electronic device having a display unit, an operation unit, and a plurality of storage units storing the same activation program,
The error detection means detects a data error in the first activation program read from the first nonvolatile storage means;
When the program execution means detects a data error in the first activation program, the program execution means reads the second activation program from the second nonvolatile storage means,
The program execution means causes the display unit to display a selection message as to whether or not to rewrite the first activation program with the second activation program;
The program execution means executes the rewrite when rewrite is selected through the operation unit;
And a program start control method.
ことを特徴とする請求項5に記載のプログラム起動制御方法。 When the rewriting is selected and executed, the program execution means displays a message indicating that rewriting is being performed on the display unit.
6. The program start control method according to claim 5, wherein
前記プログラム実行手段が、前記バッテリの残量が所定閾値より少ないときには前記書き換えを実行せずに、充電を促すメッセージを前記表示部に表示させる、
ことを特徴とする請求項5−7のいずれかに記載のプログラム起動制御方法。 The power monitoring means estimates the remaining amount of the battery serving as a power source for the electronic device,
The program execution means displays a message prompting charging on the display unit without executing the rewriting when the remaining amount of the battery is less than a predetermined threshold.
The program activation control method according to claim 5, wherein the program activation control method is defined.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010160222A JP2012022541A (en) | 2010-07-15 | 2010-07-15 | Electronic apparatus and program start control method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010160222A JP2012022541A (en) | 2010-07-15 | 2010-07-15 | Electronic apparatus and program start control method thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2012022541A true JP2012022541A (en) | 2012-02-02 |
Family
ID=45776779
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2010160222A Withdrawn JP2012022541A (en) | 2010-07-15 | 2010-07-15 | Electronic apparatus and program start control method thereof |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2012022541A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015046088A (en) * | 2013-08-29 | 2015-03-12 | 京セラドキュメントソリューションズ株式会社 | Semiconductor device |
JP2017045311A (en) * | 2015-08-27 | 2017-03-02 | 株式会社東芝 | Memory system |
JP2017084208A (en) * | 2015-10-30 | 2017-05-18 | Necプラットフォームズ株式会社 | Information processor, method for starting information processor, and information processor starting program |
-
2010
- 2010-07-15 JP JP2010160222A patent/JP2012022541A/en not_active Withdrawn
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015046088A (en) * | 2013-08-29 | 2015-03-12 | 京セラドキュメントソリューションズ株式会社 | Semiconductor device |
JP2017045311A (en) * | 2015-08-27 | 2017-03-02 | 株式会社東芝 | Memory system |
JP2017084208A (en) * | 2015-10-30 | 2017-05-18 | Necプラットフォームズ株式会社 | Information processor, method for starting information processor, and information processor starting program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102385535B (en) | Handling errors during device bootup from a non-volatile memory | |
TWI380302B (en) | ||
TWI416528B (en) | Method for operating non-volatile memory and data storage system using the same | |
US8164967B2 (en) | Systems and methods for refreshing non-volatile memory | |
JP4901987B1 (en) | Storage device, electronic device, and error data correction method | |
JP4261462B2 (en) | Nonvolatile memory system | |
US8402204B2 (en) | Methods for measuring usable lifespan and replacing an in-system programming code of a memory device, and data storage system using the same | |
JP2010157216A (en) | Recovery for non-volatile memory after power outage | |
JP2008192267A (en) | Method of preventing bit error, and information processing device | |
TW200933638A (en) | System, method, and computer program product for increasing a lifetime of a plurality of blocks of memory | |
JP2008198310A (en) | Method for repairing bit error and information processing system | |
JP5981906B2 (en) | Image forming apparatus | |
US20130132651A1 (en) | Electronic system and memory managing method thereof | |
US7418542B2 (en) | Rewritable, nonvolatile memory, electronic device, method of rewriting rewritable, nonvolatile memory, and storage medium having stored thereon rewrite program | |
CN105320621A (en) | Memory system and information processing device | |
JP2010067098A (en) | Information processor, information processing method, and information processing program | |
JP2012022541A (en) | Electronic apparatus and program start control method thereof | |
JP2006085534A (en) | Information processor, software update method of information processor, and program | |
JP2008225672A (en) | Semiconductor memory device | |
US9443604B2 (en) | Electronic device and data-management method thereof | |
CN111552650B (en) | Data storage method and device, storage medium and data storage equipment | |
JP2010231699A (en) | Data processing device, data processing method and data processing program | |
JP2010061257A (en) | Semiconductor memory device | |
CN111273864B (en) | Method and system for reducing NAND FLASH erasing times | |
KR20110014925A (en) | Test method and test device of memory device |
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: 20131001 |