JP2007310695A - Embedded equipment and method for writing firmware to embedded equipment - Google Patents
Embedded equipment and method for writing firmware to embedded equipment Download PDFInfo
- Publication number
- JP2007310695A JP2007310695A JP2006139819A JP2006139819A JP2007310695A JP 2007310695 A JP2007310695 A JP 2007310695A JP 2006139819 A JP2006139819 A JP 2006139819A JP 2006139819 A JP2006139819 A JP 2006139819A JP 2007310695 A JP2007310695 A JP 2007310695A
- Authority
- JP
- Japan
- Prior art keywords
- firmware
- source code
- embedded device
- digital multifunction
- card
- 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 an embedded device and a method for writing firmware to the embedded device.
従来より、組み込み機器のファームウェアの不具合対策は、不具合のあるファームウェアのソースコードを探し出してデバッグし、デバッグ後のソースコードから新たに実行ファイルを生成して組み込み機器に書き込むことにより行われている。 Conventionally, countermeasures for malfunctions in firmware of embedded devices have been performed by finding and debugging the source code of the firmware with a defect, generating a new execution file from the source code after debugging, and writing it in the embedded device.
なお、特許文献1は、本願発明と関連する先行技術文献であり、プログラムのバージョンアップ指示を正確に受け付けるための技術に関する。
しかし、従来の技術では、ファームウェアのソースコードが失われている場合、ファームウェアの不具合対策が困難になるという問題があった。このような問題は、古い組み込み機器に書き込まれたファームウェアの不具合対策が必要となった場合等に起こりうる。また、従来の技術では、ファームウェアのバージョンアップが繰り返された結果、ソースコードと実行ファイルとの対応関係が不明確になってしまった場合にも、ファームウェアの不具合対策が困難になるという問題がある。 However, the conventional technique has a problem in that it is difficult to take measures against a malfunction of the firmware when the source code of the firmware is lost. Such a problem may occur when it is necessary to take measures against a malfunction of firmware written in an old embedded device. In addition, with the conventional technology, there is a problem that it is difficult to take measures against firmware defects even when the correspondence between the source code and the executable file becomes unclear as a result of repeated firmware upgrades. .
本発明は、これらの問題を解決するためになされたもので、組み込み機器のファームウェアの不具合対策を容易にすることを目的とする。 The present invention has been made to solve these problems, and it is an object of the present invention to facilitate countermeasures against malfunctions in firmware of embedded devices.
上記課題を解決するため、請求項1の発明は、組み込み機器の動作を規定するファームウェアの実行ファイルを、前記組み込み機器の第1格納手段に、前記組み込み機器に内蔵されたコンピュータによって実行可能に格納する第1格納工程と、前記実行ファイルの生成の基礎となったソースコードを前記組み込み機器の第2格納手段に格納する第2格納工程と、を備える組み込み機器へのファームウェアの書込方法である。 In order to solve the above-mentioned problem, according to the first aspect of the present invention, a firmware execution file that defines the operation of an embedded device is stored in the first storage means of the embedded device so as to be executable by a computer built in the embedded device. A method of writing firmware to the embedded device, comprising: a first storage step of storing the source code that is the basis for generating the execution file in a second storage unit of the embedded device. .
請求項2の発明は、前記第2格納工程で格納されるソースコードが、暗号化されている請求項1に記載の組み込み機器へのファームウェアの書込方法である。
The invention of claim 2 is the method of writing firmware to the embedded device according to
請求項3の発明は、前記第2格納工程で格納されるソースコードが、ファームウェアとソースコードとの対応づけの情報に基づいて特定される請求項1又は請求項2に記載の組み込み機器へのファームウェアの書込方法である。 According to a third aspect of the present invention, the source code stored in the second storage step is specified based on information on correspondence between firmware and source code. This is a firmware writing method.
請求項4の発明は、動作を規定するファームウェアの実行ファイルを、内蔵のコンピュータによって実行可能に格納する第1格納手段と、前記実行ファイルの生成の基礎となったソースコードを格納する第2格納手段とを備える組み込み機器である。 According to a fourth aspect of the present invention, there is provided a first storage means for storing an execution file of firmware defining the operation so as to be executable by a built-in computer, and a second storage for storing a source code as a basis for generating the execution file. And an embedded device.
請求項5の発明は、前記第2格納手段が、前記組み込み機器から取り外し可能な記録媒体である請求項4に記載の組み込み機器である。 The invention of claim 5 is the embedded device according to claim 4, wherein the second storage means is a recording medium removable from the embedded device.
請求項6の発明は、前記第2格納手段が、前記組み込み機器の外部からアクセス可能である請求項4に記載の組み込み機器である。 The invention of claim 6 is the embedded device according to claim 4, wherein the second storage means is accessible from outside the embedded device.
請求項1ないし請求項6の発明によれば、ファームウェアの実行ファイルの生成の基礎となったソースコードを組み込み機器の第2格納手段から得ることができるので、ファームウェアの不具合対策が容易になる。 According to the first to sixth aspects of the present invention, since the source code that is the basis for generating the firmware execution file can be obtained from the second storage means of the embedded device, it is easy to take measures against the firmware malfunction.
請求項2の発明によれば、ソースコードを秘密の状態に維持しておくことができる。 According to the invention of claim 2, the source code can be kept secret.
請求項3の発明によれば、適切なソースコードを第2格納手段に格納することが容易になる。 According to the invention of claim 3, it becomes easy to store an appropriate source code in the second storage means.
請求項5又は請求項6の発明によれば、ソースコードを参照することが容易になる。 According to the invention of claim 5 or claim 6, it becomes easy to refer to the source code.
<1 ファームウェアの開発システムの構成>
図1は、デジタル複合機10の動作を規定するファームウェアの開発システム1Aの望ましい構成を示すブロック図である。
<1 Firmware development system configuration>
FIG. 1 is a block diagram illustrating a desirable configuration of a
図1に示すように、開発システム1Aは、開発したファームウェアの適用対象となるデジタル複合機10と、ファームウェアの開発が行われる開発用パーソナルコンピュータ(以下、「開発用PC」)20と、デジタル複合機10と開発用PC20とを通信可能に接続するネットワーク30とを備える。
As shown in FIG. 1, the
デジタル複合機10は、フラッシュメモリ121に書き込まれたファームウェアをマイクロコンピュータ110が実行して各構成を統括制御することにより、コピー機能、ファックス機能、スキャナ機能及びプリンタ機能等を有する組み込み機器として動作する。デジタル複合機10は、コンパクトフラッシュ(登録商標)カード(以下、「CFカード」)60を着脱可能なコンパクトフラッシュ(登録商標)インターフェース(以下、「CFインターフェース」)130を備える。デジタル複合機10は、CFインターフェース130に装着されたCFカード60にアクセスすることができる。
The
開発用PC20は、ソースコードを編集するために用いられるエディタ201、ソースコードをコンパイルしてオブジェクトコードを生成するために用いられるコンパイラ202、オブジェクトコードをリンクして実行ファイルを生成するために用いられるリンケージエディタ203及びネットワーク30を介してファイルを転送するために用いられるFTPプログラム204等を、一般的なパーソナルコンピュータに実装することにより構成されている。さらに、開発用PC20も、CFカード60を着脱可能なCFインターフェース211を備える。開発用PC20は、CFインターフェース211に装着されたCFカード60にアクセスすることができる。
The development PC 20 is used to edit the source code, an
デジタル複合機10のファームウェアの開発者は、開発用PC20において、ファームウェアのソースコードをエディタ201で編集し、編集が終わったソースコードをコンパイラ202でコンパイルしてオブジェクトファイルを生成し、生成したオブジェクトファイルをリンケージエディタ203でリンクすることにより、ファームウェアの実行ファイルを得る。なお、ファームウェアのソースコードは、一の実行ファイルの生成の基礎となった一群ごとに、ネットワーク30上の共有フォルダ(不図示)に保存される。
The developer of the firmware of the digital multi-function peripheral 10 edits the firmware source code with the
<2 デジタル複合機の構成>
続いて、デジタル複合機10の構成について、図2のブロック図を参照しながら説明する。
<2 Digital MFP configuration>
Next, the configuration of the digital multifunction peripheral 10 will be described with reference to the block diagram of FIG.
図2に示すように、デジタル複合機10は、MPU(マイクロプロセッサ;MicroProcessor Unit)111、ROM112及びRAM113を備える。MPU111、ROM112及びRAM113によって実現されるマイクロコンピュータ110は、フラッシュメモリ121に格納されたファームウェアを実行することにより、デジタル複合機10の各構成を統括制御し、デジタル複合機10の各種機能を実現している。
As shown in FIG. 2, the digital multi-function peripheral 10 includes an MPU (microprocessor unit) 111, a
デジタル複合機10のフラッシュメモリ121は、記憶内容を書き換え可能な不揮発性メモリであり、継続的に保持すべき各種の情報を記憶する。また、デジタル複合機10の画像メモリ122は、デジタル複合機10が処理対象とする画像を画像データとして一時的に記憶する。
The
デジタル複合機10は、画像読取部123及び画像記録部124を備える。画像読取部123は、CCD(Charge Coupled Device)イメージセンサ等により原稿に描かれた画像を読み取り、当該画像に係る画像データを生成する。画像読取部123は、ADF(Automatic Document Feeder)方式又はFBS(Flat Bed Scanner)方式により原稿に描かれた画像を読み取ることができる。画像記録部124は、電子写真方式により、画像データに係る画像を記録媒体上に形成する。
The digital multifunction peripheral 10 includes an
デジタル複合機10には、ユーザインターフェースとして、操作の対象となる操作部125と、情報を視認可能に表示する表示部126とが設けられる。デジタル複合機10では、表示部126に液晶タッチパネルディスプレイが採用されており、表示部126が操作部125の一部を兼ね備えている。
The digital multi-function peripheral 10 is provided with an
ネットワークインターフェース127は、例えば、イーサネット(登録商標)により、デジタル複合機10をネットワーク30に接続する。
The network interface 127 connects the digital multi-function peripheral 10 to the
NCU(網制御装置;Network Control Unit)128及びMODEM(モデム;MOdulator DEModulator)129は、公衆交換電話網91を経由したファックス画像の送受信に用いられる。NCU128は、公衆交換電話網91への接続を制御する。NCU128は、通信先の電話番号に対応したダイヤル信号を送出する機能及び着信を検出する機能を備える。MODEM129は、ITU(国際電気通信連合)−T勧告T.30にしたがったファックス伝送制御手順に基づいて、V.17,V.27ter,V.29等にしたがった送信データの変調及び受信データの復調を行う。又は、MODEM129は、これらに加えて、V.34にしたがった送信データの変調及び受信データの復調を行う。
An NCU (Network Control Unit) 128 and a MODEM (Modem DEModulator) 129 are used for transmission / reception of fax images via the public switched
先述したように、デジタル複合機10は、CFカード60を着脱可能なCFインターフェース130を備える。デジタル複合機10は、CFインターフェース130に装着されたCFカード60にアクセスすることができる。
As described above, the
コピーモードでは、デジタル複合機10は、画像読取部123を用いて原稿に描かれた画像を読み取り、画像記録部124を用いて当該画像を記録紙等の記録媒体上に形成することにより、原稿から記録媒体へ画像をコピーする。
In the copy mode, the digital multi-function peripheral 10 reads an image drawn on a document using the
ファックスモードでは、デジタル複合機10は、画像読取部123を用いて原稿に描かれた画像を読み取り、NCU128及びMODEM129を用いて当該画像に係る画像データを他のファックス装置へ送信する(ファックス送信)。また、デジタル複合機10は、他のファックス装置から送信されてきた画像データに係る画像を、画像記録部124を用いて記録媒体上に形成する(ファックス受信)。なお、デジタル複合機10は、公衆交換電話網91を用いたファックスの送受信において、G3方式やスーパーG3方式を用いている。
In the fax mode, the digital multi-function peripheral 10 reads an image drawn on a document using the
スキャナモードでは、デジタル複合機10は、画像読取部123を用いて原稿上の画像を読み取り、当該画像に係る画像データを内蔵のフラッシュメモリ121へ格納する。
In the scanner mode, the digital multi-function peripheral 10 reads an image on a document using the
プリンタモードでは、デジタル複合機10は、クライアントコンピュータからネットワーク30を経由して送信されてきた画像データを受信し、画像記録部124を用いて当該画像データに係る画像を記録媒体上に形成する。
In the printer mode, the digital multi-function peripheral 10 receives image data transmitted from the client computer via the
<3 デジタル複合機へのファームウェアの書き込み>
図3は、デジタル複合機10へのファームウェアの書き込みの手順を示すフローチャートである。
<3 Writing firmware to the digital MFP>
FIG. 3 is a flowchart showing a procedure for writing firmware to the digital multi-function peripheral 10.
図3に示すように、デジタル複合機10へのファームウェアの書き込みにあたっては、まず、FTPプログラム204を起動して、ファームウェアの実行ファイルをデジタル複合機10へ転送させることにより、フラッシュメモリ121に書き込まれたファームウェアの実行ファイルを書き換える(ステップS101)。
As shown in FIG. 3, when writing firmware to the digital multi-function peripheral 10, first, the
続いて、ソースコードをデジタル複合機10に保存しておくか否かを決定し、保存しておく場合(ステップS102で"YES")、ステップS101でデジタル複合機10に転送した実行ファイルの生成の基礎となったソースコードが保存されているネットワーク上の共有フォルダを指定し(ステップS103)、指定した共有フォルダ内のソースコードをデジタル複合機10へ転送させることにより、当該ソースコードをCFインターフェース130に装着されたCFカード60にコピーする(ステップS104)。なお、ステップS104において、ソースコードを暗号化し、暗号化されたソースコードをCFカード60に書き込むようにすれば、ソースコードを秘密の状態に維持しておくことができる。
Subsequently, it is determined whether or not the source code is to be stored in the digital multi-function peripheral 10, and when it is stored ("YES" in step S102), the execution file transferred to the digital multi-function peripheral 10 in step S101 is generated. A shared folder on the network in which the source code that is the basis of the file is stored is designated (step S103), and the source code in the designated shared folder is transferred to the digital multi-function peripheral 10, whereby the source code is transferred to the CF interface. Copy to the
このようなファームウェアの書き込みにより、デジタル複合機10には、ファームウェアの実行ファイルがフラッシュメモリ121に書き込まれるとともに、当該実行ファイルの生成の基礎となったソースコードがCFインターフェース130に装着されたCFカード60に書き込まれることになる。
As a result of such firmware writing, a firmware execution file is written to the
そして、このようなデジタル複合機10では、ファームウェアの不具合対策を行う必要が生じた場合、ネットワーク30を介してCFインターフェース130に装着されたCFカード60にアクセスするか、又は、CFカード60をデジタル複合機10のCFインターフェース130から取り外して開発用PC20のCFインターフェース211に装着してアクセスすることにより、ファームウェアの実行ファイルの生成の基礎となったソースコードを得ることができるので、ファームウェアの不具合対策を容易に行うことができる。
In such a digital multi-function peripheral 10, when it is necessary to take measures against firmware malfunctions, the
<4 変形例>
上述の説明では、デジタル複合機10へのファームウェアの書き込みを例として説明を行ったが、本発明は、デジタル複合機10以外の組み込み機器へのファームウェアの書き込みに対しても適用可能である。
<4 Modification>
In the above description, the writing of firmware to the digital multifunction peripheral 10 has been described as an example. However, the present invention can also be applied to the writing of firmware to an embedded device other than the digital multifunction peripheral 10.
また、上述の説明では、ファームウェアの実行ファイルの生成の基礎となったソースコードをCFインターフェース130に装着されたCFカード60に書き込んだが、当該ソースコードの書き込み先は、CFインターフェース130に装着されたCFカード60に限られない。すなわち、CFカード60以外の記録媒体、例えば、SDメモリカード、xDピクチャーカード(登録商標)、メモリースティック等のフラッシュメモリ類やUSB(Universal Serial Bus)ストレージ(特に、USBフラッシュメモリ)等を着脱可能なインターフェースをデジタル複合機10に儲け、当該インターフェースに装着された記録媒体にソースコードを書き込むようにしてもよい。あるいは、ネットワーク30を介して外部からアクセス可能なフラッシュメモリ121等にソースコードを書き込んでもよい。
In the above description, the source code that is the basis for generating the firmware execution file is written to the
また、上述の説明では、ステップS103において、ソースコードが保存されたネットワーク上の共有フォルダを指定したが、これに代えて、ファームウェアとソースコードとの対応づけの情報を参照し、当該情報に基づいてCFインターフェース130に装着されたCFカード60に書き込むべきソースコードを特定するようにすれば、適切なソースコードを自動的にCFインターフェース130に装着されたCFカード60に書き込むことができる。
In the above description, the shared folder on the network where the source code is stored is specified in step S103. Instead, the information on the correspondence between the firmware and the source code is referred to, and based on the information. By specifying the source code to be written to the
1A 開発システム
10 デジタル複合機
20 開発用PC
30 ネットワーク
60 CFカード
110 マイクロコンピュータ
121 フラッシュメモリ
130 CFインターフェース
30
Claims (6)
前記実行ファイルの生成の基礎となったソースコードを前記組み込み機器の第2格納手段に格納する第2格納工程と、
を備える組み込み機器へのファームウェアの書込方法。 A first storage step of storing an execution file of firmware defining the operation of the embedded device in the first storage means of the embedded device so as to be executable by a computer built in the embedded device;
A second storage step of storing the source code that is the basis for generating the executable file in the second storage means of the embedded device;
A method for writing firmware to an embedded device.
前記実行ファイルの生成の基礎となったソースコードを格納する第2格納手段と、
を備える組み込み機器。 First storage means for storing an executable file of firmware defining operation so as to be executable by a built-in computer;
Second storage means for storing source code that is the basis for generating the executable file;
Embedded equipment with
The embedded device according to claim 4, wherein the second storage unit is accessible from outside the embedded device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006139819A JP2007310695A (en) | 2006-05-19 | 2006-05-19 | Embedded equipment and method for writing firmware to embedded equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006139819A JP2007310695A (en) | 2006-05-19 | 2006-05-19 | Embedded equipment and method for writing firmware to embedded equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2007310695A true JP2007310695A (en) | 2007-11-29 |
Family
ID=38843480
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006139819A Pending JP2007310695A (en) | 2006-05-19 | 2006-05-19 | Embedded equipment and method for writing firmware to embedded equipment |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2007310695A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009277058A (en) * | 2008-05-15 | 2009-11-26 | Murata Mach Ltd | Method for providing firmware using communication network and its system and service server |
-
2006
- 2006-05-19 JP JP2006139819A patent/JP2007310695A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009277058A (en) * | 2008-05-15 | 2009-11-26 | Murata Mach Ltd | Method for providing firmware using communication network and its system and service server |
JP4626675B2 (en) * | 2008-05-15 | 2011-02-09 | 村田機械株式会社 | Firmware providing method, communication system and service server using communication network |
US8234353B2 (en) | 2008-05-15 | 2012-07-31 | Murata Machinery, Ltd. | Method, system, and service server for providing firmware through communication network |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20050275864A1 (en) | Image forming method and image forming apparatus | |
KR20060046407A (en) | Installation method, apparatus, control programm, and medium storing control program | |
KR0136118B1 (en) | Circuit and method for transmitting and receiving data using electrophotographic method | |
JP2010124113A (en) | Image processing system, information processing apparatus, image processing apparatus, method of controlling information processing apparatus, method of controlling image processing apparatus, and program | |
JP2007310695A (en) | Embedded equipment and method for writing firmware to embedded equipment | |
JP2009244966A (en) | Confidential information communication management method and confidential information communication management device | |
JP2009010744A (en) | Image forming apparatus | |
JP2009188820A (en) | Image storage system, image processor, image storage method, program, and storage medium | |
JP2006229832A (en) | Original image reading/recording apparatus | |
JP2010022046A (en) | Image processing apparatus | |
JP4608923B2 (en) | Uninstall system | |
JP4565624B2 (en) | Image processing device | |
JP2007313777A (en) | Printing data processor | |
JP4570939B2 (en) | Image forming apparatus | |
JP4232846B2 (en) | Method for installing program in image processing apparatus, system for installing program in image processing apparatus, Web server, and relay server | |
JP5153471B2 (en) | Image forming apparatus, image data transfer method, and image data transfer control program | |
JP2009077282A (en) | Image display system | |
JP6556428B2 (en) | Information processing apparatus, program, and file import method | |
JP2016015557A (en) | Information processing device | |
JP5078553B2 (en) | Facsimile machine | |
JP2007324664A (en) | Image reading apparatus | |
JP2005086555A (en) | Image processing system and image forming apparatus | |
JP2009230305A (en) | Image forming apparatus | |
JP2009246466A (en) | Data communication apparatus and image forming apparatus | |
JP2007060541A (en) | Image forming apparatus and storage medium |