[go: up one dir, main page]

JP2008140474A - Optical disk device - Google Patents

Optical disk device Download PDF

Info

Publication number
JP2008140474A
JP2008140474A JP2006325751A JP2006325751A JP2008140474A JP 2008140474 A JP2008140474 A JP 2008140474A JP 2006325751 A JP2006325751 A JP 2006325751A JP 2006325751 A JP2006325751 A JP 2006325751A JP 2008140474 A JP2008140474 A JP 2008140474A
Authority
JP
Japan
Prior art keywords
error correction
control data
optical disk
disk drive
drive device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2006325751A
Other languages
Japanese (ja)
Inventor
Teruhiko Nishino
輝彦 西野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2006325751A priority Critical patent/JP2008140474A/en
Publication of JP2008140474A publication Critical patent/JP2008140474A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Optical Recording Or Reproduction (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an optical disk drive unit which can ensure the reliability of control data stored in a NAND flash memory by a simple control method. <P>SOLUTION: The optical disk drive unit comprises a CPU 2 for controlling the unit, a RAM 3 including a working area for the CPU 2 and a storage area for the control data for controlling the unit, a DVD-ECC section 5 corresponding to a DVD format standard, and the NAND flash memory 7 for storing the control data for controlling the unit. The DVD-ECC section 5 carries out the error correction and the error correction encoding of the control data based on the DVD format standard. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、DVD規格に準拠した光ディスクドライブ装置に関し、特に、光ディスクドライブ装置を制御するための制御データをNAND型フラッシュメモリに格納するものに関する。   The present invention relates to an optical disk drive device that conforms to the DVD standard, and more particularly, to storage of control data for controlling an optical disk drive device in a NAND flash memory.

従来、光ディスクドライブ装置等の電子機器では、機器を制御するための制御データ(ファームウェアデータ)をダウンロードなどにより書き換える可能性がある。このため、多くの電子機器では制御データを不揮発性メモリの一種であるNOR型フラッシュメモリやNAND型フラッシュメモリに格納して、製品出荷後の制御データの書き換えに対応している。この制御データには、制御プログラム、制御コード、データテーブルなどが含まれている。   Conventionally, in an electronic device such as an optical disk drive device, there is a possibility that control data (firmware data) for controlling the device is rewritten by downloading or the like. For this reason, in many electronic devices, control data is stored in a NOR flash memory or a NAND flash memory, which is a kind of nonvolatile memory, so that the control data can be rewritten after shipment. This control data includes a control program, a control code, a data table, and the like.

NOR型フラッシュメモリは、NAND型フラッシュメモリに比べて、データの信頼性に優れているが、集積度の点で劣り、高価である。よって、コストを抑えるために、半導体集積回路への集積度に優れ、低価格のNAND型フラッシュメモリを採用する電子機器もある(非特許文献1参照)。   The NOR flash memory has higher data reliability than the NAND flash memory, but is inferior in terms of integration and expensive. Therefore, in order to reduce costs, there is an electronic device that employs a NAND flash memory that is excellent in integration into a semiconductor integrated circuit and is inexpensive (see Non-Patent Document 1).

図10は、NAND型フラッシュメモリの構成を示す図である。
NAND型フラッシュメモリ101は、ページ102という基本単位で構成され、データの書き込み、読み出しはこのページ単位で行われる。1ページはデータ領域104と冗長領域105から構成される。
FIG. 10 is a diagram showing a configuration of the NAND flash memory.
The NAND flash memory 101 is composed of basic units called pages 102, and data is written and read in units of pages. One page includes a data area 104 and a redundant area 105.

NAND型フラッシュメモリ101は、ブロック103という消去単位でデータが消去される。したがって、消去コマンドによって1つのブロックを指定することにより、1つのブロックを構成する複数のページが消去されることになる。   In the NAND flash memory 101, data is erased in an erase unit of a block 103. Therefore, by designating one block by the erase command, a plurality of pages constituting one block are erased.

NAND型フラッシュメモリには全体のメモリ容量に応じて大ブロック品と小ブロック品がある。小ブロック品は1ページが528バイトであり、ページ内のデータ領域が512バイト、ページ内の冗長領域が16バイトである。また、1ブロックは32ページから構成される。大ブロック品は1ページが2112バイトであり、ページ内のデータ領域が2048バイト、ページ内の冗長領域が64バイトである。また1ブロックは64ページから構成される。   NAND flash memory includes a large block product and a small block product depending on the total memory capacity. In the small block product, one page is 528 bytes, the data area in the page is 512 bytes, and the redundant area in the page is 16 bytes. One block is composed of 32 pages. In the large block product, one page is 2112 bytes, the data area in the page is 2048 bytes, and the redundant area in the page is 64 bytes. One block is composed of 64 pages.

NAND型フラッシュメモリ101は、構造上不良ブロックという、使用できないブロック単位の領域が定義されている。不良ブロックには、半導体製造段階からの不良である先天性不良ブロックと、その後の消去、書き込み、及び読み出しサイクルの繰り返し動作から発生する後天性不良ブロックがある。ただし、メモリの先頭ブロックについては常時良品ブロックであることが保証されている。   In the NAND flash memory 101, an unusable block unit area called a structurally defective block is defined. The defective block includes a congenital defective block that is a defect from the semiconductor manufacturing stage and an acquired defective block that is generated by repeated operations of the erase, write, and read cycles thereafter. However, the top block of the memory is always guaranteed to be a good block.

以上のように構成されるNAND型フラッシュメモリは、データ書き込み時に、エラービットが発生しやすいという性質がある。このため、NAND型フラッシュメモリにデータを記憶する場合、NAND型フラッシュメモリ専用の誤り訂正手段と誤り訂正符号化手段が必要になる。よって、NAND型フラッシュメモリに制御データを書き込む場合、誤り訂正符号化手段が、誤り訂正符号(パリティ)を生成する。生成されたパリティは、NAND型フラッシュメモリ内の冗長バイト部分(図10の冗長領域105)に書き込まれる。そして、データの読み出し時に、アクセスのあったアドレスに該当するデータとその冗長バイトが読み出され、誤り訂正手段が制御データを誤り訂正処理する。   The NAND flash memory configured as described above has a property that error bits are likely to occur when data is written. For this reason, when data is stored in the NAND flash memory, error correction means and error correction coding means dedicated to the NAND flash memory are required. Therefore, when the control data is written in the NAND flash memory, the error correction encoding unit generates an error correction code (parity). The generated parity is written into a redundant byte portion (redundant area 105 in FIG. 10) in the NAND flash memory. When data is read, the data corresponding to the accessed address and its redundant bytes are read, and the error correction means performs error correction processing on the control data.

しかし、NAND型フラッシュメモリで定義される誤り訂正符号は誤り訂正能力が低い。このため、制御データの信頼性を確保するために、NAND型フラッシュメモリで発生するエラーを検出し、エラー訂正不可能である場合には、エラーが存在しないデータを外部メモリやネットワーク経由で取得する電子機器が提案されている(特許文献1参照)。
特開2004−318465号公報(10頁、図1) 小田一幾著、「NAND型フラッシュ・メモリの基本的な使い方」、インターフェイス、CQ出版社、2006年3月号 p.52―61
However, the error correction code defined in the NAND flash memory has a low error correction capability. For this reason, in order to ensure the reliability of the control data, an error that occurs in the NAND flash memory is detected, and if the error cannot be corrected, data that does not have an error is acquired via an external memory or a network. Electronic devices have been proposed (see Patent Document 1).
Japanese Patent Laying-Open No. 2004-318465 (page 10, FIG. 1) Kazuo Oda, “Basic Usage of NAND Flash Memory”, Interface, CQ Publisher, March 2006, p.52-61

従来、光ディスクドライブ装置等の電子機器では、機器を制御するための制御データの格納にNOR型フラッシュメモリを採用するものあるが、NOR型フラッシュメモリは半導体集積回路への集積度に劣り、高価であるため、コストダウンが難しいという課題があった。   Conventionally, some electronic devices such as an optical disk drive device employ a NOR type flash memory for storing control data for controlling the device, but the NOR type flash memory is inferior in the degree of integration in a semiconductor integrated circuit and is expensive. Therefore, there was a problem that cost reduction was difficult.

一方、制御データの格納にNAND型フラッシュメモリを採用すると、データの信頼性が低いため、CPUが、NAND型フラッシュメモリ専用の誤り訂正手段及び誤り訂正符号化手段を半導体集積回路として搭載する必要があり、コストダウンが限定的になるという課題がある。   On the other hand, if a NAND flash memory is used for storing control data, the reliability of the data is low. Therefore, it is necessary for the CPU to mount error correction means and error correction coding means dedicated to the NAND flash memory as a semiconductor integrated circuit. There is a problem that cost reduction is limited.

また、NAND型フラッシュメモリで定義される誤り訂正符号は誤り訂正能力が低い。例えば、デジタルカメラ等に利用される取り外し可能なメモリカード規格の一つであるスマートメディア規格やxDピクチャーカード規格では、誤り訂正符号化の計算単位である256バイトのデータエリアで、1ビットの誤り訂正能力と2ビットの誤り検出能力しかない。このため、光ディスクドライブなどの信頼性が高いデータが要求される分野では、NAND型フラッシュメモリは制御データを格納するには不十分である。したがって、NAND型フラッシュメモリは制御データを格納する場合、誤り訂正能力を超えるエラーの発生時には、外部の通信回線等から正しい制御データを獲得するなどの複雑な手段や制御処理が必要であるという課題がある。   In addition, an error correction code defined in the NAND flash memory has a low error correction capability. For example, in the smart media standard or xD picture card standard, which is one of the removable memory card standards used for digital cameras and the like, a 1-bit error is generated in a 256-byte data area which is a calculation unit of error correction coding. It has only correction capability and 2-bit error detection capability. For this reason, the NAND flash memory is insufficient for storing control data in a field where highly reliable data is required, such as an optical disk drive. Therefore, NAND type flash memory requires a complicated means and control processing such as acquiring correct control data from an external communication line or the like when an error exceeding the error correction capability occurs when storing control data. There is.

よって、本発明では、簡単な制御方法で、信頼性の高い制御データを安価なNAND型フラッシュメモリに格納する光ディスクドライブ装置を提供することを目的とする。   Therefore, an object of the present invention is to provide an optical disk drive device that stores highly reliable control data in an inexpensive NAND flash memory by a simple control method.

本発明は、光ディスクからデータを読み出す光ディスクドライブ装置において、前記光ディスクドライブ装置を制御するCPUと、前記CPUが光ディスクドライブ装置を制御するために用いる制御データを格納するROM記憶部と、前記CPUの作業領域及び前記制御データの格納領域を含むRAM記憶部と、前記CPUの起動プログラムを格納するブート用記憶部と、DVDフォーマット規格に従って前記制御データを誤り訂正する誤り訂正部とを備え、前記制御データが、DVDフォーマット規格の複数のデータセクタから構成され、前記ROM記憶手段には、前記複数のデータセクタから構成される制御データに、DVDフォーマット規格に対応した誤り訂正符号が付加された誤り訂正ブロックが格納され、前記誤り訂正部が、前記誤り訂正ブロックに付加された誤り訂正符号を用いて、前記RAM記憶部上で前記制御データを誤り訂正することを特徴とする。   The present invention relates to an optical disk drive device that reads data from an optical disk, a CPU that controls the optical disk drive device, a ROM storage unit that stores control data used by the CPU to control the optical disk drive device, and an operation of the CPU A RAM storage unit including an area and a storage area for the control data, a boot storage unit for storing a startup program for the CPU, and an error correction unit for error correcting the control data in accordance with a DVD format standard. However, the ROM storage means includes an error correction block in which an error correction code corresponding to the DVD format standard is added to the control data including the plurality of data sectors. Is stored, and the error correction unit Ri with the added error correction code to correct the block, characterized by error correction the control data on the RAM memory unit.

また、本発明は、前記ROM記憶部に、前記誤り訂正符号として、前記制御データのインナーパリティが格納され、前記誤り訂正部が、前記インナーパリティを用いて、前記制御データを誤り訂正することを特徴とする。   In the present invention, the ROM storage unit stores the inner parity of the control data as the error correction code, and the error correction unit corrects the control data using the inner parity. Features.

また、本発明は、前記ROM記憶部に、前記誤り訂正符号として前記制御データのアウターパリティが格納され、前記誤り訂正部が、前記アウターパリティを用いて前記制御データを誤り訂正することを特徴とする。   Further, the present invention is characterized in that the outer parity of the control data is stored as the error correction code in the ROM storage unit, and the error correction unit corrects the control data using the outer parity. To do.

また、本発明は、前記ROM記憶部に、前記誤り訂正符号として前記制御データのインナーパリティ、アウターパリティ、及びインナーパリティのアウターパリティが格納され、前記誤り訂正部が、前記インナーパリティ、アウターパリティ、及びインナーパリティのアウターパリティを用いて前記制御データを誤り訂正することを特徴とする。   In the present invention, the ROM storage unit stores inner parity, outer parity, and outer parity of inner parity as the error correction code, and the error correction unit includes the inner parity, outer parity, And error correction of the control data using outer parity of inner parity.

また、本発明は、前記誤り訂正ブロックが、DVDフォーマット規格に対応するインターリーブ処理が施されたものであり、前記CPUは、DVDフォーマット規格に従って前記誤り訂正ブロックをデインターリーブ処理し、前記誤り訂正部が、前記インナーパリティ、アウターパリティのいずれか一方、または、前記インナーパリティ、アウターパリティ、及びインナーパリティのアウターパリティを用いて、デインターリーブ処理された前記誤り訂正ブロックの制御データを誤り訂正することを特徴とする。   According to the present invention, the error correction block is subjected to an interleaving process corresponding to a DVD format standard, and the CPU deinterleaves the error correction block according to a DVD format standard, and the error correction unit Using the inner parity, the outer parity, or the outer parity of the inner parity, the outer parity, and the inner parity to perform error correction on the control data of the error correction block that has been deinterleaved. Features.

また、本発明は、前記光ディスクドライブ装置を制御するCPUと、前記CPUが光ディスクドライブ装置を制御するために用いる制御データを格納するROM記憶部と、前記CPUの作業領域及び前記制御データの格納領域を含むRAM記憶部と、前記CPUの起動プログラムを格納するブート用記憶部と、DVDフォーマット規格に従って前記制御データを誤り訂正符号化する誤り訂正符号化部とを備え、前記誤り訂正符号化部は、前記RAM記憶部上で、DVDフォーマット規格に従って前記制御データの誤り訂正符号を生成し、DVDフォーマット規格の複数のデータセクタから構成される前記制御データに前記誤り訂正符号を付加した誤り訂正ブロックを生成し、前記ROM記憶手段は、前記誤り訂正ブロックを格納することを特徴とする。   The present invention also provides a CPU that controls the optical disk drive device, a ROM storage unit that stores control data used by the CPU to control the optical disk drive device, a work area for the CPU, and a storage area for the control data. Including a RAM storage unit, a boot storage unit that stores a startup program for the CPU, and an error correction encoding unit that performs error correction encoding on the control data in accordance with a DVD format standard, the error correction encoding unit comprising: An error correction block in which an error correction code of the control data is generated according to the DVD format standard on the RAM storage unit, and the error correction code is added to the control data composed of a plurality of data sectors of the DVD format standard. And the ROM storage means stores the error correction block. To.

また、本発明は、前記誤り訂正符号化部が、前記誤り訂正符号として前記制御データのインナーパリティを生成し、前記複数のデータセクタから構成される制御データに前記インナーパリティを付加して前記誤り訂正ブロックを生成することを特徴とする。   Further, according to the present invention, the error correction encoding unit generates an inner parity of the control data as the error correction code, and adds the inner parity to the control data composed of the plurality of data sectors, thereby generating the error. A correction block is generated.

また、本発明は、前記誤り訂正符号化部が、前記誤り訂正符号として前記制御データのアウターパリティを生成し、前記複数のデータセクタから構成される制御データに前記アウターパリティを付加して前記誤り訂正ブロックを生成することを特徴とする。   Further, according to the present invention, the error correction encoding unit generates an outer parity of the control data as the error correction code, adds the outer parity to control data composed of the plurality of data sectors, and adds the error. A correction block is generated.

また、本発明は、前記誤り訂正符号化部が、前記誤り訂正符号として前記制御データのインナーパリティ、アウターパリティ、及びインナーパリティのアウターパリティを生成し、前記複数のデータセクタから構成される制御データに前記インナーパリティ、アウターパリティ、及びインナーパリティのアウターパリティを付加して前記誤り訂正ブロックを生成することを特徴とする。   Further, according to the present invention, the error correction encoding unit generates an inner parity, an outer parity, and an outer parity of the inner parity as the error correction code, and includes control data composed of the plurality of data sectors. The error correction block is generated by adding the inner parity, the outer parity, and the outer parity of the inner parity.

また、本発明は、前記誤り訂正符号化部が、前記誤り訂正符号として、前記制御データのアウターパリティ、または前記制御データのインナーパリティ、アウターパリティ、及びインナーパリティのアウターパリティを生成して、前記複数のデータセクタから構成される制御データに付加して前記誤り訂正ブロックを生成し、前記CPUは、DVDフォーマット規格に従って前記誤り訂正ブロックをインターリーブ処理することを特徴とする。   Further, in the present invention, the error correction encoding unit generates, as the error correction code, outer parity of the control data, or inner parity, outer parity, and outer parity of the inner parity of the control data, The error correction block is generated by adding to control data composed of a plurality of data sectors, and the CPU interleaves the error correction block according to a DVD format standard.

また、本発明は、光ディスクからデータを読み出す、または光ディスクにデータを書き込む 光ディスクドライブ装置において、前記光ディスクドライブ装置を制御するCPUと、前記CPUが光ディスクドライブ装置を制御するために用いる制御データを格納するROM記憶部と、前記CPUの作業領域及び前記制御データの格納領域を含むRAM記憶部と、前記CPUの起動プログラムを格納するブート用記憶部と、DVDフォーマット規格に従って前記制御データを誤り訂正する誤り訂正処理と、DVDフォーマット規格に従って前記制御データを誤り訂正符号化する誤り訂正符号化処理とを行う誤り訂正・誤り訂正符号化部とを備え、前記制御データが、DVDフォーマット規格の複数のデータセクタから構成され、前記ROM記憶手段が、前記複数のデータセクタから構成される制御データに、DVDフォーマット規格に対応した誤り訂正符号が付加された誤り訂正ブロックを格納するものであり、前記誤り訂正・誤り訂正符号化部が、誤り訂正処理時には、前記誤り訂正ブロックに付加された誤り訂正符号を用いて、前記RAM記憶部上で前記制御データを誤り訂正し、前記誤り訂正符号化処理時には、前記RAM記憶部上で、DVDフォーマット規格に従って前記制御データの誤り訂正符号を生成し、DVDフォーマット規格の複数のデータセクタから構成される前記制御データに前記誤り訂正符号を付加した誤り訂正ブロックを生成することを特徴とする。   According to the present invention, in an optical disk drive device that reads data from or writes data to an optical disk, a CPU that controls the optical disk drive device and control data that the CPU uses to control the optical disk drive device are stored. ROM storage unit, RAM storage unit including the CPU work area and control data storage area, boot storage unit for storing the CPU startup program, and error correcting the control data according to the DVD format standard An error correction / error correction encoding unit that performs correction processing and error correction encoding processing that performs error correction encoding of the control data according to the DVD format standard, and the control data includes a plurality of data sectors of the DVD format standard. ROM storage consisting of The stage stores an error correction block in which an error correction code corresponding to a DVD format standard is added to control data composed of the plurality of data sectors, and the error correction / error correction encoding unit includes: At the time of error correction processing, the error correction code added to the error correction block is used to error-correct the control data on the RAM storage unit, and at the time of the error correction encoding process, a DVD is stored on the RAM storage unit. An error correction code of the control data is generated according to a format standard, and an error correction block is generated by adding the error correction code to the control data composed of a plurality of data sectors of the DVD format standard.

また、本発明は、前記制御データが、前記データセクタにおけるDVDフォーマット規格で定義されるデータ領域と管理情報領域とに格納されることを特徴とする。   Further, the present invention is characterized in that the control data is stored in a data area and a management information area defined in the DVD format standard in the data sector.

また、本発明は、前記ROM記憶部が、NAND型フラッシュメモリであることを特徴とする。   Further, the present invention is characterized in that the ROM storage unit is a NAND flash memory.

また、本発明は、前記制御データが、前記NAND型フラッシュメモリのデータ領域及び冗長領域を含む全領域に格納されることを特徴とする。   Further, the present invention is characterized in that the control data is stored in all areas including a data area and a redundant area of the NAND flash memory.

本発明の光ディスクドライブ装置によれば、DVDフォーマット規格に対応した誤り訂正能力の高い光ディスクドライブ装置の誤り訂正部によって、装置制御のための制御データを誤り訂正するようにした。これにより、信頼性の高い制御データが要求される光ディスクドライブ装置において、信頼性の高い制御データを安価なNAND型フラッシュメモリに格納できる。さらに、NADN型フラッシュメモリ専用の誤り訂正手段を備える必要がないことから、装置の回路規模を削減できる。その結果、簡単で制御方式によって、安価で、信頼性の高い光ディスクドライブ装置を提供できる。   According to the optical disk drive device of the present invention, the control data for device control is error-corrected by the error correction unit of the optical disk drive device having high error correction capability corresponding to the DVD format standard. Thereby, in an optical disk drive device that requires highly reliable control data, highly reliable control data can be stored in an inexpensive NAND flash memory. Furthermore, since it is not necessary to provide error correction means dedicated to the NADN type flash memory, the circuit scale of the apparatus can be reduced. As a result, an inexpensive and highly reliable optical disc drive apparatus can be provided by a simple control method.

本発明の光ディスクドライブ装置によれば、DVDフォーマット規格に対応した誤り訂正能力の高い誤り訂正符号を生成する光ディスクドライブ装置の誤り訂正符号化部によって、装置制御のための制御データの誤り訂正符号を生成して、前記制御データを符号化するようにした。これにより、信頼性の高い制御データが要求される光ディスクドライブ装置において、信頼性の高い制御データを安価なNAND型フラッシュメモリに格納できる。さらに、NADN型フラッシュメモリ専用の誤り訂正符号化手段を備える必要がないことから、装置の回路規模を削減できる。その結果、簡単な制御方式によって、安価で、かつ信頼性の高い光ディスクドライブ装置を提供することができる。   According to the optical disk drive device of the present invention, the error correction code of the control data for device control is generated by the error correction encoding unit of the optical disk drive device that generates an error correction code having high error correction capability corresponding to the DVD format standard. The control data is generated and encoded. Thereby, in an optical disk drive device that requires highly reliable control data, highly reliable control data can be stored in an inexpensive NAND flash memory. Furthermore, since it is not necessary to provide error correction coding means dedicated to the NADN type flash memory, the circuit scale of the apparatus can be reduced. As a result, an inexpensive and highly reliable optical disc drive apparatus can be provided by a simple control method.

また、本発明の光ディスクドライブ装置によれば、前記制御データを、DVDフォーマット規格で定義されるデータセクタのデータ領域と管理情報領域に格納することから、NAND型フラッシュメモリに占める誤り訂正符号の占有率を下げることができる。その結果、高速の誤り訂正を実現できる。   Also, according to the optical disk drive apparatus of the present invention, since the control data is stored in the data area and the management information area of the data sector defined by the DVD format standard, the occupation of the error correction code in the NAND flash memory The rate can be lowered. As a result, high-speed error correction can be realized.

また、本発明のディスクドライブ装置によれば、前記制御データを、前記NAND型フラッシュメモリのデータ領域及び冗長領域を含む全領域に格納することから、NAND型フラッシュメモリの領域を有効に使用して、制御データを格納できる。   Further, according to the disk drive device of the present invention, since the control data is stored in the entire area including the data area and the redundant area of the NAND flash memory, the area of the NAND flash memory is effectively used. Control data can be stored.

(実施の形態1)
本実施の形態1に係る光ディスクドライブ装置はDVD規格に準拠する。また、制御データを格納するメモリとして、NAND型フラッシュメモリを備える。しかし、NAND型フラッシュメモリ専用の誤り訂正手段を備えずに、DVDフォーマット規格に対応した誤り訂正能力の高い光ディスクドライブ装置用のDVD−ECC(Error correction code)部によって、NAND型フラッシュメモリに格納された制御データを誤り訂正することを特徴とする。さらに、NAND型フラッシュメモリ専用の誤り訂正符号化手段を備えずに、DVDフォーマット規格に対応した誤り訂正能力の高い光ディスクドライブ装置用のDVD−ECC部によって、制御データを誤り訂正符号化して、NAND型フラッシュメモリに格納することを特徴とする。
(Embodiment 1)
The optical disk drive device according to the first embodiment complies with the DVD standard. Further, a NAND flash memory is provided as a memory for storing control data. However, the error correction means dedicated to the NAND flash memory is not provided, and is stored in the NAND flash memory by a DVD-ECC (Error correction code) unit for an optical disk drive device having a high error correction capability corresponding to the DVD format standard. The control data is error-corrected. Further, the control data is error-corrected and encoded by a DVD-ECC unit for an optical disk drive device having a high error correction capability corresponding to the DVD format standard without providing an error correction encoding means dedicated to the NAND flash memory. It is characterized by being stored in a type flash memory.

図1は、本実施の形態1に係る光ディスクドライブ装置の制御部の構成を示すブロック図である。   FIG. 1 is a block diagram showing a configuration of a control unit of the optical disc drive apparatus according to the first embodiment.

図1において、制御部10は、システムバス1と、光ディスクドライブ装置を制御するCPU2と、CPU2の作業領域及びCPU2が光ディスクドライブ装置を制御するために用いる制御データの格納領域を含むRAM3と、CPU2の起動処理用プログラム(制御コード)を格納するブートROM(BOOT−ROM)4と、DVDフォーマット規格に対応したDVD−ECC部5と、NAND型フラッシュメモリ・インターフェイス部6と、光ディスクドライブ装置を制御するために用いる制御データを格納するNAND型フラッシュメモリ7と、ATAPIなどの外部インターフェイス8とを備える。DVD−ECC部5は、NAND型フラッシュメモリ7に格納される制御データを誤り訂正する機能と、制御データを誤り訂正符号化する機能を有している。   In FIG. 1, the control unit 10 includes a system bus 1, a CPU 2 that controls the optical disk drive device, a RAM 3 that includes a work area of the CPU 2 and a storage area for control data used by the CPU 2 to control the optical disk drive apparatus, and a CPU 2. A boot ROM (BOOT-ROM) 4 for storing a startup processing program (control code), a DVD-ECC unit 5 corresponding to the DVD format standard, a NAND flash memory interface unit 6, and an optical disk drive device A NAND flash memory 7 for storing control data used for the operation, and an external interface 8 such as ATAPI. The DVD-ECC unit 5 has a function for error correction of control data stored in the NAND flash memory 7 and a function for error correction encoding of control data.

本実施の形態1では、制御データは、DVDフォーマット規格に対応したECCブロック形式でNAND型フラッシュメモリ7に格納される。   In the first embodiment, the control data is stored in the NAND flash memory 7 in the ECC block format corresponding to the DVD format standard.

図7はDVDフォーマット規格のデータセクタ構成図であり、172バイト×12行の配列構造となっている。データセクタ71において、ID、IED、及びRSV領域はDVDフォーマット規格では管理情報を格納する領域として定義されている。データセクタの末尾に配置されるEDC(Error Direction Code)は、データセクタ全体の誤り検出用パリティである。このEDCは32bitのCRC(Cyclic Redundancy Check)パリティであり、誤り訂正終了後のデータセクタの誤訂正の検出に用いられる。ID、IED、RSV領域はDVDフォーマット規格としては、本来、管理情報を格納するための領域であるが、本実施の形態1では、ID、IED、及びRSV領域の合計12バイトの領域にもメインデータ領域と区別なく制御データを格納する。すなわち1つのデータセクタに格納できるメインデータは、メインデータ領域の2048バイト+管理情報領域の12バイト=2060バイトになる。データセクタ末尾のEDC領域は、データセクタ全体の誤り検出用パリティ領域であるため、この領域には制御データを格納しない。   FIG. 7 is a data sector configuration diagram of the DVD format standard, and has an arrangement structure of 172 bytes × 12 rows. In the data sector 71, the ID, IED, and RSV areas are defined as areas for storing management information in the DVD format standard. An EDC (Error Direction Code) arranged at the end of the data sector is a parity for error detection of the entire data sector. This EDC is a 32-bit CRC (Cyclic Redundancy Check) parity, and is used to detect erroneous correction of a data sector after completion of error correction. The ID, IED, and RSV areas are originally areas for storing management information as a DVD format standard, but in the first embodiment, the ID, IED, and RSV areas are also main areas of 12 bytes in total. Control data is stored without distinction from the data area. That is, the main data that can be stored in one data sector is 2048 bytes in the main data area + 12 bytes in the management information area = 2060 bytes. Since the EDC area at the end of the data sector is an error detection parity area for the entire data sector, control data is not stored in this area.

図8は、DVDフォーマット規格のECCブロックの構成図である。本実施の形態1では、制御データは、図8に示すECCブロック単位で誤り訂正、誤り訂正符号化、誤り検出が行われる。ECCブロック81は、データセクタ71を連続して16個集めたメインデータ82、メインデータ82のインナーパリティを格納するPI83、メインデータのアウターパリティを格納するPO84、インナーパリティのアウターパリティを格納するPIPO85から構成される。なお、メインデータ82は16個のデータセクタ71から構成されることから、12行×16個=192行と172バイトの配列から構成される容量となる。よって、CPU2によって実行可能な、2060バイト×16セクタ=32960バイト分の制御データを格納できる。DVDフォーマット規格としては、パリティ領域を含めた1つのECCブロック領域は208行×182バイト=37856バイトである。   FIG. 8 is a configuration diagram of an ECC block of the DVD format standard. In the first embodiment, the control data is subjected to error correction, error correction coding, and error detection in units of ECC blocks shown in FIG. The ECC block 81 includes main data 82 obtained by continuously collecting 16 data sectors 71, a PI 83 for storing the inner parity of the main data 82, a PO 84 for storing the outer parity of the main data, and a PIPO 85 for storing the outer parity of the inner parity. Consists of Since the main data 82 is composed of 16 data sectors 71, the capacity is composed of an array of 12 rows × 16 = 192 rows and 172 bytes. Therefore, control data for 2060 bytes × 16 sectors = 32960 bytes that can be executed by the CPU 2 can be stored. As a DVD format standard, one ECC block area including a parity area is 208 rows × 182 bytes = 37856 bytes.

本実施の形態1において、DVD−ECC部5は、制御データを誤り訂正する際、パリティ領域として、PI83のみを使用する場合、PO84のみを使用する場合、PI83、PO84及びPIPO85を使用する場合がある。   In the first embodiment, the DVD-ECC unit 5 may use PI83, PO84, and PIPO85 as the parity area when using the PI83 only, when using only the PO84, or when using the PI83, PO84, and PIPO85 when correcting the control data. is there.

PI83だけをパリティ領域として使用する場合、1つのECCブロック単位を192行×182バイト=34944バイトとして使用できる。この場合、誤り訂正能力が低くなるが、実用上十分な誤り訂正能力を有する。PI83だけを使用することで、NAND型フラッシュメモリ全体に占めるパリティの占有率を下げることができるので、PI83とPO84の両方を使う場合と比較して高速な誤り訂正が可能となる。   When only PI 83 is used as a parity area, one ECC block unit can be used as 192 rows × 182 bytes = 34944 bytes. In this case, the error correction capability is lowered, but the error correction capability is practically sufficient. By using only the PI 83, the occupancy rate of the parity in the entire NAND flash memory can be lowered, and therefore, error correction can be performed at a higher speed than when both the PI 83 and the PO 84 are used.

PO84だけをパリティ領域として使用する場合、1つのECCブロック単位を208行×172バイト=35776バイトとして使用できる。この場合、誤り訂正能力が低くくなるが、実用上十分な誤り訂正能力を有する。PO84だけを使用することで、NAND型フラッシュメモリ全体に占めるパリティの占有率を下げることができ、PI83とPO84の両方を使う場合と比較して高速なエラー訂正が可能となる。   When only PO84 is used as a parity area, one ECC block unit can be used as 208 rows × 172 bytes = 35776 bytes. In this case, the error correction capability is lowered, but the error correction capability is practically sufficient. By using only PO84, the occupancy ratio of the parity in the entire NAND flash memory can be reduced, and high-speed error correction is possible as compared with the case where both PI83 and PO84 are used.

また、PI83、PO84、及びPIPO85を使用して、訂正能力の高い誤り訂正も可能である。   In addition, error correction with high correction capability is possible using PI83, PO84, and PIPO85.

また、ECCブロック81は、DVDフォーマット規格で定義されるインターリーブ処理が施される場合もある。図9は、DVDフォーマット規格のインターリーブ概念を示す図である。インターリーブは、アウターパリテのみを使用する場合、またはインナーパリティとアウターパリティの両方を使用する場合に、適用できる。DVDフォーマット規格では、16行のPO84のアウターパリティを1行ずつ各セクタの最終行に移動し、各セクタを13行の構成とすることで、ECCブロック81のインターリーブ処理を行う。以上のようにしてインターリーブ処理されたECCブロック86は、バースト誤りに強いという利点を有する。   Further, the ECC block 81 may be subjected to an interleaving process defined by the DVD format standard. FIG. 9 is a diagram showing an interleaving concept of the DVD format standard. Interleaving can be applied when using only the outer parity or when using both inner parity and outer parity. In the DVD format standard, the outer parity of 16 rows of PO84 is moved one row at a time to the last row of each sector, and each sector is configured to have 13 rows, whereby the ECC block 81 is interleaved. The ECC block 86 interleaved as described above has the advantage of being resistant to burst errors.

本実施の形態1では、以上のような構成のECCブロックが、NAND型フラッシュメモリ7に格納されている。NAND型フラッシュメモリ7は、従来のデータ領域104と冗長領域105とを合わせた全領域にECCブロックを格納する。これは、本実施の形態1では、光ディスクドライブ装置のDVD−ECC部5によって、制御データを誤り訂正符号化し、該制御データをDVDフォーマット規格のECCブロック形式でNANDフラッシュメモリ7に格納することから、冗長領域105に、NAND型フラッシュメモリで定義されるパリティを格納する必要がないためである。これにより、冗長領域105に誤り訂正能力が低いパリティが格納されている従来のNAND型フラッシュメモリに比べて、本実施の形態1に係るNAND型フラッシュメモリ7は全領域を制御データの格納領域として、有効に使用できる。   In the first embodiment, the ECC block configured as described above is stored in the NAND flash memory 7. The NAND flash memory 7 stores the ECC block in the entire area including the conventional data area 104 and the redundant area 105. This is because in the first embodiment, the DVD-ECC unit 5 of the optical disk drive apparatus performs error correction coding on the control data and stores the control data in the NAND flash memory 7 in the ECC block format of the DVD format standard. This is because it is not necessary to store the parity defined by the NAND flash memory in the redundant area 105. As a result, the NAND flash memory 7 according to the first embodiment uses the entire area as a control data storage area as compared with the conventional NAND flash memory in which the redundancy is stored in the redundant area 105 with low error correction capability. Can be used effectively.

図2はNAND型フラッシュメモリ7のメモリマップを示す図である。NAND型フラッシュメモリ7の空間21には、先頭ブロックに位置する管理ブロック22と、良品データブロック23と、不良データブロック24とが存在する。   FIG. 2 is a diagram showing a memory map of the NAND flash memory 7. In the space 21 of the NAND flash memory 7, there are a management block 22, a non-defective data block 23, and a defective data block 24 located at the top block.

図3は、NAND型フラッシュメモリ7の管理ブロック22の詳細なメモリマップを示す図である。管理ブロック22の空間31には、有効データサイズ情報32と、不良ブロック番号リスト33と、符号化モード情報34とが格納されている。有効データサイズ情報32は、良品データブロックに格納されているデータ格納サイズを示す。不良ブロック番号リスト33は、NAND型フラッシュメモリ7の全ての不良ブロック番号をリスト形式で記述している。符号化モード情報34は、ECC−DVD部5が、誤り訂正符号化時に、制御データを、インナーパリティだけを使用して符号化するのか、アウターパリティだけを使用して符号化するのか、インナーパリティとアウターパリティの両方を使用して符号化するのか、また、インターリーブを適用して、符号化するのかを示す情報である。   FIG. 3 is a diagram showing a detailed memory map of the management block 22 of the NAND flash memory 7. In the space 31 of the management block 22, valid data size information 32, a bad block number list 33, and encoding mode information 34 are stored. The valid data size information 32 indicates the data storage size stored in the non-defective product data block. The bad block number list 33 describes all bad block numbers of the NAND flash memory 7 in a list format. The encoding mode information 34 indicates whether the ECC-DVD unit 5 encodes the control data using only the inner parity or only the outer parity during the error correction encoding. It is information indicating whether encoding is performed using both outer parity and outer parity, or encoding is performed by applying interleaving.

図4はRAM3のメモリマップを示す図である。RAM3の空間41には、管理ブロックエリア42と、作業エリア43と、制御データ格納エリア44とが存在する。管理ブロックエリア42は、NAND型フラッシュメモリ7の先頭に位置する管理ブロック22と同一の用途である。作業エリア43は、DVD−ECC部5が制御データに対する作業をECCブロック単位で行うための領域である。制御データ格納エリア44は制御データを格納するための領域である。   FIG. 4 is a diagram showing a memory map of the RAM 3. In the space 41 of the RAM 3, there are a management block area 42, a work area 43, and a control data storage area 44. The management block area 42 has the same use as the management block 22 located at the head of the NAND flash memory 7. The work area 43 is an area for the DVD-ECC unit 5 to perform work on control data in units of ECC blocks. The control data storage area 44 is an area for storing control data.

以下、本実施の形態1に係る光ディスクドライブ装置の読み取り動作における制御データの誤り訂正処理について、図5を用いて説明する。   The control data error correction processing in the reading operation of the optical disk drive device according to the first embodiment will be described below with reference to FIG.

ステップS1:CPU2はBOOT−ROM4に格納された制御コードを実行する。   Step S1: The CPU 2 executes the control code stored in the BOOT-ROM 4.

ステップS2:CPU2はNAND型フラッシュメモリ・インターフェイス部6を介して管理ブロック22の内容をRAM3上の管理ブロックエリア42に転送する。   Step S2: The CPU 2 transfers the contents of the management block 22 to the management block area 42 on the RAM 3 via the NAND flash memory interface unit 6.

ステップS3:CPU2はDVD−ECC部5の動作を誤り訂正モードに設定する。   Step S3: The CPU 2 sets the operation of the DVD-ECC unit 5 to the error correction mode.

ステップS4:CPU2は、制御データの符号化に関する符号化モード情報34を読み出し、DVD−ECC部5の動作モードを設定する。すなわち、インナーパリティとアウターパリティのいずれか一方を使用して実用上十分な信頼性を有する高速な誤り訂正を行うか、アウターパリティとインナーパリティの両方を使用することによって信頼性の高い誤り訂正を行うかを設定する。   Step S4: The CPU 2 reads the encoding mode information 34 relating to the encoding of the control data, and sets the operation mode of the DVD-ECC unit 5. That is, either high-speed error correction with practically sufficient reliability using either inner parity or outer parity is performed, or error correction with high reliability is performed by using both outer parity and inner parity. Set what to do.

ステップS5:CPU2は、不良ブロック番号リスト33を参照しながら、良品ブロック番号を昇順にし、NAND型フラッシュメモリ・インターフェイス部6を介して、DVDフォーマット形式の制御データをECC単位で、良品ブロック23からRAM3の作業エリア43に転送する。すなわち、制御データを、図8に示すECCブロック81単位で転送する。   Step S5: The CPU 2 refers to the defective block number list 33 and arranges the non-defective block numbers in ascending order, and sends the control data in the DVD format format from the non-defective block 23 via the NAND flash memory interface unit 6 in ECC units. Transfer to the work area 43 of the RAM 3. That is, the control data is transferred in units of ECC blocks 81 shown in FIG.

ステップS6:CPU2は、符号化モード情報34を読み取り、制御データがインターリーブ処理されているかを判定し、判定結果が“Yes”の場合は、処理をステップS7に移行し、“No”の場合は、処理をステップS8に移行する。   Step S6: The CPU 2 reads the encoding mode information 34 and determines whether or not the control data is interleaved. If the determination result is “Yes”, the process proceeds to step S7, and if “No”, The process proceeds to step S8.

ステップS7:CPU2は、インターリーブ処理されたECCブロック86を、元のECCブロック81の形式に戻すデインターリーブ処理を行う。   Step S <b> 7: The CPU 2 performs a deinterleave process for returning the interleaved ECC block 86 to the original ECC block 81 format.

ステップS8:CPU2は、DVD−ECC部5を起動させ、DVD−ECC部5は、RAM3の作業エリア43上の制御データを、ステップS4にて設定された動作モードで誤り訂正する。   Step S8: The CPU 2 activates the DVD-ECC unit 5, and the DVD-ECC unit 5 corrects the control data on the work area 43 of the RAM 3 in the operation mode set in step S4.

ステップS9:CPU2は誤り訂正された制御データを作業エリア43から制御データ格納エリア44へ転送する。   Step S <b> 9: The CPU 2 transfers the error-corrected control data from the work area 43 to the control data storage area 44.

ステップS10: CPU2は、有効データサイズ情報32に示されているデータ格納サイズ分の誤り訂正が行われたかを判定し、判定結果が“No”の場合は、処理をステップS5に戻す。これにより、ステップS5〜ステップS9の処理が有効データサイズ情報32に示されているサイズ分だけ繰り返し実行される。一方、判定結果が“Yes”の場合は、処理をステップS11に移行する。   Step S10: The CPU 2 determines whether error correction for the data storage size indicated in the valid data size information 32 has been performed. If the determination result is “No”, the process returns to step S5. As a result, the processes in steps S5 to S9 are repeatedly executed for the size indicated in the valid data size information 32. On the other hand, if the determination result is “Yes”, the process proceeds to step S11.

ステップS11:制御データ格納エリア44にCPU2が実行可能な制御データが格納される。   Step S11: Control data executable by the CPU 2 is stored in the control data storage area 44.

ステップS12:制御データのコードが実行される。   Step S12: The control data code is executed.

次に、本実施の形態1に係る光ディスクドライブ装置の書き込み動作における制御データの誤り訂正符号化処理について図6を用いて説明する。   Next, error correction coding processing of control data in the writing operation of the optical disk drive device according to the first embodiment will be described with reference to FIG.

ステップS21:CPU2はBOOT−ROM4に格納されている制御コードを実行する。   Step S21: The CPU 2 executes the control code stored in the BOOT-ROM 4.

ステップS22:CPU2は、NAND型フラッシュメモリ・インターフェイス部6を介して管理ブロック22の内容をRAM3上の管理ブロックエリア42に転送する。   Step S22: The CPU 2 transfers the contents of the management block 22 to the management block area 42 on the RAM 3 via the NAND flash memory interface unit 6.

ステップS23:CPU2は、DVD−ECC部5の動作を消失訂正モードに設定する。   Step S23: The CPU 2 sets the operation of the DVD-ECC unit 5 to the erasure correction mode.

ステップS24:CPU2は、外部インターフェイス8から転送される、NAND型フラッシュメモリ7に格納する時の制御データの符号化モード情報34を、RAM3上の管理ブロックエリア42に転送する。   Step S24: The CPU 2 transfers the encoding mode information 34 of the control data transferred from the external interface 8 and stored in the NAND flash memory 7 to the management block area 42 on the RAM 3.

ステップS25:符号化モード情報34に基づいて、DVD−ECC部5の動作モードを設定する。すなわち、制御データを、インナーパリティとアウターパリティのいずれか一方を使用して誤り訂正符号化するか、アウターパリティとインナーパリティの両方を使用して誤り訂正符号化するか、インターリーブも適用してバースト誤りに強い誤り訂正符号化をするかを設定する。   Step S25: Based on the encoding mode information 34, the operation mode of the DVD-ECC unit 5 is set. In other words, control data is error-correction coded using either inner parity or outer parity, error-correction coded using both outer parity and inner parity, or bursts using interleaving. Sets whether to perform error correction coding that is resistant to errors.

ステップS26:CPU2は、不良ブロック番号リスト33を参照しながら、NAND型フラッシュメモリ7の管理ブロック22と全ての良品ブロックに対して消去コマンドを発行し、NAND型フラッシュメモリ7の消去を行う。この消去処理で、消去エラーが発生し、後天性の不良ブロックが発生した場合、CPU2は、その不良ブロック番号を管理ブロックエリア42上の不良ブロックリスト33に追加する。   Step S26: The CPU 2 issues an erase command to the management block 22 of the NAND flash memory 7 and all non-defective blocks while referring to the defective block number list 33, and erases the NAND flash memory 7. In this erasure process, when an erasure error occurs and an acquired defective block occurs, the CPU 2 adds the defective block number to the defective block list 33 on the management block area 42.

ステップS27:CPU2は、外部インターフェイス8から転送される光ディスクドライブ装置の制御データをRAM3上の制御データ格納エリア44に転送する。   Step S27: The CPU 2 transfers the control data of the optical disk drive device transferred from the external interface 8 to the control data storage area 44 on the RAM 3.

ステップS28:CPU2は、制御データ格納エリア44上の制御データを、DVD−ECC部5の符号化単位(ECC単位)で作業エリア43に転送する。すなわち、図8に示すメインデータ82単位で作業エリア43に転送する。   Step S28: The CPU 2 transfers the control data on the control data storage area 44 to the work area 43 in the encoding unit (ECC unit) of the DVD-ECC unit 5. That is, the data is transferred to the work area 43 in units of main data 82 shown in FIG.

ステップS29:CPU2は、DVD−ECC部5を起動させ、DVD−ECC部5は、ステップS25にて設定された動作モードに従って、制御データの誤り訂正符号を生成する。すなわち、インナーパリティを生成する動作モードの場合は制御データのインナーパリティを、アウターパリティを生成する動作モードの場合は制御データのアウターパリティを、インナーパリティ及びアウターパリティを生成する動作モードの場合は、制御データのインナーパリティ、アウターパリティ、及びインナーパリティのアウターパリティを生成し、インターリーブを適用する動作モードの場合はアウターパリティ、またはインナーパリティ、アウターパリティ、及びインナーパリティのアウターパリティを生成する。そして、生成したパリティを、メインデータである制御データに付加したECCブロックを生成する。すなわち、ECCブロック81を生成する。   Step S29: The CPU 2 activates the DVD-ECC unit 5, and the DVD-ECC unit 5 generates an error correction code of the control data according to the operation mode set in step S25. That is, in the operation mode for generating the inner parity, the inner parity of the control data in the operation mode for generating the inner parity, the outer parity of the control data in the operation mode for generating the outer parity, and in the operation mode for generating the inner parity and the outer parity, Inner parity, outer parity, and outer parity of inner parity are generated for control data, and outer parity of inner parity, inner parity, outer parity, and inner parity is generated in an operation mode that applies interleaving. Then, an ECC block in which the generated parity is added to control data that is main data is generated. That is, the ECC block 81 is generated.

ステップS30:CPU2は、符号化モード情報34から、インターリーブを適用して制御データを誤り訂正符号化するかを判定し、判定結果が、“Yes”の場合は処理をステップS31に移行し、“No”の場合は処理をステップS32に移行する。   Step S30: The CPU 2 determines from the encoding mode information 34 whether to apply error correction to the control data by applying interleaving. If the determination result is “Yes”, the process proceeds to step S31. If “No”, the process proceeds to step S32.

ステップS31:CPU2は、図8に示すECCブロック81を図9に示すECCブロック86の形式にするインターリーブ処理を行う。   Step S31: The CPU 2 performs an interleaving process for converting the ECC block 81 shown in FIG. 8 into the format of the ECC block 86 shown in FIG.

ステップ32:CPU2は、NAND型フラッシュメモリ・インターフェイス部6を介して、ECCブロックを作業エリア43からNAND型フラッシュメモリ7の良品ブロック23へ書き込む。この時、管理ブロックエリア42の不良ブロック番号リスト33に記述された不良ブロックには書き込みを行わない。また、書き込み時にエラーが発生し後天性の不良ブロックが発生した場合は、その不良ブロック番号を不良ブロック番号リスト33に追加し、新たな良品データブロックにデータを書き込む。   Step 32: The CPU 2 writes the ECC block from the work area 43 to the non-defective block 23 of the NAND flash memory 7 via the NAND flash memory interface unit 6. At this time, writing is not performed on the defective block described in the defective block number list 33 in the management block area 42. When an error occurs during writing and an acquired defective block is generated, the defective block number is added to the defective block number list 33, and data is written into a new good data block.

ステップS33:CPU2は、データ格納サイズ分のデータを誤り訂正符号化したかを判定し、判定結果が“No”の場合は、処理をステップ28に戻す。これにより、ステップS28〜ステップS32の処理を制御データが格納されている制御データ格納エリア43の最後まで行うことができる。一方、判定結果が“Yes”の場合は、処理をステップS34に移行する。   Step S33: The CPU 2 determines whether the data for the data storage size has been subjected to error correction encoding. If the determination result is “No”, the process returns to step 28. Thereby, the process of step S28-step S32 can be performed to the end of the control data storage area 43 in which the control data is stored. On the other hand, if the determination result is “Yes”, the process proceeds to step S34.

ステップS34:CPU2は、RAM3上の有効データサイズ情報32を実際に書き込んだサイズに更新し、最後に、RAM3上の管理ブロックエリア42の内容をNAND型フラッシュメモリ・インターフェイス部6を介してNAND型フラッシュメモリ7の管理ブロック22に書き込む。   Step S34: The CPU 2 updates the valid data size information 32 on the RAM 3 to the actually written size. Finally, the contents of the management block area 42 on the RAM 3 are NAND-typed via the NAND-type flash memory interface unit 6. Write to the management block 22 of the flash memory 7.

光ディスクドライブ装置は、以上のようにしてNADN型フラッシュメモリ7に書き込んだ制御データを、装置制御を行う際に、読み出して誤り訂正する。   The optical disc drive apparatus reads and corrects errors when performing control of the control data written in the NADN flash memory 7 as described above.

以上のように本実施の形態1に係る光ディスクドライブ装置によれば、DVDフォーマット規格に対応した誤り訂正能力が高いECC−DVD部5によって、装置制御のための制御データを誤り訂正するようにした。これにより、信頼性の高い制御データが要求される光ディスクドライブ装置において、信頼性の高い制御データを安価なNAND型フラッシュメモリ7に格納できる。さらに、NADN型フラッシュメモリ専用の誤り訂正手段を備える必要がないことから、装置の回路規模を削減できる。   As described above, according to the optical disk drive device of the first embodiment, the control data for device control is error-corrected by the ECC-DVD unit 5 having high error correction capability corresponding to the DVD format standard. . As a result, in an optical disc drive device that requires highly reliable control data, highly reliable control data can be stored in the inexpensive NAND flash memory 7. Furthermore, since it is not necessary to provide error correction means dedicated to the NADN type flash memory, the circuit scale of the apparatus can be reduced.

また、本実施の形態1に係る光ディスクドライブ装置によれば、DVDフォーマット規格に対応したECC−DVD部5によって、装置制御のための制御データの誤り訂正符号を生成して、前記制御データを符号化するようにした。これにより、信頼性の高い制御データが要求される光ディスクドライブ装置において、信頼性の高い制御データを安価なNAND型フラッシュメモリ7に格納できる。さらに、NADN型フラッシュメモリ専用の誤り訂正符号化手段を備える必要がないことから、装置の回路規模を削減できる。   Further, according to the optical disk drive apparatus according to the first embodiment, the ECC-DVD unit 5 corresponding to the DVD format standard generates an error correction code of control data for controlling the apparatus, and encodes the control data. It was made to become. As a result, in an optical disc drive device that requires highly reliable control data, highly reliable control data can be stored in the inexpensive NAND flash memory 7. Furthermore, since it is not necessary to provide error correction coding means dedicated to the NADN type flash memory, the circuit scale of the apparatus can be reduced.

また、本実施の形態1に係る光ディスクドライブ装置によれば、制御データを、DVDフォーマット規格で定義されるデータセクタ71のデータ領域と管理情報領域に格納することから、NAND型フラッシュメモリ7に占めるパリティの占有率を下げることができる。その結果、高速の誤り訂正を実現できる。   Further, according to the optical disk drive device according to the first embodiment, the control data is stored in the data area and the management information area of the data sector 71 defined by the DVD format standard, and therefore occupies the NAND flash memory 7. Parity occupancy can be reduced. As a result, high-speed error correction can be realized.

また、本実施の形態1に係る光ディスクドライブ装置によれば、制御データを、NAND型フラッシュメモリ7のデータ領域及び冗長領域を含む全領域に格納することから、NAND型フラッシュメモリ7の領域を有効に使用して、制御データを格納できる。   In addition, according to the optical disk drive device according to the first embodiment, since the control data is stored in all areas including the data area and the redundant area of the NAND flash memory 7, the area of the NAND flash memory 7 is made effective. Can be used to store control data.

本発明は、装置制御のためのファームウェアデータをフラッシュメモリに格納して、使用する光ディスクドライブ装置に好適である。   The present invention is suitable for an optical disk drive device that uses firmware data for device control stored in a flash memory.

本発明の実施の形態1係る光ディスクドライブ装置の制御部の一構成例を示すブロック図である。It is a block diagram which shows one structural example of the control part of the optical disk drive device which concerns on Embodiment 1 of this invention. 本発明の実施の形態1に係る光ディスクドライブ装置のNAND型フラッシュメモリのメモリマップ図である。1 is a memory map diagram of a NAND flash memory of an optical disk drive device according to a first embodiment of the present invention. 本発明の実施の形態1に係る光ディスクドライブ装置のNAND型フラッシュメモリの管理ブロックのメモリマップ図である。FIG. 3 is a memory map diagram of a management block of the NAND flash memory of the optical disk drive device according to the first embodiment of the present invention. 本発明の実施の形態1に係る光ディスクドライブ装置のRAMのメモリマップ図である。It is a memory map figure of RAM of the optical disk drive device concerning Embodiment 1 of this invention. 本発明の実施の形態1に係る光ディスクドライブ装置の読み取り動作における誤り訂正処理を示すフロー図である。It is a flowchart which shows the error correction process in the reading operation | movement of the optical disk drive device based on Embodiment 1 of this invention. 本発明の実施の形態1に係る光ディスクドライブ装置の書き込み動作における誤り訂正符号化処理を示すフロー図である。It is a flowchart which shows the error correction encoding process in the write-in operation | movement of the optical disk drive device based on Embodiment 1 of this invention. DVDフォーマット規格のデータセクタの構成図である。It is a block diagram of the data sector of DVD format specification. DVDフォーマット規格の誤り訂正ブロックの構成図である。It is a block diagram of the error correction block of DVD format specification. インターリーブ処理されたDVDフォーマット規格の誤り訂正ブロックの構成図である。It is a block diagram of the error correction block of the DVD format specification by which the interleave process was carried out. NAND型フラッシュメモリのブロック構成概念図である。1 is a conceptual block diagram of a NAND flash memory.

符号の説明Explanation of symbols

1 システムバス
2 CPU
3 RAM
4 BOOT−ROM
5 DVD−ECC部
6 NAND型フラッシュメモリインターフェイス部
7 NAND型フラッシュメモリ
8 外部インターフェイス
10 制御部
21 NAND型フラッシュメモリの全空間
22 管理ブロック
23 良品データブロック
24 不良データブロック
31 管理ブロックの全空間
32 有効データサイズ情報
33 不良ブロック番号リスト
34 符号化モード情報
41 RAMの全空間
42 管理ブロックエリア
43 作業エリア
44 制御データ格納エリア
71 データセクタ
81 ECCブロック
82 メインデータ
83 PI
84 PO
85 PIPO
86 インターリーブ処理後のECCブロック
101 NAND型フラッシュメモリ
102 ページ
103 ブロック
104 データ領域
105 冗長領域
1 System bus 2 CPU
3 RAM
4 BOOT-ROM
5 DVD-ECC section 6 NAND flash memory interface section 7 NAND flash memory 8 external interface 10 control section 21 NAND flash memory total space 22 management block 23 good data block 24 defective data block 31 total space 32 management block valid Data size information 33 Bad block number list 34 Coding mode information 41 Total RAM space 42 Management block area 43 Work area 44 Control data storage area 71 Data sector 81 ECC block 82 Main data 83 PI
84 PO
85 PIPO
86 ECC block 101 after interleaving 101 NAND flash memory 102 Page 103 Block 104 Data area 105 Redundant area

Claims (14)

光ディスクからデータを読み出す光ディスクドライブ装置において、
前記光ディスクドライブ装置を制御するCPUと、
前記CPUが光ディスクドライブ装置を制御するために用いる制御データを格納するROM記憶部と、
前記CPUの作業領域及び前記制御データの格納領域を含むRAM記憶部と、
前記CPUの起動プログラムを格納するブート用記憶部と、
DVDフォーマット規格に従って前記制御データを誤り訂正する誤り訂正部とを備え、
前記制御データは、DVDフォーマット規格の複数のデータセクタから構成され、
前記ROM記憶手段には、前記複数のデータセクタから構成される制御データに、DVDフォーマット規格に対応した誤り訂正符号が付加された誤り訂正ブロックが格納され、
前記誤り訂正部は、前記誤り訂正ブロックに付加された誤り訂正符号を用いて、前記RAM記憶部上で前記制御データを誤り訂正する、
ことを特徴とする光ディスクドライブ装置。
In an optical disk drive that reads data from an optical disk,
A CPU for controlling the optical disk drive device;
A ROM storage unit for storing control data used by the CPU to control the optical disk drive device;
A RAM storage unit including a work area of the CPU and a storage area of the control data;
A boot storage unit for storing a startup program of the CPU;
An error correction unit for correcting the control data according to a DVD format standard,
The control data is composed of a plurality of data sectors of the DVD format standard,
The ROM storage means stores an error correction block in which an error correction code corresponding to the DVD format standard is added to control data composed of the plurality of data sectors,
The error correction unit uses the error correction code added to the error correction block to correct the control data on the RAM storage unit.
An optical disk drive device characterized by that.
請求項1に記載の光ディスクドライブ装置において、
前記ROM記憶部には、前記誤り訂正符号として前記制御データのインナーパリティが格納され、
前記誤り訂正部は、前記インナーパリティを用いて前記制御データを誤り訂正する、
ことを特徴とする光ディスクドライブ装置。
The optical disk drive apparatus according to claim 1,
The ROM storage unit stores an inner parity of the control data as the error correction code,
The error correction unit performs error correction on the control data using the inner parity;
An optical disk drive device characterized by that.
請求項1に記載の光ディスクドライブ装置において、
前記ROM記憶部には、前記誤り訂正符号として前記制御データのアウターパリティが格納され、
前記誤り訂正部は、前記アウターパリティを用いて前記制御データを誤り訂正する、
ことを特徴とする光ディスクドライブ装置。
The optical disk drive apparatus according to claim 1,
The ROM storage unit stores an outer parity of the control data as the error correction code,
The error correction unit corrects the control data using the outer parity;
An optical disk drive device characterized by that.
請求項1に記載の光ディスクドライブ装置において、
前記ROM記憶部には、前記誤り訂正符号として、前記制御データのインナーパリティ、アウターパリティ、及びインナーパリティのアウターパリティが格納され、
前記誤り訂正部は、前記インナーパリティ、アウターパリティ、及びインナーパリティのアウターパリティを用いて、前記制御データを誤り訂正する、
ことを特徴とする光ディスクドライブ装置。
The optical disk drive apparatus according to claim 1,
The ROM storage unit stores, as the error correction code, inner parity of the control data, outer parity, and outer parity of inner parity,
The error correction unit uses the inner parity, outer parity, and inner parity outer parity to correct the control data,
An optical disk drive device characterized by that.
請求項3または請求項4に記載の光ディスクドライブ装置において、
前記誤り訂正ブロックは、DVDフォーマット規格に対応するインターリーブ処理が施されたものであり、
前記CPUは、DVDフォーマット規格に従って前記誤り訂正ブロックをデインターリーブ処理し、
前記誤り訂正部は、前記インナーパリティ、アウターパリティのいずれか一方、または、前記インナーパリティ、アウターパリティ、及びインナーパリティのアウターパリティを用いて、デインターリーブ処理された前記誤り訂正ブロックの制御データを誤り訂正する、
ことを特徴とする光ディスクドライブ装置。
In the optical disk drive device according to claim 3 or 4,
The error correction block is subjected to interleaving processing corresponding to the DVD format standard,
The CPU deinterleaves the error correction block according to a DVD format standard,
The error correction unit uses the inner parity, the outer parity, or the outer parity of the inner parity, the outer parity, and the inner parity to error the control data of the error correction block that has been deinterleaved. correct,
An optical disk drive device characterized by that.
光ディスクにデータを書き込む光ディスクドライブ装置において、
前記光ディスクドライブ装置を制御するCPUと、
前記CPUが光ディスクドライブ装置を制御するために用いる制御データを格納するROM記憶部と、
前記CPUの作業領域及び前記制御データの格納領域を含むRAM記憶部と、
前記CPUの起動プログラムを格納するブート用記憶部と、
DVDフォーマット規格に従って前記制御データを誤り訂正符号化する誤り訂正符号化部とを備え、
前記誤り訂正符号化部は、前記RAM記憶部上で、DVDフォーマット規格に従って前記制御データの誤り訂正符号を生成し、DVDフォーマット規格の複数のデータセクタから構成される前記制御データに前記誤り訂正符号を付加した誤り訂正ブロックを生成し、
前記ROM記憶手段は、前記誤り訂正ブロックを格納する、
ことを特徴とする光ディスクドライブ装置。
In an optical disk drive device for writing data to an optical disk,
A CPU for controlling the optical disk drive device;
A ROM storage unit for storing control data used by the CPU to control the optical disk drive device;
A RAM storage unit including a work area of the CPU and a storage area of the control data;
A boot storage unit for storing a startup program of the CPU;
An error correction encoding unit that performs error correction encoding of the control data in accordance with the DVD format standard,
The error correction encoding unit generates an error correction code of the control data according to a DVD format standard on the RAM storage unit, and adds the error correction code to the control data composed of a plurality of data sectors of the DVD format standard. Generate an error correction block with
The ROM storage means stores the error correction block;
An optical disk drive device characterized by that.
請求項6記載の光ディスクドライブ装置において、
前記誤り訂正符号化部は、
前記誤り訂正符号として前記制御データのインナーパリティを生成し、前記複数のデータセクタから構成される制御データに前記インナーパリティを付加して前記誤り訂正ブロックを生成する、
ことを特徴とする光ディスクドライブ装置。
The optical disk drive apparatus according to claim 6, wherein
The error correction encoder is
Generating an inner parity of the control data as the error correction code, and generating the error correction block by adding the inner parity to control data composed of the plurality of data sectors;
An optical disk drive device characterized by that.
請求項6記載の光ディスクドライブ装置において、
前記誤り訂正符号化部は、
前記誤り訂正符号として前記制御データのアウターパリティを生成し、前記複数のデータセクタから構成される制御データに前記アウターパリティを付加して前記誤り訂正ブロックを生成する、
ことを特徴とする光ディスクドライブ装置。
The optical disk drive apparatus according to claim 6, wherein
The error correction encoder is
Generating an outer parity of the control data as the error correction code, and generating the error correction block by adding the outer parity to control data composed of the plurality of data sectors;
An optical disk drive device characterized by that.
請求項6記載の光ディスクドライブ装置において、
前記誤り訂正符号化部は、
前記誤り訂正符号として前記制御データのインナーパリティ、アウターパリティ、及びインナーパリティのアウターパリティを生成し、前記複数のデータセクタから構成される制御データに前記インナーパリティ、アウターパリティ、及びインナーパリティのアウターパリティを付加して前記誤り訂正ブロックを生成する、
ことを特徴とする光ディスクドライブ装置。
The optical disk drive apparatus according to claim 6, wherein
The error correction encoder is
Inner parity, outer parity, and outer parity of inner parity are generated as the error correction code, and the inner parity, outer parity, and outer parity of inner parity are added to the control data composed of the plurality of data sectors. To generate the error correction block,
An optical disk drive device characterized by that.
請求項6に記載の光ディスクドライブ装置において、
前記誤り訂正符号化部は、
前記誤り訂正符号として前記制御データのアウターパリティ、または前記制御データのインナーパリティ、アウターパリティ、及びインナーパリティのアウターパリティを生成して、前記複数のデータセクタから構成される制御データに付加して前記誤り訂正ブロックを生成し、
前記CPUは、DVDフォーマット規格に従って前記誤り訂正ブロックをインターリーブ処理する、
ことを特徴とする光ディスクドライブ装置。
The optical disk drive device according to claim 6, wherein
The error correction encoder is
The outer parity of the control data or the inner parity of the control data, the outer parity, and the outer parity of the inner parity are generated as the error correction code and added to the control data composed of the plurality of data sectors. Generate an error correction block,
The CPU interleaves the error correction block according to a DVD format standard;
An optical disk drive device characterized by that.
光ディスクからデータを読み出す、または光ディスクにデータを書き込む光ディスクドライブ装置において、
前記光ディスクドライブ装置を制御するCPUと、
前記CPUが光ディスクドライブ装置を制御するために用いる制御データを格納するROM記憶部と、
前記CPUの作業領域及び前記制御データの格納領域を含むRAM記憶部と、
前記CPUの起動プログラムを格納するブート用記憶部と、
DVDフォーマット規格に従って前記制御データを誤り訂正する誤り訂正処理と、DVDフォーマット規格に従って前記制御データを誤り訂正符号化する誤り訂正符号化処理とを行う誤り訂正・誤り訂正符号化部とを備え、
前記制御データは、DVDフォーマット規格の複数のデータセクタから構成され、
前記ROM記憶手段は、前記複数のデータセクタから構成される制御データに、DVDフォーマット規格に対応した誤り訂正符号が付加された誤り訂正ブロックを格納するものであり、
前記誤り訂正・誤り訂正符号化部は、誤り訂正処理時には、前記誤り訂正ブロックに付加された誤り訂正符号を用いて、前記RAM記憶部上で前記制御データを誤り訂正し、前記誤り訂正符号化処理時には、前記RAM記憶部上で、DVDフォーマット規格に従って前記制御データの誤り訂正符号を生成し、DVDフォーマット規格の複数のデータセクタから構成される前記制御データに前記誤り訂正符号を付加した誤り訂正ブロックを生成する、
ことを特徴とする光ディスクドライブ装置。
In an optical disk drive device that reads data from an optical disk or writes data to an optical disk,
A CPU for controlling the optical disk drive device;
A ROM storage unit for storing control data used by the CPU to control the optical disk drive device;
A RAM storage unit including a work area of the CPU and a storage area of the control data;
A boot storage unit for storing a startup program of the CPU;
An error correction / error correction encoding unit that performs error correction processing for error correction of the control data in accordance with the DVD format standard, and error correction encoding processing for error correction encoding of the control data in accordance with the DVD format standard;
The control data is composed of a plurality of data sectors of the DVD format standard,
The ROM storage means stores an error correction block in which an error correction code corresponding to the DVD format standard is added to the control data composed of the plurality of data sectors,
The error correction / error correction encoding unit corrects the control data on the RAM storage unit using the error correction code added to the error correction block during error correction processing, and performs the error correction encoding. During processing, an error correction code for the control data is generated on the RAM storage unit according to the DVD format standard, and the error correction code is added to the control data composed of a plurality of data sectors of the DVD format standard. Generate blocks,
An optical disk drive device characterized by that.
請求項1、請求項6、請求項11のいずれかに記載の光ディスクドライブ装置において、
前記制御データは、前記データセクタにおけるDVDフォーマット規格で定義されるデータ領域と管理情報領域とに格納される、
ことを特徴とする光ディスクドライブ装置。
In the optical disk drive device according to any one of claims 1, 6, and 11,
The control data is stored in a data area and a management information area defined in the DVD format standard in the data sector.
An optical disk drive device characterized by that.
請求項1、請求項6、請求項11のいずれかに記載の光ディスクドライブ装置において、
前記ROM記憶部は、NAND型フラッシュメモリである、
ことを特徴とする光ディスクドライブ装置。
In the optical disk drive device according to any one of claims 1, 6, and 11,
The ROM storage unit is a NAND flash memory.
An optical disk drive device characterized by that.
請求項13記載の光ディスクドライブ装置において、
前記制御データは、前記NAND型フラッシュメモリのデータ領域及び冗長領域を含む全領域に格納される、
ことを特徴とする光ディスクドライブ装置。
The optical disk drive apparatus according to claim 13, wherein
The control data is stored in all areas including a data area and a redundant area of the NAND flash memory.
An optical disk drive device characterized by that.
JP2006325751A 2006-12-01 2006-12-01 Optical disk device Pending JP2008140474A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006325751A JP2008140474A (en) 2006-12-01 2006-12-01 Optical disk device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006325751A JP2008140474A (en) 2006-12-01 2006-12-01 Optical disk device

Publications (1)

Publication Number Publication Date
JP2008140474A true JP2008140474A (en) 2008-06-19

Family

ID=39601767

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006325751A Pending JP2008140474A (en) 2006-12-01 2006-12-01 Optical disk device

Country Status (1)

Country Link
JP (1) JP2008140474A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011010719A1 (en) 2009-07-23 2011-01-27 宇部興産株式会社 Aqueous polyurethane resin dispersion and method for producing the same

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011010719A1 (en) 2009-07-23 2011-01-27 宇部興産株式会社 Aqueous polyurethane resin dispersion and method for producing the same
KR20120051029A (en) 2009-07-23 2012-05-21 우베 고산 가부시키가이샤 Aqueous polyurethane resin dispersion and method for producing the same

Similar Documents

Publication Publication Date Title
US8065583B2 (en) Data storage with an outer block code and a stream-based inner code
KR101417561B1 (en) Non-regular parity distribution detection via metadata tag
US7188295B2 (en) Method and apparatus for embedding an additional layer of error correction into an error correcting code
US20160070507A1 (en) Memory system and method of controlling memory device
US8448045B2 (en) Outer code error correction
US20140115416A1 (en) Non-volatile memory error correction
JP2008300020A (en) Playback device
JP2011060217A (en) Data storage apparatus, and data writing/reading method
US9230684B2 (en) Memory controller, storage device, and memory control method
US10514980B2 (en) Encoding method and memory storage apparatus using the same
US20150143187A1 (en) Implementing enhanced performance with read before write to phase change memory
JP2010079856A (en) Storage device and memory control method
JP6975047B2 (en) Write-once memory code error correction code management
US8856616B1 (en) Two dimensional encoding for non-volatile memory blocks
CN101308706B (en) Data writing method and error correction encoding/decoding method suitable for flash memory
US9928137B2 (en) Data storage device and error correction method
CN107562563B (en) Nand Flash control method and device
CN102591737B (en) Data writing and reading method, memory controller and memory storage device
JP4357305B2 (en) External storage device
CN101308702A (en) Data structure suitable for flash memory and data writing method and data reading method thereof
JP6524126B2 (en) Memory control device and memory control method
KR20130077401A (en) Semiconductor memory device and operating method thereof
JP2008140474A (en) Optical disk device
KR101460240B1 (en) Memory-based storage and its block management techniques
JP2005011386A (en) Error correction apparatus