JP2006039939A - Electronic equipment - Google Patents
Electronic equipment Download PDFInfo
- Publication number
- JP2006039939A JP2006039939A JP2004218818A JP2004218818A JP2006039939A JP 2006039939 A JP2006039939 A JP 2006039939A JP 2004218818 A JP2004218818 A JP 2004218818A JP 2004218818 A JP2004218818 A JP 2004218818A JP 2006039939 A JP2006039939 A JP 2006039939A
- Authority
- JP
- Japan
- Prior art keywords
- electronic device
- power
- denotes
- reference numeral
- opening
- 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.)
- Withdrawn
Links
Images
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
- Packages (AREA)
- Stored Programmes (AREA)
Abstract
Description
本発明は電子機器に関するもので、制御プログラムの変更処理に関するものである。 The present invention relates to an electronic device and relates to a control program change process.
従来、電子機器のファームウェア(機器コントロールプログラム、制御プログラム)は書き換え不可能なROMタイプが主流であったが、最近は書き換えが可能なタイプ(フラッシュROM)に置き換わり、工場から出荷された後であってもユーザーが簡単にプログラムを更新することができる。 Conventionally, the firmware of electronic devices (device control program, control program) has been mainly ROM type that is not rewritable, but recently it has been replaced by rewritable type (flash ROM) and after being shipped from the factory. Even users can easily update the program.
例えば、電子機器がパワーON状態で、電子機器自身もしくは電子機器に接続された機器からの指示で書き換えモードに移行し、データを書き換えを行う。 For example, when the electronic device is in a power-on state, data is rewritten by shifting to a rewrite mode in response to an instruction from the electronic device itself or a device connected to the electronic device.
そして、これらの電子機器は、工場で組み立てた後、電子機器を輸送時の振動や衝撃などから保護するために、梱包材で梱包したり、梱包箱に入れて出荷される。(特許文献1)
しかしながら、従来、電子機器が梱包箱から取り出されて、輸送時の保護用テープ、振動吸収クッションなどを取り除き、電子機器の電源を投入してからでないと上述したプログラムデータの書き換えを実行できない。 However, conventionally, the above-described rewriting of the program data can be executed only after the electronic device is taken out of the packaging box, the protective tape during transportation, the vibration absorbing cushion, etc. are removed and the electronic device is turned on.
例えば、工場での電子機器の組み立て後の梱包が終了後に、何らかの理由によりプログラムの書き換えが必要になったとき、電子機器を一度梱包状態から取り出してプログラムの書き換え作業を実施して、再び電子機器を梱包をおこなっていたので、非常に手間がかかっていた。 For example, when it is necessary to rewrite the program for some reason after packaging after assembly of the electronic device at the factory, the electronic device is taken out of the packaged state once, and the program is rewritten. It took a lot of time and effort.
本発明の電子機器は、外部からデータを入力するインターフェース部と、電源投入フラグを格納した記憶手段とを備えた電子機器であって、AC入力部から電力供給がなされた時に、前記記憶手段に格納された電源投入フラグに基づき、工場出荷後の最初の電源オンがなされたか否かを判断する第1判断手段と、
前記第1判断手段が、前記最初の電源オンであることを判断した場合、前記インターフェース部を介してコマンドを入力する入力手段と、前記入力手段が入力した前記コマンドを判定する判定手段と、前記判定手段が前記電子機器の制御プログラムのダウンロードを行うコマンドであると判定した場合、前記電子機器の制御プログラムを前記インターフェース部を介して送られるプログラムにより書き換えを行う書換手段と、前記書換手段による書き換え処理が完了したのち、所定のスイッチが操作されたか否かを判断する第2判断手段と、前記第2判断手段が前記所定のスイッチが操作されたことを判断した場合、前記電子機器のメカ部の動作を行うことを特徴とする。
An electronic device according to the present invention is an electronic device including an interface unit for inputting data from the outside and a storage unit storing a power-on flag. When power is supplied from an AC input unit, First determination means for determining whether or not the first power-on after factory shipment is made based on the stored power-on flag;
An input means for inputting a command via the interface unit, a determination means for determining the command input by the input means, when the first determination means determines that the power is on for the first time; If the determination means determines that the command is a command for downloading the control program for the electronic device, the rewrite means for rewriting the control program for the electronic device with a program sent via the interface unit, and rewriting by the rewrite means A second determination unit that determines whether or not a predetermined switch has been operated after the processing is completed; and a mechanism unit of the electronic device when the second determination unit determines that the predetermined switch has been operated. The operation is performed.
上述したように、電子機器を出荷する途中、電子機器が梱包された状態であっても、梱包箱から電子機器本体を出さず、輸送用のテーピングや振動吸収クッションなども梱包を解くこととなく、制御用プログラムを敏速に書き換えできる。また、梱包外観を損なうことなく、新たな梱包材や梱包箱を用意する必要もない。 As described above, even when the electronic device is in the packaged state during shipment, the electronic device main body is not taken out of the packing box, and the taping for transportation and the vibration absorbing cushion are not unpacked. The control program can be rewritten quickly. Further, it is not necessary to prepare a new packing material or packing box without impairing the packing appearance.
(実施例1)
図1は本実施例における電子機器(例えばプリンタ)の説明図である。101はAC電源に接続するACプラグである。102はシステムの電源である。104は電子機器(システム)を制御するCPUである。106はCPU104のファームウェアが書き込まれている書き換え可能なROM(例えばフラッシュROM)である。
Example 1
FIG. 1 is an explanatory diagram of an electronic device (for example, a printer) in this embodiment. An
107は電源のオン/オフを行うパワースイッチを含むスイッチが設けられた操作部である。108はCPU104と操作部107を接続する制御ラインである。109は機器の状態表示などを表示する表示部である。110はCPU104と表示部109を接続する表示データ線である。
111はホスト機器と接続するインターフェース(外部I/F)である。112は外部I/FとCPU104をつなぐデータラインである。113はメカ部分を駆動させる駆動回路が入ったメカ制御ブロックである。114はモータ等のメカ駆動部である。
Reference numeral 111 denotes an interface (external I / F) connected to the host device. A
115はシステムの初期値などが入っている書き換え可能なRAMであり、不揮発性のメモリである。電子機器の工場での出荷直前に電源未投入であることを示す電源投入フラグをRAM115の所定のアドレスにセットする。
そして、これ以後の電源投入時はCPU104がRAM115の電源投入フラグを参照し、もしセットされていれば工場出荷後初めての電源投入であると認識し、通常の初期化処理は行わない。
When the power is turned on thereafter, the
一方、電源投入フラグがセットされていなければ、電子機器の初期化動作を行う。例えば、電子機器がプリンタであれば、メカ部の初期設定を行うためにモータを回転させてイニシャル処理を実行する。例えば、プリンタとして記録ヘッドを搭載したキャリッジが往復して記録を行うインクジェット方式のプリンタであれば、イニシャル処理としてキャリッジのホームポジションへの移動動作などを行う。 On the other hand, if the power-on flag is not set, the electronic device is initialized. For example, if the electronic device is a printer, the initial process is executed by rotating the motor in order to perform the initial setting of the mechanical unit. For example, in the case of an ink jet printer that performs recording by reciprocating a carriage having a recording head as a printer, the carriage is moved to the home position as an initial process.
しかし、プリンタは梱包された状態で電源投入された場合には、プリンタの可動部にはテーピング等がされておりメカ部材は動くことができない状態である。このため、電源投入フラグを利用して、一切のメカ駆動を行わないように制御するのである。 However, when the printer is turned on in a packaged state, taping or the like is performed on the movable portion of the printer, and the mechanical member cannot move. For this reason, control is performed so that no mechanical drive is performed by using the power-on flag.
さて、電源投入された後、フラッシュROM106のファームウェアの書き換え処理に入り、外部I/F111からのダウンロードコマンドを受けてファームウェアの書き換え処理を実行する。この書き換えは、例えば、電子機器の仕様変更(機器の動作パラメータの変更、動作シーケンスの変更、表示部で使用される言語変更などデータの変更)、プログラムの修正や改良等のために行われる。
Now, after the power is turned on, the firmware ROM of the
なお、この書き換え処理については、通常のユーザー用に設けられたパワーキーで通常処理に復帰する。これにより一般のユーザーは何の違和感なしに電子機器の使用を開始することができる。 In addition, about this rewriting process, it returns to a normal process with the power key provided for normal users. As a result, a general user can start using the electronic device without any discomfort.
図2は、上述した処理の流れをフローチャートで示したものである。201はファームウェア最初の電源投入後の処理エントリである。ここでは、ACプラグが商用電源ライン(コンセント)に接続された場合を考える。このACプラグが商用電源ライン(コンセント)に接続された場合、パワースイッチの操作をしなくても、電子機器は起動するものとする。202はシステム起動処理である。203は電気部分(電気回路)のセルフチェック並びにイニシャライズを行う電気部イニシャライズ処理である。
FIG. 2 is a flowchart showing the above-described processing flow.
204は電気部イニシャライズ処理203が無事終了したかどうかをチェックする電気エラーチェック処理である。205は電源投入フラグが格納されているRAMデータをロードする電源投入フラグロード処理である。206は電源初投入か否かを判断する初投入判別処理である。206において、電源初投入であれば207に進み、電源初投入でなければ213に進む。
207は初投入判別処理206で初投入である場合に、分岐後の最初の処理でダウンロードコマンドが入力されたかどうかをチェックするダウンロードコマンドチェックである。208はダウンロードコマンドが受信したかどうかを判別するコマンド受信判別処理である。ダウンロードコマンドを受信すれば209へ、受信しなければ211へ進む。
209は書き換え用データを受信するダウンロードデータ受信処理である。210は受信したフラッシュROM書き換えデータを実際のフラッシュROMに書き込むフラッシュROM書き換え処理である。この処理後に、電源初投入フラグをリセット(クリア)する。
211は、パワースイッチが入力されたか否かをチェックするパワーキースキャン処理である。212はパワーキーが入力されたかどうかを判別するパワーキー判別処理である。
Reference numeral 211 denotes power key scan processing for checking whether or not a power switch has been input.
213は電源初投入フラグ判別処理で、206で電源初投入ではないと判別した場合にパワーキーをスキャンするパワーキースキャン処理である。214はパワーキーが入力されたかどうかを判別するパワーキー判別処理である。
Reference numeral 213 denotes power-on first power flag determination processing, which is power key scanning processing for scanning a power key when it is determined in 206 that power is not first turned on.
215は通常シーケンスであるメカイニシャル(例えばキャリッジの初期化動作)を行うメカイニシャル処理である。216はメカイニシャル処理でエラーが発生したかどうかを判別するメカーエラー判別処理である。217は本来の機能である印刷待ち(記録動作開始待ち)状態にジャンプするジャンプ処理である。
218はイニシャル処理でエラーが発生した場合にエラー処理にジャンプするジャンプ処理である。
A
この図2に於いて、工場出荷後は電源初投入なのでファームウェアダウンロードに必ず移行する。しかし、パワーキーを押せば通常モードに移行するので、一般ユーザーは、特別に何かの処理が実行されたこと気づかない。 In FIG. 2, since the power is turned on for the first time after shipment from the factory, it always shifts to firmware download. However, since the mode is shifted to the normal mode when the power key is pressed, the general user is unaware that any special processing has been executed.
また、2度目以降の電源投入では、電源初投入フラグが設定されていないので、このファームウェア書き換えモードに移行することはない。 In addition, when the power is turned on for the second time and thereafter, the power supply initial turn-on flag is not set, so that the firmware rewriting mode is not entered.
図3は工場出荷状態であっても容易に、電子機器のファームウェアの書き換えが行えるように、梱包箱自体に開口部が設けられていることを示す。梱包箱を開けなくとも、この開口部を利用して電子機器に対してファームウェア書き換え処理を容易に行うことができる。 FIG. 3 shows that an opening is provided in the packaging box itself so that the firmware of the electronic device can be easily rewritten even in the factory-shipped state. Even if the packing box is not opened, the firmware rewriting process can be easily performed on the electronic device by using the opening.
301は梱包状態の電子機器(製品)である。302は梱包箱である。303は製品301を箱から出さずにファームウェアの書き換えに必要な箇所を容易にアクセス可能な開口部である。
304は梱包箱302を横から見た側面図でである。305は容易に開口できるようにあらかじめミシン目加工が施してある開口部である。この305の開口は、開口されていない状態をしめす。
304 is a side view of the
306は小窓を開口したときの梱包箱側面図であり、307は開口部を開き小窓となっていることを示す。308は小窓から見える外部インターフェースコネクタ(外部I/Fコネクタ)である。309は同様にACケーブルインレットである。310はダウンロードコマンド及びデータを送受するUSBインターフェースケーブルである。311は製品301にAC電源を投入するためにACケーブルである。312は本体301に外部I/Fコネクタ308よりデータを送り込むコンピュータである。
306 is a side view of the packaging box when the small window is opened, and 307 indicates that the opening is opened to become a small window.
従来ならば、梱包状態であっても電子機器301にアクセスするには開梱しなければならないが、本実施例のように、梱包箱302の小窓303のようにあらかじめ容易に製品をアクセスできるようにしておくことで、小窓を開けた状態にすれば、梱包箱306の用に容易にアクセス可能となる。なお、小窓開口後は再度テーピング等の処理を施して、開口部を閉じた状態にすれば、作業後に引き続き電子機器の輸送を行うことができる。
Conventionally, in order to access the
なお、梱包箱の開口部にはコネクタ部を設けるだけでなく、電子機器の状態を示す、LEDや小型の液晶表示部などを設けても構わない。 In addition, not only a connector part may be provided in the opening part of a packaging box but you may provide LED, a small-sized liquid crystal display part, etc. which show the state of an electronic device.
また、開口部の梱包箱と電子機器との間には、電源ケーブルや、インターフェースケーブルが電子機器本体と接続しやすいようにガイドする部材が設けられていても構わない。 In addition, a member that guides the power cable or the interface cable so as to be easily connected to the electronic device main body may be provided between the packaging box of the opening and the electronic device.
(実施例2)
図4は梱包箱を開梱するが、製品はビニールなどに包まれた状態において、実施例1と同様にファームウェアの書き換えを行う場合を説明する。実施例1と電子機器については同じであるので説明を省く。
(Example 2)
FIG. 4 illustrates the case where the packaging box is unpacked, and the firmware is rewritten in the same manner as in the first embodiment while the product is wrapped in vinyl or the like. Since Example 1 is the same as that of the electronic apparatus, description thereof is omitted.
401は梱包箱である。402は透過状態にした梱包箱である。403はパッキング材で包まれた製品である。404は製品を包んだパッキング材である。405はパッキング材404にあらかじめ容易にあけられる加工を施した小窓である。406は小窓405があけられた状態のパッキング材である。407は開けられた小窓である。408は開けられた小窓から見える外部I/Fコネクタである。409は同様に開口部より見えるAC電源を供給するACインレットである。410は製品にAC電源を投入するためにACケーブルである。411はダウンロードコマンド及びデータを送受するUSBインタフェイスケーブルである。412はデータを送り込むコンピュータである。
401 is a packing box. Reference numeral 402 denotes a packaging box in a transparent state.
図4において、梱包箱に入れる前のパッキング材で包まれた状態の製品であっても実施例1と同様にパッキング材に設けた小窓407からファームウェアの書き換えが容易に実施できる。
In FIG. 4, even if the product is wrapped in the packing material before being put in the packing box, the firmware can be easily rewritten from the
(その他の実施例)
上述した実施例では、電子機器としてプリンタを用いて説明したが、プリンタに限定するものではなく、複写機やスキャナーや携帯機器、携帯電話など制御プログラムや制御データ等をダウンロードする機器に適用できる。
(Other examples)
In the embodiment described above, the printer is used as the electronic device. However, the present invention is not limited to the printer, and can be applied to a device that downloads a control program, control data, and the like such as a copying machine, a scanner, a portable device, and a portable phone.
また、上述した実施例において、開口部の形状は四角であったが、これに限定するものでなく、例えば円形であっても構わない。また、開口部の数は1つであったが、開口部を複数設けても構わない。 In the embodiment described above, the shape of the opening is a square, but the shape is not limited to this, and may be, for example, a circle. Although the number of openings is one, a plurality of openings may be provided.
例えば、ACケーブルを接続するための専用の開口部、USBインターフェースケーブルを接続するための専用の開口部をそれぞれ設けても構わない。なお、電子機器と外部機器とを通信は無線や赤外線などの方式であっても構わない。この場合でも、小さな開口部を設けても構わない。 For example, a dedicated opening for connecting an AC cable and a dedicated opening for connecting a USB interface cable may be provided. The communication between the electronic device and the external device may be a wireless or infrared method. Even in this case, a small opening may be provided.
101 ACプラグ
102 電源
104 CPU
106 フラッシュROM
107 操作部
109 表示部
111 外部I/F
113 メカ駆動ブロック
114 メカ駆動部
115 RAM
301 梱包状態の電子機器
302 梱包箱
303 開口部
304 小窓開口前の梱包箱
305 ミシン目加工が施してある開口部
306 小窓を開口したときの梱包箱
307 小窓
401 梱包箱
402 透過状態にした梱包箱
403 パッキング材で包まれた電子機器
404 パッキング材
405 小窓
406 パッキング材
407 開けられた小窓
101
106 Flash ROM
107
113
301
Claims (4)
AC入力部から電力供給がなされた時に、前記記憶手段に格納された電源投入フラグに基づき、工場出荷後の最初の電源オンがなされたか否かを判断する第1判断手段と、
前記第1判断手段が、前記最初の電源オンであることを判断した場合、前記インターフェース部を介してコマンドを入力する入力手段と、
前記入力手段が入力した前記コマンドを判定する判定手段と、
前記判定手段が前記電子機器の制御プログラムのダウンロードを行うコマンドであると判定した場合、前記電子機器の制御プログラムを前記インターフェース部を介して送られるプログラムにより書き換えを行う書換手段と、
前記書換手段による書き換え処理が完了したのち、所定のスイッチが操作されたか否かを判断する第2判断手段と、
前記第2判断手段が前記所定のスイッチが操作されたことを判断した場合、前記電子機器のメカ部の動作を行うことを特徴とする電子機器。 An electronic device comprising an interface unit for inputting data from outside and a storage means storing a power-on flag,
First determination means for determining whether or not the first power-on after factory shipment is made based on a power-on flag stored in the storage means when power is supplied from an AC input unit;
An input means for inputting a command via the interface unit when the first determination means determines that the power is on for the first time;
Determination means for determining the command input by the input means;
When it is determined that the determination unit is a command for downloading the control program for the electronic device, a rewrite unit for rewriting the control program for the electronic device with a program sent via the interface unit;
Second determination means for determining whether or not a predetermined switch is operated after the rewriting process by the rewriting means is completed;
An electronic apparatus characterized in that when the second determination means determines that the predetermined switch has been operated, an operation of a mechanical part of the electronic apparatus is performed.
A member for assisting connection of the interface cable is provided between the electronic device and the packaging box in a state where the electronic device is packaged in the packaging box.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004218818A JP2006039939A (en) | 2004-07-27 | 2004-07-27 | Electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004218818A JP2006039939A (en) | 2004-07-27 | 2004-07-27 | Electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2006039939A true JP2006039939A (en) | 2006-02-09 |
Family
ID=35904875
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004218818A Withdrawn JP2006039939A (en) | 2004-07-27 | 2004-07-27 | Electronic equipment |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2006039939A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006243419A (en) * | 2005-03-04 | 2006-09-14 | Oki Data Corp | Electronic apparatus and packing member of electronic apparatus |
JP2008071063A (en) * | 2006-09-13 | 2008-03-27 | Sharp Corp | Software updating system |
JP2011028297A (en) * | 2010-11-08 | 2011-02-10 | Oki Data Corp | Image forming apparatus and packing member for image forming apparatus |
WO2013140494A1 (en) * | 2012-03-19 | 2013-09-26 | 富士通株式会社 | Electronic apparatus housing container, electronic apparatus initializing method, initializing program, and non-temporary recording medium having initializing program stored therein |
US20140064745A1 (en) * | 2012-08-31 | 2014-03-06 | Kyocera Document Solutions Inc. | Packaged image forming apparatus and diagnostic system of apparatus to be packaged |
-
2004
- 2004-07-27 JP JP2004218818A patent/JP2006039939A/en not_active Withdrawn
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006243419A (en) * | 2005-03-04 | 2006-09-14 | Oki Data Corp | Electronic apparatus and packing member of electronic apparatus |
JP4681324B2 (en) * | 2005-03-04 | 2011-05-11 | 株式会社沖データ | Electronic device and electronic device packaging member |
JP2008071063A (en) * | 2006-09-13 | 2008-03-27 | Sharp Corp | Software updating system |
JP2011028297A (en) * | 2010-11-08 | 2011-02-10 | Oki Data Corp | Image forming apparatus and packing member for image forming apparatus |
WO2013140494A1 (en) * | 2012-03-19 | 2013-09-26 | 富士通株式会社 | Electronic apparatus housing container, electronic apparatus initializing method, initializing program, and non-temporary recording medium having initializing program stored therein |
US20140064745A1 (en) * | 2012-08-31 | 2014-03-06 | Kyocera Document Solutions Inc. | Packaged image forming apparatus and diagnostic system of apparatus to be packaged |
CN103676530A (en) * | 2012-08-31 | 2014-03-26 | 京瓷办公信息系统株式会社 | Packaged image forming apparatus and diagnostic system of apparatus to be packaged |
US9429894B2 (en) * | 2012-08-31 | 2016-08-30 | Kyocera Document Solutions Inc. | Packaged image forming apparatus and diagnostic system of apparatus to be packaged |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7398331B2 (en) | Peripheral apparatus, firmware updating method thereof for determining whether an error has occurred during the installation of a rewrite operation | |
JP4784100B2 (en) | Processing device and firmware download method thereof. | |
CN112947977A (en) | Software online upgrading method and system | |
JP2006039939A (en) | Electronic equipment | |
JP2007157041A (en) | Packed electronic equipment and control method thereof | |
US20070150072A1 (en) | Method for controlling electronic apparatus, program for controlling electronic apparatus, electronic apparatus, and recording apparatus | |
KR100503484B1 (en) | Image forming device | |
JP2008009799A (en) | Image forming device | |
JP2008162054A (en) | Printer | |
JPH06314202A (en) | Image-forming device | |
JP2013125405A (en) | Firmware rewriting method, firmware, and electronic device | |
JPH05274157A (en) | Image generating device | |
JP2008059360A (en) | Printer | |
JP4750588B2 (en) | Printer and electrical equipment | |
JP2008293241A (en) | Display device | |
JP3635763B2 (en) | Setting value rewriting method for computer peripheral device, computer peripheral device and printer | |
JPH0520050A (en) | Information storage device | |
KR20070044269A (en) | Apparatus and method of processing download in main board | |
JP2005178169A (en) | Printing device | |
JP4779802B2 (en) | Information processing apparatus, control method for information processing apparatus, and control program | |
JP2005103789A (en) | Electronic apparatus | |
JP2003330746A (en) | Processor | |
JP3473498B2 (en) | Software control unit | |
JP6638323B2 (en) | PRINTING APPARATUS AND PRINTING APPARATUS CONTROL METHOD | |
JP2005149211A (en) | Data recording device and method for rewriting data |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A300 | Withdrawal of application because of no request for examination |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20071002 |