JP2005250891A - Reading method and program - Google Patents
Reading method and program Download PDFInfo
- Publication number
- JP2005250891A JP2005250891A JP2004060997A JP2004060997A JP2005250891A JP 2005250891 A JP2005250891 A JP 2005250891A JP 2004060997 A JP2004060997 A JP 2004060997A JP 2004060997 A JP2004060997 A JP 2004060997A JP 2005250891 A JP2005250891 A JP 2005250891A
- Authority
- JP
- Japan
- Prior art keywords
- reading
- data
- access time
- program
- recording medium
- 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
Landscapes
- Tests Of Electronic Circuits (AREA)
- Techniques For Improving Reliability Of Storages (AREA)
Abstract
Description
本発明は、読み出し方法、およびプログラムに関し、特に、読み出し速度が遅い記録媒体から大容量のデータを読み出すのに要する時間を短縮することができるようにする読み出し方法、およびプログラムに関する。 The present invention relates to a reading method and a program, and more particularly, to a reading method and a program capable of reducing the time required to read a large amount of data from a recording medium having a low reading speed.
近年、情報家電機器や携帯端末の高機能化に伴い、その機能を実現するためのソフトウェア(プログラム)のプログラムサイズが飛躍的に増大している。そのため、プログラムサイズの増大に伴ってプログラムを記録するための大容量の記録媒体が必要となり、また、プログラムを起動させるまでに要する時間、即ち、起動時間が長くなる傾向にある。 2. Description of the Related Art In recent years, with the advancement of functions of information home appliances and mobile terminals, the program size of software (programs) for realizing the functions has increased dramatically. Therefore, as the program size increases, a large-capacity recording medium for recording the program is required, and the time required for starting the program, that is, the startup time tends to be longer.
従来、情報家電機器や携帯端末のプログラムは、そのプログラムの起動時間を短くするために、高価ではあるが高速での読み出しが可能なNOR型フラッシュメモリに記録されている。しかしながら、プログラムサイズの大容量化に伴い、容量の大きなNOR型フラッシュメモリを搭載する必要があり、製品のコストが高くなってしまう。 Conventionally, programs for information home appliances and portable terminals are recorded in a NOR flash memory that is expensive but can be read at high speed in order to shorten the startup time of the program. However, as the program size increases, it is necessary to mount a NOR-type flash memory with a large capacity, which increases the cost of the product.
そこで、比較的安価で大容量化の実現が可能なNAND型フラッシュメモリにプログラムを記録し、NAND型フラッシュメモリからプログラムを読み出して情報家電機器や携帯端末を起動する方法が注目されている。しかしながら、NAND型フラッシュメモリにおいては、その読み出し速度が、従来使用されているNOR型フラッシュメモリと比較して遅いという欠点がある。そのため、NAND型フラッシュメモリからプログラムを読み出す場合、情報家電機器や携帯端末の起動時間が長くなってしまう。 In view of this, a method of recording a program in a NAND flash memory that is relatively inexpensive and capable of realizing a large capacity, reading the program from the NAND flash memory, and starting an information home appliance or a portable terminal has attracted attention. However, the NAND type flash memory has a disadvantage that its reading speed is slower than that of a NOR type flash memory that is conventionally used. Therefore, when a program is read from the NAND flash memory, the startup time of information home appliances and portable terminals becomes long.
また、最近では、情報家電機器や携帯端末で扱われる、プログラム以外のデータのデータサイズも飛躍的に増大しており、そのようなデータを、記録媒体から読み出す読み出し時間も問題となっている。 Recently, the data size of data other than programs handled by information home appliances and portable terminals has also increased dramatically, and the read time for reading such data from a recording medium has also become a problem.
ここで、本出願人は、フラッシュメモリなどの記憶領域が複数のブロックに分割されてなる記憶装置において、各ブロックに、任意のデータとそのデータを管理するための管理情報とを記憶させるデータ処理方法を提案している(特許文献1参照)。データをブロック単位で管理することにより、記憶装置の長寿命化及び処理の高速化を図ることができる。 Here, in the storage device in which the storage area such as the flash memory is divided into a plurality of blocks, the applicant of the present invention performs data processing for storing arbitrary data and management information for managing the data in each block. A method is proposed (see Patent Document 1). By managing data in units of blocks, it is possible to extend the life of the storage device and increase the processing speed.
さらにまた、本出願人は、予定された処理が履行されているか否かを監視し、予定された処理が履行されていない場合には、その処理を履行する機能ブロックの動作設定値を、処理を履行するのに適した動作設定値に設定して、処理を履行させる情報処理方法を提案している(特許文献2参照)。処理を履行するのに適した動作設定値に設定することにより、迅速にデータを処理することができる。 Furthermore, the applicant monitors whether or not the scheduled processing is being performed, and if the scheduled processing is not being performed, the operation setting value of the functional block that performs the processing is processed. An information processing method is proposed in which processing is performed by setting an operation setting value suitable for performing the process (see Patent Document 2). By setting the operation setting value suitable for executing the processing, the data can be processed quickly.
上述のように、大容量のデータ(プログラムを含む)を記録する記録媒体を、大容量のNOR型フラッシュメモリとすると、製品の価格が高価となってしまう。また、記録媒体を、安価で大容量化の実現が可能なNAND型フラッシュメモリとすると、データの読み出し速度が遅くなる。 As described above, if a recording medium for recording a large amount of data (including a program) is a large-capacity NOR flash memory, the price of the product becomes expensive. In addition, when the recording medium is a NAND flash memory that is inexpensive and can realize a large capacity, the data reading speed is slow.
本発明はこのような状況に鑑みてなされたものであり、読み出し速度が遅い記録媒体からデータを読み出すのに要する時間を短縮することを目的とするものである。 The present invention has been made in view of such circumstances, and an object of the present invention is to shorten the time required to read data from a recording medium having a slow reading speed.
本発明の読み出し方法は、バスコントローラのセットアップタイム,ホールドタイム(以下,アクセスタイム)を変更し,読み出し手段の仕様で正常動作が保証されている保証アクセスタイムの範囲内の第1のアクセスタイムに設定する第1の設定ステップと、読み出し手段に対して、第1の設定ステップで設定されたアクセスタイムでアクセスすることにより、記録媒体に記録されているデータの誤りチェック用のデータであるチェックデータを、記録媒体から読み出す第1の読み出しステップと、読み出し手段に対するアクセスタイムを、保証アクセスタイムより小さい第2のアクセスタイムに設定する第2の設定ステップと、読み出し手段に対して、第2の設定ステップで設定されたアクセスタイムでアクセスすることにより、記録媒体に記録されているデータを読み出す第2の読み出しステップと、チェックデータに基づき、記録媒体から読み出されたデータに誤りがあるかどうかを判定する判定ステップと、読み出し手段にアクセスすることにより、誤りがあったデータを、記録媒体から、再度読み出す第3の読み出しステップとを含むことを特徴とする。 The read method of the present invention changes the setup time and hold time (hereinafter referred to as access time) of the bus controller to the first access time within the guaranteed access time range in which normal operation is guaranteed by the specification of the read means. The first setting step to be set and the check data which is data for checking the error of the data recorded on the recording medium by accessing the reading means with the access time set in the first setting step. Are read from the recording medium, a second setting step for setting the access time for the reading means to a second access time smaller than the guaranteed access time, and a second setting for the reading means Recording media by accessing with the access time set in step A second reading step for reading data recorded on the recording medium, a determination step for determining whether there is an error in the data read from the recording medium based on the check data, and an error by accessing the reading means And a third reading step of reading again the data that has occurred from the recording medium.
この読み出し方法においては、データに誤りがあった場合に、読み出し手段に対するアクセスタイムを、第2のアクセスタイムより大きい第3のアクセスタイムに設定する第3の設定ステップをさらに含むようにすることができ、第3の読み出しステップにおいては、第3の設定ステップで設定されたアクセスタイムでアクセスすることにより、記録媒体に記録されているデータを読み出すようにすることができる。 The reading method may further include a third setting step of setting the access time for the reading means to a third access time that is larger than the second access time when there is an error in the data. In the third reading step, the data recorded on the recording medium can be read by accessing with the access time set in the third setting step.
データに複数回の誤りがあった場合に、第3の設定ステップにおいては、読み出し手段に対するアクセスタイムを、第2のアクセスタイムより大きい第3のアクセスタイムに設定するようにすることができる。 When there are multiple errors in the data, in the third setting step, the access time for the reading means can be set to a third access time that is larger than the second access time.
記録媒体には、データを所定の分割サイズに分割した分割データごとに、その分割データの誤りチェック用のチェックデータが記録されるようにし、第2の読み出しステップにおいては、分割データの単位で、記録媒体からデータを読み出し、判定ステップにおいては、分割データの単位で、データに誤りがあるかどうかを判定するようにすることができる。 In the recording medium, check data for error check of the divided data is recorded for each divided data obtained by dividing the data into a predetermined divided size, and in the second reading step, in divided data units, Data is read from the recording medium, and in the determination step, it is possible to determine whether there is an error in the data in units of divided data.
記録媒体に記録されているデータは、プログラムであっても良い。 The data recorded on the recording medium may be a program.
記録媒体に記録されているデータは、電子機器の起動後、SPL(Secondary Program Loader)が読み出すプログラムであっても良い。 The data recorded on the recording medium may be a program read by an SPL (Secondary Program Loader) after the electronic device is activated.
本発明のプログラムは、読み出し手段に対するアクセスタイムを、読み出し手段の仕様で正常動作が保証されている保証アクセスタイムの範囲内の第1のアクセスタイムに設定する第1の設定ステップと、読み出し手段に対して、第1の設定ステップで設定されたアクセスタイムでアクセスることにより、記録媒体に記録されているデータの誤りチェック用のデータであるチェックデータを、記録媒体から読み出す第1の読み出しステップと、読み出し手段に対するアクセスタイムを、保証アクセスタイムより小さい第2のアクセスタイムに設定する第2の設定ステップと、読み出し手段に対して、第2の設定ステップで設定されたアクセスタイムでアクセスすることにより、記録媒体に記録されているデータを読み出す第2の読み出しステップと、チェックデータに基づき、記録媒体から読み出されたデータに誤りがあるかどうかを判定する判定ステップと、読み出し手段にアクセスすることにより、誤りがあったデータを、記録媒体から、再度読み出す第3の読み出しステップとを含む前記読み出し処理を制御することを特徴とする。 The program of the present invention includes a first setting step for setting the access time for the reading means to a first access time within a guaranteed access time range in which normal operation is guaranteed by the specifications of the reading means, and the reading means On the other hand, a first reading step of reading check data, which is data for checking errors in data recorded on the recording medium, from the recording medium by accessing with the access time set in the first setting step. A second setting step for setting the access time for the reading means to a second access time smaller than the guaranteed access time, and accessing the reading means with the access time set in the second setting step. Second reading step for reading data recorded on the recording medium And a determination step for determining whether there is an error in the data read from the recording medium based on the check data, and reading out the erroneous data from the recording medium by accessing the reading means And controlling the reading process including a third reading step.
本発明の読み出し方法、およびプログラムにおいては、読み出し手段に対するアクセスタイムが、読み出し手段の仕様で正常動作が保証されている保証アクセスタイムの範囲内の第1のアクセスタイムに設定され、読み出し手段に対して、第1のアクセスタイムでアクセスすることにより、記録媒体に記録されているデータの誤りチェック用のデータであるチェックデータが、記録媒体から読み出される。また、読み出し手段に対するアクセスタイムが、保証アクセスタイムより小さい第2のアクセスタイムに設定され、読み出し手段に対して、第2のアクセスタイムでアクセスすることにより、記録媒体に記録されているデータが読み出される。さらに、チェックデータに基づき、記録媒体から読み出されたデータに誤りがあるかどうかが判定され、読み出し手段にアクセスすることにより、誤りがあったデータが、記録媒体から、再度読み出される。 In the reading method and program of the present invention, the access time for the reading means is set to the first access time within the guaranteed access time range in which normal operation is guaranteed by the specifications of the reading means. Thus, by accessing at the first access time, check data, which is data for checking an error of data recorded on the recording medium, is read from the recording medium. The access time for the reading means is set to a second access time that is smaller than the guaranteed access time, and the data recorded on the recording medium is read by accessing the reading means with the second access time. It is. Further, based on the check data, it is determined whether there is an error in the data read from the recording medium. By accessing the reading means, the data having the error is read again from the recording medium.
本発明によれば、読み出し速度が遅い記録媒体からデータを短時間で読み出すことができる。 According to the present invention, data can be read out from a recording medium with a low reading speed in a short time.
以下に本発明の最良の形態を説明するが、請求項に記載の構成要件と、発明の実施の形態における具体例との対応関係を例示すると次のようになる。この記載は、請求項に記載されている発明をサポートする具体例が、発明の実施の形態に記載されていることを確認するためのものである。従って、発明の実施の形態中には記載されているが、構成要件に対応するものとして、ここには記載されていない具体例があったとしても、そのことは、その具体例が、その構成要件に対応するものではないことを意味するものではない。逆に、具体例が構成要件に対応するものとしてここに記載されていたとしても、そのことは、その具体例が、その構成要件以外の構成要件には対応しないものであることを意味するものでもない。 BEST MODE FOR CARRYING OUT THE INVENTION The best mode of the present invention will be described below. Correspondences between constituent features described in the claims and specific examples in the embodiments of the present invention are exemplified as follows. This description is to confirm that specific examples supporting the invention described in the claims are described in the embodiments of the invention. Therefore, even if there are specific examples that are described in the embodiment of the invention but are not described here as corresponding to the configuration requirements, the specific examples are not included in the configuration. It does not mean that it does not correspond to a requirement. On the contrary, even if a specific example is described here as corresponding to a configuration requirement, this means that the specific example does not correspond to a configuration requirement other than the configuration requirement. not.
さらに、この記載は、発明の実施の形態に記載されている具体例に対応する発明が、請求項にすべて記載されていることを意味するものではない。換言すれば、この記載は、発明の実施の形態に記載されている具体例に対応する発明であって、この出願の請求項には記載されていない発明の存在、すなわち、将来、分割されたり、補正により出現し、追加される発明の存在を否定するものではない。 Further, this description does not mean that all the inventions corresponding to the specific examples described in the embodiments of the invention are described in the claims. In other words, this description is an invention corresponding to the specific example described in the embodiment of the invention, and the existence of an invention not described in the claims of this application, that is, it may be divided in the future. It does not deny the existence of an invention which appears by amendment and is added.
請求項1に記載の読み出し方法は、
記録媒体(例えば、図1のNAND型フラッシュメモリ28)からデータを読み出す読み出し手段(例えば、図1のNANDコントローラ26)にアクセスすることによって、前記記録媒体からデータを読み出す読み出し方法において、
前記読み出し手段に対するアクセスタイムを、前記読み出し手段の仕様で正常動作が保証されている保証アクセスタイムの範囲内の第1のアクセスタイム(例えば、保証設定値C1)に設定する第1の設定ステップ(例えば、図6のステップS101の処理)と、
前記読み出し手段に対して、前記第1の設定ステップで設定されたアクセスタイムでアクセスすることにより、前記記録媒体に記録されている前記データの誤りチェック用のデータであるチェックデータ(例えば、図3のチェクサムデータ83)を、前記記録媒体から読み出す第1の読み出しステップ(例えば、図6のステップS102の処理)と、
前記読み出し手段に対するアクセスタイムを、前記保証アクセスタイムより小さい第2のアクセスタイム(例えば、動作限界設定値C2)に設定する第2の設定ステップ(例えば、図6のステップS103の処理)と、
前記読み出し手段に対して、前記第2の設定ステップで設定されたアクセスタイムでアクセスすることにより、前記記録媒体に記録されている前記データを読み出す第2の読み出しステップ(例えば、図6のステップS104の処理)と、
前記チェックデータに基づき、前記記録媒体から読み出された前記データに誤りがあるかどうかを判定する判定ステップ(例えば、図6のステップS106の処理)と、
前記読み出し手段にアクセスすることにより、誤りがあった前記データを、前記記録媒体から、再度読み出す第3の読み出しステップ(例えば、図6のステップS104の処理)と
を含むことを特徴とする。
The reading method according to claim 1 comprises:
In a reading method of reading data from the recording medium by accessing reading means (for example, the
A first setting step for setting the access time for the reading means to a first access time (for example, a guaranteed setting value C1) within a guaranteed access time range in which normal operation is guaranteed by the specifications of the reading means ( For example, the process of step S101 in FIG.
By accessing the reading means with the access time set in the first setting step, check data (for example, FIG. 3) is data for error checking of the data recorded on the recording medium. A first reading step (for example, the process of step S102 of FIG. 6) for reading the checksum data 83) from the recording medium;
A second setting step (for example, the process of step S103 in FIG. 6) for setting the access time for the reading means to a second access time (for example, the operation limit set value C2) smaller than the guaranteed access time;
A second reading step (for example, step S104 in FIG. 6) for reading the data recorded on the recording medium by accessing the reading means with the access time set in the second setting step. Processing)
A determination step for determining whether or not the data read from the recording medium has an error based on the check data (for example, the process of step S106 in FIG. 6);
A third reading step (for example, the process of step S104 in FIG. 6) for reading again the data having an error by accessing the reading means from the recording medium is included.
請求項2に記載の読み出し方法は、
前記データに誤りがあった場合に、前記読み出し手段に対するアクセスタイムを、前記第2のアクセスタイムより大きい第3のアクセスタイム(例えば、高速設定値C3)に設定する第3の設定ステップ(例えば、図6のステップS131の処理)をさらに含み、
前記第3の読み出しステップにおいて、前記第3の設定ステップで設定されたアクセスタイムで、前記記録媒体に記録されている前記データを読み出す
ことを特徴とする。
The reading method according to claim 2 comprises:
When there is an error in the data, a third setting step (for example, setting the access time for the reading means to a third access time (for example, a high-speed setting value C3) larger than the second access time) Further includes the processing of step S131 of FIG.
In the third reading step, the data recorded on the recording medium is read at the access time set in the third setting step.
請求項7に記載のプログラムは、
記録媒体(例えば、図1のNAND型フラッシュメモリ28)からデータを読み出す読み出し手段(例えば、図1のバスコントローラ25,NANDコントローラ26)にアクセスすることによって、前記記録媒体からデータを読み出す読み出し処理を制御する処理をコンピュータに行わせるプログラムであって、
前記読み出し手段に対するアクセスタイムを、前記読み出し手段の仕様で正常動作が保証されている保証アクセスタイムの範囲内の第1のアクセスタイム(例えば、保証設定値C1)に設定する第1の設定ステップ(例えば、図6のステップS101の処理)と、
前記読み出し手段に対して、前記第1の設定ステップで設定されたアクセスタイムでアクセスすることにより、前記記録媒体に記録されている前記データの誤りチェック用のデータであるチェックデータ(例えば、図3のチェクサムデータ83)を、前記記録媒体から読み出す第1の読み出しステップ(例えば、図6のステップS102の処理)と、
前記読み出し手段に対するアクセスタイムを、前記保証アクセスタイムより小さい第2のアクセスタイム(例えば、動作限界設定値C2)に設定する第2の設定ステップ(例えば、図6のステップS103の処理)と、
前記読み出し手段に対して、前記第2の設定ステップで設定されたアクセスタイムでアクセスすることにより、前記記録媒体に記録されている前記データを読み出す第2の読み出しステップ(例えば、図6のステップS104の処理)と、
前記チェックデータに基づき、前記記録媒体から読み出された前記データに誤りがあるかどうかを判定する判定ステップ(例えば、図6のステップS106の処理)と、
前記読み出し手段にアクセスすることにより、誤りがあった前記データを、前記記録媒体から、再度読み出す第3の読み出しステップ(例えば、図6のステップS104の処理)と
を含むことを特徴とする。
The program according to claim 7 is:
A read process for reading data from the recording medium by accessing reading means (for example, the
A first setting step for setting the access time for the reading means to a first access time (for example, a guaranteed setting value C1) within a guaranteed access time range in which normal operation is guaranteed by the specifications of the reading means ( For example, the process of step S101 in FIG.
By accessing the reading means with the access time set in the first setting step, check data (for example, FIG. 3) is data for error checking of the data recorded on the recording medium. A first reading step (for example, the process of step S102 of FIG. 6) for reading the checksum data 83) from the recording medium;
A second setting step (for example, the process of step S103 in FIG. 6) for setting the access time for the reading means to a second access time (for example, the operation limit set value C2) smaller than the guaranteed access time;
A second reading step (for example, step S104 in FIG. 6) for reading the data recorded on the recording medium by accessing the reading means with the access time set in the second setting step. Processing)
A determination step for determining whether or not the data read from the recording medium has an error based on the check data (for example, the process of step S106 in FIG. 6);
A third reading step (for example, the process of step S104 in FIG. 6) for reading the data having an error by accessing the reading unit from the recording medium is included.
以下、図を参照して、本発明の実施の形態について説明する。 Hereinafter, embodiments of the present invention will be described with reference to the drawings.
図1は、本発明を適用した情報処理システム10のハードウェアの一実施の形態の構成例を示すブロック図である。 FIG. 1 is a block diagram showing a configuration example of an embodiment of hardware of an information processing system 10 to which the present invention is applied.
CPU21,ASIC22,ROM23,RAM24、バスコントローラ25,およびNANDコントローラ26は、バス27を介して相互に接続されている。さらに、NANDコントローラ26は、NAND型フラッシュメモリ28に接続されている。
The
CPU(Central Processing Unit)21は、RAM24にロードされたプログラムを実行することにより、各種の処理を行う。
A CPU (Central Processing Unit) 21 performs various processes by executing a program loaded in the
ASIC(Application Specific Integrated Circuit)22は、情報処理システム10の電源が投入された信号に応じて、ROM(Read Only Memory)23に記憶されているIPL(Initial Program Loader)プログラム31をRAM(Random Access Memory)24にロードする。
An ASIC (Application Specific Integrated Circuit) 22 loads an IPL (Initial Program Loader)
ROM23は、情報処理システム10の起動時に最初に実行されるIPLプログラム31を記憶している。IPLプログラム31は、CPU21に実行されることによって、NAND型フラッシュメモリ28に記録されているSPL(Secondary Program Loader)プログラム32をRAM24にロードさせる。即ち、CPU21は、RAM24にロードされたIPLプログラム31を実行することにより、NANDコントローラ26を介して、NAND型フラッシュメモリ28に記録されているSPLプログラム32をRAM24にロードする。
The
RAM24は、ASIC22によってロードされるIPLプログラム31、CPU21によってロードされるSPLプログラム32等を記憶する。また、RAM24は、CPU21の動作上必要なデータを記憶する。
The
バスコントローラ25は、バス27に接続された各デバイスに対するバス幅やアクセスタイム(セットアップタイム,ホールドタイム)などの各種の設定値を保持する。
The
NANDコントローラ26は、バス27を介したCPU21からのアクセスに応じて、NAND型フラッシュメモリ28にアクセスして、NAND型フラッシュメモリ28に記録されているSPLプログラム32やシステムプログラム33等を読み出す(ロードする)。また、NANDコントローラ26は、バス27を介したCPU21からのアクセスに応じて、NAND型フラッシュメモリ28にアクセスしてCPU21が作成したデータ等を書き込む。
The
バス27は、バスコントローラ25により設定されたバス幅やアクセスタイムで動作する。
The bus 27 operates with the bus width and access time set by the
NAND型フラッシュメモリ28には、図1では、SPLプログラム32や情報処理システム10のシステムプログラム33等が記録されている。SPLプログラム32は、CPU21に実行されることによって、バスコントローラ25の設定値を変え、NAND型フラッシュメモリ28からシステムプログラム33をRAM24にロードさせる。
In the
バス27には、また、図示せぬ入出力インターフェースを介して、情報処理システム10の電源ボタンや、ユーザが操作してCPU21に指示をするための入力部(いずれも不図示)などが接続されている。
The bus 27 is also connected to a power button of the information processing system 10 and an input unit (none of which is not shown) for the user to operate the
以上のように構成される情報処理システム10においては、情報処理システム10の電源が投入されると、ASIC22がROM23からRAM24にIPLプログラム31をロードする。そして、CPU21が、RAM24上のIPLプログラム31を実行することによって、SPLプログラム32がNAND型フラッシュメモリ28からRAM24にロードされる。さらに、CPU21がRAM24上のSPLプログラム32を実行することによって、NAND型フラッシュメモリ28からRAM24上にシステムプログラム33がロードされる。CPU21がRAM24上のシステムプログラム33を実行することにより、情報処理システム10の各種の機能が実現される。
In the information processing system 10 configured as described above, when the information processing system 10 is powered on, the
なお、NAND型フラッシュメモリ28は、情報処理システム10に内蔵されるものであってもよいし、情報処理システム10に対して着脱可能なものであってもよい。
The
情報処理システム10の起動処理を、図2に示すフローチャートを参照して説明する。 The activation process of the information processing system 10 will be described with reference to the flowchart shown in FIG.
情報処理システム10のユーザが、例えば、電源スイッチを操作して情報処理システム10の電源をONとした場合、ステップS51において、情報処理システム10に電源投入の信号が入力される。この電源投入の信号に応じて、ステップS51からS52に進み、ASIC22は、ROM23に記憶されているIPLプログラム31を、RAM24にロード(展開)し、ステップS53に進む。ステップS53では、CPU21が、RAM24上のIPLプログラム31を実行することにより、NANDコントローラ26にSPLプログラム32をNAND型フラッシュメモリ28から読み出させ、RAM24にロードさせる。
For example, when the user of the information processing system 10 operates the power switch to turn on the power of the information processing system 10, a signal for turning on the power is input to the information processing system 10 in step S51. In response to this power-on signal, the process proceeds from step S51 to S52, and the
なお、NANDコントローラ26によるNAND型フラッシュメモリ28からのデータの読み出しは、CPU21がバス27を介してNANDコントローラ26にアクセスすることによって行われる。ステップS53において、NAND型フラッシュメモリ28からSPLプログラム32を読み出すとき、CPU21は、NANDコントローラ26の正常動作が保証されている範囲内のアクセスタイムで、NANDコントローラ26にアクセスする。
Note that reading of data from the
ステップS53からS54に進み、CPU21は、RAM24上のSPLプログラム32を実行することにより、NANDコントローラ26にNAND型フラッシュメモリ28に記録されているシステムプログラム33をRAM24にロードさせる読み出し処理を制御する。このSPLプログラム32によるシステムプログラム33の読み出し処理については、図6にて後述する。
Proceeding from step S 53 to
ステップS54からS55に進み、CPU21は、RAM24にロードされたシステムプログラム33を実行して起動処理を終了する。
Proceeding from step S54 to S55, the
ステップS51において電源投入信号が入力されてから、ステップS55でシステムプログラム33が実行されるまでの時間が、情報処理システム10の起動時間といえる。ROM23に記憶されているIPLプログラム31のプログラムサイズは、ROM23の記憶容量をできる限り少なくするため、システムプログラム33と比較すると十分小さいものとなっている。また、NAND型フラッシュメモリ28に記録されているSPLプログラム32のプログラムサイズも、システムプログラム33と比較すると十分小さいものとなっている。
It can be said that the time from the input of the power-on signal in step S51 to the execution of the
従って、IPLプログラム31のロードおよびSPLプログラム32のロードが情報処理システム10の起動時間に与える影響は小さく、起動時間を短縮するためには、ステップS54で行われる、NAND型フラッシュメモリ28に記録されているシステムプログラム33の読み出し処理を短時間で行うことが最も効果的といえる。
Accordingly, the load of the
しかしながら、上述のように、NAND型フラッシュメモリ28においては、その読み出し速度が遅いという欠点がある。NAND型フラッシュメモリ28の読み出し速度が遅い大きな要因としては、NAND型フラッシュメモリ28にアクセスしてシステムプログラム33を読み出す処理を実行する際に、バスコントローラ25に設定されるNANDコントローラ26へのアクセスタイムが低い(遅い)ことにある。
However, as described above, the
ところで、NANDコントローラ26に対するアクセスは、一般に、そのアクセスタイムを仕様などで正常動作が保証されている(定められている)保証アクセスタイムよりも小としても、正常に動作することがあることが経験上認められる。
By the way, in general, the access to the
そこで、NANDコントローラ26に保証アクセスタイムより小のアクセスタイムでアクセスすることにより、システムプログラム33の読み出し時間を短縮することが考えられる。しかしながら、CPU21が、バスコントローラ25に保証アクセスタイムより小のアクセスタイムを設定し、NANDコントローラ26にアクセスする場合、NAND型フラッシュメモリ28から読み出したシステムプログラム33に誤りがある(システムプログラム33の読み出しに失敗する)可能性がある。
Therefore, it is conceivable to shorten the reading time of the
そこで、SPLプログラム32は、NAND型フラッシュメモリ28から読み出したシステムプログラム33に誤りがあるか否かを判定し、誤りがある場合には、再度、NAND型フラッシュメモリ28からシステムプログラム33を読み出すことにより、システムプログラム33を確実に読み出すようになっている。
Therefore, the
図3は、SPLプログラム32とシステムプログラム33が記録されているNAND型フラッシュメモリ28のメモリマップを示している。
FIG. 3 shows a memory map of the
NAND型フラッシュメモリ28には、その先頭の記録領域から、SPLプログラム32と情報処理システム10のシステムプログラム33が順次記録されている。そして、その後の記録領域が、ユーザ使用領域71とされている。
In the
SPLプログラム32は、分割サイズ81とアクセスタイムの設定情報82とを含む。NANDコントローラ26は、NAND型フラッシュメモリ28に記録されているシステムプログラム33を1以上の所定のサイズのブロックの単位で分割して読み出すようになっており、分割サイズ81は、そのブロックのサイズ(プログラムサイズ)の情報である。アクセスタイムの設定情報82は、NANDコントローラ26に対して設定されるバスコントローラ25のアクセスタイムの情報である。
The
ここで、SPLプログラム32は、NAND型フラッシュメモリ28に記録されているシステムプログラム33を、分割サイズ81のブロック単位で読み出す。SPLプログラム32が、NAND型フラッシュメモリ28からシステムプログラム33を、分割サイズ81のブロック単位で読み出すことで、その読み出しに失敗した場合においても、読み出しに失敗した一部のブロックを、再度読み出すだけで済む。従って、SPLプログラム32は、あるブロックの読み出しに失敗した場合であっても、読み出しに成功したブロックまでも再度読み出す必要がなく、読み出し時間の短縮を図ることができる。なお、分割サイズ81が小さいほど、その分割サイズ81のブロックの読み出しに失敗する可能性を小さくすることができる。
Here, the
以下、適宜、システムプログラム33を、分割サイズ81のブロック単位で分割した部分を、プログラムイメージと記述する。
Hereinafter, a portion obtained by dividing the
バスコントローラ25のアクセスタイムの設定情報82としては、NANDコントローラ26の正常動作が仕様などで保証されている範囲内のアクセスタイムである保証設定値C1、NANDコントローラ26が動作する限界付近のアクセスタイムである動作限界設定値C2(C1>C2)、および保証設定値C1より小で、かつ動作限界設定値C2より大の高速設定値C3(C1>C3>C2)が記録されている。
The access
なお、高速設定値C3は、保証設定値C1と等しくても良い。この場合、設定情報82としては、保証設定値C1と動作限界設定値C2だけ記録しておけばよい。
The high speed setting value C3 may be equal to the guaranteed setting value C1. In this case, only the guaranteed set value C1 and the operation limit set value C2 may be recorded as the setting
また、保証設定値C1は、上述の図2のステップS53で、SPLプログラム32がNAND型フラッシュメモリ28からSPLプログラム32を読み出すときのアクセスタイムと同一であってもよいし、異なっていてもよい。
Further, the guaranteed set value C1 may be the same as or different from the access time when the
システムプログラム33は、そのシステムプログラム33を分割サイズ81のブロック単位で分割して得られる1以上のプログラムイメージそれぞれのチェックサムデータ83を含む。チェックサムデータ83とは、NANDコントローラ26が、NAND型フラッシュメモリ28から読み出したプログラムイメージに誤りがないかどうかをチェックするためのデータである。システムプログラム33の作成者は、プログラムイメージそれぞれのチェックサムをあらかじめ算出しておき、その値をプログラムイメージのチェックサムデータ83として、システムプログラム33に含めておく。
The
ユーザ使用領域71には、例えば、ユーザの入力部(不図示)などの操作に応じて、CPU21が各種の処理を実行することにより作成されたデータなどが記録される。
In the user use area 71, for example, data created by the
図3に示したNAND型フラッシュメモリ28を作成する処理について、図4のフローチャートを参照して説明する。
A process of creating the
ステップS61において、システムプログラム33のプログラムイメージのサイズである分割サイズ81が決定される。分割サイズ81は、例えば、SPLプログラム32を実行するCPU21がバスコントローラ25を制御して所定のサイズのプログラムイメージを読み出すときの失敗する割合を検証して、失敗する割合の少ない適当なプログラムサイズとする。
In step S61, a
ステップS61からS62に進み、システムプログラム33を分割サイズ81で分割して得られる1以上のプログラムイメージそれぞれについて、チェックサムデータ83が算出される。プログラムイメージそれぞれのチェックサムデータ83は、後述するステップS64において、対応するプログラムイメージの順番に配置され、NAND型フラッシュメモリ28に記録される。
Proceeding from step S61 to S62, the checksum data 83 is calculated for each of one or more program images obtained by dividing the
ステップS62からS63に進み、SPLプログラム32を実行するCPU21がバス27およびNANDコントローラ26を介してNAND型フラッシュメモリ28からプログラムイメージ等を読み出すときの、バス27のNANDコントローラ26に対するアクセスタイムを表す設定情報82が設定される。即ち、ステップS63では、NANDコントローラ26においてNAND型フラッシュメモリ28からデータを正常に読み出すことが保証されているアクセスタイムが、保証設定値C1に設定される。例えば、保証設定値C1は、NANDコントローラ26の仕様書などで正常動作が保証されるアクセスタイムとすることができる。また、ステップS63では、NANDコントローラ26が動作する限界付近の高速なアクセスタイムが、動作限界設定値C2(C1>C2)に設定される。例えば、動作限界設定値C2は、NANDコントローラ26の性能を検証して、NANDコントローラ26が動作する限界の動作設定値(アクセスタイム)とすることができる。さらに、ステップS63では、保証設定値C1より小で、かつ動作限界設定値C2より大の任意のアクセスタイムが、高速設定値C3(C1>C3>C2)に設定される。
In step S62, the
ステップS63からS64に進み、SPLプログラム32と、システムプログラム33とがNAND型フラッシュメモリ28に記録される。また、ステップS61で決定された分割サイズ81、並びにステップS63で設定された設定情報82としての保証設定値C1、動作限界設定値C2、および高速設定値C3が、SPLプログラム32の付属情報として記録される。さらに、チェックサムデータ83がシステムプログラム33の付属情報として記録される。
Proceeding from step S 63 to S 64, the
なお、ステップS61で決定される分割サイズ81や、ステップS63で設定される設定情報82は、SPLプログラム32、システムプログラム33、またはNAND型フラッシュメモリ28の作成者が、図示せぬ制御部を操作して入力するようにすることができる。
The
図5は、NANDコントローラ26の構成例を示している。なお、NANDコントローラ26は、NAND型フラッシュメモリ28に対してデータの読み書きを行うことが可能であるが、データの書き込みに関する部分については、図示を省略してある。
FIG. 5 shows a configuration example of the
NANDコントローラ26は、制御部101、読み出し部111、チェックサム演算部112で構成される。
The
制御部101は、バスコントローラ25で設定されているアクセスタイムの下、読み出し部111、およびチェックサム演算部112を制御する。
The
読み出し部111は、制御部101の制御の下、分割サイズ81、設定情報82、およびチェックサムデータ83のデータ等を、NAND型フラッシュメモリ28から読み出す。
The
チェックサム演算部112は、読み出し部111がNAND型フラッシュメモリ28から読み出したプログラムイメージを、制御部101を介して取得し、そのプログラムイメージのチェックサムデータを算出し、制御部101を介して、SPLプログラム32(SPLプログラム32を実行しているCPU21)に供給する。
The
なお、SPLプログラム32(を実行しているCPU21)は、読み出し部111がNAND型フラッシュメモリ28から読み出し、制御部101を介して、RAM24に記憶されたチェックサムデータ83を取得する。そして、SPLプログラム32は、チェックサム演算部112からの、プログラムイメージから算出されたチェックサムデータと、RAM24に記憶された、NAND型フラッシュメモリ28から読み出されたチェックサムデータ83とが一致するかどうかによって、NAND型フラッシュメモリ28から読み出されたプログラムイメージに誤りがないかどうかのチェック、即ち、NAND型フラッシュメモリ28からのプログラムイメージの読み出しに成功したかどうかの判定を行い、その判定結果を制御部101に通知する。
In the SPL program 32 (the
図2のステップS54でSPLプログラム32(を実行しているCPU21)が行うシステムプログラム33の読み出し処理について、図6のフローチャートを参照して説明する。
The reading process of the
CPU21がSPLプログラム32を実行することにより、設定情報82をバスコントローラ25に供給する。バスコントローラ25は、ステップS101において、CPU21から供給される設定情報82にしたがい、アクセスタイムを、保証設定値C1に設定する。
The
ステップS101からS102に進み、バス27は、ステップS101でバスコントローラ25に設定された保証設定値C1のアクセスタイムにしたがって動作し、SPLプログラム32(を実行しているCPU21)が、NANDコントローラ26にアクセスすることにより、NAND型フラッシュメモリ28からチェックサムデータ83を読み出す。このチェックサムデータ83は、制御部101を介して、RAM24に供給されて記憶される。
Proceeding from step S101 to S102, the bus 27 operates according to the access time of the guaranteed setting value C1 set in the
このように、SPLプログラム32(を実行しているCPU21)が、バスコントローラ25に、データを正常に読み出すことが保証されている保証設定値C1を設定し,NANDコントローラ26にアクセスすることで、NAND型フラッシュメモリ28からチェックサムデータ83を読み出すので、チェックサムデータ83を確実に読み出すことができる。
In this way, the SPL program 32 (the
ステップS102からS103に進み、SPLプログラム32(を実行しているCPU21)は、設定情報82にしたがい、バスコントローラ25のアクセスタイムを、動作限界設定値C2に設定する。さらに、ステップS103では、NAND型フラッシュメモリ28から、システムプログラム33のうちの、まだ読み出されていないプログラムイメージのうちの1つが注目イメージとされる。
Proceeding from step S102 to S103, the SPL program 32 (the
ステップS103からS104に進み、SPLプログラム(を実行しているCPU21)は、バスコントローラ25の現在の設定値、即ち、いまの場合、動作限界設定値C2のアクセスタイムにしたがって、NANDコントローラ26にアクセスすることにより、NAND型フラッシュメモリ28からシステムプログラム33のうちの注目イメージを読み出して(システムプログラム33を、分割サイズ81のブロック単位で読み出して)、制御部101を介して、RAM24に供給するとともに、チェックサム演算部112に供給する。
Proceeding from step S103 to S104, the SPL program (
このように、バス27がNANDコントローラ26の動作限界設定値C2で動作することにより、保証設定値C1で動作する場合よりも、高速にNANDコントローラ26にアクセスしてプログラムイメージを読み出すことが可能となる。従って、NAND型フラッシュメモリ28からプログラムイメージを読み出すのに要する時間の短縮を図ることができる。
Thus, by operating the bus 27 with the operation limit setting value C2 of the
ステップS104からS105に進み、チェックサム演算部112は、制御部101からの注目イメージのチェックサムデータを算出し、制御部101を介してRAM24に記憶して、ステップS106に進む。
Proceeding from step S104 to S105, the
ステップS106において、SPLプログラム32(を実行しているCPU21)は、ステップS102でRAM24に記憶されたチェックサムデータ83のうちの注目イメージのチェックサムデータ83を取得する。そして、ステップS105でRAM24に記憶されたチェックサム演算部112からのチェックサムデータと、RAM24からのチェックサムデータ83とが一致するか否かを判定する。
In step S106, the SPL program 32 (the
ステップS106において、チェックサム演算部112からRAM24に記憶されたチェックサムデータとRAM24からのチェックサムデータ83とが一致しないと判定された場合、SPLプログラム32(を実行しているCPU21)は、注目イメージの読み出しに失敗したと判定し、ステップS106からステップS121に進む。
If it is determined in step S106 that the checksum data stored in the
注目イメージの読み出しに失敗したことに応じて、ステップS121において、SPLプログラム32(を実行しているCPU21)は、注目イメージの読み出しに、1回以上の所定の回数だけ失敗したか否かを判定する。ステップS121において、注目イメージの読み出しに所定の回数だけ失敗していないと判定された場合、即ち、注目イメージの読み出しの失敗回数が所定の回数未満である場合、ステップS104に戻り、SPLプログラム32(を実行しているCPU21)は、ステップS103で設定した動作限界設定値C2のアクセスタイムでNANDコントローラ26にアクセスし、注目イメージを読み出す処理を再度繰り返す。
In response to the failure in reading the target image, in step S121, the SPL program 32 (the
一方、ステップS121において、注目イメージの読み出しに所定の回数だけ失敗したと判定された場合、即ち、注目イメージの読み出しの失敗回数が所定の回数となった場合、ステップS131に進み、SPLプログラム32(を実行しているCPU21)は、設定情報82にしたがい、バスコントローラ25のアクセスタイムを高速設定値C3)に設定し、ステップS104に戻る。そして、ステップS104において、SPLプログラム32(を実行しているCPU21)は、高速設定値C3のアクセスタイムでNANDコントローラ26にアクセスし、注目イメージを読み出す処理を繰り返す。
On the other hand, if it is determined in step S121 that the target image has failed to be read a predetermined number of times, that is, if the target image has failed to be read a predetermined number of times, the process proceeds to step S131 and the SPL program 32 ( Is set to the high speed setting value C3) according to the setting
このように、SPLプログラム32(を実行しているCPU21)は、バスコントローラ25のNANDコントローラ26に対するアクセスタイムを、動作限界設定値C2より大の高速設定値C3とすることにより、動作限界設定値C2で動作する場合よりも、確実にNAND型フラッシュメモリ28からプログラムイメージを読み出すことができる。
In this way, the SPL program 32 (the
なお、バスコントローラ25のNANDコントローラ26に対するアクセスタイムを高速設定値C3に設定した後も、プログラムイメージの読み出しに失敗する場合には、バスコントローラ25のNANDコントローラ26に対するアクセスタイムを、高速設定値C3より大きい保証設定値C1に設定することが可能である。
Even if the access time of the
一方、ステップS106において、チェックサムデータが一致すると判定された場合、SPLプログラム32(を実行しているCPU21)は、注目イメージの読み出しに成功した旨を、制御部101に通知して、ステップS107に進む。
On the other hand, if it is determined in step S106 that the checksum data match, the SPL program 32 (the
ステップS107において、SPLプログラム32(を実行しているCPU21)は、すべてのプログラムイメージを読み出したか否かを判定する。ステップS107において、SPLプログラム32(を実行しているCPU21)は、まだ読み出していないプログラムイメージがあると判定した場合、ステップS103に戻り、バスコントローラ25のNANDコントローラ26に対するアクセスタイムを動作限界設定値C2に設定し、NAND型フラッシュメモリ28から、まだ読み出されていないプログラムイメージのうちの1つを注目イメージとして上述の処理を繰り返す。
In step S107, the SPL program 32 (the
一方、ステップS107において、すべてのプログラムイメージを読み出したと判定された場合、即ち、システムプログラム33の読み出しが完了した場合、図2のステップS55にリターンする。
On the other hand, if it is determined in step S107 that all program images have been read, that is, if reading of the
なお、ステップS107でまだ読み出していないプログラムイメージがあると判定した場合、ステップS107からS103に戻り、SPLプログラム32(を実行しているCPU21)は、バスコントローラ25のNANDコントローラ26に対するアクセスタイムを動作限界設定値C2に戻すようにしたが、ステップS131でNANDコントローラ26に対するアクセスタイムを高速設定値C3に設定した後においては、NANDコントローラ26に対するアクセスタイムを高速設定値C3のまま、即ち、ステップS107からステップS104に戻り、読み出し処理を繰り返すこともできる。
If it is determined in step S107 that there is a program image that has not been read yet, the process returns from step S107 to S103, and the SPL program 32 (the
上述したように、図1に示した情報処理システム10によれば、CPU21は、バスコントローラ25に設定された、NANDコントローラ26の仕様で正常動作が保証されている保証設定値C1のアクセスタイムでNANDコントローラ26にアクセスし、NAND型フラッシュメモリ28に記憶されているチェックサムデータ83を読み出すので、チェックサムデータ83を確実に読み出すことができる。
As described above, according to the information processing system 10 shown in FIG. 1, the
また、バス27が、保証設定値C1より小さい動作限界設定値C2のアクセスタイムにしたがって動作し、NAND型フラッシュメモリ28からシステムプログラム33(プログラムイメージ)を読み出すので、NAND型フラッシュメモリ28からシステムプログラム33を読み出すのに要する時間の短縮を図ることができる。
Further, the bus 27 operates according to the access time of the operation limit setting value C2 smaller than the guaranteed setting value C1 and reads the system program 33 (program image) from the
さらに、SPLプログラム32は、チェックサムデータ83に基づき、NAND型フラッシュメモリ28から読み出されたプログラムイメージに誤りがあるかどうかを判定し、誤りがあったプログラムイメージをNAND型フラッシュメモリ28から再度読み出すので、NAND型フラッシュメモリ28からプログラムイメージを読み出すときの信頼性を高めることができる。
Further, the
さらにまた、SPLプログラム32は、NAND型フラッシュメモリ28から読み出されたプログラムイメージに誤りがあった場合には、バスコントローラ25のNANDコントローラ26に対するアクセスタイムを大にするようにしたので、確実にNAND型フラッシュメモリ28に記憶されているプログラムイメージを読み出すことが可能となる。
Furthermore, since the
そして、上述のように、安価で大容量ではあるが、低速のNAND型フラッシュメモリ28に記録されたシステムプログラム33の読み出しを、バスコントローラ25のアクセスタイムを適切に設定して行うようにしたので、情報処理システム10の起動を高速に、かつ確実に行うことができる。
As described above, the
なお、本実施の形態では、SPLプログラム32を、NAND型フラッシュメモリ28に記録しておくようにしたが、SPLプログラム32は、ROM23に記憶しておいてもよい。また、SPLプログラム32は、インターネットなどを介して、サイトからダウンロードするようにしてもよい。
In the present embodiment, the
また、本明細書において、記録媒体に記録されるプログラムを記述するステップは、記載された順序に沿って時系列的に行われる処理はもちろん、必ずしも時系列的に処理されなくとも、並列的あるいは個別に実行される処理をも含むものである。 Further, in the present specification, the step of describing the program recorded on the recording medium is not limited to the processing performed in chronological order according to the described order, but may be performed in parallel or It also includes processes that are executed individually.
さらに、本明細書において、システムとは、複数の装置により構成される装置全体を表すものである。 Furthermore, in this specification, the system represents the entire apparatus constituted by a plurality of apparatuses.
また、本実施の形態では、システムプログラム33を、NAND型フラッシュメモリ28に記録しておくようにしたが、システムプログラム33を記録しておく記録媒体は、NAND型フラッシュメモリ28に限定されるものではない。即ち、システムプログラム33は、NOR型フラッシュメモリ等のメモリや、ハードディスク(HDD)等のディスクなどに記録しておいてもよい。
In the present embodiment, the
さらに、本発明は、プログラム以外のデータの読み出しにも適用可能である。 Furthermore, the present invention can also be applied to reading data other than programs.
10 情報処理システム, 21 CPU, 22 ASIC, 23 ROM, 24 RAM, 25 バスコントローラ, 26 NANDコントローラ, 27 バス, 28 NAND型フラッシュメモリ, 31 IPLプログラム, 32 SPLプログラム, 33 システムプログラム, 81 分割サイズ, 82 設定情報, 83 チェックサムデータ, 101 制御部, 111 読み出し部, 112 チェックサム演算部 10 information processing system, 21 CPU, 22 ASIC, 23 ROM, 24 RAM, 25 bus controller, 26 NAND controller, 27 bus, 28 NAND flash memory, 31 IPL program, 32 SPL program, 33 system program, 81 division size, 82 setting information, 83 checksum data, 101 control unit, 111 reading unit, 112 checksum operation unit
Claims (7)
前記読み出し手段に対するアクセスタイムを、前記読み出し手段の仕様で正常動作が保証されている保証アクセスタイムの範囲内の第1のアクセスタイムに設定する第1の設定ステップと、
前記読み出し手段に対して、前記第1の設定ステップで設定されたアクセスタイムでアクセスすることにより、前記記録媒体に記録されている前記データの誤りチェック用のデータであるチェックデータを、前記記録媒体から読み出す第1の読み出しステップと、
前記読み出し手段に対するアクセスタイムを、前記保証アクセスタイムより大きい第2のアクセスタイムに設定する第2の設定ステップと、
前記読み出し手段に対して、前記第2の設定ステップで設定されたアクセスタイムでアクセスすることにより、前記記録媒体に記録されている前記データを読み出す第2の読み出しステップと、
前記チェックデータに基づき、前記記録媒体から読み出された前記データに誤りがあるかどうかを判定する判定ステップと、
前記読み出し手段にアクセスすることにより、誤りがあった前記データを、前記記録媒体から、再度読み出す第3の読み出しステップと
を含むことを特徴とする読み出し方法。 In a reading method of reading data from the recording medium by accessing reading means for reading data from the recording medium,
A first setting step of setting an access time for the reading means to a first access time within a guaranteed access time range in which normal operation is guaranteed by the specification of the reading means;
By accessing the reading means with the access time set in the first setting step, check data which is data for error checking of the data recorded in the recording medium is stored in the recording medium. A first reading step for reading from;
A second setting step of setting an access time for the reading means to a second access time larger than the guaranteed access time;
A second reading step of reading the data recorded on the recording medium by accessing the reading means with the access time set in the second setting step;
A determination step of determining whether there is an error in the data read from the recording medium based on the check data;
A reading method comprising: a third reading step of reading again the data having an error from the recording medium by accessing the reading means.
前記第3の読み出しステップにおいて、前記読み出し手段に対して、前記第3の設定ステップで設定されたアクセスタイムでアクセスすることにより、前記記録媒体に記録されている前記データを読み出す
ことを特徴とする請求項1に記載の読み出し方法。 A third setting step of setting an access time for the reading means to a third access time smaller than the second access time when there is an error in the data;
In the third reading step, the data recorded on the recording medium is read by accessing the reading means with the access time set in the third setting step. The reading method according to claim 1.
ことを特徴とする請求項2に記載の読み出し方法。 The access time for the reading means is set to a third access time that is smaller than the second access time in the third setting step when there are multiple errors in the data. The reading method according to claim 2.
前記第2の読み出しステップにおいて、前記分割データの単位で、前記記録媒体から前記データを読み出し、
前記判定ステップにおいて、前記分割データの単位で、前記データに誤りがあるかどうかを判定する
ことを特徴とする請求項1に記載の読み出し方法。 In the recording medium, for each divided data obtained by dividing the data into a predetermined divided size, the check data for error check of the divided data is recorded,
In the second reading step, the data is read from the recording medium in units of the divided data,
2. The reading method according to claim 1, wherein in the determination step, it is determined whether or not there is an error in the data in units of the divided data.
ことを特徴とする請求項1に記載の読み出し方法。 The reading method according to claim 1, wherein the data recorded on the recording medium is a program.
ことを特徴とする請求項1に記載の読み出し方法。 2. The reading method according to claim 1, wherein the data recorded on the recording medium is a program read by an SPL (Secondary Program Loader) after the electronic device is activated.
前記読み出し手段に対するアクセスタイムを、前記読み出し手段の仕様で正常動作が保証されている保証アクセスタイムの範囲内の第1のアクセスタイムに設定する第1の設定ステップと、
前記読み出し手段に対して、前記第1の設定ステップで設定されたアクセスタイムでアクセスすることにより、前記記録媒体に記録されている前記データの誤りチェック用のデータであるチェックデータを、前記記録媒体から読み出す第1の読み出しステップと、
前記読み出し手段に対するアクセスタイムを、前記保証アクセスタイムより大きい第2のアクセスタイムに設定する第2の設定ステップと、
前記読み出し手段に対して、前記第2の設定ステップで設定されたアクセスタイムでアクセスすることによりで、前記記録媒体に記録されている前記データを読み出す第2の読み出しステップと、
前記チェックデータに基づき、前記記録媒体から読み出された前記データに誤りがあるかどうかを判定する判定ステップと、
前記読み出し手段にアクセスすることにより、誤りがあった前記データを、前記記録媒体から、再度読み出す第3の読み出しステップと
を含む前記読み出し処理を制御することを特徴とするプログラム。 A program for causing a computer to perform a process of controlling a reading process of reading data from the recording medium by accessing reading means for reading data from the recording medium,
A first setting step of setting an access time for the reading means to a first access time within a guaranteed access time range in which normal operation is guaranteed by the specification of the reading means;
By accessing the reading means with the access time set in the first setting step, check data which is data for error checking of the data recorded in the recording medium is stored in the recording medium. A first reading step for reading from;
A second setting step of setting an access time for the reading means to a second access time larger than the guaranteed access time;
A second reading step of reading the data recorded on the recording medium by accessing the reading means with the access time set in the second setting step;
A determination step of determining whether there is an error in the data read from the recording medium based on the check data;
A program for controlling the reading process including a third reading step of reading again the erroneous data from the recording medium by accessing the reading means.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004060997A JP2005250891A (en) | 2004-03-04 | 2004-03-04 | Reading method and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004060997A JP2005250891A (en) | 2004-03-04 | 2004-03-04 | Reading method and program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2005250891A true JP2005250891A (en) | 2005-09-15 |
Family
ID=35031308
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004060997A Withdrawn JP2005250891A (en) | 2004-03-04 | 2004-03-04 | Reading method and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2005250891A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008021174A (en) * | 2006-07-13 | 2008-01-31 | Hcx:Kk | Information processor |
-
2004
- 2004-03-04 JP JP2004060997A patent/JP2005250891A/en not_active Withdrawn
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008021174A (en) * | 2006-07-13 | 2008-01-31 | Hcx:Kk | Information processor |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20070038801A1 (en) | Control circuit, electronic device using the same, and firmware update method | |
JP2010140266A (en) | Electronic device system and electronic device | |
JP2008097105A (en) | Storage device and start-up method | |
JP2009187134A (en) | Information processor, start control method for information processor, program and recording medium | |
JP7002358B2 (en) | Information processing system, information processing device, BIOS update method of information processing device, and BIOS update program of information processing device | |
JP2009064263A (en) | Memory device | |
JP2014534521A (en) | Boot data loading | |
JP4234766B1 (en) | Electronic device and control method thereof | |
JP2011095952A (en) | Method for updating firmware and electronic equipment | |
US8291206B2 (en) | Method for booting computer system | |
JP2007122772A (en) | Information processor and method and program for storing data | |
JP2004021990A (en) | Firmware selector of computer including processor | |
JP6515462B2 (en) | INFORMATION PROCESSING DEVICE, SETTING METHOD FOR INFORMATION PROCESSING DEVICE, AND SETTING PROGRAM | |
JP2008158991A (en) | Control system for nand type flash memory | |
JP2005250891A (en) | Reading method and program | |
JP2007249808A (en) | Function extension system and function extension equipment | |
JP2008065725A (en) | Nand flash memory device, and activation method of computing system using the same | |
US10795771B2 (en) | Information handling system with reduced data loss in block mode | |
JP2004078604A (en) | Information processing method and program for executing the same method and recording medium | |
JP4239754B2 (en) | Nonvolatile memory system | |
JP2009211543A (en) | Information processing apparatus, inspection method, inspection program and inspection system | |
JP2009003557A (en) | Device start time diagnostic method, diagnostic program, and start time diagnostic device | |
JP6532240B2 (en) | Information processing apparatus and control method thereof | |
JP2006039809A (en) | Information processing device and start-up method thereof | |
CN110018968B (en) | Data reading method, electronic equipment and computer storage medium |
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: 20070605 |