JP2007241361A - Control program rewrite system in information processor - Google Patents

Control program rewrite system in information processor Download PDF

Info

Publication number
JP2007241361A
JP2007241361A JP2006059008A JP2006059008A JP2007241361A JP 2007241361 A JP2007241361 A JP 2007241361A JP 2006059008 A JP2006059008 A JP 2006059008A JP 2006059008 A JP2006059008 A JP 2006059008A JP 2007241361 A JP2007241361 A JP 2007241361A
Authority
JP
Japan
Prior art keywords
control program
microcomputer
built
rewriting
program
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2006059008A
Other languages
Japanese (ja)
Inventor
Hiroshi Ushio
太士 牛尾
Tomohide Matsuda
智秀 松田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2006059008A priority Critical patent/JP2007241361A/en
Publication of JP2007241361A publication Critical patent/JP2007241361A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To solve the following problem: when a power plug or the like is extracted in the middle of writing of a control program into a microcomputer with a built-in flash by use of a main control microcomputer, a means rewriting the microcomputer with the built-in flash is done away with, so that the microcomputer with the built-in flash itself has to be replaced to take cost or trouble. <P>SOLUTION: This control program rewrite system has a program writer 20 capable of being connected to an information processor body 10, sending out a control program P2 to the information processor body 10 comprising: the main control microcomputer 1 having a communication control part 1a reading and transferring a control program P1 of a recording medium 3; and the microcomputer with the built-in flash 2 having a flash memory 2a storing the control program and a loader 2b rewriting the control program to a flash memory. The information processor body 10 has a changeover means 4 changing over between a state that the control program P1 from the communication control part 1a is sent to the loader 2b and a state that the control program P2 from the program writer 20 is sent to the loader 2b. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、デジタル家電等における情報処理装置の生産の過程で適用される制御プログラム書き換えシステムに関する。詳しくは、メイン制御マイコンとこのメイン制御マイコンの電源制御を行う不揮発性メモリ内蔵マイコン(フラッシュ内蔵マイコン)とを備え、さらに、メイン制御マイコンは記録媒体から制御プログラムを読み出して転送する通信制御部を有し、不揮発性メモリ内蔵マイコンは制御プログラムを格納するフラッシュメモリなどの不揮発性メモリおよび通信制御部から受け取った制御プログラムの不揮発性メモリに対する書き換えを行うローダーを有する情報処理装置において、制御プログラムの書き換えを行うための技術に関する。   The present invention relates to a control program rewriting system applied in the course of production of an information processing apparatus in a digital home appliance or the like. Specifically, it has a main control microcomputer and a microcomputer with built-in nonvolatile memory (microcomputer with built-in flash) that controls the power supply of the main control microcomputer, and the main control microcomputer has a communication control unit that reads and transfers a control program from a recording medium. The microcomputer with built-in nonvolatile memory has a non-volatile memory such as a flash memory for storing the control program, and an information processing apparatus having a loader for rewriting the nonvolatile memory of the control program received from the communication control unit. It relates to technology to do.

従来のフラッシュ内蔵マイコンを書き換える方法に、ホストコンピュータなどからプログラムを転送しフラッシュメモリに格納するなどの書き換え手段をもつものがある(例えば、特許文献1参照)。   As a conventional method of rewriting a microcomputer with built-in flash, there is a method having rewriting means such as transferring a program from a host computer or the like and storing it in a flash memory (for example, see Patent Document 1).

また、図2に示すような構成のものもある。図2において、DVD録再セット本体10は、DVD録再セット本体10の制御を行うメイン制御マイコン1と、DVD録再セット本体10の電源制御を行うフラッシュ内蔵マイコン2を備えている。メイン制御マイコン1は、記録媒体3から制御プログラムP1を読み出してフラッシュ内蔵マイコン2へ転送する通信制御部1aを有している。フラッシュ内蔵マイコン2は、不揮発性メモリであるフラッシュメモリ2aと、フラッシュメモリ2aに制御プログラムを書き込むソフトウェアからなるローダー2bを備えている。3は制御プログラムP1を記録しているDVD−RAMなどの記録媒体である。   There is also a configuration as shown in FIG. 2, the DVD recording / resetting main body 10 includes a main control microcomputer 1 that controls the DVD recording / resetting main body 10 and a flash built-in microcomputer 2 that controls the power supply of the DVD recording / resetting main body 10. The main control microcomputer 1 has a communication control unit 1a that reads the control program P1 from the recording medium 3 and transfers it to the microcomputer 2 with built-in flash. The microcomputer with built-in flash 2 includes a flash memory 2a which is a nonvolatile memory and a loader 2b made of software for writing a control program in the flash memory 2a. Reference numeral 3 denotes a recording medium such as a DVD-RAM in which the control program P1 is recorded.

フラッシュメモリ2aに対して制御プログラムを書き換える場合、メイン制御マイコン1の通信制御部1aが記録媒体3から制御プログラムP1を読み出しローダー2bに転送することで、ローダー2bがフラッシュメモリ2aに制御プログラムP1を書き込む。これが書き換え手段である。   When the control program is rewritten to the flash memory 2a, the communication control unit 1a of the main control microcomputer 1 reads the control program P1 from the recording medium 3 and transfers it to the loader 2b, so that the loader 2b sends the control program P1 to the flash memory 2a. Write. This is the rewriting means.

このようにメイン制御マイコンを使用して制御プログラムの書き換えを行う手段は、ホストコンピュータを使用する場合に比べて、プログラムの持ち運びなどの点において軽便である。
特開2001−325108号公報(第3−4頁、第1−3図)
Thus, the means for rewriting the control program using the main control microcomputer is lighter in terms of carrying the program and the like than using the host computer.
JP 2001-325108 A (page 3-4, Fig. 1-3)

従来、このようなフラッシュ内蔵マイコンの書き換え手段は、セットにおいて1系統の書き換え手段しか実装されていない。そのため、メイン制御マイコンを用いて制御プログラムを書き換えている途中で停電が生じたり電源プラグが抜かれたりした場合には、フラッシュ内蔵マイコンの書き換えが正常に終了しないことから通常動作ができず、セット自体の電源を立ち上げることができなくなる。セット自体が立ち上がらないため、フラッシュ内蔵マイコンを書き換える手段がなくなる。結果として、フラッシュ内蔵マイコン自体を取り替えなければならなくなり、費用や手間がかかるという問題がある。   Conventionally, the rewrite means of such a microcomputer with built-in flash has only one rewrite means mounted in a set. Therefore, if a power failure occurs or the power plug is unplugged while the control program is being rewritten using the main control microcomputer, the reprogramming of the microcomputer with built-in flash does not end normally and normal operation cannot be performed. You will not be able to turn on the power. Since the set itself does not start up, there is no way to rewrite the flash built-in microcomputer. As a result, there is a problem that it is necessary to replace the flash built-in microcomputer itself, which is expensive and troublesome.

本発明は、このような事情に鑑みて創作したものであり、メイン制御マイコンを用いて制御プログラムを書き換えている途中で停電が生じたり電源プラグが抜かれたりなどして不揮発性メモリ内蔵マイコンの書き換えが正常に終了しない場合でも、所期通りに不揮発性メモリ内蔵マイコンの書き換えができるようにすることを目的としている。   The present invention was created in view of such circumstances, and rewriting the microcomputer with built-in nonvolatile memory due to a power failure or disconnection of the power plug during rewriting of the control program using the main control microcomputer. The purpose is to make it possible to rewrite the microcomputer with built-in non-volatile memory as expected even if the process does not end normally.

この問題を解決するために本発明では、2系統の書き換え手段を実装した回路基板を用い、第1の書き換え手段であるメイン制御マイコンからの書き換えが失敗した場合でも、第2の書き換え手段を用いて不揮発性メモリを書き換えることができるようにするものである。   In order to solve this problem, the present invention uses a circuit board on which two systems of rewriting means are mounted, and uses the second rewriting means even when rewriting from the main control microcomputer as the first rewriting means fails. Thus, the nonvolatile memory can be rewritten.

すなわち、本発明による情報処理装置における制御プログラム書き換えシステムは、
メイン制御マイコンを使用して記録媒体の制御プログラムを読み出して不揮発性メモリ内蔵マイコンを書き換える第1の書き換え手段と、
外部のプログラムライターから前記不揮発性メモリ内蔵マイコンを書き換える第2の書き換え手段とを備えたものである。
That is, the control program rewriting system in the information processing apparatus according to the present invention is:
A first rewriting means for reading a control program for a recording medium using a main control microcomputer and rewriting the microcomputer with built-in nonvolatile memory;
And a second rewriting means for rewriting the microcomputer with built-in nonvolatile memory from an external program writer.

より具体的レベルで記述すると、本発明による情報処理装置における制御プログラム書き換えシステムは、
記録媒体に格納されている制御プログラムを読み出して転送する通信制御部を有するメイン制御マイコンと、制御プログラムを格納する不揮発性メモリおよび前記不揮発性メモリに対する制御プログラムの書き換えを行うローダーを有する不揮発性メモリ内蔵マイコンとからなる情報処理装置本体と、
前記情報処理装置本体に接続可能で制御プログラムを送出するプログラムライターとからなり、
前記情報処理装置本体は、さらに、前記メイン制御マイコンの前記通信制御部からの制御プログラムを前記ローダーに送る状態と前記プログラムライターからの制御プログラムを前記ローダーに送る状態とを切り替える切替手段を備えている。
More specifically, the control program rewriting system in the information processing apparatus according to the present invention is
A main control microcomputer having a communication control unit for reading and transferring a control program stored in a recording medium, a non-volatile memory for storing the control program, and a non-volatile memory having a loader for rewriting the control program for the non-volatile memory An information processing device main body comprising a built-in microcomputer;
A program writer that can be connected to the information processing apparatus main body and sends a control program,
The information processing apparatus main body further includes switching means for switching between a state in which the control program from the communication control unit of the main control microcomputer is sent to the loader and a state in which the control program from the program writer is sent to the loader. Yes.

この構成によれば、メイン制御マイコンを用いて制御プログラムを書き換えている途中で停電が生じたり電源プラグが抜かれたりなどして不揮発性メモリ内蔵マイコンの書き換えが正常に終了しない場合には、情報処理装置本体に対してプログラムライターを接続し、切替手段においてプログラムライターをローダーに接続する状態にし、プログラムライターからの制御プログラムを切替手段およびローダーを介して不揮発性メモリに書き込む。結果として、所期通りに不揮発性メモリ内蔵マイコンの書き換えを実現できる。   According to this configuration, if rewriting of the microcomputer with built-in nonvolatile memory does not end normally due to a power failure or disconnection of the power plug during rewriting of the control program using the main control microcomputer, information processing A program writer is connected to the apparatus main body, the program writer is connected to the loader in the switching means, and a control program from the program writer is written to the nonvolatile memory via the switching means and the loader. As a result, it is possible to rewrite the microcomputer with built-in nonvolatile memory as expected.

本発明によれば、停電などのためにメイン制御マイコンが動作不能状態になった場合でも、プログラムライターおよび切替手段を使用した第2の書き換え手段による制御プログラムの書き換えが実現でき、不揮発性メモリ内蔵マイコンの取り替えなど大掛かりな対応の必要性を解消することができる。その結果として、取り替え時間の削減、不揮発性メモリ内蔵マイコンの取り替えコストの削減の効果が得られる。   According to the present invention, even when the main control microcomputer becomes inoperable due to a power failure or the like, the control program can be rewritten by the second rewriting means using the program writer and the switching means, and the nonvolatile memory is incorporated. This eliminates the need for large-scale measures such as replacing the microcomputer. As a result, the effect of reducing the replacement time and the replacement cost of the nonvolatile memory microcomputer can be obtained.

以下、本発明にかかわる情報処理装置における制御プログラム書き換えシステムの実施の形態を図面に基づいて詳細に説明する。   Embodiments of a control program rewriting system in an information processing apparatus according to the present invention will be described below in detail with reference to the drawings.

図1は本発明の一実施例であるDVD録再セットでの制御プログラム書き換えシステムの概略構成を示すブロック図である。図1において、10は情報処理装置本体としてのDVD録再セット本体であり、このDVD録再セット本体10は、DVD録再セット本体10の制御を行うメイン制御マイコン1と、DVD録再セット本体10の電源制御を行うフラッシュ内蔵マイコン2を備えている。メイン制御マイコン1は、記録媒体3から制御プログラムP1を読み出してフラッシュ内蔵マイコン2へ転送する通信制御部1aを有している。フラッシュ内蔵マイコン2は、不揮発性メモリであるフラッシュメモリ2aと、フラッシュメモリ2aに制御プログラムを書き込むソフトウェアからなるローダー2bを備えている。3は制御プログラムP1を記録しているDVD−RAMなどの記録媒体である。20はDVD録再セット本体10に接続される外部装置としてのプログラムライターであり、このプログラムライター20は制御プログラムP2を格納している。4は制御プログラムの転送元を切り替え制御する切替手段であり、この切替手段4の入力側に通信制御部1aとプログラムライター20とが接続され、その出力側にローダー2bが接続されている。プログラムライター20における制御プログラムP2は切替手段4を制御するようになっている。   FIG. 1 is a block diagram showing a schematic configuration of a control program rewriting system in a DVD recording / reproducing set according to an embodiment of the present invention. In FIG. 1, reference numeral 10 denotes a DVD recording / resetting main body as an information processing apparatus main body. The DVD recording / resetting main body 10 includes a main control microcomputer 1 for controlling the DVD recording / resetting main body 10 and a DVD recording / resetting main body. 10 includes a microcomputer 2 with built-in flash that performs power supply control. The main control microcomputer 1 has a communication control unit 1a that reads the control program P1 from the recording medium 3 and transfers it to the microcomputer 2 with built-in flash. The microcomputer with built-in flash 2 includes a flash memory 2a which is a nonvolatile memory and a loader 2b made of software for writing a control program in the flash memory 2a. Reference numeral 3 denotes a recording medium such as a DVD-RAM in which the control program P1 is recorded. Reference numeral 20 denotes a program writer as an external device connected to the DVD recording / resetting main body 10, and this program writer 20 stores a control program P2. Reference numeral 4 denotes switching means for switching and controlling the transfer source of the control program. The communication control unit 1a and the program writer 20 are connected to the input side of the switching means 4, and the loader 2b is connected to the output side thereof. A control program P2 in the program writer 20 controls the switching means 4.

次に、上記のように構成された本実施の形態のDVD録再セット(情報処理装置)において、フラッシュメモリ2aに対して制御プログラムを書き換えるときの動作について説明する。   Next, an operation when the control program is rewritten in the flash memory 2a in the DVD recording / reproducing set (information processing apparatus) of the present embodiment configured as described above will be described.

通常はフラッシュ内蔵マイコン2が正常に動作している。制御プログラムの転送元を制御する切替手段4は、メイン制御マイコン1からの転送側に繋がっている。フラッシュメモリ2aを書き換える場合、メイン制御マイコン1の通信制御部1aが記録媒体3から制御プログラムP1を読み出し、切替手段4を介してローダー2bに転送することで、ローダー2bがフラッシュメモリ2aに制御プログラムP1を書き込む。これが第1の書き換え手段であり、これは図2の従来技術と同様の動作形態である。   Normally, the microcomputer 2 with a built-in flash is operating normally. The switching means 4 for controlling the transfer source of the control program is connected to the transfer side from the main control microcomputer 1. When rewriting the flash memory 2a, the communication control unit 1a of the main control microcomputer 1 reads the control program P1 from the recording medium 3 and transfers it to the loader 2b via the switching means 4, so that the loader 2b stores the control program in the flash memory 2a. Write P1. This is the first rewriting means, which has the same operation mode as the prior art of FIG.

もし、上記第1の書き換え手段による処理が失敗した場合、DVD録再セット本体10の電源制御を行うフラッシュ内蔵マイコン2が正常に動作しない。結果、メイン制御マイコン1から記録媒体3の制御プログラムP1を転送することができなくなる。その場合、DVD録再セット本体10にソケット等の接続部材を介してプログラムライター20を接続する。この状態で、電源を供給すると、プログラムライター20から切替手段4に対して切替信号が送出され、プログラムライター20からローダー2bに対して制御プログラムP2を転送することが可能になる。ローダー2bは受け取った制御プログラムP2をフラッシュメモリ2aに書き込む。これが第2の書き換え手段である。このようにすることで、フラッシュ内蔵マイコン2は正常に復帰することができる。   If the process by the first rewriting means fails, the flash built-in microcomputer 2 that controls the power supply of the DVD recording / resetting main body 10 does not operate normally. As a result, the control program P1 for the recording medium 3 cannot be transferred from the main control microcomputer 1. In this case, the program writer 20 is connected to the DVD recording / resetting main body 10 via a connection member such as a socket. When power is supplied in this state, a switching signal is sent from the program writer 20 to the switching means 4, and the control program P2 can be transferred from the program writer 20 to the loader 2b. The loader 2b writes the received control program P2 into the flash memory 2a. This is the second rewriting means. By doing so, the microcomputer 2 with built-in flash can be restored normally.

なお、切替手段4の切り替えは、手動で行うように構成してもよい。   Note that the switching of the switching unit 4 may be performed manually.

以上のように本実施の形態によれば、第1の書き換え手段による処理が失敗しても、第2の書き換え手段を用いることで、フラッシュ内蔵マイコンのフラッシュメモリに対する書き換えが所期通りに実現でき、マイコン取り替えのための時間や費用を削減することができる。   As described above, according to the present embodiment, even if the processing by the first rewriting means fails, rewriting of the flash memory of the microcomputer with built-in flash can be realized as expected by using the second rewriting means. The time and cost for replacing the microcomputer can be reduced.

本発明の情報処理装置における制御プログラム書き換えシステムは、フラッシュ内蔵マイコンがプリント基板に実装された情報処理装置の製造工程において、フラッシュ内蔵マイコンの取り替えを行う必要性を解消することができるため、時間や費用を削減できる効果があり、デジタル家電およびそれらの生産方法等において有用である。   The control program rewriting system in the information processing apparatus of the present invention can eliminate the necessity of replacing the flash built-in microcomputer in the manufacturing process of the information processing apparatus in which the flash built-in microcomputer is mounted on the printed circuit board. It has the effect of reducing costs and is useful in digital home appliances and their production methods.

本発明の実施の形態の情報処理装置(DVD録再セット)における制御プログラム書き換えシステムの構成を示すブロック図The block diagram which shows the structure of the control program rewriting system in the information processing apparatus (DVD recording / reproducing set) of embodiment of this invention 従来の技術の情報処理装置(DVD録再セット)における制御プログラム書き換えシステムの構成を示すブロック図A block diagram showing a configuration of a control program rewriting system in a conventional information processing apparatus (DVD recording / resetting)

符号の説明Explanation of symbols

1 メイン制御マイコン
1a 通信制御部
2 フラッシュ内蔵マイコン(不揮発性メモリ内蔵マイコン)
2a フラッシュメモリ(不揮発性メモリ)
2b ローダー
3 記録媒体
4 切替手段
10 DVD録再セット本体(情報処理装置本体)
20 プログラムライター
P1 制御プログラム
P2 制御プログラム
1 Main control microcomputer 1a Communication control unit 2 Microcomputer with built-in flash (microcomputer with built-in nonvolatile memory)
2a Flash memory (nonvolatile memory)
2b Loader 3 Recording medium 4 Switching means 10 DVD recording / resetting main body (information processing apparatus main body)
20 Program writer P1 control program P2 control program

Claims (2)

メイン制御マイコンを使用して記録媒体の制御プログラムを読み出して不揮発性メモリ内蔵マイコンを書き換える第1の書き換え手段と、
外部のプログラムライターから前記不揮発性メモリ内蔵マイコンを書き換える第2の書き換え手段とを備えた情報処理装置における制御プログラム書き換えシステム。
A first rewriting means for reading a control program for a recording medium using a main control microcomputer and rewriting the microcomputer with built-in nonvolatile memory;
A control program rewriting system in an information processing apparatus, comprising: a second rewriting means for rewriting the microcomputer with built-in nonvolatile memory from an external program writer.
記録媒体に格納されている制御プログラムを読み出して転送する通信制御部を有するメイン制御マイコンと、制御プログラムを格納する不揮発性メモリおよび前記不揮発性メモリに対する制御プログラムの書き換えを行うローダーを有する不揮発性メモリ内蔵マイコンとからなる情報処理装置本体と、
前記情報処理装置本体に接続可能で制御プログラムを送出するプログラムライターとからなり、
前記情報処理装置本体は、さらに、前記メイン制御マイコンの前記通信制御部からの制御プログラムを前記ローダーに送る状態と前記プログラムライターからの制御プログラムを前記ローダーに送る状態とを切り替える切替手段を備えている情報処理装置における制御プログラム書き換えシステム。
A main control microcomputer having a communication control unit for reading and transferring a control program stored in a recording medium, a non-volatile memory for storing the control program, and a non-volatile memory having a loader for rewriting the control program for the non-volatile memory An information processing device main body comprising a built-in microcomputer;
A program writer that can be connected to the information processing apparatus main body and sends a control program,
The information processing apparatus main body further includes switching means for switching between a state in which the control program from the communication control unit of the main control microcomputer is sent to the loader and a state in which the control program from the program writer is sent to the loader. Control program rewriting system in an information processing apparatus.
JP2006059008A 2006-03-06 2006-03-06 Control program rewrite system in information processor Pending JP2007241361A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006059008A JP2007241361A (en) 2006-03-06 2006-03-06 Control program rewrite system in information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006059008A JP2007241361A (en) 2006-03-06 2006-03-06 Control program rewrite system in information processor

Publications (1)

Publication Number Publication Date
JP2007241361A true JP2007241361A (en) 2007-09-20

Family

ID=38586881

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006059008A Pending JP2007241361A (en) 2006-03-06 2006-03-06 Control program rewrite system in information processor

Country Status (1)

Country Link
JP (1) JP2007241361A (en)

Similar Documents

Publication Publication Date Title
US20100122017A1 (en) Memory controller, non-volatile memory system, and host device
JP6227794B2 (en) Vehicle control device, reprogramming system
JP2006260058A (en) Firmware update method in computer server system
TW201301134A (en) Firmware updating system and method
JP2006268683A (en) Memory system and hot swap method for the same
JP2009064263A (en) Memory device
TW202008174A (en) Method and system for power loss protection
JP4819088B2 (en) Storage device and method for starting the storage device
WO2009107212A1 (en) Storage device, storage controller, and method for controlling storage
JP2005525668A (en) Hard disk drive system, method and apparatus using such a system
JP2008225672A (en) Semiconductor memory device
JP2007241361A (en) Control program rewrite system in information processor
JP2008059007A (en) Semiconductor storage device
JP4698479B2 (en) USB device and power supply control method
JP2000207193A (en) Magnetic tape unit and firmware updating method for the same
JP2005174156A (en) Memory device and electronic equipment having the same
WO2018173105A1 (en) Programmable logic controller, memory module, and program
JP2007066326A (en) Storage device, data processor and data processing method
JP2014154042A (en) Information processing device and method for replacing storage unit thereof
JPH09231065A (en) Program changeable electronic controller
JP4953595B2 (en) Information processing device
JP2008269380A (en) Information processor
JP2007310758A (en) Information recording and reproduction apparatus and electronic apparatus
JP2009205569A (en) Electronic apparatus, and program rewriting method
JP2006330787A (en) Semiconductor storage device