JPH08161160A - Firmware update method for optical disk player - Google Patents
Firmware update method for optical disk playerInfo
- Publication number
- JPH08161160A JPH08161160A JP6297280A JP29728094A JPH08161160A JP H08161160 A JPH08161160 A JP H08161160A JP 6297280 A JP6297280 A JP 6297280A JP 29728094 A JP29728094 A JP 29728094A JP H08161160 A JPH08161160 A JP H08161160A
- Authority
- JP
- Japan
- Prior art keywords
- firmware
- unit
- program
- loader
- functional block
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 37
- 230000003287 optical effect Effects 0.000 title claims abstract description 13
- 238000001994 activation Methods 0.000 claims 3
- 230000005856 abnormality Effects 0.000 abstract description 14
- 230000006870 function Effects 0.000 description 62
- 238000007726 management method Methods 0.000 description 16
- 238000013523 data management Methods 0.000 description 13
- 238000010586 diagram Methods 0.000 description 10
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000003213 activating effect Effects 0.000 description 1
- 230000002950 deficient Effects 0.000 description 1
- 230000007257 malfunction Effects 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Landscapes
- Stored Programmes (AREA)
- Optical Recording Or Reproduction (AREA)
Abstract
(57)【要約】
【目的】 光ディスク再生装置におけるシステム制御部
の制御用プログラム(ファームウエア)に異常が発生し
装置が動作不能に陥った場合においても、ファームウエ
アの更新処理を行って装置を正常復帰させる。
【構成】 システム制御部8のファームウエアを、ファ
ームウエア更新処理を含む装置起動時の処理を行うロー
ダ部とこのローダ部以外の通常処理を行うためのプログ
ラム部とに別けておき、ファームウエアの異常により装
置が動作不能に陥った場合に機能制限用スイッチ7をO
N設定することで、機能するファームウエアがローダ部
のみに制限され、このローダ部単独の機能で装置を再起
動せしめてファームウエア更新処理を行うように構成さ
れている。従って、ファームウエアの異常により装置が
動作不能な状態になっても、機能制限用スイッチ7をO
Nにするだけの簡単な操作でファームウエア更新処理を
行うことができる。
(57) [Abstract] [Purpose] Even if an error occurs in the control program (firmware) of the system control unit in the optical disk playback device and the device becomes inoperable, the device is updated by updating the firmware. Return to normal. [Structure] The firmware of the system control unit 8 is divided into a loader unit that performs processing at the time of device startup including firmware update processing and a program unit that performs normal processing other than this loader unit. If the device becomes inoperable due to an abnormality, turn on the function limiting switch 7
By setting N, the functioning firmware is limited only to the loader section, and the function of the loader section alone is used to restart the apparatus and perform the firmware update processing. Therefore, even if the device becomes inoperable due to an abnormality in the firmware, the function limiting switch 7 is turned on.
The firmware update process can be performed by a simple operation of only setting to N.
Description
【0001】[0001]
【産業上の利用分野】本発明は、CPUの制御用プログ
ラム(ファームウエア)を書き替え可能なCD−ROM
読み取り装置等の光ディスク再生装置のファームウエア
更新方法に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a CD-ROM capable of rewriting a CPU control program (firmware).
The present invention relates to a firmware updating method for an optical disk reproducing device such as a reading device.
【0002】[0002]
【従来の技術】CD−ROM読み取り装置に組み込まれ
たマイクロコンピュータ(CPU)の制御用プログラム
(ファームウエア)を、処理の高速化・機能追加等の理
由により変更する必要が生じる場合がある。2. Description of the Related Art It is sometimes necessary to change a control program (firmware) for a microcomputer (CPU) incorporated in a CD-ROM reading device for reasons such as speeding up of processing and addition of functions.
【0003】このような場合、従来はファームウエアを
記憶したROMを交換する方法で対処されてきた。とこ
ろが近年、電気的に書き換え可能なEEPROM等を使
用して、簡単にファームウエアの更新が可能なシステム
を導入する製品が増えてきている。一例としては、パ−
ソナルコンピュ−タのBIOS(basic input/outputsy
stem )をEEPROMに登録して、ユーザがパ−ソナ
ルコンピュ−タ上で更新用プログラムを起動させること
でBIOSを更新するシステムがよく知られている。In such a case, conventionally, the method of replacing the ROM storing the firmware has been dealt with. However, in recent years, an increasing number of products use electrically rewritable EEPROM or the like to introduce a system in which firmware can be easily updated. As an example,
BIOS (basic input / outputsy) of Sonar computer
A system is well known in which the BIOS is updated by registering the stem) in the EEPROM and the user activating the updating program on the personal computer.
【0004】一方、CD−ROM読み取り装置でも、フ
ァームウエアを記憶するROMとしてEEPROM等の
書き換え可能なROMを使用し、ファームウエアの更新
を可能とした製品が実用化されつつある。On the other hand, also in the CD-ROM reader, a rewritable ROM such as an EEPROM is used as a ROM for storing the firmware, and a product capable of updating the firmware is being put to practical use.
【0005】CD−ROM読み取り装置におけるファー
ムウエアの更新は、新しいファームウエアの書き込み後
に、これが正確に書き込めたかどうかを確認(ベリファ
イ)し、正しく書き込めたことが確認できた場合は正常
終了し、起動時にチェックサムによる確認を実行し、フ
ァームウエアの正常な動作を確認することによって行っ
ている。The update of the firmware in the CD-ROM reader is performed after writing the new firmware, and it is confirmed (verified) whether it can be written correctly. The checksum is sometimes executed to confirm the normal operation of the firmware.
【0006】しかしながら、このCD−ROM読み取り
装置において、ファームウエア更新後、新しいファーム
ウエアが何らかの理由(例えば、更新したファームウエ
アに不具合があり正常な動作が行えなかったり、異なる
ファームウエアのデータをロードしてしまったり等)に
より動作不能になった場合に、これまでの方法では、C
D−ROM読み取り装置は動作不能となり、ファームウ
エアの再更新が行えなかった。However, in this CD-ROM reader, after the firmware is updated, the new firmware has some reason (for example, the updated firmware has a malfunction and cannot operate normally, or data of different firmware is loaded). If it becomes inoperable due to (for example
The D-ROM reader became inoperable and the firmware could not be updated again.
【0007】[0007]
【発明が解決しようとする課題】本発明はこのような課
題を解決するためのもので、CD−ROM読み取り装置
等の光ディスク再生装置において、ファームウエアに異
常が発生したことによって装置が正常に動作しなくなっ
た場合においても、ファームウエアの更新処理を行って
装置の状態を正常復帰させることのできる光ディスク再
生装置のファームウエア更新方法の提供を目的としてい
る。SUMMARY OF THE INVENTION The present invention is intended to solve such a problem, and in an optical disk reproducing apparatus such as a CD-ROM reading apparatus, the apparatus operates normally due to an abnormality in firmware. It is an object of the present invention to provide a firmware updating method for an optical disk reproducing device that can perform a firmware updating process to restore the state of the device to a normal state even when it is stopped.
【0008】[0008]
【課題を解決するための手段】第1発明の光ディスク再
生装置のファームウエア更新方法は上記した目的を達成
するため、システム制御を行う制御手段を制御するため
のファームウエアを、ファームウエア更新処理を含む装
置起動処理を行うためのローダ部とこのローダ部以外の
通常処理を行うためのプログラム部とに別けてファーム
ウエア記憶手段に記憶しておく。また、ファームウエア
の機能を制限するための指示入力を外部より受け付ける
スイッチ手段を設け、このスイッチ手段にて、ファーム
ウエアの機能を制限するための指示入力を受け付けた
時、制御手段は、ファームウエアのローダ部を単独に機
能させてプログラム部の更新処理を実行するように構成
されている。In order to achieve the above object, the firmware updating method for an optical disk reproducing apparatus according to the first aspect of the present invention uses firmware for controlling the control means for system control, and firmware update processing. The firmware storage means separately stores the loader unit for performing the device start-up process and the program unit for performing the normal process other than the loader unit. Further, a switch means is provided for receiving an instruction input for limiting the function of the firmware from the outside, and when the switch means receives the instruction input for limiting the function of the firmware, the control means changes the firmware. The loader unit is independently operated to update the program unit.
【0009】また第2の発明の光ディスク再生装置のフ
ァームウエア更新方法は上記した目的を達成するため、
システム制御を行う制御手段を制御するためのファーム
ウエアを、ファームウエア更新処理を含む装置起動処理
を行うためのローダ部とこのローダ部以外の通常処理を
行うためのプログラム部とに別けてファームウエア記憶
手段に記憶しておく。またファームウエア記憶手段に
は、上記プログラム部を構成する機能ブロック単位で該
プログラム部を管理するための管理情報を記憶するため
の管理テーブルが設けられている。制御手段は、プログ
ラム部に新たな機能ブロックを追加する場合、該機能ブ
ロックについての管理情報を管理テーブルに登録する前
に該追加機能ブロックによる処理を実行してその動作を
確認し、正常に動作すれば、該機能ブロックについての
管理情報を管理テーブルに登録して新たな機能ブロック
を正式にプログラム部に追加するように構成されてい
る。In order to achieve the above object, the firmware updating method for the optical disk reproducing apparatus of the second invention is
The firmware for controlling the control means for controlling the system is divided into a loader section for performing device startup processing including firmware update processing and a program section for performing normal processing other than this loader section. It is stored in the storage means. Further, the firmware storage means is provided with a management table for storing management information for managing the program unit in units of functional blocks that make up the program unit. When a new functional block is added to the program section, the control means executes the processing by the additional functional block before registering the management information about the functional block in the management table, confirms its operation, and operates normally. Then, the management information about the functional block is registered in the management table, and a new functional block is formally added to the program section.
【0010】[0010]
【作用】第1の発明は以上のように構成されているか
ら、ファームウエアのプログラム部に異常が発生して装
置が動作不能になった場合に、スイッチ手段を操作して
ファームウエアの機能を制限するための指示入力を与え
ることで、ファームウエアの機能はローダ部のみに制限
され、このローダ部単独の機能で装置を再起動せしめて
プログラム部の更新処理を行うことができる。According to the first aspect of the present invention, the function of the firmware is activated by operating the switch means when the apparatus becomes inoperable due to an abnormality in the program section of the firmware. By giving the instruction input for the limitation, the function of the firmware is limited only to the loader section, and the function of the loader section alone can restart the apparatus to update the program section.
【0011】第2の発明は以上のように構成されている
から、新たな機能ブロックをプログラム部に追加するに
あたって、正常に動作することが確認できた機能ブロッ
クの管理情報のみを管理テーブルに登録して正式に該機
能ブロックをプログラム部に追加できる。Since the second invention is configured as described above, when adding a new functional block to the program section, only the management information of the functional block which has been confirmed to operate normally is registered in the management table. Then, the functional block can be formally added to the program section.
【0012】[0012]
【実施例】以下、本発明の実施例について図面を参照し
ながら説明する。Embodiments of the present invention will be described below with reference to the drawings.
【0013】図1は本発明に係る一実施例のCD−RO
M読み取り装置の構成を示すブロック図である。FIG. 1 shows a CD-RO according to an embodiment of the present invention.
It is a block diagram which shows the structure of the M reading device.
【0014】同図において、1はCD−ROMディスク
(以下、単にディスクと呼ぶ。)、2はディスク1を駆
動するディスク駆動部、3はディスク1に記録された信
号を読み取るための光ピックアップ、4はディスク1か
ら読み取った信号を復調するための信号処理部、5はデ
ィスク駆動部2及びピックアップ3を制御するディスク
制御部、6はホストコンピュータ100とのデータの入
出力を制御するインタフェース(I/F)部、7はファ
ームウエアの機能を制限するための指示入力を受け付け
る機能制限用スイッチ、8はCD−ROM読み取り装置
全体の制御を行うシステム制御部、9はRAM部、10
はファームウエアを記憶するEEPROM等の書き換え
可能なROM部である。In the figure, 1 is a CD-ROM disc (hereinafter, simply referred to as a disc), 2 is a disc drive unit for driving the disc 1, 3 is an optical pickup for reading a signal recorded on the disc 1, and Reference numeral 4 is a signal processing unit for demodulating a signal read from the disc 1, 5 is a disc control unit for controlling the disc drive unit 2 and the pickup 3, and 6 is an interface (I) for controlling data input / output with the host computer 100. / F) section, 7 is a function limiting switch for receiving an instruction input for limiting the function of the firmware, 8 is a system control section for controlling the entire CD-ROM reading device, 9 is a RAM section, 10
Is a rewritable ROM unit such as an EEPROM for storing firmware.
【0015】図2はこのCD−ROM読み取り装置にお
けるメモリ部の構成を示す図である。 同図において、
11はRAM領域、12はI/O領域、13はローダ部
領域、14はプログラム部領域である。ここで、RAM
領域11とI/O領域12はRAM部9に設けられ、ロ
ーダ部領域13とプログラム部領域14は書き換え可能
なROM部10に設けられている。ローダ部領域13及
びプログラム部領域14には、それぞれシステム制御部
8の制御用プログラム(ファームウエア)であるローダ
部及びプログラム部が記憶される。ローダ部は装置起動
時の処理を行うと共にファームウエアの更新に必要最低
限の機能を含むファームウエアである。これに対し、プ
ログラム部はローダ部以外の通常処理を実現するための
ファームウエアである。上述したファームウエアの更新
の対象はこのプログラム部である。そしてこれらローダ
部及びプログラム部はそれぞれ独立した処理モジュール
として単独で起動し得るものとなっている。FIG. 2 is a diagram showing the structure of the memory section in this CD-ROM reader. In the figure,
Reference numeral 11 is a RAM area, 12 is an I / O area, 13 is a loader section area, and 14 is a program section area. Where RAM
The area 11 and the I / O area 12 are provided in the RAM section 9, and the loader section area 13 and the program section area 14 are provided in the rewritable ROM section 10. The loader section 13 and the program section 14 store a loader section and a program section, which are control programs (firmware) for the system control section 8, respectively. The loader unit is firmware that performs processing at the time of starting the device and includes minimum functions necessary for updating the firmware. On the other hand, the program section is firmware for realizing normal processing other than the loader section. The target of the above-mentioned firmware update is this program section. The loader unit and the program unit can be independently activated as independent processing modules.
【0016】機能制限用スイッチSW7は、ファームウ
エア(プログラム部)に異常が発生して装置が動作不能
に陥った場合に機能するファームウエアをローダ部のみ
に制限することを指示するためのスイッチである。この
機能制限用スイッチ7の状態は、装置起動時の処理の
際、ローダ部の制御のもとでシステム制御部8によって
読み込まれる。機能制限用スイッチ7がONの場合、シ
ステム制御部8は機能するファームウエアをローダ部の
みに制限し、このローブ部によるファームウエア更新処
理を行う。またOFFの場合は、ローダ部とプログラム
部を共に機能させて通常処理を行う。The function limiting switch SW7 is a switch for instructing to limit the functioning firmware only to the loader section when an abnormality occurs in the firmware (program section) and the apparatus becomes inoperable. is there. The state of the function limiting switch 7 is read by the system control unit 8 under the control of the loader unit during the processing at the time of starting the device. When the function limiting switch 7 is ON, the system control unit 8 limits the functioning firmware to only the loader unit, and the firmware updating process is performed by the lobe unit. When it is OFF, both the loader section and the program section are made to function and normal processing is performed.
【0017】次に、ファームウエア(プログラム部)の
更新処理の動作について説明する。ホストコンピュータ
100よりファームウエアデータが転送されると、シス
テム制御部8はローダ部の制御のもとで該ファームウエ
アデータのチェックを行い、正常の場合、書き換え可能
なROM部10に該データを書き込んでプログラム部の
更新を行う。書き込み後、システム制御部8はROM部
10上に正しくデータを書き込めたかどうかを確認(ベ
リファイ)する。正しく書き込めたことを確認したなら
ば、図4に示すように、書き込んだプログラム部の末尾
エリアに先頭エリアと同じコード(バージョン番号)を
書き込む。以上の処理を行った後、システム制御部8は
装置のリセット処理を行う。Next, the operation of the firmware (program section) update processing will be described. When the firmware data is transferred from the host computer 100, the system control unit 8 checks the firmware data under the control of the loader unit, and if normal, writes the data in the rewritable ROM unit 10. Update the program section with. After writing, the system control unit 8 confirms (verifies) whether or not the data has been correctly written on the ROM unit 10. When it is confirmed that the data has been written correctly, the same code (version number) as that of the head area is written in the tail area of the written program section as shown in FIG. After performing the above processing, the system control unit 8 performs device reset processing.
【0018】次に、図3を参照しながらファームウエア
更新後の動作について説明する。Next, the operation after updating the firmware will be described with reference to FIG.
【0019】まず、ローダ部の制御のもとシステム制御
部8は各処理部の初期化処理を実行し(ステップ30
1)、続いてプログラム部のデータチェック処理を行う
(ステップ302)。このデータチェックは、プログラ
ム部の先頭エリアと末尾エリアに記録されたファームウ
エアのバージョン番号を比較し、同一の場合にデータが
正常と判定する。ここでもしデータに異常がある場合
は、ローダ部によるファームウエア更新(再更新)処理
を行う(ステップ303)。データに異常がなければ、
システム制御部8は機能制限スイッチ7の状態を読み込
み(ステップ304)、機能制限スイッチ7がONの場
合は、機能するファームウエアをローダ部のみに制限し
てローダ部によるファームウエア更新(再更新)処理を
行い(ステップ303)、OFFの場合は通常処理、即
ちプログラム部による処理に移行する(ステップ30
5)。First, under the control of the loader section, the system control section 8 executes initialization processing of each processing section (step 30).
1) Then, the data check process of the program part is performed (step 302). In this data check, the version numbers of the firmware recorded in the head area and tail area of the program section are compared, and if they are the same, it is determined that the data is normal. If the data is abnormal, the loader unit performs firmware update (re-update) processing (step 303). If the data is normal,
The system control unit 8 reads the state of the function limiting switch 7 (step 304). If the function limiting switch 7 is ON, the functioning firmware is limited to the loader unit only and the loader unit updates the firmware (re-update). The process is performed (step 303), and when it is OFF, the process shifts to the normal process, that is, the process by the program section (step 30).
5).
【0020】ローダ部によるファームウエア更新(再更
新)処理は、ホストコンピュータ100にファームウエ
ア更新要求を出すことによってホストコンピュータ10
0からファームウエアデータが再転送され、これをデー
タチェックした後、プログラム部領域14に上書きし、
ベリファイを行って正常であれば該データをROM部1
0に書き込むことによって行われる。The firmware updating (re-updating) process by the loader section is performed by issuing a firmware updating request to the host computer 100.
The firmware data is transferred again from 0, and after checking this data, it is overwritten in the program section area 14,
If the verification is successful and the data is normal, the data is stored in the ROM section 1
This is done by writing to 0.
【0021】このように本実施例のCD−ROM読み取
り装置は、システム制御部8の制御用プログラムである
ファームウエアを、ファームウエア更新処理を含む装置
起動時の処理を行うローダ部とこのローダ部以外の通常
処理を行うためのプログラム部とに別けておき、ファー
ムウエア(プログラム部)の異常により装置が動作不能
に陥った場合に機能制限用スイッチ7をONにすること
で、機能するファームウエアがローダ部のみに制限さ
れ、このローダ部単独の機能で装置を再起動せしめてフ
ァームウエアの更新処理を行うように構成されている。
従って、ファームウエア(プログラム部)の異常により
装置が動作不能な状態になっても、機能制限用スイッチ
7をONにするだけの簡単な操作でファームウエアの更
新処理を改めて行うことが可能になる。As described above, in the CD-ROM reading apparatus of the present embodiment, the loader section that executes the firmware, which is the control program of the system control section 8, at the time of starting the apparatus including the firmware update processing, and this loader section. Other than the program unit for performing normal processing other than the above, if the device becomes inoperable due to an abnormality in the firmware (program unit), the function limiting switch 7 is turned on to enable the functioning firmware. Is limited to the loader unit only, and the function of the loader unit alone is used to restart the apparatus and update the firmware.
Therefore, even if the apparatus becomes inoperable due to an abnormality in the firmware (program section), the firmware update process can be performed again by a simple operation of turning on the function limiting switch 7. .
【0022】次に他の実施例について説明する。Next, another embodiment will be described.
【0023】図5は本実施例のCD−ROM読み取り装
置の構成を示すブロック図である。同図において、21
はCD−ROMディスク(以下、単にディスクと呼
ぶ。)、22はディスク21を駆動するディスク駆動
部、23はディスク21に記録された信号を読み取るた
めの光ピックアップ、24はディスク21から読み取っ
た信号を復調するための信号処理部、25はディスク駆
動部22及びピックアップ23を制御するディスク制御
部、26はホストコンピュータ100とのデータの入出
力を制御するインタフェース(I/F)部、28はCD
−ROM読み取り装置全体の制御を行うシステム制御
部、29はRAM部、30はファームウエアを記憶する
EEPROM等の書き換え可能なROM部である。FIG. 5 is a block diagram showing the structure of the CD-ROM reader of this embodiment. In the figure, 21
Is a CD-ROM disc (hereinafter, simply referred to as a disc), 22 is a disc drive unit that drives the disc 21, 23 is an optical pickup for reading a signal recorded on the disc 21, and 24 is a signal read from the disc 21. A signal processing unit for demodulating data, a disk control unit 25 for controlling the disk drive unit 22 and the pickup 23, an interface (I / F) unit 26 for controlling data input / output with the host computer 100, and a CD 28.
A system control unit for controlling the entire ROM reading device, 29 is a RAM unit, and 30 is a rewritable ROM unit such as an EEPROM for storing firmware.
【0024】図6はこのCD−ROM読み取り装置にお
けるメモリ部の構成を示す図である。 同図において、
31はRAM領域、32はI/O領域、33はローダ部
領域、34はデータ管理テーブル領域、35はプログラ
ム部領域である。ここで、ローダ部領域33、データ管
理テーブル領域34及びプログラム部領域35は書き換
え可能なROM部30に設けられている。ローダ部領域
33及びプログラム部領域35には、それぞれシステム
制御部28の制御用プログラム(ファームウエア)であ
るローダ部及びプログラム部が記憶される。ローダ部は
装置起動時の処理を行うと共にファームウエアの更新に
必要最低限の機能を含むファームウエアである。これに
対し、プログラム部はローダ部以外の通常処理を実現す
るためのファームウエアである。そしてローダ部及びプ
ログラム部はそれぞれ独立した処理モジュールとして単
独で起動し得るものとなっている。FIG. 6 is a diagram showing the structure of the memory section in this CD-ROM reader. In the figure,
Reference numeral 31 is a RAM area, 32 is an I / O area, 33 is a loader section area, 34 is a data management table area, and 35 is a program section area. Here, the loader section area 33, the data management table area 34, and the program section area 35 are provided in the rewritable ROM section 30. The loader section 33 and the program section 35 store a loader section and a program section, which are control programs (firmware) for the system control section 28, respectively. The loader unit is firmware that performs processing at the time of starting the device and includes minimum functions necessary for updating the firmware. On the other hand, the program section is firmware for realizing normal processing other than the loader section. The loader section and the program section can be independently activated as independent processing modules.
【0025】データ管理テーブル領域34には、プログ
ラム部領域35に記憶されたプログラム部を構成する各
機能ブロックの管理情報であるアドレス等が登録され
る。プログラム部領域35はオリジナルの機能ブロック
を記憶するオリジナル機能ブロックエリアと、後から追
加される機能ブロックを記憶する追加機能ブロックエリ
アとに区分されている。一方、データ管理テーブル領域
34は正規登録部と仮登録部からなり、仮登録部には追
加機能ブロックエリアに記憶された動作チェック前の追
加機能ブロックの管理情報が一時登録される。In the data management table area 34, addresses and the like which are management information of each functional block forming the program section stored in the program section area 35 are registered. The program section area 35 is divided into an original function block area for storing original function blocks and an additional function block area for storing function blocks added later. On the other hand, the data management table area 34 includes a regular registration unit and a temporary registration unit, and the temporary registration unit temporarily stores the management information of the additional function block before the operation check stored in the additional function block area.
【0026】次に、ファームウエアに新たな機能を追加
する場合の動作を説明する。Next, the operation of adding a new function to the firmware will be described.
【0027】ホストコンピュータ100より追加機能ブ
ロックのファームウエアデータが転送されると、システ
ム制御部28は、まずローダ部の制御のもとで該ファー
ムウエアデータのチェックを行い、正常の場合、書き換
え可能なROM部30の追加機能ブロックエリアに該デ
ータを書き込むと同時に、データ管理テーブル領域34
の仮登録部にその管理情報を登録する。この後、システ
ム制御部28はROM部30上に正しくデータを書き込
めたかどうかを確認(ベリファイ)する。正しく書き込
めたことを確認したならば、図7に示すように、書き込
んだ追加機能ブロックの先頭エリアと末尾エリアに同じ
コード(バージョン番号)を書き込む。以上の処理を行
った後、システム制御部28は装置のリセット処理を行
う。なお、機能追加処理の途中で電源が切れたりして正
しくデータが書き込められていないことが判明した場
合、上記バージョン番号の書き込みは行わない。When the firmware data of the additional function block is transferred from the host computer 100, the system control unit 28 first checks the firmware data under the control of the loader unit, and if it is normal, it can be rewritten. At the same time as writing the data in the additional function block area of the ROM unit 30, the data management table area 34
The management information is registered in the temporary registration section of. After that, the system control unit 28 confirms (verifies) whether the data has been correctly written in the ROM unit 30. When it is confirmed that the data has been written correctly, the same code (version number) is written in the head area and tail area of the written additional function block as shown in FIG. After performing the above processing, the system control unit 28 performs device reset processing. If the power is turned off during the process of adding the function and it is found that the data is not written correctly, the version number is not written.
【0028】次に図8を参照しながら追加機能ブロック
書き込み後の動作について説明する。 まず、ローダ部
の制御のもとシステム制御部28は各処理部の初期化処
理を実行し(ステップ801)、続いてデータ管理テー
ブル領域34の仮登録部を調べ、追加機能ブロックの登
録の有無を確認する(ステップ802)。追加機能ブロ
ックの登録がある場合、システム制御部28は、まず追
加機能ブロックの先頭エリアと末尾エリアに記録された
ファームウエアのバージョン番号を比較し、同一の場合
にデータが正常と判定し、続いて実際に追加機能ブロッ
クによる処理を実行してみて正常に動作するかどうかを
確認する(ステップ803)。ここで、追加機能ブロッ
クの動作に異常が発生した場合(例えばROM不良やフ
ァームウエアのバグにより追加機能ブロックが正しく動
作しなかった場合)、システム制御部28はデータ管理
テーブル領域34の仮登録部から当該追加機能ブロック
の管理情報を削除し(ステップ804)、ホストコンピ
ュータ100にファームウエア更新要求を出して追加機
能ブロックの更新処理を行う(ステップ805)。また
加機能ブロックが正常に動作すれば、データ管理テーブ
ル領域34に該追加機能ブロックを正式に登録する。即
ち、仮登録部に登録された追加機能ブロックの管理情報
を正規登録部に移す(ステップ806)。Next, the operation after writing the additional functional block will be described with reference to FIG. First, under the control of the loader unit, the system control unit 28 executes the initialization process of each processing unit (step 801), and then checks the temporary registration unit of the data management table area 34 to determine whether or not the additional function block is registered. Is confirmed (step 802). If the additional function block is registered, the system control unit 28 first compares the version numbers of the firmware recorded in the start area and the end area of the additional function block, and if they are the same, determines that the data is normal. Then, it is confirmed whether or not the normal operation is performed by actually executing the processing by the additional function block (step 803). Here, when an abnormality occurs in the operation of the additional function block (for example, when the additional function block does not operate properly due to a defective ROM or a bug in firmware), the system control unit 28 causes the temporary registration unit of the data management table area 34 to operate. The management information of the additional function block is deleted from (step 804), and a firmware update request is issued to the host computer 100 to update the additional function block (step 805). If the additional function block operates normally, the additional function block is officially registered in the data management table area 34. That is, the management information of the additional function block registered in the temporary registration unit is moved to the regular registration unit (step 806).
【0029】その後、システム制御部28はプログラム
部のデータチェックを行う(ステップ807)。このチ
ェックは、プログラム部を構成している機能ブロック毎
に、先頭エリアと末尾エリアに記録されたファームウエ
アのバージョン番号を比較し、同一の場合にデータが正
常であると判定して行われる。このデータチェックであ
る機能ブロックについて異常が検出された場合、システ
ム制御部28はデータ管理テーブル領域34の正規登録
部から当該機能ブロックの管理情報を削除し(ステップ
808)、ホストコンピュータ100にファームウエア
更新要求を出してファームウエア(異常検出された機能
ブロック)の更新処理を行う(ステップ809)。ま
た、正常ならば、プログラム部による通常処理に移行す
る(ステップ810)。After that, the system control unit 28 checks the data of the program unit (step 807). This check is performed by comparing the version numbers of the firmware recorded in the head area and the tail area for each functional block constituting the program section, and if they are the same, it is determined that the data is normal. When an abnormality is detected in the functional block that is the data check, the system control unit 28 deletes the management information of the functional block from the regular registration unit of the data management table area 34 (step 808), and the host computer 100 stores the firmware. An update request is issued and firmware (a functional block in which an abnormality is detected) is updated (step 809). If the program is normal, the process proceeds to the normal process by the program section (step 810).
【0030】このように、本実施例のCD−ROM読み
取り装置は、ファームウエアの機能を追加する場合、書
き換え可能なROM部30に追加機能ブロックのファー
ムウエアデータを書き込んだ後、この追加機能ブロック
による処理を実際に実行してみて正常に動作するかどう
かを確認し、正常に動作した場合のみ、データ管理テー
ブル領域34に該追加機能ブロックを正規登録してプロ
グラム部に正式に組み込むことができる。また、本実施
例においては、異常のある追加機能ブロックについては
仮登録の段階でプログラム部への組み込みを拒否するよ
うに構成されているので、追加機能ブロックの異常が判
明して改めてファームウエアへの機能追加を試みる場合
に、速やかに(データ管理テーブル領域34の正規登録
内容を書き替えることなく)次の機能追加処理に入るこ
とができる。As described above, in the case of adding the firmware function, the CD-ROM reading apparatus of the present embodiment writes the additional function block firmware data in the rewritable ROM section 30 and then adds the additional function block. By actually executing the process described above, it is confirmed whether it operates normally, and only when it operates normally, the additional function block can be officially registered in the data management table area 34 and officially incorporated in the program section. . In addition, in the present embodiment, since the additional function block having an abnormality is configured to be rejected from being incorporated into the program unit at the stage of temporary registration, it is determined that the abnormality of the additional function block is detected and the firmware is newly added to the firmware. When trying to add the function, the next function adding process can be promptly performed (without rewriting the regular registration contents of the data management table area 34).
【0031】なお、この実施例では、追加機能ブロック
の転送データをROM部30に書き込み、データ管理テ
ーブル領域34に仮登録した状態でその追加機能ブロッ
クによる処理を実行させて動作確認を行うように構成し
たが、追加機能ブロックデータをROM部30に書き込
む前に、ホストコンピュータから追加機能ブロックデー
タを入力しながらCD−ROM読み取り装置でその処理
を実行させて動作確認を行い、正常に動作することが判
明した場合に、ROM部30にその追加機能ブロックを
書き込み、同時にデータ管理テーブル領域34に該追加
機能ブロックを正規登録するように構成してもよい。In this embodiment, the transfer data of the additional function block is written in the ROM section 30, and the operation is confirmed by executing the processing by the additional function block in the state of being temporarily registered in the data management table area 34. Although it is configured, before writing the additional function block data to the ROM unit 30, the CD-ROM reading device performs the processing while inputting the additional function block data from the host computer, confirms the operation, and operates normally. If it is found, the additional function block may be written in the ROM section 30 and the additional function block may be registered in the data management table area 34 at the same time.
【0032】また、この実施例の構成に機能制限用スイ
ッチを付加し、ファームウエア(プログラム部)の異常
により装置が動作不能に陥った場合にこの機能制限用ス
イッチをON設定することで、機能するファームウエア
をローダ部のみに制限し、このローダ部単独の処理で装
置を再起動せしめてファームウエアの更新処理を行うよ
うに構成してもよい。Further, a function limiting switch is added to the configuration of this embodiment, and when the apparatus becomes inoperable due to an abnormality in the firmware (program section), the function limiting switch is set to ON, whereby the function is improved. The firmware to be used may be limited to only the loader section, and the apparatus may be restarted by the processing of the loader section alone to perform the firmware update processing.
【0033】[0033]
【発明の効果】以上説明したように本発明によれば、フ
ァームウエアのプログラム部に異常が発生して装置が動
作不能になった場合に、スイッチ手段を操作してファー
ムウエアの機能を制限するための指示入力を与えること
でファームウエアのローダ部が単独で機能するようにな
り、このローダ部の機能で装置を再起動せしめてプログ
ラム部の更新処理を行うことができる。As described above, according to the present invention, when an abnormality occurs in the program part of the firmware and the apparatus becomes inoperable, the switch means is operated to limit the function of the firmware. The loader section of the firmware can function independently by giving an instruction input for this, and the function of this loader section can restart the apparatus and update the program section.
【0034】また本発明によれば、新たな機能ブロック
をプログラム部に追加するにあたって、正常に動作する
ことが確認できた機能ブロックの管理情報のみを管理テ
ーブルに登録して正式に該機能ブロックをプログラム部
に追加できる。Further, according to the present invention, when a new functional block is added to the program section, only the management information of the functional block which has been confirmed to operate normally is registered in the management table and the functional block is officially registered. Can be added to the program section.
【図1】本発明に係る一実施例のCD−ROM読み取り
装置の構成を示すブロック図FIG. 1 is a block diagram showing the configuration of a CD-ROM reader according to an embodiment of the present invention.
【図2】図1のCD−ROM読み取り装置におけるメモ
リ部の構成を示す図FIG. 2 is a diagram showing a configuration of a memory unit in the CD-ROM reader of FIG.
【図3】図1のCD−ROM読み取り装置におけるファ
ームウエア更新後の動作について説明するためのフロー
チャートFIG. 3 is a flowchart for explaining an operation after firmware update in the CD-ROM reading device of FIG.
【図4】ファームウエアにおけるプログラム部のデータ
構成を示す図FIG. 4 is a diagram showing a data structure of a program section in firmware.
【図5】本発明の他の実施例のCD−ROM読み取り装
置の構成を示すブロック図FIG. 5 is a block diagram showing the configuration of a CD-ROM reader according to another embodiment of the present invention.
【図6】図5のCD−ROM読み取り装置におけるメモ
リ部の構成を示す図6 is a diagram showing a configuration of a memory unit in the CD-ROM reading device of FIG.
【図7】プログラム部の機能ブロックのデータ構成を示
す図FIG. 7 is a diagram showing a data configuration of functional blocks of a program section.
【図8】図5のCD−ROM読み取り装置における追加
機能ブロック書き込み後の動作について説明するための
フローチャート8 is a flowchart for explaining the operation after writing the additional functional block in the CD-ROM reading device of FIG.
1…CD−ROMディスク、2…ディスク駆動部、3…
光ピックアップ、4…信号処理部、5…ディスク制御
部、6…インタフェース(I/F)部、7…機能制限用
スイッチ、8…システム制御部、9…RAM部、10…
書き替え可能ROM部、13…ローダ部領域、14…プ
ログラム部領域。1 ... CD-ROM disc, 2 ... disc drive unit, 3 ...
Optical pickup, 4 ... Signal processing unit, 5 ... Disk control unit, 6 ... Interface (I / F) unit, 7 ... Function limiting switch, 8 ... System control unit, 9 ... RAM unit, 10 ...
Rewritable ROM section, 13 ... Loader section area, 14 ... Program section area.
───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 G11B 19/04 501 A 7525−5D ─────────────────────────────────────────────────── ─── Continuation of front page (51) Int.Cl. 6 Identification number Office reference number FI technical display location G11B 19/04 501 A 7525-5D
Claims (3)
ファームウエア更新処理を含む装置起動処理を行うため
のローダ部、及びこのローダ部以外の処理を行うための
ファームウエアであって且つ更新処理の対象であるプロ
グラム部を記憶するファームウエア記憶手段と、 前記ファームウエアの機能を制限するための指示入力を
外部より受け付けるスイッチ手段とを有し、 前記制御手段は、前記スイッチ手段の状態を検出し、前
記ファームウエアの機能を制限するための指示入力を検
出した場合、前記ファームウエアの前記ローダ部を単独
に機能させて、前記ファームウエア記憶手段に記憶され
た前記プログラム部の更新処理を実行することを特徴と
する光ディスク再生装置のファームウエア更新方法。1. Control means for performing system control, and firmware for controlling the control means,
A loader unit for performing a device activation process including a firmware update process, and firmware storage means for storing a program unit that is firmware for performing a process other than the loader unit and is a target of the update process, And a switch unit that receives an instruction input for limiting the function of the firmware from the outside, the control unit detects a state of the switch unit, and inputs an instruction input for limiting the function of the firmware. When detected, the loader section of the firmware is caused to function independently to execute the update processing of the program section stored in the firmware storage means, the firmware update method for an optical disk reproducing apparatus.
ファームウエア更新処理を含む装置起動処理を行うため
のローダ部、このローダ部以外の処理を行うためのファ
ームウエアであって且つ更新処理の対象であるプログラ
ム部、及びこのプログラム部を構成する機能ブロック単
位で該プログラム部を管理するための管理情報を記憶し
てなる管理テーブルを記憶するファームウエア記憶手段
とを有し、 前記制御手段は、前記ファームウエア記憶
手段に記憶された前記プログラム部に新たな機能ブロッ
クを追加する場合、該機能ブロックについての管理情報
を前記ファームウエア記憶手段の前記管理テーブルに登
録する前に該追加機能ブロックによる処理を実行してそ
の動作を確認し、正常に動作すれば、該機能ブロックに
ついての管理情報を前記ファームウエア記憶手段の前記
管理テーブルに登録して前記新たな機能ブロックを正式
に前記プログラム部に追加することを特徴とする光ディ
スク再生装置のファームウエア更新方法。2. Control means for controlling the system, and firmware for controlling the control means,
A loader unit for performing a device activation process including a firmware update process, a program unit for performing a process other than the loader unit and a target of the update process, and a functional block forming the program unit Firmware storage means for storing a management table storing management information for managing the program unit in units, and the control means is newly added to the program section stored in the firmware storage means. When a new functional block is added, the processing by the additional functional block is executed and its operation is confirmed before the management information about the functional block is registered in the management table of the firmware storage means. For example, management information about the functional block is registered in the management table of the firmware storage means. Then, the new functional block is officially added to the program section, and the firmware updating method for the optical disk reproducing apparatus is characterized.
ファームウエア更新処理を含む装置起動処理を行うため
のローダ部、このローダ部以外の処理を行うためのファ
ームウエアであって且つ更新処理の対象であるプログラ
ム部、及びこのプログラム部を構成する機能ブロック単
位で該プログラム部を管理するための管理情報を記憶し
てなる管理テーブルを記憶するファームウエア記憶手段
と、 前記ファームウエアの機能を制限するための指示入力を
外部より受け付けるスイッチ手段とを有し、 前記制御手段は、前記ファームウエア記憶手段に記憶さ
れた前記プログラム部に新たな機能ブロックを追加する
場合、該機能ブロックについての管理情報を前記ファー
ムウエア記憶手段の前記管理テーブルに登録する前に該
追加機能ブロックによる処理を実行してその動作を確認
し、正常に動作すれば、該機能ブロックについての管理
情報を前記ファームウエア記憶手段の前記管理テーブル
に登録して前記新たな機能ブロックを正式に前記プログ
ラム部に追加し、 且つ、前記制御手段は、前記スイッチ手段の状態を検出
し、前記ファームウエアの機能を制限するための指示入
力を検出した場合、前記ファームウエアの前記ローダ部
を単独に機能させて、前記ファームウエア記憶手段に記
憶された前記プログラム部の更新処理を実行することを
特徴とする光ディスク再生装置のファームウエア更新方
法。3. Control means for controlling the system, and firmware for controlling the control means,
A loader unit for performing a device activation process including a firmware update process, a program unit for performing a process other than the loader unit and a target of the update process, and a functional block forming the program unit A firmware storage unit that stores a management table that stores management information for managing the program unit in units, and a switch unit that externally receives an instruction input to limit the function of the firmware. When the control unit adds a new functional block to the program unit stored in the firmware storage unit, before registering management information about the functional block in the management table of the firmware storage unit. If the operation is confirmed by executing the processing by the additional function block and confirming its operation, Management information about the functional block is registered in the management table of the firmware storage means to formally add the new functional block to the program section, and the control means detects the state of the switch means. However, when an instruction input for limiting the function of the firmware is detected, the loader unit of the firmware is caused to function independently, and the updating process of the program unit stored in the firmware storage unit is executed. A method for updating firmware of an optical disc reproducing apparatus, which is characterized by:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP29728094A JP3734285B2 (en) | 1994-11-30 | 1994-11-30 | Firmware update device and firmware update method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP29728094A JP3734285B2 (en) | 1994-11-30 | 1994-11-30 | Firmware update device and firmware update method |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH08161160A true JPH08161160A (en) | 1996-06-21 |
JP3734285B2 JP3734285B2 (en) | 2006-01-11 |
Family
ID=17844483
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP29728094A Expired - Fee Related JP3734285B2 (en) | 1994-11-30 | 1994-11-30 | Firmware update device and firmware update method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3734285B2 (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR980004707A (en) * | 1996-06-29 | 1998-03-30 | 김광호 | CD-ROM drive |
US6253281B1 (en) | 1997-06-21 | 2001-06-26 | U.S. Philips Corporation | Method for updating firmware of a computer peripheral device |
KR100447363B1 (en) * | 2000-06-08 | 2004-09-07 | 산요덴키가부시키가이샤 | Controller and data processing system |
KR100468664B1 (en) * | 1997-04-17 | 2005-05-24 | 삼성전자주식회사 | How to check the firmware version of your CD-ROM drive |
JP2014215651A (en) * | 2013-04-23 | 2014-11-17 | 三菱電機株式会社 | Non-volatile memory loading device |
-
1994
- 1994-11-30 JP JP29728094A patent/JP3734285B2/en not_active Expired - Fee Related
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR980004707A (en) * | 1996-06-29 | 1998-03-30 | 김광호 | CD-ROM drive |
KR100468664B1 (en) * | 1997-04-17 | 2005-05-24 | 삼성전자주식회사 | How to check the firmware version of your CD-ROM drive |
US6253281B1 (en) | 1997-06-21 | 2001-06-26 | U.S. Philips Corporation | Method for updating firmware of a computer peripheral device |
CN1097225C (en) * | 1997-06-21 | 2002-12-25 | 皇家菲利浦电子有限公司 | Method of updating program code for an optical disc drive microcontroller and an optical disc drive |
KR100447363B1 (en) * | 2000-06-08 | 2004-09-07 | 산요덴키가부시키가이샤 | Controller and data processing system |
JP2014215651A (en) * | 2013-04-23 | 2014-11-17 | 三菱電機株式会社 | Non-volatile memory loading device |
Also Published As
Publication number | Publication date |
---|---|
JP3734285B2 (en) | 2006-01-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7818556B2 (en) | Storage apparatus, control method, and control device which can be reliably started up when power is turned on even after there is an error during firmware update | |
US7376943B2 (en) | Safe method for upgrading firmware of optical disk product | |
US20080126784A1 (en) | Storage apparatus, control method, and control device | |
TW200414041A (en) | Method and system for maintaining firmware versions in a data processing system | |
TW202137002A (en) | Data storage device and method for maintaining normal boot operation of data storage device | |
US7669046B2 (en) | Data processing apparatus and firmware update method | |
JPH08161160A (en) | Firmware update method for optical disk player | |
JPH0281130A (en) | Micro program update method | |
JP2001034822A (en) | Controller for automatic vending machine | |
JP3768967B2 (en) | Disk control device and disk device control program update method | |
JPH0869376A (en) | Rewriting control circuit of BIOS | |
JP3951808B2 (en) | Hard disk drive subsystem | |
JP2001117779A (en) | Electronic device and program rewriting method | |
JP2000357216A (en) | Ic card | |
CN1282922C (en) | Method and device for updating firmware using memory card | |
JP2005050079A (en) | Server device, bios updating program, bootstrap program, and bios updating method | |
CN114625389A (en) | Embedded equipment upgrading method, embedded equipment and storage device | |
JP5950290B1 (en) | Nonvolatile storage device and processing method of nonvolatile storage device | |
JP3498028B2 (en) | Boot program rewriting system | |
JPH1091539A (en) | Data storage | |
TWI240890B (en) | Alternative type upgrading method of firmware | |
JP2016162465A (en) | Non-volatile storage device and processing method for the same | |
CN118276985A (en) | RISC-V chip startup method, device and medium | |
JP2001282464A (en) | Firmware management system of disk array device and its managing method | |
JPH07146837A (en) | Computer peripheral device and program update control method for the same |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20040916 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20041012 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20041210 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20050322 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20050712 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20050912 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20051011 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20051018 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
LAPS | Cancellation because of no payment of annual fees |