JP2005085039A - Recording and reproducing device, firmware rewriting method for recording and reproducing device, and program and computer-readable recording medium - Google Patents
Recording and reproducing device, firmware rewriting method for recording and reproducing device, and program and computer-readable recording medium Download PDFInfo
- Publication number
- JP2005085039A JP2005085039A JP2003317366A JP2003317366A JP2005085039A JP 2005085039 A JP2005085039 A JP 2005085039A JP 2003317366 A JP2003317366 A JP 2003317366A JP 2003317366 A JP2003317366 A JP 2003317366A JP 2005085039 A JP2005085039 A JP 2005085039A
- Authority
- JP
- Japan
- Prior art keywords
- program
- memory
- rewriting
- firmware
- stored
- 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
Links
Images
Abstract
Description
この発明は、記録媒体に対して情報を記録再生するディスク装置等の記録再生装置と記録再生装置のファームウェア書き換え方法とプログラムとコンピュータ読み取り可能な記録媒体とに関する。 The present invention relates to a recording / reproducing apparatus such as a disk apparatus for recording / reproducing information on / from a recording medium, a firmware rewriting method of the recording / reproducing apparatus, a program, and a computer-readable recording medium.
記録再生装置の一例であるディスク装置にはCPUが内蔵されており、そのCPUが実行するプログラムをファームウェア(ファームウェアプログラム)と言う。
最近のディスク装置はファームウェアの規模が大きく製品発売後も改善ファームウェアがリリースされることが珍しくない。これは不具合の修正であったり性能の向上であったり新規仕様の追加であったりする。そのため、多くのディスク装置はファームウェアを更新(アップデート)する手段を用意している。
A disk device, which is an example of a recording / reproducing device, has a built-in CPU, and a program executed by the CPU is called firmware (firmware program).
Recent disk devices have a large firmware scale, and it is not uncommon for improved firmware to be released after the product is released. This may be a bug fix, performance improvement, or the addition of a new specification. Therefore, many disk devices provide means for updating (updating) firmware.
通常、ディスク装置におけるファームウェアは不揮発性メモリに記憶するが、以前はその不揮発性メモリにチップの製造段階でプログラムを入れるマスクロムや、一回だけプログラムを書き込めるワンタイムロムや、紫外線消去によって複数回プログラムを書き込めるEPロムなどを使用していたので、ディスク装置内のファームウェアを簡単に書き換えることができなかった。
しかし、近年フラッシュロムといわれる電気的に消去可能な不揮発性メモリが提供されたことにより、プログラムメモリを記憶する用途だけではなく、デジタルカメラやMP3等の音楽再生装置のデータ記憶用として市場が急拡大し、半導体プロセスの微細化も手伝ってとても安価になったため、そのフラッシュロムを使用することでファームウェアの書き換えが可能になった。
Normally, the firmware in a disk unit is stored in a non-volatile memory. Previously, it was possible to store a program in the non-volatile memory at a chip manufacturing stage, a one-time ROM in which a program can be written only once, or a program multiple times by UV erasure. Since the EP ROM that can write is used, the firmware in the disk device could not be rewritten easily.
However, due to the recent provision of electrically erasable non-volatile memory called flash ROM, the market has been rapidly used not only for storing program memory but also for storing data in music playback devices such as digital cameras and MP3s. Since it was expanded and helped with miniaturization of the semiconductor process, it became very cheap, so it was possible to rewrite the firmware by using the flash ROM.
フラッシュロムはデータを書き込んでいる最中に他のデータを読み出せるものと読み出せないものがある。また、全体を一括消去しなければならないもの、数分割した領域毎に消去するもの、消去せず小さな単位でオーバーライトするものなどいろいろある。
例えば、ファームウェアを記憶するプログラムメモリに、データを書き込んでいる最中に他のデータを読み出せないフラッシュロムまたは全体を一括消去しなければならないフラッシュロムを用いた場合、ファームウェア書き換えを行うための書き換えプログラムをフラッシュロム以外のメモリ上で実行する必要がある。
また、書き換えプログラムをマスクロムに持つこともできるが、メモリの種類が増えコストアップになる。
Some flash ROMs can read other data while data is being written, while others cannot. In addition, there are various types such as those that must be erased collectively, those that are erased in several divided areas, and those that are overwritten in small units without being erased.
For example, if you use Flash ROM that cannot read other data while writing data, or Flash ROM that must erase the entire data in the program memory that stores the firmware, rewriting to perform firmware rewriting The program must be executed on a memory other than Flash ROM.
The rewrite program can also be stored in mass chrome, but the type of memory increases and the cost increases.
通常、CPUはスタックや変数を格納するためのワークメモリを持っている。そのワークメモリは揮発性のメモリで電源を切ると内容が消えてしまうが、ここにプログラムデータを配置すればプログラムメモリと同様にプログラムを実行できる。ただし、ワークメモリの容量は小さいことが多い。
しかし、フラッシュロム以外のメモリ上の書き換えプログラムを、フラッシュロムを消去したりワードデータを書き込む部分だけに限定すればそのプログラムサイズを小さくでき、容量の小さなワークメモリでも実行できる。
Normally, the CPU has a work memory for storing a stack and variables. The work memory is a volatile memory that loses its contents when the power is turned off. If program data is placed here, the program can be executed in the same way as the program memory. However, the capacity of the work memory is often small.
However, if the rewriting program on the memory other than the flash ROM is limited to only the portion where the flash ROM is erased or the word data is written, the program size can be reduced and the program can be executed even with a small work memory.
そこで従来、ファームウェアの実行時にスタックや変数のメモリ領域として使用していたワークメモリ領域にプログラムメモリからファームウェアの書き換えプログラムをコピーして実行するファームウェア書き換え方法があった(例えば、特許文献1,特許文献2参照)。
しかしながら、上述した従来のファームウェア書き換え方法では、書き換えプログラムがワークメモリへ入り切らなくなった場合に実行できなくなるという問題があった。
近年、プログラムの書き換え用途はユーザによるファームウェアのアップデートでありこれはホストコンピュータに接続された状態で行われる。
工場で専用機を使って行う場合はインタフェースを簡素化できるが、ホストコンピュータのオペレーティングシステムへの応答処理を組み込まなければならない現状では、書き換えプログラムの規模はとても大きなものになっている。
However, the conventional firmware rewriting method described above has a problem in that it cannot be executed when the rewriting program cannot enter the work memory.
In recent years, a program rewrite is a firmware update by a user, which is performed while connected to a host computer.
When using a dedicated machine in the factory, the interface can be simplified, but the scale of the rewriting program is very large at present when the response processing to the operating system of the host computer must be incorporated.
つまり、書き換えプログラムの規模の増大に伴ってスタックや変数に使用するメモリ量が増え、ワークメモリ上に書き換えプログラムを実行するための領域が無くなってしまったのである。
この発明は上記の点に鑑みてなされたものであり、ファームウェアを書き換える処理を行う書き換えプログラムを確実に実行できるようにすることを目的とする。
That is, as the size of the rewrite program increases, the amount of memory used for the stack and variables increases, and there is no longer an area for executing the rewrite program on the work memory.
The present invention has been made in view of the above points, and it is an object of the present invention to reliably execute a rewrite program for performing a process of rewriting firmware.
この発明は上記の目的を達成するため、次の(1)〜(4)の記録再生装置を提供する。
(1)記録媒体に対する情報の記録又は再生の制御処理を行うファームウェアプログラムとそのファームウェアプログラムを書き換える書き換えプログラムとを記憶する書き換え可能なプログラムメモリと、上記記録媒体に記録する情報又は記録媒体から再生した情報を一時的に記憶するバッファメモリと、上記プログラムメモリに記憶された書き換えプログラムを上記バッファメモリに移動する手段と、上記バッファメモリに記憶された書き換えプログラムを実行して外部から新しいファームウェアプログラムを受信し、その受信した新しいファームウェアプログラムを上記バッファメモリに記憶し、上記プログラムメモリに記憶されたファームウェアプログラムを消去し、上記バッファメモリに記憶された新しいファームウェアプログラムを上記プログラムメモリに書き込んで上記プログラムメモリに記憶されたファームウェアプログラムを書き換える手段を備えた記録再生装置。
In order to achieve the above object, the present invention provides the following recording / reproducing apparatus (1) to (4).
(1) A rewritable program memory for storing a firmware program for performing control processing for recording or reproducing information on a recording medium and a rewriting program for rewriting the firmware program, and information reproduced from the recording medium or the recording medium A buffer memory for temporarily storing information; means for moving the rewrite program stored in the program memory to the buffer memory; and executing a rewrite program stored in the buffer memory to receive a new firmware program from outside The received new firmware program is stored in the buffer memory, the firmware program stored in the program memory is erased, and the new firmware program stored in the buffer memory is deleted. The recording and reproducing apparatus having a means for rewriting the write in firmware program stored in the program memory in the program memory.
(2)記録媒体に対する情報の記録又は再生の制御処理を行うファームウェアプログラムを記憶する書き換え可能なプログラムメモリと、上記記録媒体に記録する情報又は記録媒体から再生した情報を一時的に記憶するバッファメモリと、外部から上記ファームウェアプログラムを書き換える書き換えプログラムを受信し、その受信した書き換えプログラムを上記バッファメモリに記憶する手段と、上記バッファメモリに記憶された書き換えプログラムを実行して外部から新しいファームウェアプログラムを受信し、その受信した新しいファームウェアプログラムを上記バッファメモリに記憶し、上記プログラムメモリに記憶されたファームウェアプログラムを消去し、上記バッファメモリに記憶された新しいファームウェアプログラムを上記プログラムメモリに書き込んで上記プログラムメモリに記憶されたファームウェアプログラムを書き換える手段を備えた記録再生装置。 (2) A rewritable program memory for storing a firmware program for performing control processing for recording or reproducing information on a recording medium, and a buffer memory for temporarily storing information recorded on the recording medium or information reproduced from the recording medium Receiving a rewrite program for rewriting the firmware program from outside, storing the received rewrite program in the buffer memory, and executing the rewrite program stored in the buffer memory to receive a new firmware program from the outside The received new firmware program is stored in the buffer memory, the firmware program stored in the program memory is erased, and the new firmware program stored in the buffer memory is updated. It is written in the program memory recording and reproducing apparatus having a means for rewriting the firmware program stored in the program memory.
(3)記録媒体に対する情報の記録又は再生の制御処理を行うファームウェアプログラムとそのファームウェアプログラムを書き換える書き換えプログラムとを記憶する書き換え可能なプログラムメモリと、上記記録媒体に記録する情報又は記録媒体から再生した情報を一時的に記憶するバッファメモリと、各種の処理の実行時のスタックと変数とを記憶するワークメモリと、上記プログラムメモリに記憶された書き換えプログラムを上記ワークメモリに移動する手段と、上記ワークメモリに記憶された書き換えプログラムを実行して外部から新しいファームウェアプログラムを受信し、その受信した新しいファームウェアプログラムを上記バッファメモリに記憶し、上記プログラムメモリに記憶されたファームウェアプログラムを消去し、上記バッファメモリに記憶された新しいファームウェアプログラムを上記プログラムメモリに書き込んで上記プログラムメモリに記憶されたファームウェアプログラムを書き換える手段を備えた記録再生装置。 (3) A rewritable program memory for storing a firmware program for performing control processing for recording or reproducing information on the recording medium and a rewriting program for rewriting the firmware program, and information reproduced from the recording medium or the recording medium A buffer memory for temporarily storing information; a work memory for storing stacks and variables at the time of execution of various processes; means for moving a rewrite program stored in the program memory to the work memory; Execute the rewriting program stored in the memory to receive a new firmware program from the outside, store the received new firmware program in the buffer memory, erase the firmware program stored in the program memory, Serial recording reproducing apparatus of the new firmware program stored in the buffer memory comprises means for rewriting the firmware program stored in the program memory is written into the program memory.
(4)上記(1)乃至(3)のいずれかの記録再生装置において、上記書き換えプログラムが正常か否かを判断する手段と、その手段によって異常と判断されたときに外部から代わりの書き換えプログラムを受信して実行させる手段を設けた記録再生装置。 (4) In the recording / reproducing apparatus according to any one of the above (1) to (3), means for determining whether or not the rewriting program is normal, and an external rewriting program when the means determines that the rewriting program is abnormal Recording / reproducing apparatus provided with a means for receiving and executing.
また、次の(5)〜(8)の記録再生装置のファームウェア書き換え方法も提供する。
(5)記録媒体に対する情報の記録又は再生の制御処理を行うファームウェアプログラムとそのファームウェアプログラムを書き換える書き換えプログラムとを記憶する書き換え可能なプログラムメモリと、上記記録媒体に記録する情報又は記録媒体から再生した情報を一時的に記憶するバッファメモリを備えた記録再生装置のファームウェア書き換え方法であって、上記プログラムメモリに記憶された書き換えプログラムを上記バッファメモリに移動する工程と、上記バッファメモリに記憶された書き換えプログラムを実行して外部から新しいファームウェアプログラムを受信し、その受信した新しいファームウェアプログラムを上記バッファメモリに記憶し、上記プログラムメモリに記憶されたファームウェアプログラムを消去し、上記バッファメモリに記憶された新しいファームウェアプログラムを上記プログラムメモリに書き込んで上記プログラムメモリに記憶されたファームウェアプログラムを書き換える工程とからなる記録再生装置のファームウェア書き換え方法。
Also provided is a firmware rewriting method for the following recording / reproducing apparatuses (5) to (8).
(5) A rewritable program memory for storing a firmware program for performing control processing for recording or reproducing information on a recording medium and a rewriting program for rewriting the firmware program, and information reproduced from the recording medium or reproduced from the recording medium A method for rewriting a firmware of a recording / reproducing apparatus having a buffer memory for temporarily storing information, the step of moving a rewriting program stored in the program memory to the buffer memory, and a rewriting stored in the buffer memory Execute the program to receive a new firmware program from the outside, store the received new firmware program in the buffer memory, erase the firmware program stored in the program memory, Recording reproducing apparatus firmware rewriting method of the new firmware program stored and a step for rewriting the firmware program stored in the program memory is written in the program memory in Ffamemori.
(6)記録媒体に対する情報の記録又は再生の制御処理を行うファームウェアプログラムを記憶する書き換え可能なプログラムメモリと、上記記録媒体に記録する情報又は記録媒体から再生した情報を一時的に記憶するバッファメモリを備えた記録再生装置のファームウェア書き換え方法であって、外部から上記ファームウェアプログラムを書き換える書き換えプログラムを受信し、その受信した書き換えプログラムを上記バッファメモリに記憶する工程と、上記バッファメモリに記憶された書き換えプログラムを実行して外部から新しいファームウェアプログラムを受信し、その受信した新しいファームウェアプログラムを上記バッファメモリに記憶し、上記プログラムメモリに記憶されたファームウェアプログラムを消去し、上記バッファメモリに記憶された新しいファームウェアプログラムを上記プログラムメモリに書き込んで上記プログラムメモリに記憶されたファームウェアプログラムを書き換える工程とからなる記録再生装置のファームウェア書き換え方法。 (6) A rewritable program memory for storing a firmware program for performing control processing for recording or reproducing information on the recording medium, and a buffer memory for temporarily storing information recorded on the recording medium or information reproduced from the recording medium A method for rewriting a firmware of a recording / reproducing apparatus comprising: a step of receiving a rewrite program for rewriting the firmware program from the outside and storing the received rewrite program in the buffer memory; and a rewrite stored in the buffer memory The program is executed to receive a new firmware program from the outside, the received new firmware program is stored in the buffer memory, the firmware program stored in the program memory is erased, and the buffer is stored. Firmware Rewriting of the recording and reproducing apparatus comprising the new firmware program stored in the memory and a step of rewriting the firmware program stored in the program memory is written into the program memory.
(7)記録媒体に対する情報の記録又は再生の制御処理を行うファームウェアプログラムとそのファームウェアプログラムを書き換える書き換えプログラムとを記憶する書き換え可能なプログラムメモリと、上記記録媒体に記録する情報又は記録媒体から再生した情報を一時的に記憶するバッファメモリと、各種の処理の実行時のスタックと変数とを記憶するワークメモリを備えた記録再生装置のファームウェア書き換え方法であって、上記プログラムメモリに記憶された書き換えプログラムを上記ワークメモリに移動する工程と、上記ワークメモリに記憶された書き換えプログラムを実行して外部から新しいファームウェアプログラムを受信し、その受信した新しいファームウェアプログラムを上記バッファメモリに記憶し、上記プログラムメモリに記憶されたファームウェアプログラムを消去し、上記バッファメモリに記憶された新しいファームウェアプログラムを上記プログラムメモリに書き込んで上記プログラムメモリに記憶されたファームウェアプログラムを書き換える工程とからなる記録再生装置のファームウェア書き換え方法。 (7) A rewritable program memory for storing a firmware program for performing control processing for recording or reproducing information on the recording medium and a rewriting program for rewriting the firmware program, and information reproduced from the recording medium or the recording medium A method for rewriting a firmware of a recording / reproducing apparatus having a buffer memory for temporarily storing information and a work memory for storing a stack and variables at the time of executing various processes, the rewriting program stored in the program memory Moving the program to the work memory, executing a rewrite program stored in the work memory, receiving a new firmware program from the outside, storing the received new firmware program in the buffer memory, and storing the program A firmware rewriting method for a recording / reproducing apparatus, comprising: erasing a firmware program stored in the memory, writing a new firmware program stored in the buffer memory into the program memory, and rewriting the firmware program stored in the program memory .
(8)上記(5)乃至(7)のいずれかの記録再生装置のファームウェア書き換え方法において、上記書き換えプログラムが正常か否かを判断する工程と、その工程によって異常と判断されたときに外部から代わりの書き換えプログラムを受信して実行させる工程を設けた記録再生装置のファームウェア書き換え方法。 (8) In the firmware rewriting method of the recording / reproducing apparatus according to any one of (5) to (7), a step of determining whether or not the rewriting program is normal, and an external process when the step is determined to be abnormal A firmware rewriting method for a recording / reproducing apparatus, comprising a step of receiving and executing an alternative rewriting program.
さらに、次の(9)〜(12)のプログラムも提供する。
(9)コンピュータに、プログラムメモリに記憶された記録媒体に対する情報の記録又は再生の制御処理を行うファームウェアプログラムを書き換える書き換えプログラムを上記記録媒体に記録する情報又は記録媒体から再生した情報を一時的に記憶するバッファメモリに移動する手順と、上記バッファメモリに記憶された書き換えプログラムを実行して外部から新しいファームウェアプログラムを受信し、その受信した新しいファームウェアプログラムを上記バッファメモリに記憶し、上記プログラムメモリに記憶されたファームウェアプログラムを消去し、上記バッファメモリに記憶された新しいファームウェアプログラムを上記プログラムメモリに書き込んで上記プログラムメモリに記憶されたファームウェアプログラムを書き換える手順を実行させるためのプログラム。
Furthermore, the following programs (9) to (12) are also provided.
(9) A rewriting program for rewriting a firmware program for performing control processing for recording or reproducing information on the recording medium stored in the program memory is temporarily stored in the computer, or information recorded on the recording medium or information reproduced from the recording medium The procedure for moving to the buffer memory to be stored and the rewrite program stored in the buffer memory are executed to receive a new firmware program from the outside, and the received new firmware program is stored in the buffer memory and stored in the program memory. Erase the stored firmware program and rewrite the firmware program stored in the program memory by writing the new firmware program stored in the buffer memory into the program memory. Program for executing the order.
(10)コンピュータに、外部から記録媒体に対する情報の記録又は再生の制御処理を行うファームウェアプログラムを書き換える書き換えプログラムを受信し、その受信した書き換えプログラムを上記記録媒体に記録する情報又は記録媒体から再生した情報を一時的に記憶するバッファメモリに記憶する手順と、上記バッファメモリに記憶された書き換えプログラムを実行して外部から新しいファームウェアプログラムを受信し、その受信した新しいファームウェアプログラムを上記バッファメモリに記憶し、上記プログラムメモリに記憶されたファームウェアプログラムを消去し、上記バッファメモリに記憶された新しいファームウェアプログラムを上記プログラムメモリに書き込んで上記プログラムメモリに記憶されたファームウェアプログラムを書き換える手順を実行させるためのプログラム。 (10) A rewrite program for rewriting a firmware program for performing control processing for recording or reproducing information on the recording medium is received from a computer, and the received rewriting program is reproduced from the information recorded on the recording medium or the recording medium A procedure for storing information in a buffer memory for temporarily storing information, a rewriting program stored in the buffer memory is executed, a new firmware program is received from the outside, and the received new firmware program is stored in the buffer memory. Firmware stored in the program memory by erasing the firmware program stored in the program memory and writing a new firmware program stored in the buffer memory to the program memory Program for executing a procedure for rewriting the program.
(11)コンピュータに、プログラムメモリに記憶された記録媒体に対する情報の記録又は再生の制御処理を行うファームウェアプログラムを書き換える書き換えプログラムを各種の処理の実行時のスタックと変数とを記憶するワークメモリに移動する手順と、上記ワークメモリに記憶された書き換えプログラムを実行して外部から新しいファームウェアプログラムを受信し、その受信した新しいファームウェアプログラムを上記記録媒体に記録する情報又は記録媒体から再生した情報を一時的に記憶するバッファメモリに記憶し、上記プログラムメモリに記憶されたファームウェアプログラムを消去し、上記バッファメモリに記憶された新しいファームウェアプログラムを上記プログラムメモリに書き込んで上記プログラムメモリに記憶されたファームウェアプログラムを書き換える手順を実行させるためのプログラム。 (11) Move a rewrite program for rewriting a firmware program for performing control processing for recording or reproducing information to / from a recording medium stored in the program memory to a work memory for storing a stack and variables at the time of executing various processes. To execute a rewriting program stored in the work memory, receive a new firmware program from the outside, temporarily record the received new firmware program on the recording medium or information reproduced from the recording medium Stored in the buffer memory, erase the firmware program stored in the program memory, write a new firmware program stored in the buffer memory to the program memory, and store it in the program memory. Program for executing a procedure for rewriting the firmware program.
(12)上記(9)乃至(11)のいずれかのプログラムにおいて、上記書き換えプログラムが正常か否かを判断する手順と、その手順によって異常と判断されたときに外部から代わりの書き換えプログラムを受信して実行させる手順を実行させるためのプログラム。
さらにまた、次の(13)のコンピュータ読み取り可能な記録媒体も提供する。
(13)上記(5)乃至(11)のいずれかのプログラムを記録したコンピュータ読み取り可能な記録媒体。
(12) In any one of the programs (9) to (11), a procedure for determining whether or not the rewriting program is normal and a replacement rewriting program received from the outside when it is determined that the procedure is abnormal A program to execute the procedure to be executed.
Furthermore, the following (13) computer-readable recording medium is also provided.
(13) A computer-readable recording medium recording the program according to any one of (5) to (11).
この発明による記録再生装置と記録再生装置のファームウェア書き換え方法とプログラムとコンピュータ読み取り可能な記録媒体は、ファームウェアを書き換える処理を行う書き換えプログラムを確実に実行することができる。 The recording / reproducing apparatus, the firmware rewriting method of the recording / reproducing apparatus, the program, and the computer-readable recording medium according to the present invention can reliably execute the rewriting program for performing the process of rewriting the firmware.
以下、この発明を実施するための最良の形態を図面に基づいて具体的に説明する。
図1は、この発明の一実施形態のドライブ装置の構成を示すブロック図である。
このドライブ装置は、DVDドライブ装置等の記録再生装置であり、スピンドルモータ1によって光ディスク19を回転駆動して光ディスク19に対する情報の記録及び再生を行う。スピンドルモータ1は、モータドライバ4とサーボ処理部8によって線速度又は角速度が一定になるように制御される。その線速度又は角速度は段階的に変更が可能である。
Hereinafter, the best mode for carrying out the present invention will be specifically described with reference to the drawings.
FIG. 1 is a block diagram showing a configuration of a drive apparatus according to an embodiment of the present invention.
This drive apparatus is a recording / reproducing apparatus such as a DVD drive apparatus, and performs recording and reproduction of information with respect to the
光ピックアップ2は、公知なので図示を省略した半導体レーザ,光学系,フォーカスアクチュエータ,トラックアクチュエータ,受光素子及びポジションセンサを内蔵したものであり、レーザ光を光ディスク19に照射する。また、光ピックアップ2は同じく図示を省略したシークモータによって移動可能である。
上記フォーカスアクチュエータ,トラックアクチュエータ、シークモータは、受光素子,ポジションセンサから得られた信号に基づいてモータドライバ4とサーボ処理部8によってレーザ光のスポットが光ディスク19上の目的の場所(書込位置又は読み出し位置)に位置するように制御される。
The
The focus actuator, the track actuator, and the seek motor are configured such that the laser driver spot and the
光ディスク19に記録された情報を再生(読み出し:リード)する場合、光ピックアップ2で得られた再生信号はリードアンプ5で増幅されて2値化された後、CDデコーダ6に入力されてデインターリーブとエラー訂正の処理を受ける。続いてこのデータはCD−ROMデコーダ・CD−ROMエンコーダ・サブコードコントローラ10のCD−ROMデコーダに入力されてさらにデータの信頼性を高めるためにエラー訂正の処理を受ける。
その後、そのデータはバッファマネージャ14によって一旦バッファメモリ15に蓄えられ、セクタデータとして揃ったところでATAPI又はSCSIインタフェース等のホストインタフェース(I/F)16を通してホストへPC(ホストコンピュータ)17へ一気に送られる。
When reproducing (reading: reading) information recorded on the
Thereafter, the data is temporarily stored in the
光ディスク19に情報を記録(書き込み:ライト)する場合、ホストI/F16を通してホストPC17から送られてきたデータはバッファマネージャ14によって一旦バッファメモリ15に蓄えられる。
バッファメモリ15にある程度の量のデータが貯まったところでライトを開始するが、その前にレーザ光のスポットを書き込み開始地点に位置させなければならない。その開始地点はトラックの蛇行によって予め光ディスク19に刻まれているウォブル信号から求められる。ウォブル信号にはATIPと呼ばれる絶対時間情報が含まれており、ATIPデコーダ9によってその絶対時間情報が取り出せる。
また、ATIPデコーダが生成する同期信号はCDエンコーダに入力され正確な位置でのデータの書き出しを可能にしている。
When recording (writing: writing) information on the
Writing starts when a certain amount of data is stored in the
Further, the synchronization signal generated by the ATIP decoder is input to the CD encoder so that data can be written at an accurate position.
バッファメモリ15のデータは、CD−ROMデコーダ・CD−ROMエンコーダ・サブコードコントローラ10のCD−ROMエンコーダやCDエンコーダ7でエラー訂正コードの付加やインターリーブが行われてLDドライバ(レーザコントロール回路)3,光ピックアップ2を介して光ディスク19に記録される。
上記一連の制御処理は、マイクロコンピュータであるシステムコントローラ(CPU)11が行っている。
システムコントローラ11のバス18には、ワークメモリ12,プログラムメモリ13が接続されている。
Data in the
The series of control processes is performed by a system controller (CPU) 11 that is a microcomputer.
A
プログラムメモリ13は、主にシステムコントローラ用プログラムの記憶用であり、記録媒体に対する情報の記録又は再生の制御処理を行うファームウェアプログラムである主のプログラムと、その主のプログラム(ファームウェアプログラム)を書き換える(ファームウェアをアップデートする)書き換えプログラムを記憶し、後述のこの発明に係る処理で書き込み完了フラグも記憶する。
このプログラムメモリ13は書き換え可能な不揮発性メモリであり、例えば、512Kバイトの記憶容量のフラッシュロムである。
The
The
ワークメモリ12は、各種のプログラムの実行時に各種のスタック(スタック情報)や変数を記憶し、後述のこの発明に係る処理で書き換えプログラムも記憶する。このワークメモリ12は揮発性メモリであり、例えば、8Kバイトの記憶容量のスタティックラムである。
バッファメモリ15は、光ディスク19に記録する情報であるライトデータと、光ディスク19から再生した情報であるリードデータを一時的に記憶し、後述のこの発明に係る処理で書き換えプログラム及び主のプログラム(ファームウェアプログラム)も記憶する。このバッファメモリ15は揮発性メモリであり、例えば、2Mバイトの記憶容量のダイナミックラムである。
The
The
システムコントローラ11は、バッファマネージャ14を介してバッファメモリ15をランダムにアクセスすることができ、ヘッダ情報やCD−ROMデコーダ・CD−ROMエンコーダ・サブコードコントローラ10のサブコードコントローラによってサブコード情報を取得したり付加したりすることができる。
そして、このシステムコントローラ11が、この発明に係るファームウェア書き換えのプログラムを実行することにより、この発明に係る記録再生装置のファームウェア書き換え方法の処理を実行する。すなわち、システムコントローラ11がこの発明に係る記録再生装置の各手段の機能を果たす。
この発明に係るファームウェア書き換えのプログラムは、直接プログラムメモリ13に格納するようにしても良いし、上述した光ディスク等のコンピュータ読み取り可能な記録媒体に記録し、その記録媒体を介してプログラムメモリ13にシステムコントローラ11が実行可能にインストールして格納してもよい。
The
The
The firmware rewriting program according to the present invention may be directly stored in the
図2は、図1に示したワークメモリ12,プログラムメモリ13,バッファメモリ15のメモリマップを示す図である。
システムコントローラ11は、バッファメモリ15を第1バッファウインドウ20又は第2バッファウインドウ21に投影される形でアクセス可能であり、それぞれのウィンドウサイズは64Kバイトと4Kバイトである。
システムコントローラ11は、レジスタ設定によって上記第1バッファウインドウ20と第2バッファウインドウ21をバッファメモリ15のどこへでも配置できるため、バッファメモリ全域をランダムにアクセス可能である。
FIG. 2 is a diagram showing a memory map of the
The
Since the
前記バッファメモリ内の情報をランダムにアクセスする手段と、書き換えプログラムを実行して前記プログラムメモリのファームウェアをアップデートする手段と、書き換えプログラムをプログラムメモリからバッファメモリへ移し、そのプログラムを実行することによりファームウェアのアップデートを行なうことを特徴としたディスク装置。 Means for randomly accessing information in the buffer memory; means for executing a rewrite program to update the firmware of the program memory; and transferring the rewrite program from the program memory to the buffer memory and executing the program to update the firmware. A disk device characterized by performing update.
次に、この実施形態のディスク装置における第1のファームウェア書き換え処理について説明する。
図3は、図1に示したディスク装置における第1のファームウェア書き換え処理の説明図である。
まず、プログラムメモリ13には、書き換えプログラム22と主のプログラム23が記憶されている。
通常、システムコントローラ11は、プログラムメモリ13の主のプログラム23を実行して光ディスク19のリードライトを行っている。
Next, the first firmware rewriting process in the disk device of this embodiment will be described.
FIG. 3 is an explanatory diagram of the first firmware rewriting process in the disk device shown in FIG.
First, the
Normally, the
システムコントローラ11は、ホストPC17からファームウェアのアップデートを行うための書き換え命令を受信すると、第1バッファウインドウ20をバッファメモリ15の先頭に設定してプログラムメモリ13の書き換えプログラム22を読み出してバッファメモリ15へ書き込んで移す。その移される書き換えプログラムは予め移されることを考慮したアドレッシングになっていて書き換えプログラム全体であっても一部であってもよい。また、プログラムメモリ13上で実行できるプログラムのアドレッシングを変換しながら移す方法も考えられる。
When the
システムコントローラ11は、書き換えプログラム22をバッファメモリ15に移動したら、その書き換えプログラム22を実行するが、移動した書き換えプログラムが書き換えプログラムの一部であるなら、その一部の書き換えプログラムを実行してから残りの書き換えプログラムを移動しても良い。
次に、システムコントローラ11は、ホストPC17から新しい主のプログラム24を受信し、バッファメモリ15上の書き換えプログラム22に重ならないようにその新しい主のプログラム24を書き込んで記憶する。
When the
Next, the
その後、システムコントローラ11は、プログラムメモリ13の主のプログラム23が記憶された領域を消去し(主のプログラム23を消去し)、第2バッファウインドウ21を通してバッファメモリ15から新しい主のプログラム24を読み出し、バッファメモリ15に記憶された新しい主のプログラム24をプログラムメモリ13に書き込んでファームウェアを書き換える。
第2バッファウインドウ21のサイズは4Kであるが、そのウィンドウをずらせばバッファメモリ15の全ての新しい主のプログラム24を読出し可能である。
そして、システムコントローラ11は、プログラムメモリ13の所定の領域に新しい主のプログラムを書き込んでファームウェアを書き換えたことを示す書き込み完了フラグを書き込む。
Thereafter, the
Although the size of the
Then, the
図4は、図1に示したディスク装置のシステムコントローラ11による第1のファームウェア書き換え処理のフローチャート図である。
システムコントローラ11は、ステップ(図中「S」で示す)1でホストPCからファームウェアの書き換え命令を受信したか否かを判断し、受信しなければこの処理を終了し、受信したらステップ2でプログラムメモリに記憶された書き換えプログラムを読み出し、バッファメモリに書き込んで移動する。
ステップ3でバッファメモリ上で書き換えプログラムを実行し、ステップ4でホストPCから新しい主のプログラムを受信し、その新しい主のプログラムをバッファメモリに書き込んで記憶する。ステップ5でプログラムメモリの主のプログラム領域を消去してプログラムメモリに記憶された主のプログラムを消去し、ステップ6でバッファメモリに記憶された新しい主のプログラムを読み出してプログラムメモリに書き込み、ステップ7でプログラムメモリに書き込み完了フラグを書き込んでこの処理を終了する。
FIG. 4 is a flowchart of the first firmware rewriting process by the
The
In
上述の処理では、バッファメモリがプログラムメモリ(フラッシュメモリ)に対して十分大きいので主のプログラムを一度に受信するが、バッファメモリがプログラムメモリより小さい場合は、新しい主のプログラム受信と書き込み動作を繰り返し行うことも可能である。
このようにして、ディスク装置のバッファメモリにDRAMと呼ばれる安価なメモリを使用すれば、ワークメモリよりかなり大容量であるから、書き換えプログラムをバッファメモリ上で実行することによって高機能で大規模な書き換えプログラムを確実に実行することができる。
また、ワークメモリの内容を壊すことがないのでリセットすること無く制御を主のプログラムへ戻すことができる。
In the above processing, the buffer memory is sufficiently large relative to the program memory (flash memory), so the main program is received at one time. However, if the buffer memory is smaller than the program memory, the new main program reception and writing operations are repeated. It is also possible to do this.
In this way, if an inexpensive memory called DRAM is used for the buffer memory of the disk device, the capacity is considerably larger than that of the work memory. Therefore, by executing the rewrite program on the buffer memory, high-performance and large-scale rewrite is possible. The program can be executed reliably.
In addition, since the contents of the work memory are not destroyed, the control can be returned to the main program without resetting.
次に、ドライブ装置を出荷した時点でプログラム容量がフラッシュロムの容量に迫っていると、変更したファームウェアがフラッシュロムの容量をオーバーしてしまってファームウェアをリリースできない場合がある。
そこで、書き換えプログラムを予めプログラムメモリに持たずにホストPCから転送するようにすれば、その分の容量を主のプログラムに割り当てられる。
次に、この実施形態のディスク装置における第2のファームウェア書き換え処理について説明する。
図5は、図1に示したディスク装置における第2のファームウェア書き換え処理の説明図である。
まず、プログラムメモリ13には主のプログラム23が記憶されている。
通常、システムコントローラ11は、プログラムメモリ13の主のプログラム23を実行して光ディスク19のリードライトを行っている。
Next, if the program capacity approaches the capacity of the flash ROM when the drive device is shipped, the changed firmware may exceed the capacity of the flash ROM and the firmware may not be released.
Therefore, if the rewrite program is transferred from the host PC without having the program memory in advance, the capacity can be allocated to the main program.
Next, the second firmware rewriting process in the disk device of this embodiment will be described.
FIG. 5 is an explanatory diagram of the second firmware rewriting process in the disk device shown in FIG.
First, a
Normally, the
システムコントローラ11は、ホストPC17からファームウェアのアップデートを行うための書き換え命令を受信すると、第1バッファウインドウ20をバッファメモリ15の先頭に設定し、ホストPC17から書き換えプログラム22を受信し、バッファメモリ15に書き込んで記憶する。
システムコントローラ11は、書き換えプログラム22をバッファメモリ15に記憶したら、その書き換えプログラム22を実行する。
次に、システムコントローラ11は、ホストPC17から新しい主のプログラム24を受信し、バッファメモリ15上の書き換えプログラム22に重ならないようにその新しい主のプログラム24を書き込んで記憶する。
When the
After storing the
Next, the
その後、システムコントローラ11は、プログラムメモリ13の主のプログラム23が記憶された領域を消去し(主のプログラム23を消去し)、第2バッファウインドウ21を通してバッファメモリ15から新しい主のプログラム24を読み出し、バッファメモリ15に記憶された新しい主のプログラム24をプログラムメモリ13に書き込んでファームウェアを書き換える。
第2バッファウインドウ21のサイズは4Kであるが、そのウィンドウをずらせばバッファメモリ15の全ての新しい主のプログラム24を読出し可能である。
そして、システムコントローラ11は、プログラムメモリ13の所定の領域に新しい主のプログラムを書き込んでファームウェアを書き換えたことを示す書き込み完了フラグを書き込む。
Thereafter, the
Although the size of the
Then, the
図6は、図1に示したディスク装置のシステムコントローラ11による第2のファームウェア書き換え処理のフローチャート図である。
システムコントローラ11は、ステップ(図中「S」で示す)11でホストPCからファームウェアの書き換え命令を受信したか否かを判断し、受信しなければこの処理を終了し、受信したらステップ12でホストPCから書き換えプログラムを受信し、バッファメモリに書き込んで記憶する。
ステップ13でバッファメモリ上で書き換えプログラムを実行し、ステップ14でホストPCから新しい主のプログラムを受信し、その新しい主のプログラムをバッファメモリに書き込んで記憶する。ステップ15でプログラムメモリの主のプログラム領域を消去してプログラムメモリに記憶された主のプログラムを消去し、ステップ16でバッファメモリに記憶された新しい主のプログラムを読み出してプログラムメモリに書き込み、ステップ17でプログラムメモリに書き込み完了フラグを書き込んでこの処理を終了する。
FIG. 6 is a flowchart of the second firmware rewriting process by the
The
In
上述の処理で、バッファメモリがプログラムメモリ(フラッシュメモリ)に対して十分大きいので主のプログラムを一度に受信するが、バッファメモリがプログラムメモリより小さい場合は、新しい主のプログラム受信と書き込み動作を繰り返し行うことも可能である。
このようにして、新しい高機能で大規模な書き換えプログラムを簡単に確実に実行することができる。
In the above processing, the buffer memory is sufficiently large relative to the program memory (flash memory), so the main program is received at once. If the buffer memory is smaller than the program memory, the new main program reception and writing operations are repeated. It is also possible to do this.
In this way, a new high-function and large-scale rewrite program can be easily and reliably executed.
次に、ワークメモリが書き換えプログラムを実行するのに不足する場合もあるが、場合によっては十分な容量を持つ場合がある。その場合は書き換えプログラムをワークメモリへ移して主のプログラムを実行している間も常駐させると、主のプログラムを実行中でも不揮発の情報をフラッシュメモリへ書くことがあり、そのためのルーチンを書き換えプログラムと共用することができる。 Next, the work memory may be insufficient to execute the rewriting program, but in some cases, the work memory may have a sufficient capacity. In that case, if the rewrite program is moved to the work memory and made resident while the main program is being executed, nonvolatile information may be written to the flash memory even while the main program is being executed. Can be shared.
次に、この実施形態のディスク装置における第3のファームウェア書き換え処理について説明する。
図7は、図1に示したディスク装置における第3のファームウェア書き換え処理の説明図である。
まず、プログラムメモリ13には、書き換えプログラム22と主のプログラム23が記憶されている。また、システムコントローラ11の処理によってワークメモリ12には変数,スタック26が格納される。
Next, the third firmware rewriting process in the disk device of this embodiment will be described.
FIG. 7 is an explanatory diagram of a third firmware rewriting process in the disk device shown in FIG.
First, the
システムコントローラ11は、このディスク装置のドライブシステムがリセットされると、一通りの初期設定を実行し、その初期設定を終えるとプログラムメモリ13に記憶された書き換えプログラム22を読み出し、ワークメモリ12の主のプログラム23で使用されない領域へ書き込んで移す。その移される書き換えプログラム22は予め移されることを考慮したアドレッシングになっていて書き換えプログラム全体であっても一部であってもよい。その後、システムコントローラ11は、プログラムメモリ13の主のプログラム23を実行して光ディスク19のリードライトを行う。
こうして、主のプログラム23の実行中も書き換えプログラム22を常駐させることができる。
When the drive system of the disk device is reset, the
In this way, the
システムコントローラ11は、ホストPC17からファームウェアのアップデートを行うための書き換え命令を受信すると、ワークメモリ12上の書き換えプログラム22を実行し、ホストPC17から新しい主のプログラム24を受信し、バッファメモリ15にその新しい主のプログラム24を書き込んで記憶する。
その後、システムコントローラ11は、プログラムメモリ13の主のプログラム23が記憶された領域を消去し(主のプログラム23を消去し)、第2バッファウインドウ21を通してバッファメモリ15から新しい主のプログラム24を読み出し、バッファメモリ15に記憶された新しい主のプログラム24をプログラムメモリ13に書き込んでファームウェアを書き換える。
第2バッファウインドウ21のサイズは4Kであるが、そのウィンドウをずらせばバッファメモリ15の全ての新しい主のプログラム24を読出し可能である。
そして、システムコントローラ11は、プログラムメモリ13の所定の領域に新しい主のプログラムを書き込んでファームウェアを書き換えたことを示す書き込み完了フラグを書き込む。
When the
Thereafter, the
Although the size of the
Then, the
図8は、図1に示したディスク装置のシステムコントローラ11によるシステムリセット時の処理のフローチャート図である。
システムコントローラ11は、ステップ(図中「S」で示す)21でシステムをリセットすると、ステップ22でプログラムメモリに記憶された書き換えプログラムを読み出してワークメモリに書き込んで移動し、ステップ23でプログラムメモリに記憶された主のプログラムを実行すると、システムリセット時の処理を終了する。
FIG. 8 is a flowchart of processing at the time of system reset by the
When the
図9は、図1に示したディスク装置のシステムコントローラ11による第3のファームウェア書き換え処理のフローチャート図である。
システムコントローラ11は、ステップ(図中「S」で示す)31でホストPCからファームウェアの書き換え命令を受信したか否かを判断し、受信しなければこの処理を終了し、受信したらステップ32でワークメモリ上で書き換えプログラムを実行し、ステップ33でホストPCから新しい主のプログラムを受信し、その新しい主のプログラムをバッファメモリに書き込んで記憶する。ステップ34でプログラムメモリの主のプログラム領域を消去してプログラムメモリに記憶された主のプログラムを消去し、ステップ35でバッファメモリに記憶された新しい主のプログラムを読み出してプログラムメモリに書き込み、ステップ36でプログラムメモリに書き込み完了フラグを書き込んでこの処理を終了する。
FIG. 9 is a flowchart of the third firmware rewriting process by the
The
上述の処理で、バッファメモリがプログラムメモリ(フラッシュメモリ)に対して十分大きいので主のプログラムを一度に受信するが、バッファメモリがプログラムメモリより小さい場合は、新しい主のプログラム受信と書き込み動作を繰り返し行うことも可能である。
このようにして、ワークメモリを有効に活用して書き換えプログラムを簡単に確実に実行することができる。
In the above processing, the buffer memory is sufficiently large relative to the program memory (flash memory), so the main program is received at once. If the buffer memory is smaller than the program memory, the new main program reception and writing operations are repeated. It is also possible to do this.
In this way, the rewriting program can be easily and reliably executed by effectively utilizing the work memory.
次に、ファームウェアのアップデート中に電源が落ちるとそのプログラムを失い、もう二度と起動できなくなる危険性がある。
そこで、書き換えプログラムと主のプログラムを独立に実行できるように構成し、ファームウェアのアップデートは主のプログラムのみを書き換えることにより、事故で主のプログラムを失っても再度主のプログラムを書き込めるようにするとよい。
また、時には書き換えプログラムをアップデートする場合もある。この時事故が発生して書き換えプログラムを失っても復帰させるようにするとよい。
Next, if the power goes down during the firmware update, the program will be lost, and there is a risk that it will not be able to start again.
Therefore, it is recommended that the rewrite program and the main program can be executed independently, and the firmware update can be performed by rewriting only the main program so that the main program can be written again even if the main program is lost due to an accident. .
Also, sometimes the rewriting program is updated. Even if an accident occurs at this time and the rewriting program is lost, it is recommended to restore it.
上記第2のファームウェア書き換え処理の際、ホストPC17から受信した書き換えプログラムが正常か否かを判断し、正常なら上述の処理を実行するが、異常ならホストPC17から正常な書き換えプログラムを受信して実行する。
また、上記第1又は第3のファームウェア書き換え処理の場合は、次の図10のフローチャートに示す処理を実行する。
At the time of the second firmware rewriting process, it is determined whether or not the rewriting program received from the
In the case of the first or third firmware rewriting process, the process shown in the flowchart of FIG. 10 is executed.
図10は、図1に示したディスク装置のシステムコントローラ11による書き換えプログラムと主のプログラムを書き換える処理のフローチャート図である。
システムコントローラ11は、ステップ(図中「S」で示す)41でホストPCからファームウェアのアップデートを行うための書き換え命令を受信したか否かを判断し、受信しなければこの処理を終了し、受信したらステップ42で書き換えプログラムが正常か否かを判断する。この判断は書き込み完了フラグや書き換えプログラムのチェックサムを計算することによって確認できる。
FIG. 10 is a flowchart of processing for rewriting the main program and the rewriting program by the
The
ステップ42の判断で書き換えプログラムが正常でなく異常だった場合、ステップ52で第1バッファウインドウをバッファメモリの先頭に設定して書き換えプログラムをホストPCから受信し、その書き換えプログラムをバッファメモリ又はワークメモリに記憶し、ステップ53でその書き換えプログラムを実行する。
一方、ステップ42の判断で書き換えプログラムが正常だった場合、ステップ43で第1バッファウインドウをバッファメモリの先頭に設定して書き換えプログラムをバッファメモリへ移す処理(あるいは、書き換えプログラムをワークメモリへ移す処理)を実行し、ステップ44でその書き換えプログラムを実行する。
If it is determined in step 42 that the rewrite program is not normal but abnormal, in
On the other hand, if the rewrite program is normal as determined in step 42, the process of setting the first buffer window at the head of the buffer memory and moving the rewrite program to the buffer memory in step 43 (or the process of moving the rewrite program to the work memory) ) And the rewriting program is executed in
次に、ステップ45でホストPCから新しい主のプログラムと新しい書き換えプログラムとを受信し、バッファメモリ上の書き換えプログラムに重ならないようにバッファメモリに新しい主のプログラムと新しい書き換えプログラムを書き込んで記憶する。
ステップ46でプログラムメモリの主のプログラム領域を消去してプログラムメモリに記憶された主のプログラムを消去し、ステップ47でバッファメモリに記憶された新しい主のプログラムを読み出してプログラムメモリに書き込み、主のプログラムを書き換え、ステップ48でプログラムメモリに書き込み完了フラグを書き込む。
Next, in
In step 46, the main program area of the program memory is erased and the main program stored in the program memory is erased. In step 47, the new main program stored in the buffer memory is read out and written into the program memory. The program is rewritten, and a write completion flag is written in the program memory in
さらに、ステップ49でプログラムメモリの書き換えプログラム領域を消去してプログラムメモリに記憶された書き換えプログラムを消去し、ステップ50でバッファメモリに記憶された新しい書き換えプログラムを読み出してプログラムメモリに書き込み、書き換えプログラムを書き換え、ステップ51でプログラムメモリに書き込み完了フラグを書き込む。
第2バッファウインドウ21を通してバッファメモリ15から新しい主のプログラム24を読み出す。第2バッファウインドウ21のサイズは4Kであるが、そのウィンドウをずらせばバッファメモリ15の全ての新しい主のプログラム24を読出し可能である。
Further, in
A new
上述の処理で、バッファメモリがプログラムメモリ(フラッシュメモリ)に対して十分大きいので主のプログラムを一度に受信するが、バッファメモリがプログラムメモリより小さい場合は、新しい主のプログラム受信と書き込み動作を繰り返し行うことも可能である。
このようにして、ファームウェアアップデートの安全性を向上させることができる。
In the above processing, the buffer memory is sufficiently large relative to the program memory (flash memory), so the main program is received at once. If the buffer memory is smaller than the program memory, the new main program reception and writing operations are repeated. It is also possible to do this.
In this way, the safety of firmware update can be improved.
この発明による記録再生装置と記録再生装置のファームウェア書き換え方法とプログラムとコンピュータ読み取り可能な記録媒体は、CD−ROMディスク装置,CD−Rディスク装置,CD−RWディスク装置,DVD−ROMディスク装置,DVD−Rディスク装置,DVD+Rディスク装置,DVD−RWディスク装置,DVD+RWディスク装置等の光ディスクドライブ装置、光磁気ディスク装置、MD装置においても適用することができる。 The recording / reproducing device, the firmware rewriting method of the recording / reproducing device, the program, and the computer-readable recording medium according to the present invention are a CD-ROM disc device, a CD-R disc device, a CD-RW disc device, a DVD-ROM disc device, a DVD. The present invention can also be applied to optical disk drive devices such as -R disk devices, DVD + R disk devices, DVD-RW disk devices, DVD + RW disk devices, magneto-optical disk devices, and MD devices.
1:スピンドルモータ 2:光ピックアップ 3:LDドライバ 4:モータドライバ 5:リードアンプ 6:CDデコーダ 7:CDエンコーダ 8:サーボ処理部 9:ATIPデコーダ 10:CD−ROMデコーダ・CD−ROMエンコーダ・サブコードコントローラ 11:システムコントローラ 12:ワークメモリ 13:プログラムメモリ 14:バッファマネージャ 15:バッファメモリ 16:ホストI/F 17:ホストPC 18:バス 19:光ディスク 20:第1バッファウインドウ 21:第2バッファウインドウ 22:書き換えプログラム 23:主のプログラム 24:新しい主のプログラム 25:書き込み完了フラグ 26:変数,スタック 1: Spindle motor 2: Optical pickup 3: LD driver 4: Motor driver 5: Read amplifier 6: CD decoder 7: CD encoder 8: Servo processing unit 9: ATIP decoder 10: CD-ROM decoder / CD-ROM encoder / sub Code controller 11: System controller 12: Work memory 13: Program memory 14: Buffer manager 15: Buffer memory 16: Host I / F 17: Host PC 18: Bus 19: Optical disk 20: First buffer window 21: Second buffer window 22: Rewrite program 23: Main program 24: New main program 25: Write completion flag 26: Variable, stack
Claims (13)
前記プログラムメモリに記憶された書き換えプログラムを前記バッファメモリに移動する手段と、
前記バッファメモリに記憶された書き換えプログラムを実行して外部から新しいファームウェアプログラムを受信し、該受信した新しいファームウェアプログラムを前記バッファメモリに記憶し、前記プログラムメモリに記憶されたファームウェアプログラムを消去し、前記バッファメモリに記憶された新しいファームウェアプログラムを前記プログラムメモリに書き込んで前記プログラムメモリに記憶されたファームウェアプログラムを書き換える手段とを備えたことを特徴とする記録再生装置。 A rewritable program memory for storing a firmware program for performing control processing for recording or reproducing information on a recording medium and a rewriting program for rewriting the firmware program, and information recorded on the recording medium or information reproduced from the recording medium are temporarily stored Buffer memory to store automatically,
Means for moving the rewrite program stored in the program memory to the buffer memory;
The rewriting program stored in the buffer memory is executed to receive a new firmware program from outside, the received new firmware program is stored in the buffer memory, the firmware program stored in the program memory is erased, A recording / reproducing apparatus comprising: means for writing a new firmware program stored in a buffer memory into the program memory and rewriting the firmware program stored in the program memory.
外部から前記ファームウェアプログラムを書き換える書き換えプログラムを受信し、該受信した書き換えプログラムを前記バッファメモリに記憶する手段と、
前記バッファメモリに記憶された書き換えプログラムを実行して外部から新しいファームウェアプログラムを受信し、該受信した新しいファームウェアプログラムを前記バッファメモリに記憶し、前記プログラムメモリに記憶されたファームウェアプログラムを消去し、前記バッファメモリに記憶された新しいファームウェアプログラムを前記プログラムメモリに書き込んで前記プログラムメモリに記憶されたファームウェアプログラムを書き換える手段とを備えたことを特徴とする記録再生装置。 A rewritable program memory for storing a firmware program for performing control processing of recording or reproducing information on the recording medium, a buffer memory for temporarily storing information recorded on the recording medium or information reproduced from the recording medium,
Means for receiving a rewrite program for rewriting the firmware program from outside and storing the received rewrite program in the buffer memory;
The rewriting program stored in the buffer memory is executed to receive a new firmware program from outside, the received new firmware program is stored in the buffer memory, the firmware program stored in the program memory is erased, A recording / reproducing apparatus comprising: means for writing a new firmware program stored in a buffer memory into the program memory and rewriting the firmware program stored in the program memory.
前記プログラムメモリに記憶された書き換えプログラムを前記ワークメモリに移動する手段と、
前記ワークメモリに記憶された書き換えプログラムを実行して外部から新しいファームウェアプログラムを受信し、該受信した新しいファームウェアプログラムを前記バッファメモリに記憶し、前記プログラムメモリに記憶されたファームウェアプログラムを消去し、前記バッファメモリに記憶された新しいファームウェアプログラムを前記プログラムメモリに書き込んで前記プログラムメモリに記憶されたファームウェアプログラムを書き換える手段とを備えたことを特徴とする記録再生装置。 A rewritable program memory for storing a firmware program for performing control processing for recording or reproducing information on a recording medium and a rewriting program for rewriting the firmware program, and information recorded on the recording medium or information reproduced from the recording medium are temporarily stored Buffer memory for storing automatically, work memory for storing stacks and variables at the time of execution of various processes,
Means for moving the rewrite program stored in the program memory to the work memory;
The rewriting program stored in the work memory is executed to receive a new firmware program from outside, the received new firmware program is stored in the buffer memory, the firmware program stored in the program memory is erased, A recording / reproducing apparatus comprising: means for writing a new firmware program stored in a buffer memory into the program memory and rewriting the firmware program stored in the program memory.
前記プログラムメモリに記憶された書き換えプログラムを前記バッファメモリに移動する工程と、前記バッファメモリに記憶された書き換えプログラムを実行して外部から新しいファームウェアプログラムを受信し、該受信した新しいファームウェアプログラムを前記バッファメモリに記憶し、前記プログラムメモリに記憶されたファームウェアプログラムを消去し、前記バッファメモリに記憶された新しいファームウェアプログラムを前記プログラムメモリに書き込んで前記プログラムメモリに記憶されたファームウェアプログラムを書き換える工程とからなることを特徴とする記録再生装置のファームウェア書き換え方法。 A rewritable program memory for storing a firmware program for performing control processing for recording or reproducing information on a recording medium and a rewriting program for rewriting the firmware program, and information recorded on the recording medium or information reproduced from the recording medium are temporarily stored A method for rewriting firmware of a recording / reproducing apparatus including a buffer memory for storing the data,
Moving the rewrite program stored in the program memory to the buffer memory; executing the rewrite program stored in the buffer memory to receive a new firmware program from outside; and receiving the received new firmware program in the buffer Storing in the memory, erasing the firmware program stored in the program memory, writing a new firmware program stored in the buffer memory into the program memory, and rewriting the firmware program stored in the program memory. A method for rewriting firmware in a recording / reproducing apparatus.
外部から前記ファームウェアプログラムを書き換える書き換えプログラムを受信し、該受信した書き換えプログラムを前記バッファメモリに記憶する工程と、前記バッファメモリに記憶された書き換えプログラムを実行して外部から新しいファームウェアプログラムを受信し、該受信した新しいファームウェアプログラムを前記バッファメモリに記憶し、前記プログラムメモリに記憶されたファームウェアプログラムを消去し、前記バッファメモリに記憶された新しいファームウェアプログラムを前記プログラムメモリに書き込んで前記プログラムメモリに記憶されたファームウェアプログラムを書き換える工程とからなることを特徴とする記録再生装置のファームウェア書き換え方法。 A rewritable program memory for storing a firmware program for performing control processing for recording or reproducing information on a recording medium, and a buffer memory for temporarily storing information recorded on the recording medium or information reproduced from the recording medium A method for rewriting the firmware of the recording / reproducing apparatus,
Receiving a rewrite program for rewriting the firmware program from outside, storing the received rewrite program in the buffer memory, and executing a rewrite program stored in the buffer memory to receive a new firmware program from the outside, The received new firmware program is stored in the buffer memory, the firmware program stored in the program memory is erased, and the new firmware program stored in the buffer memory is written into the program memory and stored in the program memory. A method for rewriting firmware of a recording / reproducing apparatus, comprising: rewriting a firmware program.
前記プログラムメモリに記憶された書き換えプログラムを前記ワークメモリに移動する工程と、前記ワークメモリに記憶された書き換えプログラムを実行して外部から新しいファームウェアプログラムを受信し、該受信した新しいファームウェアプログラムを前記バッファメモリに記憶し、前記プログラムメモリに記憶されたファームウェアプログラムを消去し、前記バッファメモリに記憶された新しいファームウェアプログラムを前記プログラムメモリに書き込んで前記プログラムメモリに記憶されたファームウェアプログラムを書き換える工程とからなることを特徴とする記録再生装置のファームウェア書き換え方法。 A rewritable program memory for storing a firmware program for performing control processing for recording or reproducing information on a recording medium and a rewriting program for rewriting the firmware program, and information recorded on the recording medium or information reproduced from the recording medium are temporarily stored A method for rewriting a firmware of a recording / reproducing apparatus, comprising: a buffer memory for storing data and a work memory for storing a stack and variables at the time of executing various processes,
Moving the rewrite program stored in the program memory to the work memory; executing the rewrite program stored in the work memory to receive a new firmware program from outside; and receiving the received new firmware program in the buffer Storing in the memory, erasing the firmware program stored in the program memory, writing a new firmware program stored in the buffer memory into the program memory, and rewriting the firmware program stored in the program memory. A method for rewriting firmware in a recording / reproducing apparatus.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003317366A JP2005085039A (en) | 2003-09-09 | 2003-09-09 | Recording and reproducing device, firmware rewriting method for recording and reproducing device, and program and computer-readable recording medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003317366A JP2005085039A (en) | 2003-09-09 | 2003-09-09 | Recording and reproducing device, firmware rewriting method for recording and reproducing device, and program and computer-readable recording medium |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2005085039A true JP2005085039A (en) | 2005-03-31 |
Family
ID=34416975
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2003317366A Pending JP2005085039A (en) | 2003-09-09 | 2003-09-09 | Recording and reproducing device, firmware rewriting method for recording and reproducing device, and program and computer-readable recording medium |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2005085039A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007058775A (en) * | 2005-08-26 | 2007-03-08 | Toyota Motor Corp | Method for manufacturing unit control apparatus, and unit control apparatus |
GB2433619A (en) * | 2005-12-19 | 2007-06-27 | Realtek Semiconductor Corp | Method and system for programming a controller chip |
JP2011150383A (en) * | 2010-01-19 | 2011-08-04 | Hitachi Medical Corp | Firmware writing method |
CN114995863A (en) * | 2022-08-03 | 2022-09-02 | 中国重汽集团济南动力有限公司 | Software reprogramming system and software reprogramming method based on reprogramming system |
-
2003
- 2003-09-09 JP JP2003317366A patent/JP2005085039A/en active Pending
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007058775A (en) * | 2005-08-26 | 2007-03-08 | Toyota Motor Corp | Method for manufacturing unit control apparatus, and unit control apparatus |
GB2433619A (en) * | 2005-12-19 | 2007-06-27 | Realtek Semiconductor Corp | Method and system for programming a controller chip |
GB2433619B (en) * | 2005-12-19 | 2008-07-16 | Realtek Semiconductor Corp | Method for programming display controller chip and related apparatus thereof |
US7831751B2 (en) | 2005-12-19 | 2010-11-09 | Realtek Semiconductor Corp. | System and method for programming a display controller chip |
JP2011150383A (en) * | 2010-01-19 | 2011-08-04 | Hitachi Medical Corp | Firmware writing method |
CN114995863A (en) * | 2022-08-03 | 2022-09-02 | 中国重汽集团济南动力有限公司 | Software reprogramming system and software reprogramming method based on reprogramming system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
RU2344497C2 (en) | Method and device of recording and/or reproduction | |
JP2549810B2 (en) | Optical disc manufacturing method | |
JPH1166751A (en) | Information recording and reproducing device | |
KR20020018115A (en) | Media reading apparatus | |
JP2005085039A (en) | Recording and reproducing device, firmware rewriting method for recording and reproducing device, and program and computer-readable recording medium | |
JP2000357374A (en) | Optical disk, recording method for optical disk, and optical disk drive | |
US6785762B2 (en) | Recording/reproducing device having plural disk units which access an information recording medium including a computer readable recording medium | |
JP2007511033A (en) | Information recording medium, recording / reproducing method, and recording / reproducing apparatus | |
JP2004253109A (en) | Information-recording/reproducing device, program, computer-readable recording medium, and method for managing defect area | |
JP3595550B1 (en) | Information recording / reproducing apparatus, information recording / reproducing method, and program | |
JP2005062981A (en) | Optical disk reproducing device | |
KR100510520B1 (en) | Method for recording data | |
KR20050005749A (en) | Recording medium, recording method and recording apparatus | |
JP3782208B2 (en) | Optical disk recording device | |
JP4270163B2 (en) | Recording / reproducing method and disk recording / reproducing apparatus | |
JP2002251821A (en) | Information recording and reproducing device | |
JP2001351311A (en) | Seeking method for optical disk and optical disk driver | |
JPH11306662A (en) | Information recording device | |
JP4056440B2 (en) | Information recording / reproducing apparatus and formatting method | |
JPH1064066A (en) | Optical disk information recording system | |
KR100738781B1 (en) | Method for controlling an access time in a memory | |
JP4733673B2 (en) | Optical disc playback device, optical disc playback method, optical disc playback program, and recording medium | |
JP2003168213A (en) | Optical disk unit | |
JP2001229028A (en) | Disk reproducing device | |
JP4651603B2 (en) | Information recording / reproducing device |