Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7707597B2 - Electronic device, firmware update method and program - Google Patents
[go: Go Back, main page]

JP7707597B2 - Electronic device, firmware update method and program - Google Patents

Electronic device, firmware update method and program

Info

Publication number
JP7707597B2
JP7707597B2 JP2021051342A JP2021051342A JP7707597B2 JP 7707597 B2 JP7707597 B2 JP 7707597B2 JP 2021051342 A JP2021051342 A JP 2021051342A JP 2021051342 A JP2021051342 A JP 2021051342A JP 7707597 B2 JP7707597 B2 JP 7707597B2
Authority
JP
Japan
Prior art keywords
firmware
component
unit
identification information
new
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.)
Active
Application number
JP2021051342A
Other languages
Japanese (ja)
Other versions
JP2022149277A (en
Inventor
正規 石原
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP2021051342A priority Critical patent/JP7707597B2/en
Publication of JP2022149277A publication Critical patent/JP2022149277A/en
Application granted granted Critical
Publication of JP7707597B2 publication Critical patent/JP7707597B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/10Energy storage using batteries

Landscapes

  • Stored Programmes (AREA)

Description

本発明は、電子機器、ファームウェア更新方法及びプログラムに関する。 The present invention relates to an electronic device, a firmware update method, and a program.

リスト機器等の電子機器には、搭載されているIC(Integrated Circuit)等の部品を正常に動作させるためのファームウェアがインストールされている。電子機器の再製造時、設計変更時又は修理時等に部品を交換する場合には、交換後の部品に適合したファームウェア又はパラメータに変更する必要がある。ファームウェア又はパラメータの変更に際して、予め電子機器に記憶させておいたファームウェア更新プログラム又はネットワークを介してダウンロードしたファームウェア更新プログラム等を電子機器で実行することにより、ファームウェア等の変更を行っていた(例えば、特許文献1)。 Firmware is installed in electronic devices such as wristwatches to ensure that components such as integrated circuits (ICs) mounted on the electronic device operate normally. When replacing components during remanufacturing, design changes, or repairs of the electronic device, it is necessary to change the firmware or parameters to match the replaced components. When changing firmware or parameters, firmware updates that have been stored in the electronic device beforehand or firmware updates downloaded via a network are executed on the electronic device to change the firmware, etc. (For example, see Patent Document 1).

特許文献1に記載の機器装置は、ネットワークに接続された際に、交換する部品の名称又はバージョンを含む情報をクラウドベースソフトウェアリポジトリに送信し、クラウドベースソフトウェアリポジトリが、受信した情報に適したソフトウェアを機器装置にダウンロードさせる。これにより、機器装置に必要なファームウェア等のソフトウェアをダウンロード及びインストールすることができると説明されている。 When the device described in Patent Document 1 is connected to a network, it transmits information including the name or version of the part to be replaced to a cloud-based software repository, and the cloud-based software repository downloads software appropriate to the received information to the device. This allows software such as firmware required for the device to be downloaded and installed, it is explained.

特開2017-37620号公報JP 2017-37620 A

従来の電子機器は、部品の交換時に、新たな部品の名称又はバージョンを含む情報を読み出して、当該情報をネットワーク上のソフトウェアリポジトリ等に対して送信する必要がある。しかし、情報の読み出しに際し、何らかの障害が発生して情報が読み出せず、又は、誤った情報を読み出す場合があり、このような場合、新たな部品に適合したファームウェア又はパラメータに書き換えることができないという問題があった。 When replacing a part in a conventional electronic device, it is necessary to read information including the name or version of the new part and transmit that information to a software repository or the like on a network. However, when reading the information, some kind of error may occur, making it impossible to read the information or reading incorrect information. In such cases, there is a problem in that it is not possible to rewrite the firmware or parameters to ones compatible with the new part.

また、情報の読み出し時の障害により新たな部品に適合したファームウェア又はパラメータに書き換えることができなかった場合には、当該部品の設計通りの性能が得られない、又は、誤作動を起こすという問題があった。 In addition, if a problem occurs when reading information and it is not possible to rewrite firmware or parameters to match the new part, there is a problem that the part may not perform as designed or may malfunction.

本発明は上記実情に鑑みてなされたものであり、新たな部品に適合したファームウェアを確実に適用することのできる電子機器、ファームウェア更新方法及びプログラムを提供することを目的とする。 The present invention has been made in consideration of the above-mentioned circumstances, and aims to provide an electronic device, a firmware update method, and a program that can reliably apply firmware compatible with new parts.

上記目的を達成するため、本発明に係る電子機器の一態様は、
搭載済みの部品から変更された新たな前記部品の識別情報を取得する部品識別情報取得部と、
前記部品又は前記部品の周辺部品のファームウェアを新たな前記ファームウェアに書き換えるファームウェア書き換え部と、
前記部品識別情報取得部が取得した前記識別情報に基づいて、新たな前記ファームウェアと新たな前記部品の種類又は特性とが互いに適合しているか否かを判定するファームウェア判定部と、
前記ファームウェア判定部により、新たな前記ファームウェアと新たな前記部品の種類又は特性とが互いに適合していないと判定された場合に、予め定めた動作を実行し、又は、予め定めた動作を実行しない指示を行う動作指示部と、
第1制御部と、
前記部品識別情報取得部、前記ファームウェア判定部及び前記動作指示部を有する第2制御部と、を備え、
前記第2制御部の前記ファームウェア判定部が、前記ファームウェアと前記部品の種類又は特性とが互いに適合していないと判定した場合に、前記動作指示部は、前記第1制御部の動作を停止する指示を行う。
In order to achieve the above object, one aspect of the electronic device according to the present invention is to
a part identification information acquisition unit that acquires identification information of a new part that has been changed from an already-mounted part;
a firmware rewriting unit that rewrites firmware of the component or a peripheral component of the component with new firmware;
a firmware determination unit that determines whether or not the new firmware and a type or characteristic of the new component are compatible with each other based on the identification information acquired by the component identification information acquisition unit;
an operation instruction unit that executes a predetermined operation or instructs not to execute the predetermined operation when the firmware determination unit determines that the new firmware and the type or characteristics of the new component are not compatible with each other;
A first control unit;
a second control unit having the part identification information acquisition unit, the firmware determination unit, and the operation instruction unit,
When the firmware determination unit of the second control unit determines that the firmware and the type or characteristics of the component are incompatible with each other, the operation instruction unit issues an instruction to stop operation of the first control unit.

本発明によれば、新たな部品に適合したファームウェアを確実に適用することが可能になる。 The present invention makes it possible to reliably apply firmware that is compatible with new parts.

実施の形態1に係る電子機器のハードウェア構成を示すブロック図である。1 is a block diagram showing a hardware configuration of an electronic device according to a first embodiment. 実施の形態1に係る電子機器の機能構成を示すブロック図である。1 is a block diagram showing a functional configuration of an electronic device according to a first embodiment; 実施の形態1に係るFW書き換え処理のフローチャートである。4 is a flowchart of a firmware rewriting process according to the first embodiment; 実施の形態2に係るFW書き換え処理のフローチャートである。13 is a flowchart of a firmware rewriting process according to the second embodiment;

(実施の形態1)
以下に、本発明を実施するための形態について図面を参照して詳細に説明する。なお、図中同一又は相当する部分には同一符号を付す。本実施の形態1に係る電子機器1は、交換可能な電子部品を搭載した任意の機器であり、例えば、電池で駆動され、ネットワークに接続可能な情報通信端末である。本実施の形態1では、電子機器1がリスト機器等の小型の情報通信端末の場合について説明する。
(Embodiment 1)
Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings. In the drawings, the same or corresponding parts are denoted by the same reference numerals. The electronic device 1 according to the first embodiment is any device equipped with replaceable electronic components, for example, a battery-powered information communication terminal connectable to a network. In the first embodiment, the electronic device 1 will be described as a small information communication terminal such as a wrist device.

図1は、本実施の形態1に係る電子機器1のハードウェア構成を示すブロック図であり、図2は、電子機器1の機能構成を示すブロック図である。 Figure 1 is a block diagram showing the hardware configuration of electronic device 1 according to the first embodiment, and Figure 2 is a block diagram showing the functional configuration of electronic device 1.

電子機器1は、図1に示すように、第1制御部110と、第2制御部120と、データストレージ(Data Storage)130と、ファームウェアストレージ(Firmware storage:図面中FWストレージと記す)140と、通信部150と、を備え、これらはデータバス200を介して接続されている。電子機器1はさらに、電子機器1に搭載されている1以上の部品160と、各部品160を接続するための部品用インタフェース170と、を備え、部品用インタフェース170もデータバス200に接続されている。 As shown in FIG. 1, the electronic device 1 includes a first control unit 110, a second control unit 120, a data storage 130, a firmware storage (referred to as FW storage in the drawing) 140, and a communication unit 150, which are connected via a data bus 200. The electronic device 1 further includes one or more components 160 mounted on the electronic device 1 and a component interface 170 for connecting the components 160, and the component interface 170 is also connected to the data bus 200.

第1制御部110は、プロセッサ101と、メモリ102と、を備える。第1制御部110は、自分自身をスリープさせて電力消費を抑える機能を持つ。スリープした第1制御部110は、基本的には動作を停止しているが、外部から割り込み信号(ウェイクアップ信号)を受信するとスリープ状態からアクティブ状態になり、動作を開始する。 The first control unit 110 includes a processor 101 and a memory 102. The first control unit 110 has a function of putting itself into sleep mode to reduce power consumption. When the first control unit 110 is in sleep mode, it basically stops operating, but when it receives an interrupt signal (wake-up signal) from the outside, it goes from the sleep mode to an active mode and starts operating.

プロセッサ101は、高機能OS(Operating System)を実装可能な処理能力の高い演算処理装置であり、CPU(Central Processing Unit)からなる。メモリ102は、プロセッサ101の作業領域となるRAM(Random Access Memory)であり、電子機器1の全ての機能を実現するために必要となる容量の大部分をまかなうことができる容量を有する。 The processor 101 is a high-performance computing device capable of implementing a high-performance OS (Operating System), and is made up of a CPU (Central Processing Unit). The memory 102 is a RAM (Random Access Memory) that serves as a working area for the processor 101, and has a capacity that can cover most of the capacity required to realize all the functions of the electronic device 1.

第2制御部120は、プロセッサ103と、メモリ104と、を備える。プロセッサ103は、第1制御部110のプロセッサ101と比較して、低機能で速度が遅いCPUである。そのため、プロセッサ103は高機能OSには向かないが、その反面、プロセッサ101よりも低消費電力である。電子機器1は、再製造時、設計変更時又は修理時等に第2制御部120のみで動作させることが可能である。 The second control unit 120 includes a processor 103 and a memory 104. The processor 103 is a CPU with low functionality and low speed compared to the processor 101 of the first control unit 110. Therefore, the processor 103 is not suitable for a high-performance OS, but on the other hand, it consumes less power than the processor 101. The electronic device 1 can be operated by only the second control unit 120 during remanufacturing, design changes, repairs, etc.

メモリ104は、プロセッサ103の作業領域となるRAM(Random Access Memory)であり、プロセッサ103の処理を実現するために必要となる容量を有する。 Memory 104 is a RAM (Random Access Memory) that serves as a working area for processor 103 and has the capacity required to realize the processing of processor 103.

ここで、メモリ102及びメモリ104の上記構成は一例であり他の任意の構成でもよい。例えば、メモリ102及びメモリ104の少なくとも一方は、第1制御部110又は第2制御部120の外部に設けられてもよく、また、メモリ102及びメモリ104が1つのRAMから構成されていてもよい。 Here, the above configuration of memory 102 and memory 104 is an example, and any other configuration may be used. For example, at least one of memory 102 and memory 104 may be provided outside the first control unit 110 or the second control unit 120, and memory 102 and memory 104 may be configured from a single RAM.

データストレージ130は、大容量の記憶装置であり、第1制御部110が実現する電子機器1の主要機能により取得又は生成されるデータを記憶する。また、データストレージ130は、第1制御部110及び第2制御部120が実行するプログラム及び電子機器1に搭載される各部品160のファームウェア書き換えプログラムも記憶する。 The data storage 130 is a large-capacity storage device that stores data acquired or generated by the main functions of the electronic device 1 implemented by the first control unit 110. The data storage 130 also stores programs executed by the first control unit 110 and the second control unit 120, and firmware rewrite programs for each component 160 installed in the electronic device 1.

データストレージ130に記憶されたファームウェア(Firmware:図面中FWと記す。以下同じ)書き換えプログラム131を第2制御部120が実行することにより、第2制御部120は、図2に示すように、部品識別情報取得部121と、ファームウェア書き換え部122と、ファームウェア判定部123と、動作指示部124として機能する。 When the second control unit 120 executes the firmware (FW in the drawing; the same applies below) rewrite program 131 stored in the data storage 130, the second control unit 120 functions as a part identification information acquisition unit 121, a firmware rewrite unit 122, a firmware determination unit 123, and an operation instruction unit 124, as shown in FIG. 2.

部品識別情報取得部121は、電子機器1に搭載済みの部品160が交換されたときに新たな部品160の識別情報を取得する。ファームウェア書き換え部122は、交換後の部品160又は部品160の周辺部品に適用するファームウェア141を新たなファームウェア141に書き換える。 The part identification information acquisition unit 121 acquires the identification information of the new part 160 when the part 160 already installed in the electronic device 1 is replaced. The firmware rewriting unit 122 rewrites the firmware 141 to be applied to the replaced part 160 or a peripheral part of the part 160 with the new firmware 141.

ファームウェア判定部123は、書き換えられたファームウェア141と、新たな部品の種類又は特性と、が互いに適合しているか否かを判定する。動作指示部124は、ファームウェア判定部123が、書き換えられたファームウェア141と新たな部品の種類又は特性とが互いに適合していないと判定した場合に、予め定めた動作を実行し、又は、予め定めた動作を実行しない指示を行う。 The firmware determination unit 123 determines whether the rewritten firmware 141 and the type or characteristics of the new part are compatible with each other. When the firmware determination unit 123 determines that the rewritten firmware 141 and the type or characteristics of the new part are not compatible with each other, the operation instruction unit 124 executes a predetermined operation or issues an instruction not to execute the predetermined operation.

ファームウェアストレージ140は、電子機器1で動作する各部品160に対応するファームウェア141を記憶する記憶装置である。ファームウェア141を実行するためのパラメータが必要な場合には、ファームウェアストレージ140は、ファームウェア141に対応づけてパラメータも記憶する。 The firmware storage 140 is a storage device that stores firmware 141 corresponding to each component 160 that operates in the electronic device 1. If parameters are required to execute the firmware 141, the firmware storage 140 also stores the parameters in association with the firmware 141.

通信部150は、電子機器1の外部に存する他の情報通信端末と通信するためのデバイスである。通信部150の通信方式は任意であり、USB等の有線通信方式でもよく、Bluetooth(登録商標)等の無線通信方式でもよい。通信部150は、通信接続されたサーバ、製造調整装置等の情報通信端末から、部品160用のファームウェア書き換えプログラム131を含むデータを受信する。 The communication unit 150 is a device for communicating with other information and communication terminals that are external to the electronic device 1. The communication method of the communication unit 150 is arbitrary, and may be a wired communication method such as USB, or a wireless communication method such as Bluetooth (registered trademark). The communication unit 150 receives data including the firmware rewrite program 131 for the part 160 from an information and communication terminal such as a server or manufacturing adjustment device that is communicatively connected.

部品160は、電子機器1に搭載済みの電子部品であり、交換可能な部品である。部品160は、例えば、電子機器1用の電池、表示装置、入力装置又はセンサ装置等である。これらの部品は、消耗、故障、他の周辺部品の改変等により交換が必要になる場合がある。製造現場での再製造時、設計変更時又は修理時等に、旧部品が新部品に交換され、あるいは、ユーザにより交換される。部品が切り替わった場合、その新たな部品160の特性に合わせたファームウェア又はパラメータを適用する必要があり、ファームウェア又はパラメータが部品の特性に適合していない場合には、誤作動を起こす可能性がある。 The component 160 is an electronic component already installed in the electronic device 1, and is a replaceable component. The component 160 is, for example, a battery, a display device, an input device, or a sensor device for the electronic device 1. These components may need to be replaced due to wear, failure, modification of other peripheral components, etc. When remanufacturing at the manufacturing site, when changing the design, or when repairing, the old component is replaced with a new component, or is replaced by the user. When a component is switched, firmware or parameters that match the characteristics of the new component 160 must be applied, and if the firmware or parameters do not match the characteristics of the component, malfunctions may occur.

部品用インタフェース170は、第2制御部120に部品160を接続するためのインタフェースであり、予め定めた情報を送受信するための信号線を有する。第2制御部120の部品識別情報取得部121は、部品用インタフェース170を用いて、部品160の識別情報を含む情報を取得できる。 The component interface 170 is an interface for connecting the component 160 to the second control unit 120, and has a signal line for transmitting and receiving predetermined information. The component identification information acquisition unit 121 of the second control unit 120 can acquire information including the identification information of the component 160 using the component interface 170.

部品用インタフェース170を用いた識別情報の取得方法は従来の任意の方法である。例えば、部品用インタフェース170の端子のうち、部品160の回路基板上で短絡させる端子の組み合わせを部品の種類ごとに変えておき、部品識別情報取得部121が、導通している端子の組み合わせを検知することによって、部品の識別情報を取得する。部品識別情報取得部121が部品用インタフェース170を用いて部品160の識別情報を取得できない場合は、通信部150を介して識別情報を取得し、又は、操作者の操作入力に基づいて識別情報を取得してもよい。 The method of acquiring the identification information using the component interface 170 may be any conventional method. For example, the combination of terminals of the component interface 170 that are shorted on the circuit board of the component 160 is changed for each type of component, and the component identification information acquisition unit 121 acquires the identification information of the component by detecting the combination of terminals that are conductive. If the component identification information acquisition unit 121 cannot acquire the identification information of the component 160 using the component interface 170, it may acquire the identification information via the communication unit 150, or may acquire the identification information based on an operational input by the operator.

以上のように構成された電子機器1の動作について、図3のフローチャートを用いて説明する。図3は、部品160を交換した後に実行されるファームウェア書き換え処理のフローチャートである。 The operation of the electronic device 1 configured as described above will be described with reference to the flowchart in FIG. 3. FIG. 3 is a flowchart of the firmware rewrite process that is executed after replacing the part 160.

図3に示すファームウェア書き換え処理を実行する前に、データストレージ130には、各部品160及び各部品160の種類又はバージョンに応じたファームウェア書き換えプログラム131が記憶されている。これらのファームウェア書き換えプログラム131は、例えば、通信部150が、通信接続されたサーバ、製造調整装置等の情報通信端末から受信したプログラムである。 Before executing the firmware rewrite process shown in FIG. 3, firmware rewrite programs 131 corresponding to each component 160 and the type or version of each component 160 are stored in the data storage 130. These firmware rewrite programs 131 are, for example, programs received by the communication unit 150 from an information communication terminal such as a server or manufacturing adjustment device connected to the communication unit 150 for communication.

電子機器1に搭載されている、電池、表示装置、入力装置又はセンサ装置等の任意の部品160が交換された後に、データストレージ130に記憶されているファームウェア書き換えプログラム131から、交換された部品160又は部品160の周辺部品に対応するファームウェア書き換えプログラム131が選択される。ファームウェア書き換えプログラム131は、操作者の操作により選択され、又は、部品識別情報取得部121が取得した部品160の識別情報に基づいて選択される。そして、選択されたファームウェア書き換えプログラム131を実行することにより、図3に示すファームウェア書き換え処理が実行される。 After any part 160, such as a battery, a display device, an input device, or a sensor device, mounted on the electronic device 1 is replaced, a firmware rewrite program 131 corresponding to the replaced part 160 or a peripheral part of the part 160 is selected from the firmware rewrite programs 131 stored in the data storage 130. The firmware rewrite program 131 is selected by an operator's operation, or is selected based on the identification information of the part 160 acquired by the part identification information acquisition unit 121. Then, the selected firmware rewrite program 131 is executed, thereby executing the firmware rewrite process shown in FIG. 3.

まず、部品識別情報取得部121が、新たに部品用インタフェース170に接続された部品160の識別情報を取得する(ステップS101:部品識別情報取得ステップ)。次に、第2制御部120のファームウェア書き換え部122がファームウェアストレージ140に記憶されているファームウェア141を新たなファームウェア141に書き換える(ステップS102:ファームウェア書き換えステップ)。このとき、ファームウェア141を実行するために必要なパラメータがある場合には、ファームウェア書き換え部122は、ファームウェア141とともにパラメータも書き換える。 First, the component identification information acquisition unit 121 acquires the identification information of the component 160 newly connected to the component interface 170 (step S101: component identification information acquisition step). Next, the firmware rewriting unit 122 of the second control unit 120 rewrites the firmware 141 stored in the firmware storage 140 with the new firmware 141 (step S102: firmware rewriting step). At this time, if there are parameters necessary to execute the firmware 141, the firmware rewriting unit 122 rewrites the parameters along with the firmware 141.

ここで、ステップS102で実行される、ファームウェアストレージ140におけるファームウェア141の書き換えは、既に書き込まれている古いバージョンのファームウェア141に対してバージョンアップするものではなく、ファームウェア141の全データを新たに書き込むものである。言い換えれば、第2制御部120は、ファームウェア141を、クリーンインストールする。 The rewriting of firmware 141 in firmware storage 140 performed in step S102 does not upgrade the firmware 141 from an old version that has already been written, but writes all data of firmware 141 anew. In other words, the second control unit 120 performs a clean install of firmware 141.

つまり、ファームウェア書き換え部122は、部品識別情報取得部121が取得した部品160の識別情報に基づくファームウェア141の一部更新を実行しない。 In other words, the firmware rewriting unit 122 does not perform a partial update of the firmware 141 based on the identification information of the part 160 acquired by the part identification information acquisition unit 121.

ステップS102において、ファームウェアストレージ140のファームウェア141を書き換えた後に、ファームウェア判定部123がファームウェア141の全データの整合性を判定する(ステップS103:ファームウェア判定ステップ)。 In step S102, after rewriting the firmware 141 in the firmware storage 140, the firmware determination unit 123 determines the consistency of all data in the firmware 141 (step S103: firmware determination step).

具体的には、ファームウェア判定部123は、書き込まれたファームウェア141のデータに誤り又は欠損がないか検証する。また、ファームウェア判定部123は、ファームウェア141のバージョンを含むデータが、部品識別情報取得部121が取得した識別情報に基づいて識別される新たな部品160の種類又は特性に適合しているか否かを判定する。 Specifically, the firmware determination unit 123 verifies whether there are any errors or omissions in the written firmware 141 data. In addition, the firmware determination unit 123 determines whether the data including the version of the firmware 141 matches the type or characteristics of the new part 160 identified based on the identification information acquired by the part identification information acquisition unit 121.

ファームウェア判定部123がファームウェア141の全データに整合性があると判定した場合は(ステップS104:Yes)、ファームウェア書き換え処理を終了し、その後、動作指示部124が第1制御部110の動作を開始する指示を行う。ファームウェア判定部123がファームウェア141のデータに整合性がないと判定した場合は(ステップS104:No)、動作指示部124が異常を示す警告を出力し、第1制御部110を停止したままにする指示を行う(ステップS105,S106:動作指示ステップ)。なお、動作指示部124が行う動作の指示は、警告の出力又は第1制御部110の停止に限られず、予め定めた任意の動作を実行し、又は、実行しないようにする指示でよい。 When the firmware determination unit 123 determines that all data in the firmware 141 is consistent (step S104: Yes), the firmware rewrite process is terminated, and then the operation instruction unit 124 instructs the first control unit 110 to start operating. When the firmware determination unit 123 determines that the data in the firmware 141 is not consistent (step S104: No), the operation instruction unit 124 outputs a warning indicating an abnormality and instructs the first control unit 110 to remain stopped (steps S105, S106: operation instruction step). Note that the instruction to operate given by the operation instruction unit 124 is not limited to outputting a warning or stopping the first control unit 110, but may be an instruction to execute or not execute any predetermined operation.

このようにして、部品160の交換後に書き換えられたファームウェア141と新たな部品160とが互いに適合している場合には、正常に電子機器1を動作させることができる。一方、書き換えられたファームウェア141と新たな部品160とが互いに適合していない場合には、部品160が正常動作できない状態で電子機器1を動作させることを回避できる。 In this way, if the rewritten firmware 141 and the new part 160 match each other after the replacement of the part 160, the electronic device 1 can be operated normally. On the other hand, if the rewritten firmware 141 and the new part 160 do not match each other, it is possible to avoid operating the electronic device 1 in a state in which the part 160 cannot operate normally.

以上説明したように、本実施の形態に係る電子機器1において、搭載済みの部品160が交換されたときに、第2制御部120の部品識別情報取得部121が、新たな部品160の識別情報を取得し、ファームウェア書き換え部122が、部品160又は部品160の周辺部品のファームウェア141を新たなファームウェア141に書き換える。ファームウェア判定部123は、書き換えられたファームウェア141のバージョンを含むデータを検証し、データの整合性があるか否かを判定する。ファームウェア判定部123が、ファームウェア141のデータに整合性がないと判定した場合は、動作指示部124が警告を出力し、第1制御部110を実行しないように指示することとした。これにより、新たな部品160に適合したファームウェア141を確実に適用することが可能となる。 As described above, in the electronic device 1 according to the present embodiment, when the mounted component 160 is replaced, the component identification information acquisition unit 121 of the second control unit 120 acquires the identification information of the new component 160, and the firmware rewriting unit 122 rewrites the firmware 141 of the component 160 or the peripheral components of the component 160 with the new firmware 141. The firmware determination unit 123 verifies data including the version of the rewritten firmware 141 and determines whether the data is consistent. If the firmware determination unit 123 determines that the firmware 141 data is not consistent, the operation instruction unit 124 outputs a warning and instructs the first control unit 110 not to execute. This makes it possible to reliably apply firmware 141 that is compatible with the new component 160.

また、電子機器1は、部品識別情報取得部121が取得した部品160の識別情報に基づくファームウェアの一部更新を実行しないこととした。これにより、部品160のバージョンの読み出し時の障害により新たな部品160に適合したファームウェア141に書き換えることができなくなるといった不具合を回避することができる。 The electronic device 1 also does not execute a partial firmware update based on the identification information of the part 160 acquired by the part identification information acquisition unit 121. This makes it possible to avoid problems such as an inability to rewrite the firmware 141 to one compatible with the new part 160 due to a failure when reading the version of the part 160.

また、第2制御部120のファームウェア判定部123が、書き換えられたファームウェア141と部品160の種類又は特性とが互いに適合していないと判定した場合に、第1制御部110の動作を停止することとした。これにより、ファームウェア141が適合していないことにより部品160が正常動作できない状態で、第1制御部110を動作させることによる電子機器1の故障等を回避できる。 In addition, if the firmware determination unit 123 of the second control unit 120 determines that the rewritten firmware 141 and the type or characteristics of the part 160 are not compatible with each other, the operation of the first control unit 110 is stopped. This makes it possible to avoid a malfunction of the electronic device 1 caused by operating the first control unit 110 in a state in which the part 160 cannot operate normally due to the firmware 141 being incompatible.

(実施の形態2)
以下に、実施の形態2に係る電子機器1について、図4を参照して説明する。本実施の形態2に係る電子機器1は、実施の形態1と同様の構成を有する。本実施の形態に係る電子機器1の、ファームウェア141の書き換えの対象となる部品160は、電池である。
(Embodiment 2)
The electronic device 1 according to the second embodiment will be described below with reference to Fig. 4. The electronic device 1 according to the second embodiment has a similar configuration to that of the first embodiment. In the electronic device 1 according to the present embodiment, the component 160 to be rewritten by the firmware 141 is a battery.

電池はEOL(End of Life)により交換が必要な部品であり、EOL時の他、製造現場での再製造時、設計変更時又は修理時等に、旧電池から新電池に交換され、あるいは、ユーザにより交換される。電池が切り替わった場合、その電池の特性に適合した電池残量ゲージIC(Integrated Circuit)のファームウェア又はパラメータを適用する必要があり、ファームウェア又はパラメータが電池の特性に適合していない場合には、誤作動を起こす可能性がある。また、ファームウェア又はパラメータが電池の特性に適合していない場合には、設計通りの電池の特性が得られない場合もある。 Batteries are parts that require replacement due to EOL (End of Life), and in addition to EOL, old batteries are replaced with new batteries when remanufacturing at the manufacturing site, when design changes are made, or when repairs are made, or they are replaced by the user. When a battery is switched, it is necessary to apply firmware or parameters of the battery fuel gauge IC (Integrated Circuit) that are compatible with the characteristics of that battery, and if the firmware or parameters do not match the battery characteristics, there is a risk of malfunction. Furthermore, if the firmware or parameters do not match the battery characteristics, the battery characteristics as designed may not be obtained.

本実施の形態2に係る電子機器1のハードウェア構成及び機能構成は、実施の形態1と同様である。本実施の形態2に係る電子機器1の動作について、図4のフローチャートを用いて説明する。図4は、部品160が電池であるときの、ファームウェア書き換え処理のフローチャートである。 The hardware configuration and functional configuration of the electronic device 1 according to the second embodiment are the same as those of the first embodiment. The operation of the electronic device 1 according to the second embodiment will be described with reference to the flowchart of FIG. 4. FIG. 4 is a flowchart of the firmware rewriting process when the component 160 is a battery.

図4に示すファームウェア書き換え処理を実行する前に、データストレージ130には、部品160である電池の種類又はバージョンに適合した電池残量ゲージICのファームウェア書き換えプログラム131が記憶されている。これらのファームウェア書き換えプログラム131は、例えば、通信部150が、通信接続されたサーバ、製造調整装置等の情報通信端末から受信したプログラムである。 Before executing the firmware rewrite process shown in FIG. 4, the data storage 130 stores a firmware rewrite program 131 for the battery fuel gauge IC that is compatible with the type or version of the battery that is the component 160. These firmware rewrite programs 131 are, for example, programs that the communication unit 150 receives from an information communication terminal such as a server or manufacturing adjustment device that is communicatively connected.

電子機器1に搭載されている電池が交換された後に、データストレージ130に記憶されているファームウェア書き換えプログラム131から、交換された新電池に対応するファームウェア書き換えプログラム131が選択される。ファームウェア書き換えプログラム131は、操作者の操作により選択され、又は、部品識別情報取得部121が取得した部品160の識別情報に基づいて選択される。そして、選択されたファームウェア書き換えプログラム131を実行することにより、図4に示すファームウェア書き換え処理が実行される。 After the battery installed in the electronic device 1 is replaced, a firmware rewrite program 131 corresponding to the replaced new battery is selected from the firmware rewrite programs 131 stored in the data storage 130. The firmware rewrite program 131 is selected by an operator's operation, or is selected based on the identification information of the part 160 acquired by the part identification information acquisition unit 121. Then, the firmware rewrite process shown in FIG. 4 is performed by executing the selected firmware rewrite program 131.

まず、部品識別情報取得部121が、新たに部品用インタフェース170に接続された部品160である電池の識別情報を取得する(ステップS201)。部品識別情報取得部121が取得した識別情報に基づいて、部品用インタフェース170に接続された電池が新電池であると判定された場合は(ステップS202:Yes)、ファームウェア書き換え部122がファームウェアストレージ140に記憶されている電池残量ゲージICのファームウェア141を全て、新電池に適合した電池残量ゲージICのファームウェア141に書き換える(ステップS203)。 First, the part identification information acquisition unit 121 acquires identification information of the battery, which is the part 160 newly connected to the part interface 170 (step S201). If it is determined that the battery connected to the part interface 170 is a new battery based on the identification information acquired by the part identification information acquisition unit 121 (step S202: Yes), the firmware rewriting unit 122 rewrites all of the battery fuel gauge IC firmware 141 stored in the firmware storage 140 to battery fuel gauge IC firmware 141 compatible with the new battery (step S203).

本実施の形態2においても、ステップS203で実行される、ファームウェアストレージ140におけるファームウェア141の書き換えは、既に書き込まれている古いバージョンのファームウェア141に対してバージョンアップするものではなく、ファームウェア141の全データを新たに書き込むものである。言い換えれば、第2制御部120は、ファームウェア141を、クリーンインストールする。その後ステップS204に進む。 In the second embodiment, the rewriting of firmware 141 in firmware storage 140, which is executed in step S203, does not upgrade the firmware 141 of an old version that has already been written, but writes all data of firmware 141 anew. In other words, the second control unit 120 performs a clean install of firmware 141. Then, the process proceeds to step S204.

ステップS202において、部品用インタフェース170に接続された電池が新電池でなく電池の交換がなされなかったと判定された場合は(ステップS202:No)、ファームウェア141の書き換えは行わず、ステップS204に進む。 If it is determined in step S202 that the battery connected to the component interface 170 is not a new battery and has not been replaced (step S202: No), the firmware 141 is not rewritten and the process proceeds to step S204.

次に、ファームウェア判定部123は、ファームウェアストレージ140にインストールされている電池残量ゲージICのファームウェア141の全データの整合性を判定する(ステップS204)。 Next, the firmware determination unit 123 determines the consistency of all data in the firmware 141 of the battery fuel gauge IC installed in the firmware storage 140 (step S204).

具体的には、ファームウェア判定部123は、書き込まれたファームウェア141のデータに誤り又は欠損がないか検証する。また、ファームウェア判定部123は、電池残量ゲージICのファームウェア141のバージョンを含むデータが、部品識別情報取得部121が取得した識別情報に基づいて識別される新たな電池の種類又は特性に適合しているか否かを判定する。 Specifically, the firmware determination unit 123 verifies whether there are any errors or omissions in the written firmware 141 data. In addition, the firmware determination unit 123 determines whether the data including the version of the firmware 141 of the battery fuel gauge IC is compatible with the type or characteristics of the new battery identified based on the identification information acquired by the part identification information acquisition unit 121.

ファームウェア判定部123が、部品識別情報取得部121が取得した部品識別情報に基づいて、新電池が接続されていることを判定し、かつ、電池残量ゲージICのファームウェア141が、新電池に対応していると判定した場合には(ステップS205:Yes)、動作指示部124が、電池残量ゲージICの電池残量を算出するための参照テーブルを新電池に対応したテーブルに切り替えて、電子機器1を再起動する(ステップS206)。 When the firmware determination unit 123 determines that a new battery is connected based on the part identification information acquired by the part identification information acquisition unit 121 and determines that the firmware 141 of the battery remaining gauge IC is compatible with the new battery (step S205: Yes), the operation instruction unit 124 switches the reference table for calculating the remaining battery level of the battery remaining gauge IC to a table corresponding to the new battery, and restarts the electronic device 1 (step S206).

また、ファームウェア判定部123が、部品識別情報取得部121が取得した部品識別情報に基づいて、旧電池が接続されていることを判定し、かつ、電池残量ゲージICのファームウェア141が、旧電池に対応していると判定した場合には(ステップS205:No,ステップS207:Yes)、動作指示部124が、電池残量ゲージICの参照テーブルを旧電池に対応したテーブルに切り替えて、電子機器1を再起動する(ステップS206)。 In addition, if the firmware determination unit 123 determines that an old battery is connected based on the part identification information acquired by the part identification information acquisition unit 121 and determines that the firmware 141 of the battery remaining gauge IC is compatible with the old battery (step S205: No, step S207: Yes), the operation instruction unit 124 switches the reference table of the battery remaining gauge IC to a table corresponding to the old battery and restarts the electronic device 1 (step S206).

一方、ファームウェア判定部123が、新電池が接続され、かつ、電池残量ゲージICのファームウェア141が新電池対応でない場合には(ステップS205,S207:No)、動作指示部124が異常を示す警告を出力し(ステップS208)、第1制御部110を停止したままにする指示を行う(ステップS209)。また、ファームウェア判定部123が、旧電池が接続され、かつ、電池残量ゲージICのファームウェア141が旧電池対応でない場合にも(ステップS205,S207:No)、動作指示部124が異常を示す警告を出力し(ステップS208)、第1制御部110を停止したままにする指示を行う(ステップS209)。 On the other hand, if the firmware determination unit 123 determines that a new battery is connected and that the firmware 141 of the battery remaining gauge IC is not compatible with the new battery (steps S205 and S207: No), the operation instruction unit 124 outputs a warning indicating an abnormality (step S208) and instructs the first control unit 110 to remain stopped (step S209). Also, if the firmware determination unit 123 determines that an old battery is connected and that the firmware 141 of the battery remaining gauge IC is not compatible with the old battery (steps S205 and S207: No), the operation instruction unit 124 outputs a warning indicating an abnormality (step S208) and instructs the first control unit 110 to remain stopped (step S209).

以上説明したように、本実施の形態に係る電子機器1において、搭載済みの電池が交換されたときに、第2制御部120の部品識別情報取得部121が、新たな部品160である電池の識別情報を取得し、ファームウェア書き換え部122が、電池の電池残量ゲージICのファームウェア141を新たなファームウェア141に書き換える。ファームウェア判定部123は、書き換えられたファームウェア141のバージョンを含むデータを検証し、データの整合性があるか否かを判定する。ファームウェア判定部123が、ファームウェア141のデータに整合性がないと判定した場合は、動作指示部124が警告を出力し、また、第1制御部110を動作させない指示を行うこととした。これにより、新しい電池に適合した電池残量ゲージICのファームウェア141を確実に適用することが可能となる。 As described above, when the installed battery is replaced in the electronic device 1 according to this embodiment, the part identification information acquisition unit 121 of the second control unit 120 acquires the identification information of the battery, which is the new part 160, and the firmware rewriting unit 122 rewrites the firmware 141 of the battery fuel gauge IC of the battery with the new firmware 141. The firmware determination unit 123 verifies data including the version of the rewritten firmware 141 and determines whether the data is consistent. If the firmware determination unit 123 determines that the firmware 141 data is not consistent, the operation instruction unit 124 outputs a warning and also issues an instruction not to operate the first control unit 110. This makes it possible to reliably apply the firmware 141 of the battery fuel gauge IC that is compatible with the new battery.

(変形例)
以上、本発明の実施の形態について説明したが、この実施の形態は一例であり、本発明の適用範囲はこれに限られない。すなわち、本発明の実施の形態は種々の応用が可能であり、あらゆる実施の形態が本発明の範囲に含まれる。
(Modification)
Although the embodiment of the present invention has been described above, this embodiment is merely an example, and the scope of application of the present invention is not limited to this. In other words, the embodiment of the present invention can be applied in various ways, and all embodiments are included in the scope of the present invention.

例えば、実施の形態1において、データストレージ130とファームウェアストレージ140とは別に設けられ、データストレージ130にファームウェア書き換えプログラム131が記憶され、ファームウェアストレージ140にファームウェア141を記憶されるとしたが、データストレージ130及びファームウェアストレージ140の構成は、他の任意の構成でもよい。例えば、データストレージ130及びファームウェアストレージ140が1つの記憶装置から構成されていてもよい。あるいは、ファームウェアストレージ140の一部又は全部が、第1制御部110又は第2制御部120に含まれていてもよい。 For example, in the first embodiment, the data storage 130 and the firmware storage 140 are provided separately, the firmware rewrite program 131 is stored in the data storage 130, and the firmware 141 is stored in the firmware storage 140, but the data storage 130 and the firmware storage 140 may have any other configuration. For example, the data storage 130 and the firmware storage 140 may be configured as a single storage device. Alternatively, a part or all of the firmware storage 140 may be included in the first control unit 110 or the second control unit 120.

また、実施の形態1,2において、ファームウェア書き換えプログラム131を実行することにより、ファームウェアストレージ140に記憶されているファームウェア141を新たな部品160のファームウェア141に書き換えるとしたが、ファームウェアストレージ140に予め、部品160又は部品160の周辺部品のファームウェア141を含む複数のファームウェアを記憶しておいてもよい。この場合、ファームウェア判定部123は、部品識別情報取得部121が取得した新たな部品160の識別情報に基づいて、複数のファームウェアから新たな部品160に対応するファームウェア141を選択し、選択したファームウェア141と新たな部品160の種類又は特性とが互いに適合しているか否かを判定する。 In addition, in the first and second embodiments, the firmware rewrite program 131 is executed to rewrite the firmware 141 stored in the firmware storage 140 to the firmware 141 of the new component 160. However, a plurality of firmware including firmware 141 of the component 160 or peripheral components of the component 160 may be stored in advance in the firmware storage 140. In this case, the firmware determination unit 123 selects firmware 141 corresponding to the new component 160 from the plurality of firmware based on the identification information of the new component 160 acquired by the component identification information acquisition unit 121, and determines whether the selected firmware 141 and the type or characteristics of the new component 160 are compatible with each other.

ファームウェアストレージ140に複数のファームウェア141を記憶する場合は、通信部150が、外部の情報通信端末からファームウェア141を受信してファームウェアストレージ140に記憶してもよい。あるいは、部品識別情報取得部121が取得した新たな部品160の識別情報に基づいて、外部の情報通信端末にファームウェア141を要求し、通信部150が新たな部品160に対応するファームウェア141を受信してファームウェアストレージ140に記憶してもよい。 When storing multiple pieces of firmware 141 in the firmware storage 140, the communication unit 150 may receive firmware 141 from an external information communication terminal and store it in the firmware storage 140. Alternatively, based on the identification information of a new part 160 acquired by the part identification information acquisition unit 121, a request for firmware 141 may be made to an external information communication terminal, and the communication unit 150 may receive firmware 141 corresponding to the new part 160 and store it in the firmware storage 140.

また、実施の形態1,2において、ファームウェアストレージ140のファームウェア141を新たな部品160に対応するファームウェア141に書き換えた後に、ファームウェア判定部123がファームウェア141と新たな部品160の種類又は特性とが互いに適合しているか否かを判定するとしたが、新たな部品160に対応するファームウェア141をファームウェアストレージ140に書き込む前に、ファームウェア141と新たな部品160の種類又は特性とが互いに適合しているか否かを判定してもよい。 In addition, in the first and second embodiments, after the firmware 141 in the firmware storage 140 is rewritten to firmware 141 corresponding to the new part 160, the firmware determination unit 123 determines whether the firmware 141 and the type or characteristics of the new part 160 are compatible with each other. However, it may be possible to determine whether the firmware 141 and the type or characteristics of the new part 160 are compatible with each other before writing the firmware 141 corresponding to the new part 160 to the firmware storage 140.

また、上記実施の形態1,2に示したハードウェア構成及びフローチャートは一例であり、任意に変更及び修正が可能である。第2制御部120が実現する各機能は、専用のシステムによらず、通常のコンピュータシステムを用いて実現可能である。 The hardware configurations and flow charts shown in the first and second embodiments are merely examples and can be changed or modified as desired. Each function realized by the second control unit 120 can be realized using a normal computer system, not a dedicated system.

例えば、上記実施の形態の動作を実行するためのプログラムを、コンピュータが読み取り可能なCD-ROM(Compact Disc Read Only Memory)、DVD(Digital Versatile Disc)、MO(Magneto Optical Disc)、メモリカード等の記録媒体に格納して配布し、プログラムをコンピュータにインストールすることにより、各機能を実現することができるコンピュータを構成してもよい。そして、各機能をOS(Operating System)とアプリケーションとの分担、又はOSとアプリケーションとの協同により実現する場合には、OS以外の部分のみを記録媒体に格納してもよい。 For example, a computer capable of implementing each function may be configured by distributing a program for executing the operations of the above-described embodiments stored on a computer-readable recording medium such as a CD-ROM (Compact Disc Read Only Memory), a DVD (Digital Versatile Disc), an MO (Magneto Optical Disc), or a memory card, and installing the program on a computer. In addition, if each function is implemented by sharing the work between an OS (Operating System) and an application, or by cooperation between an OS and an application, only the parts other than the OS may be stored on the recording medium.

以上、本発明の好ましい実施の形態について説明したが、本発明は係る特定の実施の形態に限定されるものではなく、本発明には、特許請求の範囲に記載された発明とその均等の範囲とが含まれる。以下に、本願出願の当初の特許請求の範囲に記載された発明を付記する。 Although the preferred embodiment of the present invention has been described above, the present invention is not limited to the specific embodiment, and includes the inventions described in the claims and their equivalents. The inventions described in the original claims of this application are described below.

(付記1)
搭載済みの部品から交換された新たな前記部品の識別情報を取得する部品識別情報取得部と、
前記部品又は前記部品の周辺部品のファームウェアを新たな前記ファームウェアに書き換えるファームウェア書き換え部と、
前記部品識別情報取得部が取得した前記識別情報に基づいて、新たな前記ファームウェアと新たな前記部品の種類又は特性とが互いに適合しているか否かを判定するファームウェア判定部と、
前記ファームウェア判定部により、新たな前記ファームウェアと新たな前記部品の種類又は特性とが互いに適合していないと判定された場合に、予め定めた動作を実行し、又は、予め定めた動作を実行しない指示を行う動作指示部と、
を備える電子機器。
(Appendix 1)
a part identification information acquisition unit that acquires identification information of a new part that has been replaced from an already-mounted part;
a firmware rewriting unit that rewrites firmware of the component or a peripheral component of the component with new firmware;
a firmware determination unit that determines whether or not the new firmware and a type or characteristic of the new component are compatible with each other based on the identification information acquired by the component identification information acquisition unit;
an operation instruction unit that executes a predetermined operation or instructs not to execute the predetermined operation when the firmware determination unit determines that the new firmware and the type or characteristics of the new component are not compatible with each other;
An electronic device comprising:

(付記2)
外部の情報通信端末と通信する通信部を更に備え、
前記通信部は、前記情報通信端末から、前記ファームウェアの書き換えプログラムを受信し、
前記ファームウェア書き換え部は、前記ファームウェアの書き換えプログラムを実行することにより、前記部品又は前記部品の周辺部品のファームウェアを新たな前記ファームウェアに書き換える、
付記1に記載の電子機器。
(Appendix 2)
Further comprising a communication unit for communicating with an external information communication terminal,
The communication unit receives the firmware rewrite program from the information communication terminal,
the firmware rewriting unit executes the firmware rewriting program to rewrite the firmware of the component or a peripheral component of the component with new firmware;
2. The electronic device of claim 1.

(付記3)
搭載済みの部品から交換された新たな前記部品の識別情報を取得する部品識別情報取得部と、
前記部品又は前記部品の周辺部品のファームウェアを含む複数のファームウェアを記憶するファームウェアストレージと、
前記部品識別情報取得部が取得した前記識別情報に基づいて、前記複数のファームウェアから選択した前記ファームウェアと新たな前記部品の種類又は特性とが互いに適合しているか否かを判定するファームウェア判定部と、
前記ファームウェア判定部により、選択した前記ファームウェアと新たな前記部品の種類又は特性とが互いに適合していないと判定された場合に、予め定めた動作を実行し、又は、予め定めた動作を実行しない指示を行う動作指示部と、
を備える電子機器。
(Appendix 3)
a part identification information acquisition unit that acquires identification information of a new part that has been replaced from an already-mounted part;
a firmware storage that stores a plurality of firmware including firmware of the component or a peripheral component of the component;
a firmware determination unit that determines whether or not the firmware selected from the plurality of firmwares and a type or characteristic of the new part are compatible with each other based on the identification information acquired by the part identification information acquisition unit;
an operation instruction unit that executes a predetermined operation or instructs not to execute the predetermined operation when the firmware determination unit determines that the selected firmware and a type or characteristic of the new part are not compatible with each other;
An electronic device comprising:

(付記4)
外部の情報通信端末と通信する通信部を更に備え、
前記通信部は、前記情報通信端末から、前記ファームウェアを受信して前記ファームウェアストレージに記憶する、
付記3に記載の電子機器。
(Appendix 4)
Further comprising a communication unit for communicating with an external information communication terminal,
The communication unit receives the firmware from the information communication terminal and stores the firmware in the firmware storage.
4. The electronic device according to claim 3.

(付記5)
前記部品は、電池であり、
前記ファームウェアは、電池残量ゲージICのファームウェアを含む、
付記1から4のいずれか1つに記載の電子機器。
(Appendix 5)
the component is a battery,
the firmware includes battery fuel gauge IC firmware;
5. The electronic device according to claim 1 .

(付記6)
前記動作指示部は、前記ファームウェアと新たな前記部品の種類又は特性とが互いに適合していると判定された場合に、前記電池残量ゲージICの電池残量を算出するための参照テーブルを、交換された前記電池に対応したテーブルに切り替える、
付記5に記載の電子機器。
(Appendix 6)
when it is determined that the firmware and the type or characteristics of the new part are compatible with each other, the operation instruction unit switches a reference table for calculating the remaining battery level of the battery fuel gauge IC to a table corresponding to the replaced battery.
6. The electronic device according to claim 5.

(付記7)
前記電子機器は、前記部品識別情報取得部が取得した前記部品の前記識別情報に基づく前記ファームウェアの一部更新を実行しない、
付記1から6のいずれか1つに記載の電子機器。
(Appendix 7)
the electronic device does not execute a partial update of the firmware based on the identification information of the component acquired by the component identification information acquisition unit;
7. An electronic device according to any one of claims 1 to 6.

(付記8)
前記動作指示部は、前記ファームウェア判定部により、前記ファームウェアと新たな前記部品の種類又は特性とが互いに適合していないと判定された場合に、警告を出力する指示を行う、
付記1から7のいずれか1つに記載の電子機器。
(Appendix 8)
the operation instruction unit issues an instruction to output a warning when the firmware determination unit determines that the firmware and a type or characteristic of the new component are not compatible with each other.
8. An electronic device according to any one of claims 1 to 7.

(付記9)
第1制御部と、
前記部品識別情報取得部、前記ファームウェア判定部及び前記動作指示部を有する第2制御部と、を有し、
前記第2制御部の前記ファームウェア判定部が、前記ファームウェアと前記部品の種類又は特性とが互いに適合していないと判定した場合に、前記動作指示部は、前記第1制御部の動作を停止する指示を行う、
付記1から8のいずれか1つに記載の電子機器。
(Appendix 9)
A first control unit;
a second control unit having the part identification information acquisition unit, the firmware determination unit, and the operation instruction unit,
When the firmware determination unit of the second control unit determines that the firmware and the type or characteristics of the part are not compatible with each other, the operation instruction unit issues an instruction to stop the operation of the first control unit.
9. An electronic device according to any one of claims 1 to 8.

(付記10)
前記部品を前記第2制御部に接続する部品用インタフェースを更に備え、
前記部品用インタフェースの端子のうち、前記部品の回路基板上で短絡させる端子の組み合わせを前記部品の種類ごとに変えておき、
前記第2制御部の前記部品識別情報取得部は、導通している前記端子の組み合わせを検知することによって、前記部品の前記識別情報を取得する、
付記9に記載の電子機器。
(Appendix 10)
A component interface for connecting the component to the second control unit,
a combination of terminals of the component interface that are short-circuited on a circuit board of the component is changed for each type of the component;
the component identification information acquisition unit of the second control unit acquires the identification information of the component by detecting a combination of the terminals that are conductive.
10. The electronic device of claim 9.

(付記11)
搭載済みの部品から交換された新たな前記部品の識別情報を取得する部品識別情報取得ステップと、
前記部品又は前記部品の周辺部品のファームウェアを新たな前記ファームウェアに書き換えるファームウェア書き換えステップと、
前記部品識別情報取得ステップで取得した前記識別情報に基づいて、新たな前記ファームウェアと新たな前記部品の種類又は特性とが互いに適合しているか否かを判定するファームウェア判定ステップと、
前記ファームウェア判定ステップにより、新たな前記ファームウェアと新たな前記部品の種類又は特性とが互いに適合していないと判定した場合に、予め定めた動作を実行し、又は、予め定めた動作を実行しない指示を行う動作指示ステップと、
を有するファームウェア更新方法。
(Appendix 11)
a part identification information acquisition step of acquiring identification information of a new part replaced with the installed part;
a firmware rewriting step of rewriting firmware of the component or a peripheral component of the component with new firmware;
a firmware determination step of determining whether or not the new firmware and a type or characteristic of the new part are compatible with each other based on the identification information acquired in the part identification information acquisition step;
an operation instruction step of executing a predetermined operation or issuing an instruction not to execute the predetermined operation when it is determined in the firmware determination step that the new firmware and the type or characteristics of the new part are not compatible with each other;
A firmware update method comprising:

(付記12)
コンピュータを、
搭載済みの部品から交換された新たな前記部品の識別情報を取得する部品識別情報取得部、
前記部品又は前記部品の周辺部品のファームウェアを新たな前記ファームウェアに書き換えるファームウェア書き換え部、
前記部品識別情報取得部が取得した前記識別情報に基づいて、新たな前記ファームウェアと新たな前記部品の種類又は特性とが互いに適合しているか否かを判定するファームウェア判定部、及び
前記ファームウェア判定部により、新たな前記ファームウェアと新たな前記部品の種類又は特性とが互いに適合していないと判定された場合に、予め定めた動作を実行し、又は、予め定めた動作を実行しない指示を行う動作指示部、
として機能させるプログラム。
(Appendix 12)
Computer,
a part identification information acquisition unit for acquiring identification information of a new part replaced with an already-mounted part;
a firmware rewriting unit that rewrites firmware of the component or a peripheral component of the component with new firmware;
a firmware determination unit that determines whether or not the new firmware and a type or characteristic of the new part are compatible with each other based on the identification information acquired by the part identification information acquisition unit; and an operation instruction unit that executes a predetermined operation or gives an instruction not to execute the predetermined operation when the firmware determination unit determines that the new firmware and the type or characteristic of the new part are not compatible with each other.
A program that functions as a

1…電子機器、101,103…プロセッサ、102,104…メモリ、110…第1制御部,120…第2制御部、121…部品識別情報取得部、122…ファームウェア(FW)書き換え部、123…ファームウェア判定部、124…動作指示部、130…データストレージ、131…ファームウェア書き換えプログラム、140…ファームウェアストレージ、141…ファームウェア、150…通信部、160…部品、170…部品用インタフェース、200…データバス。 1...electronic device, 101, 103...processor, 102, 104...memory, 110...first control unit, 120...second control unit, 121...component identification information acquisition unit, 122...firmware (FW) rewriting unit, 123...firmware determination unit, 124...operation instruction unit, 130...data storage, 131...firmware rewriting program, 140...firmware storage, 141...firmware, 150...communication unit, 160...component, 170...component interface, 200...data bus.

Claims (10)

搭載済みの部品から交換された新たな前記部品の識別情報を取得する部品識別情報取得部と、
前記部品又は前記部品の周辺部品のファームウェアを新たな前記ファームウェアに書き換えるファームウェア書き換え部と、
前記部品識別情報取得部が取得した前記識別情報に基づいて、新たな前記ファームウェアと新たな前記部品の種類又は特性とが互いに適合しているか否かを判定するファームウェア判定部と、
前記ファームウェア判定部により、新たな前記ファームウェアと新たな前記部品の種類又は特性とが互いに適合していないと判定された場合に、予め定めた動作を実行し、又は、予め定めた動作を実行しない指示を行う動作指示部と、
第1制御部と、
前記部品識別情報取得部、前記ファームウェア判定部及び前記動作指示部を有する第2制御部と、を備え、
前記第2制御部の前記ファームウェア判定部が、前記ファームウェアと前記部品の種類又は特性とが互いに適合していないと判定した場合に、前記動作指示部は、前記第1制御部の動作を停止する指示を行う、
子機器。
a part identification information acquisition unit that acquires identification information of a new part that has been replaced from an already-mounted part;
a firmware rewriting unit that rewrites firmware of the component or a peripheral component of the component with new firmware;
a firmware determination unit that determines whether or not the new firmware and a type or characteristic of the new component are compatible with each other based on the identification information acquired by the component identification information acquisition unit;
an operation instruction unit that executes a predetermined operation or instructs not to execute the predetermined operation when the firmware determination unit determines that the new firmware and the type or characteristics of the new component are not compatible with each other;
A first control unit;
a second control unit having the part identification information acquisition unit, the firmware determination unit, and the operation instruction unit,
When the firmware determination unit of the second control unit determines that the firmware and the type or characteristics of the part are not compatible with each other, the operation instruction unit issues an instruction to stop the operation of the first control unit.
electronic equipment.
外部の情報通信端末と通信する通信部を更に備え、
前記通信部は、前記情報通信端末から、前記ファームウェアの書き換えプログラムを受信し、
前記ファームウェア書き換え部は、前記ファームウェアの書き換えプログラムを実行することにより、前記部品又は前記部品の周辺部品のファームウェアを新たな前記ファームウェアに書き換える、
請求項1に記載の電子機器。
Further comprising a communication unit for communicating with an external information communication terminal,
The communication unit receives the firmware rewrite program from the information communication terminal,
the firmware rewriting unit executes the firmware rewriting program to rewrite the firmware of the component or a peripheral component of the component with new firmware;
2. The electronic device according to claim 1.
搭載済みの部品から交換された新たな前記部品の識別情報を取得する部品識別情報取得部と、
前記部品又は前記部品の周辺部品のファームウェアを含む複数のファームウェアを記憶するファームウェアストレージと、
前記部品識別情報取得部が取得した前記識別情報に基づいて、前記複数のファームウェアから選択した前記ファームウェアと新たな前記部品の種類又は特性とが互いに適合しているか否かを判定するファームウェア判定部と、
前記ファームウェア判定部により、選択した前記ファームウェアと新たな前記部品の種類又は特性とが互いに適合していないと判定された場合に、予め定めた動作を実行し、又は、予め定めた動作を実行しない指示を行う動作指示部と、
第1制御部と、
前記部品識別情報取得部、前記ファームウェア判定部及び前記動作指示部を有する第2制御部と、を備え、
前記第2制御部の前記ファームウェア判定部が、前記ファームウェアと前記部品の種類又は特性とが互いに適合していないと判定した場合に、前記動作指示部は、前記第1制御部の動作を停止する指示を行う、
子機器。
a part identification information acquisition unit that acquires identification information of a new part that has been replaced from an already-mounted part;
a firmware storage that stores a plurality of firmware including firmware of the component or a peripheral component of the component;
a firmware determination unit that determines whether or not the firmware selected from the plurality of firmwares and a type or characteristic of the new part are compatible with each other based on the identification information acquired by the part identification information acquisition unit;
an operation instruction unit that executes a predetermined operation or instructs not to execute the predetermined operation when the firmware determination unit determines that the selected firmware and a type or characteristic of the new part are not compatible with each other;
A first control unit;
a second control unit having the part identification information acquisition unit, the firmware determination unit, and the operation instruction unit,
When the firmware determination unit of the second control unit determines that the firmware and the type or characteristics of the part are not compatible with each other, the operation instruction unit issues an instruction to stop the operation of the first control unit.
electronic equipment.
外部の情報通信端末と通信する通信部を更に備え、
前記通信部は、前記情報通信端末から、前記ファームウェアを受信して前記ファームウェアストレージに記憶する、
請求項3に記載の電子機器。
Further comprising a communication unit for communicating with an external information communication terminal,
The communication unit receives the firmware from the information communication terminal and stores the firmware in the firmware storage.
4. The electronic device according to claim 3.
前記部品は、電池であり、
前記ファームウェアは、電池残量ゲージICのファームウェアを含む、
請求項1から4のいずれか1項に記載の電子機器。
the component is a battery,
the firmware includes battery fuel gauge IC firmware;
The electronic device according to claim 1 .
前記動作指示部は、前記ファームウェアと新たな前記部品の種類又は特性とが互いに適合していると判定された場合に、前記電池残量ゲージICの電池残量を算出するための参照テーブルを、交換された前記電池に対応したテーブルに切り替える、
請求項5に記載の電子機器。
when it is determined that the firmware and the type or characteristics of the new part are compatible with each other, the operation instruction unit switches a reference table for calculating the remaining battery level of the battery fuel gauge IC to a table corresponding to the replaced battery.
6. The electronic device according to claim 5.
前記電子機器は、前記部品識別情報取得部が取得した前記部品の前記識別情報に基づく前記ファームウェアの一部更新を実行しない、
請求項1から6のいずれか1項に記載の電子機器。
the electronic device does not execute a partial update of the firmware based on the identification information of the component acquired by the component identification information acquisition unit;
The electronic device according to claim 1 .
前記動作指示部は、前記ファームウェア判定部により、前記ファームウェアと新たな前記部品の種類又は特性とが互いに適合していないと判定された場合に、警告を出力する指示を行う、
請求項1から7のいずれか1項に記載の電子機器。
the operation instruction unit issues an instruction to output a warning when the firmware determination unit determines that the firmware and a type or characteristic of the new component are not compatible with each other.
The electronic device according to claim 1 .
前記部品を前記第2制御部に接続する部品用インタフェースを更に備え、
前記部品用インタフェースの端子のうち、前記部品の回路基板上で短絡させる端子の組み合わせを前記部品の種類ごとに変えておき、
前記第2制御部の前記部品識別情報取得部は、導通している前記端子の組み合わせを検知することによって、前記部品の前記識別情報を取得する、
請求項1から8のいずれか1項に記載の電子機器。
A component interface for connecting the component to the second control unit,
a combination of terminals of the component interface that are short-circuited on a circuit board of the component is changed for each type of the component;
the component identification information acquisition unit of the second control unit acquires the identification information of the component by detecting a combination of the terminals that are conductive.
The electronic device according to claim 1 .
第1制御部と、第2制御部と、を備えるコンピュータを、
搭載済みの部品から交換された新たな前記部品の識別情報を取得する部品識別情報取得部、
前記部品又は前記部品の周辺部品のファームウェアを新たな前記ファームウェアに書き換えるファームウェア書き換え部、
前記部品識別情報取得部が取得した前記識別情報に基づいて、新たな前記ファームウェアと新たな前記部品の種類又は特性とが互いに適合しているか否かを判定するファームウェア判定部、及び
前記ファームウェア判定部により、新たな前記ファームウェアと新たな前記部品の種類又は特性とが互いに適合していないと判定された場合に、予め定めた動作を実行し、又は、予め定めた動作を実行しない指示を行う動作指示部、
として機能させ、
前記第2制御部は、前記部品識別情報取得部、前記ファームウェア判定部及び前記動作指示部を有しており、
前記第2制御部の前記ファームウェア判定部が、前記ファームウェアと前記部品の種類又は特性とが互いに適合していないと判定した場合に、前記動作指示部は、前記第1制御部の動作を停止する指示を行う、
ログラム。
A computer including a first control unit and a second control unit ,
a part identification information acquisition unit for acquiring identification information of a new part replaced with an already-mounted part;
a firmware rewriting unit that rewrites firmware of the component or a peripheral component of the component with new firmware;
a firmware determination unit that determines whether or not the new firmware and a type or characteristic of the new part are compatible with each other based on the identification information acquired by the part identification information acquisition unit; and an operation instruction unit that executes a predetermined operation or gives an instruction not to execute the predetermined operation when the firmware determination unit determines that the new firmware and the type or characteristic of the new part are not compatible with each other.
Function as a
the second control unit has the part identification information acquisition unit, the firmware determination unit, and the operation instruction unit,
When the firmware determination unit of the second control unit determines that the firmware and the type or characteristics of the part are not compatible with each other, the operation instruction unit issues an instruction to stop the operation of the first control unit.
program .
JP2021051342A 2021-03-25 2021-03-25 Electronic device, firmware update method and program Active JP7707597B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021051342A JP7707597B2 (en) 2021-03-25 2021-03-25 Electronic device, firmware update method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021051342A JP7707597B2 (en) 2021-03-25 2021-03-25 Electronic device, firmware update method and program

Publications (2)

Publication Number Publication Date
JP2022149277A JP2022149277A (en) 2022-10-06
JP7707597B2 true JP7707597B2 (en) 2025-07-15

Family

ID=83462928

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021051342A Active JP7707597B2 (en) 2021-03-25 2021-03-25 Electronic device, firmware update method and program

Country Status (1)

Country Link
JP (1) JP7707597B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2025126390A1 (en) * 2023-12-13 2025-06-19 日本たばこ産業株式会社 Power supply unit for aerosol generating device
WO2025126395A1 (en) * 2023-12-13 2025-06-19 日本たばこ産業株式会社 Power supply unit for aerosol generating device
WO2025126394A1 (en) * 2023-12-13 2025-06-19 日本たばこ産業株式会社 Power supply unit for aerosol generating device
WO2025126387A1 (en) * 2023-12-13 2025-06-19 日本たばこ産業株式会社 Power supply unit for aerosol generation device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006127105A (en) 2004-10-28 2006-05-18 Fujitsu Peripherals Ltd Method for installing firmware in electronic equipment and printed circuit board
JP2006260330A (en) 2005-03-18 2006-09-28 Fujitsu Ltd Firmware version management method and information processing apparatus for computer system
US20110083129A1 (en) 2009-10-02 2011-04-07 Fujitsu Limited Management system, management apparatus, management method, and computer readable recording medium storing the management program
JP2015219565A (en) 2014-05-14 2015-12-07 キヤノン株式会社 Information processing apparatus, updating method of program thereof and program
JP2021012428A (en) 2019-07-03 2021-02-04 本田技研工業株式会社 Software update device, server device, software update method, and program

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02191031A (en) * 1989-01-20 1990-07-26 Ricoh Co Ltd information processing equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006127105A (en) 2004-10-28 2006-05-18 Fujitsu Peripherals Ltd Method for installing firmware in electronic equipment and printed circuit board
JP2006260330A (en) 2005-03-18 2006-09-28 Fujitsu Ltd Firmware version management method and information processing apparatus for computer system
US20110083129A1 (en) 2009-10-02 2011-04-07 Fujitsu Limited Management system, management apparatus, management method, and computer readable recording medium storing the management program
JP2015219565A (en) 2014-05-14 2015-12-07 キヤノン株式会社 Information processing apparatus, updating method of program thereof and program
JP2021012428A (en) 2019-07-03 2021-02-04 本田技研工業株式会社 Software update device, server device, software update method, and program

Also Published As

Publication number Publication date
JP2022149277A (en) 2022-10-06

Similar Documents

Publication Publication Date Title
JP7707597B2 (en) Electronic device, firmware update method and program
CN100472442C (en) A device and method for online upgrade of firmware program
CN102855146B (en) Firmware update system and method
EP3742288B1 (en) Apparatus, communication module, application module, and method
CN103942061B (en) Battery firmware updating method, portable electronic device and rechargeable battery module
US9298470B2 (en) Method and apparatus for selecting bios program for a processor
EP3597438A1 (en) Storage chip, imaging cartridge, method of changing a serial number and method of using storage chip
US20140082346A1 (en) Method and System for Managing Basic Input/Output System (BIOS) Configuration Data of BIOS
CN103631674A (en) FPGA embedded in CPU and starting method thereof
US9864596B2 (en) Network switch system and operating method thereof
CN111684416A (en) Vehicle control device and program update system
JPH04167139A (en) Program down loading system
CN114236461A (en) Electric quantity calibration method, electronic equipment and storage medium
US20220204008A1 (en) Arithmetic processing device, vehicle control device, and update method
JP6515462B2 (en) INFORMATION PROCESSING DEVICE, SETTING METHOD FOR INFORMATION PROCESSING DEVICE, AND SETTING PROGRAM
CN108664275A (en) Method, system and the storage medium of backup configuration parameter
JP7239413B2 (en) EMBEDDED COMMUNICATION BOARD, COMMUNICATION TERMINAL, AND FIRMWARE UPDATE METHOD
CN117950717A (en) Firmware processing method, device, equipment and readable storage medium
CN114756269B (en) Mouse chip convenient for upgrading firmware and operation method thereof
JP2013186634A (en) Information processing apparatus
JP2008117404A (en) Memory rewrite control system.
TWI858939B (en) Management platform system and bootloader repariring method thereof
US20250348306A1 (en) Information processing device, information processing method, and program
CN114879995B (en) Firmware updating method and device
US12373296B2 (en) Firmware resiliency through cloud

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20240305

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20241227

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20250121

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20250318

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: 20250603

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20250616

R150 Certificate of patent or registration of utility model

Ref document number: 7707597

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150