JP2019040571A - 電子機器 - Google Patents
電子機器 Download PDFInfo
- Publication number
- JP2019040571A JP2019040571A JP2017164390A JP2017164390A JP2019040571A JP 2019040571 A JP2019040571 A JP 2019040571A JP 2017164390 A JP2017164390 A JP 2017164390A JP 2017164390 A JP2017164390 A JP 2017164390A JP 2019040571 A JP2019040571 A JP 2019040571A
- Authority
- JP
- Japan
- Prior art keywords
- loader
- firmware
- rewritten
- vector
- cpu
- 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.)
- Abandoned
Links
- 239000013598 vector Substances 0.000 claims abstract description 77
- 230000004913 activation Effects 0.000 claims description 34
- 230000037430 deletion Effects 0.000 abstract 1
- 238000012217 deletion Methods 0.000 abstract 1
- 238000000034 method Methods 0.000 description 24
- 230000005236 sound signal Effects 0.000 description 9
- 238000011084 recovery Methods 0.000 description 8
- 238000004891 communication Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- SDJLVPMBBFRBLL-UHFFFAOYSA-N dsp-4 Chemical compound ClCCN(CC)CC1=CC=CC=C1Br SDJLVPMBBFRBLL-UHFFFAOYSA-N 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000005856 abnormality Effects 0.000 description 1
- 230000003321 amplification Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000003199 nucleic acid amplification method Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
- G06F8/654—Updates using techniques specially adapted for alterable solid state memories, e.g. for EEPROM or flash memories
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1415—Saving, restoring, recovering or retrying at system level
- G06F11/142—Reconfiguring to eliminate the error
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1415—Saving, restoring, recovering or retrying at system level
- G06F11/1433—Saving, restoring, recovering or retrying at system level during software upgrading
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2201/00—Indexing scheme relating to error detection, to error correction, and to monitoring
- G06F2201/805—Real-time
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
Abstract
Description
(1)マイクロコンピューター2がリセットされると、CPUは、リセットベクタを読み込み、そのアドレスにジャンプする。ここでは、リセットベクタは、起動チェック処理を差しているので、起動チェック処理へジャンプする。CPUは、起動チェック処理において、起動用ベクタをチェックする。CPUは、起動用ベクタが消去されていなければ、起動用ベクタが指し示す通常動作のプログラムのアドレスへジャンプする(通常起動)。フラッシュROMは、消去されているアドレスのビットが全て1となる。このため、CPUは、ベクタのビットが全て1か否かで、起動用ベクタが消去されているか否かを判断することができる。
(1−a)マイクロコンピューター2がリセットされると、CPUは、リセットベクタを読み込み、起動チェック処理を差しているので、起動チェック処理へジャンプする。(2−a)CPUは、起動用ベクタをチェックし、起動用ベクタが消去されているため、コピー処理へジャンプする。(3−a)CPUは、ローダベクタが消去されていないかを確認し、ローダベクタが消去されていないので、本来のアドレスにあるローダベクタとローダとをRAMにコピーする。CPUは、ローダベクタ(コピー前のフラッシュROM上でも、コピー後のRAM上でも構わない。)の指し示すローダのアドレスへジャンプする(RAM上のアドレスを指し示すように、コンパイルされている。)。このとき、CPUは、パラメータとして、フラグA←1、フラグB←0を設定しておく。フラグA=1は、起動用ベクタが消去されていることを示す。フラグB=0は、ローダベクタが消去されていないことを示す。この後、CPUは、(6)〜(12)の処理を行う。
(1−b)マイクロコンピューター2がリセットされると、CPUは、リセットベクタを読み込み、起動チェック処理を差しているので、起動チェック処理へジャンプする。(2−b)CPUは、起動用ベクタをチェックし、起動用ベクタが消去されているので、起動チェック処理へジャンプする。(3−b)CPUは、ローダベクタが消去されていないかを確認し、ローダベクタが消去されているので、固定アドレスにあるローダベクタ(コピー)とローダ(コピー)とをRAMにコピーする。(4−b)CPUは、ローダベクタ(コピー前のフラッシュROM上でも、コピー後のRAM上でも構わない。)の指し示すローダのアドレスへジャンプする(RAM上のアドレスを指し示すようにコンパイルされている。)。このとき、CPUは、パラメータとして、フラグA←1、フラグB←1を設定しておく。フラグA=1は、起動用ベクタが消去されていることを示す。フラグB=1は、起動用ベクタが消去されていることを示す。この後、CPUは、(8)〜(12)の処理を行う。
以下、起動チェックをする場合のスピーカー装置の処理動作について、図12に示すフローチャートに基づいて説明する。CPUは、まず、起動ベクタが消去されていないか否かを判断する(S1)。CPUは、起動用ベクタが消去されていないと判断した場合(S1:Yes)、起動用ベクタへジャンプする(S2)。この場合、通常起動が行われる。次に、CPUは、ファームウェアのアップデートを行うか否かを判断する(S3)。CPUは、ファームウェアのアップデートを行わないと判断している間は(S3:No)、S3の処理を繰り返し実行する。
2 マイクロコンピューター
3 操作部
4 DSP
5 DAC
6 増幅器
7 スピーカー
8 無線モジュール
Claims (6)
- 揮発性メモリと、
ファームウェアを記憶するための不揮発性メモリと、
制御部と、を備え、
前記ファームウェアは、ファームウェア本体と、前記不揮発性メモリを書き換えるためのローダと、を含み、
前記制御部は、
前記ファームウェアを書き換え中であることを示す第1マークを前記不揮発性メモリに設け、
前記ローダを書き換え中であることを示す第2マークを前記不揮発性メモリに設け、
起動時、前記第1マークにより、前記ファームウェアが書き換え中であるか否かを判断し、
前記ファームウェアの書き換え中ではないと判断した場合、前記不揮発性メモリに記憶されている前記ローダを前記揮発性メモリにコピーし、
前記不揮発性メモリに記憶されている前記ローダを前記不揮発性メモリの他の位置にコピーし、
前記ファームウェアの書き換え中であると判断した場合、前記第2マークにより、前記ローダが書き換え中であるか否かを判断し、
前記ローダが書き換え中であると判断した場合、前記不揮発性メモリの他の位置にコピーした前記ローダを、前記揮発性メモリにコピーし、
前記揮発性メモリにコピーした前記ローダを実行し、前記不揮発性メモリに記憶されている前記ファームウェアを書き換えることを特徴とする電子機器。 - 前記制御部は、
前記不揮発性メモリに記憶されている前記ローダを前記不揮発性メモリの他の位置にコピーする場合、前記ファームウェア本体が格納されている位置にコピーし、
前記ファームウェア本体よりも先に前記ローダを書き換え、
前記ローダの書き換え後に、前記ファームウェア本体を書き換えることを特徴とする請求項1に記載の電子機器。 - 前記制御部は、
前記不揮発性メモリに記憶されている前記ローダを前記揮発性メモリにコピーした後、前記第1マークを消去することを特徴とする請求項1又は2に記載の電子機器。 - 前記第1マークは、前記ファームウェア本体のアドレスを示す起動用ベクタの消去に相当し、
前記制御部は、
前記起動用ベクタが消去されていない場合、前記ファームウェアの書き換え中でないと判断し、
前記起動用ベクタが消去されている場合、前記ファームウェアの書き換え中であると判断することを特徴とする請求項1に記載の電子機器。 - 前記制御部は、
前記不揮発性メモリに記憶されている前記ローダを前記不揮発性メモリの他の位置にコピーした後、前記第2マークを消去することを特徴とする請求項1〜4のいずれか1項に記載の電子機器。 - 前記第2マークは、前記不揮発性メモリに記憶されている前記ローダのアドレスを示すローダベクタの消去に相当し、
前記ローダベクタが消去されていない場合、前記ローダの書き換え中でないと判断し、
前記ローダベクタが消去されている場合、前記ローダの書き換え中であると判断することを特徴とする請求項1〜5のいずれか1項に記載の電子機器。
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017164390A JP2019040571A (ja) | 2017-08-29 | 2017-08-29 | 電子機器 |
US16/058,705 US10365924B2 (en) | 2017-08-29 | 2018-08-08 | Electronic device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017164390A JP2019040571A (ja) | 2017-08-29 | 2017-08-29 | 電子機器 |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2019040571A true JP2019040571A (ja) | 2019-03-14 |
Family
ID=65434358
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2017164390A Abandoned JP2019040571A (ja) | 2017-08-29 | 2017-08-29 | 電子機器 |
Country Status (2)
Country | Link |
---|---|
US (1) | US10365924B2 (ja) |
JP (1) | JP2019040571A (ja) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003323301A (ja) * | 2002-02-27 | 2003-11-14 | Fuji Xerox Co Ltd | ソフトウェアをダウンロードする情報処理装置、ダウンロード方法及びダウンロードプログラム |
WO2015098811A1 (ja) * | 2013-12-27 | 2015-07-02 | 京セラドキュメントソリューションズ株式会社 | 電子機器 |
Family Cites Families (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3364356B2 (ja) * | 1995-03-30 | 2003-01-08 | 富士通株式会社 | メモリ書替え装置 |
GB9713094D0 (en) * | 1997-06-21 | 1997-08-27 | Philips Electronics Nv | Optical disc drive |
EP1376344A3 (en) * | 2002-06-17 | 2005-08-24 | Seiko Epson Corporation | Apparatus and method of rewriting firmware |
JP2004348677A (ja) * | 2003-05-26 | 2004-12-09 | Sony Corp | プログラムおよび情報処理方法 |
JP2007058499A (ja) * | 2005-08-24 | 2007-03-08 | Matsushita Electric Ind Co Ltd | 情報処理装置およびデータ書き込み方法 |
WO2009156615A1 (fr) * | 2008-06-02 | 2009-12-30 | Awox | Procede et dispositif de mise a jour d'application informatique |
US20170039372A1 (en) * | 2013-03-15 | 2017-02-09 | Electro Industries/Gauge Tech | Devices, systems and methods for upgrading firmware in intelligent electronic devices |
JP6575157B2 (ja) | 2014-11-13 | 2019-09-18 | 富士電機株式会社 | ファームウェアのダウンロード方法及びファームウェア組込機器 |
US10430263B2 (en) * | 2016-02-01 | 2019-10-01 | Electro Industries/Gauge Tech | Devices, systems and methods for validating and upgrading firmware in intelligent electronic devices |
US10237131B2 (en) * | 2017-06-14 | 2019-03-19 | Noritz Corporation | Communication adapter and program update method for communication adapter |
-
2017
- 2017-08-29 JP JP2017164390A patent/JP2019040571A/ja not_active Abandoned
-
2018
- 2018-08-08 US US16/058,705 patent/US10365924B2/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003323301A (ja) * | 2002-02-27 | 2003-11-14 | Fuji Xerox Co Ltd | ソフトウェアをダウンロードする情報処理装置、ダウンロード方法及びダウンロードプログラム |
WO2015098811A1 (ja) * | 2013-12-27 | 2015-07-02 | 京セラドキュメントソリューションズ株式会社 | 電子機器 |
Also Published As
Publication number | Publication date |
---|---|
US20190065175A1 (en) | 2019-02-28 |
US10365924B2 (en) | 2019-07-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
ES2371995T3 (es) | Actualización del firmware de un dispositivo electrónico. | |
KR101675196B1 (ko) | 정보 처리 장치, 그 제어 방법 및 저장 매체 | |
JP2006264877A (ja) | エレベータ制御装置 | |
CN104780287A (zh) | 对固件进行更新的图像形成装置及其控制方法 | |
JP2016118879A (ja) | マイクロコンピュータ | |
JP2021060797A (ja) | プログラム更新システム、プログラム送信装置およびプログラム送信方法 | |
JP2019040571A (ja) | 電子機器 | |
JP6575157B2 (ja) | ファームウェアのダウンロード方法及びファームウェア組込機器 | |
JP6656409B2 (ja) | 情報処理装置および情報処理方法 | |
JP2017097576A (ja) | 書換システム | |
JP2005215841A (ja) | ソフトウエア修正機能付き携帯電話端末装置 | |
JP2012118904A (ja) | 情報処理装置 | |
JP2016126699A (ja) | 自動車用電子制御装置 | |
JP4238930B2 (ja) | メモリ書き換え制御システム。 | |
JP2008162054A (ja) | 印刷装置 | |
JP2007172200A (ja) | ソフトウェア更新システム | |
JP4973270B2 (ja) | カメラ用アクセサリ機器およびカメラシステム | |
JP4062429B2 (ja) | メモリ書き換え制御方法及びメモリ書き換え制御方法の各工程を実行させるプログラム | |
JP5158883B2 (ja) | ファームウェア更新方法及びファームウェア更新装置 | |
JP5511623B2 (ja) | 内視鏡装置及び内視鏡装置の制御方法 | |
JP4910402B2 (ja) | 不揮発性メモリの書き換え装置及び書き換え方法 | |
JP2005321843A (ja) | ファームウェアの書換え方法 | |
WO2018150820A1 (ja) | 情報処理装置 | |
JP2007041798A (ja) | 情報処理装置及び情報処理装置のメモリ書き換え方法 | |
JP2003122575A (ja) | 情報処理装置 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20200715 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20210518 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20210525 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20210713 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20210803 |
|
A762 | Written abandonment of application |
Free format text: JAPANESE INTERMEDIATE CODE: A762 Effective date: 20210804 |