JP2023174882A - Electronic apparatus - Google Patents
Electronic apparatus Download PDFInfo
- Publication number
- JP2023174882A JP2023174882A JP2023179733A JP2023179733A JP2023174882A JP 2023174882 A JP2023174882 A JP 2023174882A JP 2023179733 A JP2023179733 A JP 2023179733A JP 2023179733 A JP2023179733 A JP 2023179733A JP 2023174882 A JP2023174882 A JP 2023174882A
- Authority
- JP
- Japan
- Prior art keywords
- additional program
- power
- volatile memory
- state
- control unit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 230000015654 memory Effects 0.000 claims abstract description 131
- 238000004891 communication Methods 0.000 claims abstract description 41
- 238000012545 processing Methods 0.000 claims abstract description 27
- 230000004044 response Effects 0.000 claims abstract description 13
- 238000000034 method Methods 0.000 claims description 86
- 230000008569 process Effects 0.000 claims description 83
- 230000014759 maintenance of location Effects 0.000 claims description 43
- 230000000717 retained effect Effects 0.000 claims description 5
- 238000012423 maintenance Methods 0.000 abstract 1
- 230000006870 function Effects 0.000 description 7
- 238000013461 design Methods 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 230000008901 benefit Effects 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Images
Landscapes
- Stored Programmes (AREA)
- Accessory Devices And Overall Control Thereof (AREA)
- Facsimiles In General (AREA)
Abstract
Description
本発明は、電子機器に関する。 The present invention relates to electronic equipment.
プリンタなどの電子機器には、たとえば、不揮発性のメモリであるフラッシュメモリおよびE2PROM(E squared Programmable Read Only Memory)と、揮発性のメモリであるSDRAM(Synchronous Dynamic Random Access Memory)とが搭載されている(特許文献1)。 Electronic devices such as printers are equipped with, for example, flash memory and E2PROM (E squared Programmable Read Only Memory), which are non-volatile memories, and SDRAM (Synchronous Dynamic Random Access Memory), which are volatile memories. (Patent Document 1).
フラッシュメモリは、E2PROMと比べて大容量であるが、データの消去がブロック単位で行われ、ビット単位でデータを消去することができない。一方、E2PROMは、フラッシュメモリと比べて小容量であるが、データの書き込みおよび消去をバイト単位で行うことができるという利点がある。そのため、電子機器では、フラッシュメモリとE2PROMとが使い分けられている。たとえば、フラッシュメモリは、電子機器の動作を制御するプログラムおよびその制御に必要なデータを保存するために使用され、E2PROMは、制御により書き換えられるデータなどを保存するために使用される。 Flash memory has a larger capacity than E2PROM, but data is erased in blocks and cannot be erased in bits. On the other hand, E2PROM has a smaller capacity than flash memory, but has the advantage that data can be written and erased in byte units. Therefore, flash memory and E2PROM are used selectively in electronic devices. For example, a flash memory is used to store a program that controls the operation of an electronic device and data necessary for the control, and an E2PROM is used to store data that is rewritten by the control.
プログラムおよびデータは、電子機器の設計段階で決定され、その製品出荷時にはフラッシュメモリに保存されている。プログラムおよびデータのサイズが固定であるため、フラッシュメモリの容量は、プログラムおよびデータのサイズに応じた必要最小限の容量に設定される。これにより、フラッシュメモリのコストが抑えられている。 Programs and data are determined at the design stage of an electronic device, and are stored in a flash memory when the product is shipped. Since the size of the program and data is fixed, the capacity of the flash memory is set to the minimum necessary capacity according to the size of the program and data. This reduces the cost of flash memory.
フラッシュメモリと同じく不揮発性メモリであるE2PROMは、プリンタを制御するためのデータが保存されており、フラッシュメモリと比べてデータの書き換えを簡単に行える特徴を有するが、メモリサイズが小さい。 E2PROM, which is a non-volatile memory like flash memory, stores data for controlling the printer, and has the feature that data can be easily rewritten compared to flash memory, but the memory size is smaller.
一方、SDRAMは、フラッシュメモリから読み出されるプログラムやデータの展開に使用されたり、プログラムの実行時のワークエリアとして使用されたりする。たとえば、プリンタでは、印刷対象の印刷データのデータ量の大小により必要なワーク領域のサイズが大きく大小するため、SDRAMは、その容量に比較的余裕を持たせて搭載される。 On the other hand, SDRAM is used to expand programs and data read from flash memory, and is used as a work area during program execution. For example, in a printer, the required work area size increases or decreases depending on the amount of print data to be printed, so the SDRAM is installed with a relatively large capacity.
かかる構成において、フラッシュメモリに製品出荷時から保存されているプログラムとは別の追加プログラムの実行による追加機能が実現されるには、フラッシュメモリに追加プログラムの保存に必要な容量が確保されていなければならず、その容量の増大分、フラッシュメモリのコストがアップしてしまう。 In such a configuration, in order to realize additional functions by executing an additional program other than the program stored in the flash memory from the time of product shipment, the flash memory must have sufficient capacity to store the additional program. Naturally, the cost of flash memory increases as the capacity increases.
また、追加プログラムがSDRAMに保存される場合、電子機器のリブートや電源オフの度に追加プログラムがSDRAMから消失するので、使い勝手が悪い。 Furthermore, when the additional program is stored in the SDRAM, the additional program is lost from the SDRAM each time the electronic device is rebooted or powered off, making it inconvenient to use.
本発明の目的は、不揮発性メモリの容量の増大によるコストアップを生じずに追加プログラムを外部機器からダウンロードすることが可能であり、かつ、使い勝手が良い、電子機器を提供することである。 An object of the present invention is to provide an electronic device that is easy to use and allows additional programs to be downloaded from an external device without increasing costs due to an increase in the capacity of a nonvolatile memory.
前記の目的を達成するため、本発明に係る電子機器は、外部機器と通信する通信部と、基本プログラムが書き込まれた第1不揮発性メモリと、第2不揮発性メモリと、揮発性メモリと、制御部とを備え、制御部は、外部機器から通信部を介して追加プログラムをダウンロードして揮発性メモリに保存する追加プログラム保存処理と、追加プログラム保存処理の実行に応じて、追加プログラムのダウンロード元を示すダウンロード元情報を第2不揮発性メモリに保存するダウンロード元情報保存処理と、制御部自身のリブート、または、電子機器の電源のオフ、である所定動作の要求がされる場合に、揮発性メモリに保存されているデータを揮発性メモリに保持させる保持処理と、制御部自身のブート時に、揮発性メモリにおける追加プログラムの有無を判定する判定処理と、判定処理によって揮発性メモリに追加プログラムが無いと判定された場合に、制御部自身のブートに応じて、第2不揮発性メモリに保存されたダウンロード元情報を基に、外部機器から通信部を介して揮発性メモリに追加プログラムを再ダウンロードして揮発性メモリに保存する追加プログラム再保存処理とを実行する。 In order to achieve the above object, an electronic device according to the present invention includes: a communication unit that communicates with an external device; a first nonvolatile memory in which a basic program is written; a second nonvolatile memory; a volatile memory; and a control unit, the control unit performs an additional program storage process that downloads an additional program from an external device via the communication unit and stores it in volatile memory, and downloads the additional program in response to execution of the additional program storage process. The download source information storage process stores the download source information indicating the source in the second non-volatile memory, and the volatile A retention process that retains the data stored in the volatile memory in the volatile memory, a determination process that determines whether there is an additional program in the volatile memory when the control unit itself boots, and a determination process that determines whether or not there is an additional program in the volatile memory. If it is determined that the program is not present, the additional program is reloaded from the external device to the volatile memory via the communication unit based on the download source information stored in the second non-volatile memory in response to the control unit's own boot. Perform additional program resave processing to download and save to volatile memory.
この構成によれば、追加プログラムは、外部機器から通信部を介して揮発性メモリにダウンロードされる。そのため、不揮発性メモリの容量の増大によるコストアップを生じずに追加プログラムのダウンロードが可能である。 According to this configuration, the additional program is downloaded from the external device to the volatile memory via the communication unit. Therefore, additional programs can be downloaded without increasing costs due to an increase in the capacity of nonvolatile memory.
制御部自身のリブート、または、電子機器の電源のオフ、である所定動作の要求がされる場合には、揮発性メモリの内容が保持されることにより、追加プログラムの再ダウンロードの必要がないため、使い勝手が良い。また、追加プログラムのダウンロード時に、第2不揮発性メモリにダウンロード元情報が書き込まれることにより、電源プラグオフなどの理由により、揮発性メモリの内容が消失してしまった場合であっても、追加プログラムの再ダウンロードが可能である。そして、再ダウンロードによって取得した追加プログラムによって適切に制御を行うことができる。 When a predetermined operation is requested, such as rebooting the control unit itself or turning off the power to an electronic device, the contents of the volatile memory are retained, so there is no need to re-download additional programs. , easy to use. In addition, when downloading an additional program, the download source information is written to the second non-volatile memory, so even if the contents of the volatile memory are lost due to reasons such as the power plug being turned off, the additional program can be downloaded. can be re-downloaded. Then, appropriate control can be performed using the additional program obtained by re-downloading.
本発明によれば、不揮発性メモリの容量の増大によるコストアップを生じずに追加プログラムを外部機器からダウンロードすることが可能であり、かつ、電子機器の使い勝手が良い。 According to the present invention, it is possible to download additional programs from an external device without increasing costs due to an increase in the capacity of a nonvolatile memory, and the electronic device is easy to use.
以下では、本発明の実施の形態について、添付図面を参照しつつ詳細に説明する。 Embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
<プリンタの電気的構成>
図1に示されるプリンタ1は、電子機器の一例であり、画像形成部11、操作部12(受付部の一例)、ASIC(Application Specific Integrated Circuit)13、不揮発性メモリであるフラッシュメモリ14(第1不揮発性メモリの一例)、揮発性メモリであるSDRAM15(揮発性メモリの一例)、通信部16およびE2PROM17を備えている。画像形成部11、操作部12、ASIC13、フラッシュメモリ14およびSDRAM15は、バス18を介して、データ通信可能に接続されている。
<Electrical configuration of printer>
The printer 1 shown in FIG. 1 is an example of an electronic device, and includes an
画像形成部11は、プリンタ1の外殻をなす筐体内に設けられている。画像形成部11は、搬送経路上を1枚ずつ搬送されるプリント用紙などのシートにカラー画像またはモノクロ画像を形成する機構である。画像形成の方式は、電子写真方式であってもよいし、インクジェット方式であってもよい。
The
操作部12は、各種の指示を入力するために操作される操作キーを備えている。操作キーには、押下によりオン及びオフが交互に切り替わる電源キーが含まれる。また、操作部12には、操作キー以外に、タッチパネルを備えている。ユーザが操作部12を操作することにより、各種の指示が操作部12に受け付けられる。操作部12に指示が受け付けられると、その指示の内容に応じた信号(データ)が操作部12からASIC13に向けて送信される。
The
ASIC13(制御部の一例)は、CPU(Central Processing Unit)21およびメモリコントローラ23を備えている。
The ASIC 13 (an example of a control unit) includes a CPU (Central Processing Unit) 21 and a
CPU21およびメモリコントローラ23は、ASIC13内の内部バス24を介して、データ通信可能に接続されている。内部バス24は、バス18とデータ通信可能に接続されている。
The
メモリコントローラ23は、SDRAM15に対するデータの読み書きを制御する集積回路である。メモリコントローラ23には、仮想アドレスを物理アドレスに変換する機能を有するMMU(Memory Management Unit:メモリ管理ユニット)が含まれている。また、メモリコントローラ23は、一定の周期でSDRAM15にリフレッシュ信号を送信して、SDRAM15に保持されているデータの再書き込みを行うことで書き込まれているデータを保持する。さらに、メモリコントローラ23は、SDRAM15にセルフリフレッシュ移行コマンドを送信することで、SDRAM15をセルフリフレッシュモードに移行させる。SDRAM15は、セルフリフレッシュモードに移行すると、メモリコントローラ23からのリフレッシュ信号を受信しなくても、SDRAM15自身でデータの再書き込みを行うRAM保持処理を実行する。このRAM保持処理実行中は、外部からSDRAM15へのデータの読み書きは不可能である。メモリコントローラ23は、SDRAM15にセルフリフレッシュ解除コマンドを送信することで、SDRAM15のセルフリフレッシュモードを解除する。
The
通信部16は、サーバやPC(パーソナルコンピュータ)などの外部機器との間でのコンピュータネットワークを経由した通信のためのインタフェース、USB(Universal Serial Bus)メモリなどの外部機器が接続されて、その外部機器との通信のためのUSBインタフェースなどの各種の通信インタフェースを備えている。
The
E2PROM17(第2不揮発性メモリの一例)は、ASIC13(CPU21)が再起動しても記憶内容を保持可能である。 The E2PROM 17 (an example of a second non-volatile memory) can retain its stored contents even if the ASIC 13 (CPU 21) is restarted.
<稼働中処理>
プリンタ1では、通信部16に接続されている外部機器から追加プログラムをダウンロードして使用することができる。追加プログラムとしては、たとえば、インターネット上のサーバから画像データをダウンロードしてシートに印刷(プリント)するダウンロードプリント機能のためのプログラムが挙げられる。
<Processing during operation>
In the printer 1, additional programs can be downloaded and used from an external device connected to the
プリンタ1に電源が投入されて、プリンタ1が稼働中であるとき、ASIC13に内蔵されているCPU21は、図2A、図2Bおよび図2Cに示される稼働中処理を実行する。
When the printer 1 is powered on and is in operation, the
稼働中処理では、CPU21は、SDRAM15に保存されているダウンロード催促報知フラグの状態が「1」であるか否かを確認する(S11)。ダウンロード催促報知フラグは、追加プログラムのダウンロードの催促を報知する必要の有無を表すフラグである。ダウンロード催促報知フラグの状態が「1」であることは、追加プログラムのダウンロードの催促を報知する必要があることを表し、ダウンロード催促報知フラグの状態が「0」であることは、追加プログラムのダウンロードの催促を報知する必要がないことを表す。
In the running process, the
ダウンロード催促報知フラグの状態が「1」である場合(S11:YES)、CPU21は、ダウンロード催促報知処理を実行する(S12)。ダウンロード催促報知処理では、操作部12のタッチパネルに、追加プログラムのダウンロードをユーザに催促するメッセージなどが表示される。
When the state of the download reminder notification flag is "1" (S11: YES), the
ダウンロード催促報知処理の実行後、CPU21は、SDRAM15に保存されているダウンロード催促報知フラグの状態を「0」にリセットする(S13)。
After executing the download reminder notification process, the
ダウンロード催促報知処理の実効後、または、ダウンロード報知処理を実行する前からダウンロード催促報知フラグの状態が「1」ではない場合(S11:NO)、つまりダウンロード催促報知フラグの状態が「0」である場合、CPU21は、追加プログラムのダウンロードを開始するか否かを判断する(S14)。
If the state of the download reminder notification flag is not "1" after the execution of the download reminder notification process or before the execution of the download notification process (S11: NO), that is, the state of the download reminder notification flag is "0". If so, the
たとえば、通信部16がコンピュータネットワークに接続されている状態で、プリンタ1のユーザは、操作部12を操作して、そのコンピュータネットワークに接続されたサーバなどの外部機器からの追加プログラムのダウンロードを指示することができる。また、ユーザは、通信部16にUSBメモリを接側し、操作部12を操作して、USBメモリからの追加プログラムのダウンロードを指示することができる。
For example, while the
操作部12から追加プログラムのダウンロードが指示されていない場合(S14:NO)、CPU21は、プリンタ1の電源をオフにするか否かを判断する(S15)。ユーザにより操作部12の電源キーが押下されるか、または、画像形成部11による画像形成動作、操作部12の操作および通信部16による通信のいずれも実行されていない状態が一定時間継続すると、CPU21は、プリンタ1の電源をオフにすると判断する。一方、操作部12の電源キーが押下されておらず、かつ、画像形成部11による画像形成動作、操作部12の操作または通信部16による通信が最後に実行されてから一定時間が経過するまでは、CPU21は、プリンタ1の電源をオフにしないと判断する。
If there is no instruction to download the additional program from the operation unit 12 (S14: NO), the
CPU21は、プリンタ1の電源をオフにしないと判断した場合(S15:NO)、リブートを実行するか否かを判断する(S16)。
If the
プリンタ1のユーザは、たとえば、プリンタ1の動作が不安定である場合に、操作部12を操作して、プリンタ1のリブート(再起動)を指示することができる。
A user of the printer 1 can operate the
操作部12からリブートが指示されていない場合(S16:NO)、CPU21は、SDRAM15に保存されているダウンロード催促報知フラグの状態が「1」であるか否かを再び確認する(S11)。
If rebooting is not instructed from the operation unit 12 (S16: NO), the
ダウンロード催促報知フラグの状態が「0」である場合、CPU21は、追加プログラムのダウンロードを開始するか否かを再び判断する(S14)。この時点までに操作部12から追加プログラムのダウンロードが指示された場合、CPU21は、追加プログラムのダウンロードを開始すると判断して(S14:YES)、外部機器からSDRAM15への追加プログラムのダウンロードを開始する(図1BのS17)。
If the state of the download reminder flag is "0", the
追加プログラムが正常にダウンロードされると、CPU21は、追加プログラムのダウンロードに成功したと判断する(S18:YES)。一方、追加プログラムのダウンロード中に通信エラーが発生するなどの理由で、追加プログラムが正常にダウンロードされなかった場合、CPU21は、追加プログラムのダウンロードに失敗したと判断する(S18:NO)。
When the additional program is successfully downloaded, the
CPU21は、追加プログラムのダウンロードに失敗したと判断した場合(S18:NO)、図2AのステップS15の処理に移行して、プリンタ1の電源をオフにするか否かを判断する。
If the
CPU21は、追加プログラムのダウンロードに成功したと判断した場合(S18:YES)、追加プログラムを識別可能な識別情報をE2PROM17に保存する(S19)。識別情報としては、たとえば、追加プログラムの名称などを挙げることができる。
When the
また、CPU21は、追加プログラムのダウンロード元を特定可能なダウンロード元情報をE2PROM17に保存する(S20)。
Further, the
さらに、CPU21は、追加プログラムフラグの状態として「1」をSDRAM15に保存する(S21)。追加プログラムフラグは、追加プログラムがSDRAM15にダウンロードされているか否かを表すフラグである。追加プログラムフラグの状態が「1」であることは、追加プログラムがSDRAM15にダウンロードされていることを表し、追加プログラムフラグの状態が「0」であることは、追加プログラムがSDRAM15にダウンロードされていないことを表す。
Furthermore, the
その後、CPU21は、プリンタ1のリブートが必要であるか否かを判断する(S22)。プリンタ1のリブートの必要がない場合(S22:NO)、図2AのステップS15の処理に移行して、CPU21は、プリンタ1の電源をオフにするか否かを判断する。
After that, the
追加プログラムの種類によっては、プリンタ1のリブートが必要になる。プリンタ1のリブートが必要な場合(S22:YES)、CPU21は、E2PROM17に、電源状態フラグの状態として「RAM保持リブート」を保存(S23)し、メモリコントローラ23にRAM保持処理の実行を指示する(S24)。RAM保持処理の実行により、メモリコントローラ23からSDRAM15にセルフリフレッシュコマンドが送信され、SDRAM15がセルフリフレッシュモードとなり、SDRAM15自身がSDRAM15に書き込まれているデータの再書き込みを行う。これにより、SDRAM15に保存されている内容が消失せずに保持される。その後、CPU21は、プリンタ1のリブートを実行する。
Depending on the type of additional program, the printer 1 may need to be rebooted. If it is necessary to reboot the printer 1 (S22: YES), the
また、ユーザによって操作部12が操作されて、プリンタ1のリブートが指示された場合(S16:YES)、CPU21は、SDRAM15に保存されている追加プログラムフラグの状態が「1」であるか否かを確認する(S25)。
Further, when the user operates the
SDRAM15に追加プログラムが保存されており、追加プログラムフラグの状態が「1」である場合(S25:YES)、CPU21は、E2PROM17に、電源状態フラグの状態として「RAM保持リブート」を保存し(S26)メモリコントローラ23にRAM保持処理の実行を指示する(S27)。RAM保持処理の実行により、SDRAM15に保存されている追加プログラムなどが消失せずに保持される。その後、CPU21は、プリンタ1のリブートを実行する。
If the additional program is stored in the
SDRAM15に追加プログラムが保存されておらず、追加プログラムフラグの状態が「0」である場合(S25:NO)、CPU21は、メモリコントローラ23にRAM保持処理の実行を指示せずに、プリンタ1のリブートを実行する。
If the additional program is not stored in the
ユーザにより操作部12の電源キーが押下されるか、または、画像形成部11による画像形成動作、操作部12の操作および通信部16による通信のいずれも実行されていない状態が一定時間継続して、CPU21は、プリンタ1の電源をオフにすると判断した場合(S15:YES)、SDRAM15に保存されている追加プログラムフラグの状態が「1」であるか否かを確認する(図2CのS28)。
The power key of the
追加プログラムフラグの状態が「0」である場合(S28:NO)、CPU21は、E2PROM17に、電源状態フラグの状態として「通常パワーオフ」を保存した後(S29)、プリンタ1の電源をオフにする。電源状態フラグは、現在の電源の状態を表すフラグである。その後、SPU21は、図3に示されるパワーオフ処理を実行する。
If the state of the additional program flag is "0" (S28: NO), the
追加プログラムフラグの状態が「1」である場合(S28:YES)、CPU21は、操作部12のタッチパネルに、たとえば、通常パワーオフを実行するかRAM保持パワーオフを実行するかをユーザに問い合わせるメッセージが表示される。この問合せメッセージの表示に応答して、ユーザが操作部12を操作し、通常パワーオフを選択して指示した場合(S30:YES)、CPU21は、電源状態フラグの状態として「通常パワーオフ」を保存した後(S29)、図3に示されるパワーオフ処理を実行する。
If the state of the additional program flag is "1" (S28: YES), the
ユーザが操作部12を操作し、RAM保持パワーオフを選択して指示した場合(S30:NO)、CPU21は、電源状態フラグの状態として「RAM保持パワーオフ」(保持電源オフ状態の一例)を保存する(S31)。
When the user operates the
そして、CPU21は、メモリコントローラ23にRAM保持処理の実行を指示した後(S32)。図3に示されるパワーオフ処理を実行する。
Then, the
<パワーオフ処理>
パワーオフ処理では、CPU21は、図3に示されるように、プリンタ1の電源がオフされている状態において、プリンタ1の電源プラグが商用交流電源のコンセントから脱抜されたか否かを判別する(S41)。
<Power off processing>
In the power-off process, the
電源プラグがコンセントから脱抜された場合(S41:YES)、CPU21は、パワーオフ処理を終了する。
If the power plug is removed from the outlet (S41: YES), the
電源プラグがコンセントに挿入されている状態では(S41:NO)、CPU21は、操作部12の電源キーが押下されたか否かを判別する(S42)。電源キーが押下されていない場合(S42:YES)、CPU21は、電源プラグがコンセントから脱抜されたか否かを再び判別する(S41)。すなわち、電源プラグがコンセントから脱抜されるか、または、電源キーが押下されるまで、電源プラグがコンセントから脱抜されたか否かの判別および電源キーが押下されたか否かの判別が交互に繰り返される。
When the power plug is inserted into the outlet (S41: NO), the
電源キーが押下された場合(S42:YES)、CPU21は、起動フラグの状態として「1」をSDRAM15に保存して(S43)、パワーオフ処理を終了する。起動フラグの状態が「1」であることは、プリンタ1の電源がオフの状態で電源キーが押下されたことを表し、起動フラグの状態が「0」であることは、プリンタ1の電源がオフの状態で電源キーが未だ押下されていないことを表す。
If the power key is pressed (S42: YES), the
<起動処理>
CPU21は、プリンタ1の電源プラグが商用交流電源のコンセントから抜かれた状態からその電源プラグがコンセントに挿入されると、図4Aおよび図4Bに示される起動処理(ブート処理)を開始する。また、操作部12の電源キーの押下によりプリンタ1の電源が投入された場合にも、CPU21は、起動処理を開始する。さらには、リブートの際にも、CPU21は、起動処理を開始する。
<Startup process>
When the power plug of the printer 1 is inserted into the outlet after being unplugged from the outlet of the commercial AC power source, the
起動処理では、CPU21は、現在が電源キーの押下による起動時であるか否かを判別する(S51)。CPU21は、SDRAM15に保存されている起動フラグの状態が「1」である場合、現在が電源キーの押下による起動時であると判別し、SDRAM15に保存されている起動フラグの状態が「0」である場合、現在が電源キーの押下による起動時ではない、つまり現在が電源プラグのコンセントへの挿入による起動時であるか、またはリブートによる起動時であると判別する。
In the startup process, the
現在が電源キーの押下による起動時である場合(S51:YES)、CPU21は、E2PROM17に保存されている電源状態フラグの状態を参照する。電源状態フラグの状態が「RAM保持パワーオフ」である場合(S52:YES)、CPU21は、メモリコントローラ23のRAM保持初期化を行う(S53)。メモリコントローラ23のRAM保持初期化には、SDRAM15にアクセスするための設定と、SDRAM15へのリフレッシュ解除コマンドの送信とが含まれる。また、CPU21は、SDRAM15のRAM保持初期化を行う(S54)。SDRAM15のRAM保持初期化では、SDRAM15の内容が保持されているので、プログラム領域の再展開などが不要であり、変数領域のみの初期化が行われる。一方、電源状態フラグの状態が「RAM保持パワーオフ」でない場合(S52:NO)、CPU21は、メモリコントローラ23の通常初期化により(S55)、SDRAM15にアクセスするための設定を行う。また、CPU21は、SDRAM15に対する通常初期化により、SDRAM15の全体を初期化する(S56)。
If the current time is startup by pressing the power key (S51: YES), the
現在が電源キーの押下による起動時である場合、CPU21は、SDRAM15に保存されている起動フラグの状態を「0」にリセットする(S57)。
If the current time is startup by pressing the power key, the
また、CPU21は、E2PROM17に、電源状態フラグの状態として「パワーオン」(電源オン状態の一例)を保存する(S58)。
Further, the
その後、CPU21は、E2PROM17に識別情報が存在しているかを確認する(S59)。
Thereafter, the
一方、現在が電源キーの押下による起動時ではない場合(S51:NO)、CPU21は、E2PROM17に保存されている電源状態フラグの状態が「RAM保持リブート」であるか否かを判別する(S61)。電源状態フラグの状態が「RAM保持リブート」である場合(S61:YES)、CPU21は、メモリコントローラ23のRAM保持初期化を行う(S62)。また、CPU21は、SDRAM15のRAM保持初期化を行う(S63)。そして、CPU21は、E2PROM17に、電源状態フラグの状態として「パワーオン」を保存する(S64)。一方、電源状態フラグの状態が「RAM保持パワーオフ」でない場合(S61:NO)、CPU21は、メモリコントローラ23の通常初期化を行う(S65)。また、CPU21は、SDRAM15の全体を初期化する(S66)。
On the other hand, if the current time is not the time of startup by pressing the power key (S51: NO), the
その後、CPU21は、E2PROM17に保存されている電源状態フラグの状態が「通常パワーオフ」(通常電源オフ状態の一例)であるか否かを判別する(S67)。
After that, the
電源状態フラグの状態が「通常パワーオフ」である場合(S67:YES)、CPU21は、図3に示されるパワーオフ処理を実行する。
If the state of the power state flag is "normal power off" (S67: YES), the
電源状態フラグの状態が「通常パワーオフ」ではない場合(S67:NO)、CPU21は、E2PROM17に識別情報が保存されているかを確認する(S59)。
If the state of the power state flag is not "normal power off" (S67: NO), the
E2PROM17に識別情報が保存されている場合(S59:YES)、CPU21は、SDRAM15に追加プログラムが保存されているかを確認する(図4BのS68)。
If the identification information is stored in the E2PROM 17 (S59: YES), the
SDRAM15に追加プログラムが保存されている場合(S68:YES)、CPU21は、そのSDRAM15に保存されている追加プログラムを使用した制御(たとえば、ダウンロードプリント機能のための制御)の実行を可能にする(S69)。
If the additional program is stored in the SDRAM 15 (S68: YES), the
その後、CPU21は、E2PROM17に保存されている電源状態フラグの状態が「パワーオン」であるか否かを判別する(S70)。
Thereafter, the
一方、E2PROM17に識別情報が存在しない場合(図4AのS59:NO)、CPU21は、SDRAM15に保存されている追加プログラムフラグの状態を「0」にリセットする(図4BのS71)。
On the other hand, if the identification information does not exist in the E2PROM 17 (S59 in FIG. 4A: NO), the
そして、CPU21は、追加プログラムを使用しない制御の実行を決定する(S72)。
Then, the
その後、CPU21は、E2PROM17に保存されている電源状態フラグの状態が「パワーオン」であるか否かを判別する(S70)。
Thereafter, the
電源状態フラグの状態が「パワーオン」である場合(S70:YES)、CPU21は、この起動処理を終了する。
If the state of the power state flag is "power on" (S70: YES), the
電源状態フラグの状態が「パワーオン」ではない場合(S70:NO)、CPU21は、SDRAM15に保存されている追加プログラムフラグの状態が「1」であるか否かを確認する(S73)。
If the state of the power state flag is not "power on" (S70: NO), the
追加プログラムフラグの状態が「1」である場合(S73:YES)、CPU21は、メモリコントローラ23にRAM保持処理の実行を指示した後(S74)。図3に示されるパワーオフ処理を実行する。
When the state of the additional program flag is "1" (S73: YES), the
追加プログラムフラグの状態が「1」ではない場合、つまり「0」である場合には(S73:NO)、CPU21は、メモリコントローラ23にRAM保持処理の実行を指示せずに、図3に示されるパワーオフ処理を実行する。
If the state of the additional program flag is not "1", that is, if it is "0" (S73: NO), the
E2PROM17に識別情報が保存されているにもかかわらず、SDRAM15に追加プログラムが保存されていない場合は(S68:NO)、たとえば、追加プログラムがSDRAM15にダウンロードされた後、RAM保持処理が実行されずにプリンタ1の電源プラグがコンセントから脱抜された場合、または、ユーザが操作部12を操作して、電源キーの押下により電源のオフを指示した後、通常パワーオフを実行するかRAM保持パワーオフを実行するかの問い合わせに対して通常パワーオフを選択して指示した場合である。この場合、CPU21は、自動ダウンロード処理を実行する(S75)。自動ダウンロード処理については、後述する。
If the additional program is not stored in the
自動ダウンロード処理の実効後、CPU21は、自動ダウンロード処理による追加プログラムのダウンロードに成功したか否かを判断する(S76)。
After the automatic download process is executed, the
CPU21は、追加プログラムのダウンロードに成功したと判断した場合(S76:YES)、追加プログラムフラグの状態として「1」をSDRAM15に保存する(S77)。その後、CPU21は、SDRAM15に保存された追加プログラムを使用した制御の実行を可能にして(S69)、前述のステップS58以降の処理を実行する。
When the
CPU21は、自動ダウンロード処理による追加プログラムのダウンロードに失敗したと判断した場合(S76:NO)、ダウンロード催促報知フラグの状態として「1」をSDRAM15に保存する(S78)。その後、CPU21は、SDRAM15に保存されている追加プログラムフラグの状態を「0」にリセットして(S71)、前述のステップS72以降の処理を実行する。
If the
<自動ダウンロード処理>
自動ダウンロード処理では、CPU21は、図5に示されるように、E2PROM17に保存されているダウンロード元情報を参照して、追加プログラムのダウンロード元がUDBメモリであるか否かを判別する(S751)。
<Automatic download process>
In the automatic download process, as shown in FIG. 5, the
追加プログラムのダウンロード元がUSBメモリである場合(S751:YES)、CPU21は、USBメモリが通信部16に接続されているか否かを判別する(S752)。
If the download source of the additional program is a USB memory (S751: YES), the
USBメモリが通信部16に接続されている場合(S752:YES)、CPU21は、USBメモリに追加プログラムが保存されているか否かを判別する(S753)。
If the USB memory is connected to the communication unit 16 (S752: YES), the
USBメモリに追加プログラムが保存されている場合(S753:YES)、CPU21は、USBメモリに保存されている追加プログラムをSDRAM15にダウンロードを開始して(S754)、自動ダウンロード処理を終了する。
If the additional program is stored in the USB memory (S753: YES), the
通信部16にUSBメモリが接続されていない場合(S752:NO)、または、通信部16にUSBメモリが接続されているが、そのUSBメモリに追加プログラムが保存されていない場合には(S753:NO)、CPU21は、SDRAM15への追加プログラムのダウンロードを行うことができないので、自動ダウンロード処理を終了する。
If the USB memory is not connected to the communication unit 16 (S752: NO), or if the USB memory is connected to the
追加プログラムのダウンロード元がUSBメモリではない場合(S751:NO)、つまり追加プログラムのダウンロード元がインターネット上のサーバである場合、CPU21は、通信部16がコンピュータネットワークに接続されているか否かを判別する(S755)。
If the download source of the additional program is not a USB memory (S751: NO), that is, if the download source of the additional program is a server on the Internet, the
通信部16がコンピュータネットワークに接続されている場合(S755:YES)、CPU21は、通信部16を制御して、サーバとの接続を試みる(S756)。
If the
その後、CPU21は、通信部16とサーバとが正常に接続されたか否かを判別する(S757)。
After that, the
通信部16とサーバとが正常に接続された場合(S757:YES)、CPU21は、サーバからSDRAM15への追加プログラムのダウンロードを開始して(S758)、自動ダウンロード処理を終了する。
If the
通信部16がコンピュータネットワークに接続されてない場合(S755:NO)、または、通信部16とサーバとが正常に接続されない場合(S757:NO)、CPU21は、SDRAM15への追加プログラムのダウンロードを行うことができないので、自動ダウンロード処理を終了する。
If the
<作用効果>
以上のように、追加プログラムは、USBメモリまたはサーバから通信部16を介してSDRAM15にダウンロードされる。そのため、フラッシュメモリ14の容量の増大によるコストアップを生じずに追加プログラムのダウンロードが可能である。
<Effect>
As described above, the additional program is downloaded from the USB memory or the server to the
ASIC13のリブート、または、プリンタ1の電源のオフが要求される場合に、SDRAM15の内容を保持するRAM保持処理が実行されることにより、追加プログラムの再ダウンロードの必要がないため、プリンタ1の使い勝手が良い。また、追加プログラムのダウンロード時にE2PROM17にダウンロード元情報が書き込まれるので、電源プラグがコンセントから脱抜されるなどの理由によりSDRAM15の内容が消失してしまった場合であっても、追加プログラムを再ダウンロードすることができる。そして、その再ダウンロードによって取得した追加プログラムによって適切に制御を行うことができる。
When rebooting the
また、追加プログラムのダウンロードに失敗した場合には、追加プログラムのダウンロードを催促する報知がなされるので、ユーザにとって、より使い勝手が良い。 Furthermore, if the download of the additional program fails, a notification is issued to prompt the user to download the additional program, which is more convenient for the user.
<変形例>
以上、本発明の一実施形態について説明したが、本発明は、他の形態で実施することもできる。
<Modified example>
Although one embodiment of the present invention has been described above, the present invention can also be implemented in other forms.
たとえば、電子機器の一例として、プリンタ1を取り上げたが、本発明は、プリンタ1に限らず、原稿の画像を読み取る画像読取機能を有するスキャナに適用することもでき、その画像読取機能とプリント用紙などのシートに画像を形成する画像形成機能とを併せ持つ複合機に適用されてもよい。 For example, although the printer 1 has been taken up as an example of an electronic device, the present invention is not limited to the printer 1, but can also be applied to a scanner having an image reading function for reading an image of a document, and the present invention can be applied to a scanner having an image reading function and a printing paper. The present invention may also be applied to a multifunction device that also has an image forming function of forming an image on a sheet such as the above.
また、ASIC13が複数のCPUを備え、複数のCPUが協働して各処理を実行してもよい。
Further, the
その他、前述の構成には、特許請求の範囲に記載された事項の範囲で種々の設計変更を施すことが可能である。 In addition, various design changes can be made to the above-described configuration within the scope of the claims.
1:プリンタ
12:操作部
13:ASIC
14:フラッシュメモリ
15:SDRAM
16:通信部
17:E2PROM
21:CPU
1: Printer 12: Operation unit 13: ASIC
14: Flash memory 15: SDRAM
16: Communication section 17: E2PROM
21: CPU
発明を実施するための形態には、不揮発性メモリの容量の増大によるコストアップを生じずに追加プログラムを外部機器からダウンロードすることが可能であり、かつ、使い勝手が良い、という目的を果たす電子機器を記載している。 A mode for carrying out the invention includes an electronic device that achieves the purpose of being able to download additional programs from an external device without increasing costs due to an increase in the capacity of non-volatile memory, and being easy to use. is listed .
前記の目的を達成するため、電子機器は、外部機器と通信する通信部と、基本プログラムが書き込まれた第1不揮発性メモリと、第2不揮発性メモリと、揮発性メモリと、制御部とを備え、制御部は、外部機器から通信部を介して追加プログラムをダウンロードして揮発性メモリに保存する追加プログラム保存処理と、追加プログラム保存処理の実行に応じて、追加プログラムのダウンロード元を示すダウンロード元情報を第2不揮発性メモリに保存するダウンロード元情報保存処理と、制御部自身のリブート、または、電子機器の電源のオフ、である所定動作の要求がされる場合に、揮発性メモリに保存されているデータを揮発性メモリに保持させる保持処理と、制御部自身のブート時に、揮発性メモリにおける追加プログラムの有無を判定する判定処理と、判定処理によって揮発性メモリに追加プログラムが無いと判定された場合に、制御部自身のブートに応じて、第2不揮発性メモリに保存されたダウンロード元情報を基に、外部機器から通信部を介して揮発性メモリに追加プログラムを再ダウンロードして揮発性メモリに保存する追加プログラム再保存処理とを実行する。 In order to achieve the above object , the electronic device includes a communication section that communicates with an external device, a first nonvolatile memory in which a basic program is written, a second nonvolatile memory, a volatile memory, and a control section. The control unit includes an additional program storage process that downloads the additional program from an external device via the communication unit and stores it in the volatile memory, and indicates the download source of the additional program according to the execution of the additional program storage process. The download source information storage process saves the download source information in the second nonvolatile memory, and when a predetermined operation such as rebooting the control unit itself or turning off the power of the electronic device is requested, the download source information is saved in the volatile memory. A retention process that retains the saved data in the volatile memory, a determination process that determines whether there is an additional program in the volatile memory when the control unit itself boots, and a determination process that determines whether there is an additional program in the volatile memory. If the determination is made, the additional program is re-downloaded from the external device to the volatile memory via the communication unit based on the download source information stored in the second non-volatile memory in response to the control unit's own boot. Executes additional program resave processing to be saved in volatile memory.
発明を実施するための形態に記載された電子機器によれば、不揮発性メモリの容量の増大によるコストアップを生じずに追加プログラムを外部機器からダウンロードすることが可能であり、かつ、電子機器の使い勝手が良い。 According to the electronic device described in the detailed description , it is possible to download an additional program from an external device without increasing the cost due to an increase in the capacity of nonvolatile memory, and the electronic device can be downloaded from an external device. Easy to use.
一方、現在が電源キーの押下による起動時ではない場合(S51:NO)、CPU21は、E2PROM17に保存されている電源状態フラグの状態が「RAM保持リブート」であるか否かを判別する(S61)。電源状態フラグの状態が「RAM保持リブート」である場合(S61:YES)、CPU21は、メモリコントローラ23のRAM保持初期化を行う(S62)。また、CPU21は、SDRAM15のRAM保持初期化を行う(S63)。そして、CPU21は、E2PROM17に、電源状態フラグの状態として「パワーオン」を保存する(S64)。一方、電源状態フラグの状態が「RAM保持リブート」でない場合(S61:NO)、CPU21は、メモリコントローラ23の通常初期化を行う(S65)。また、CPU21は、SDRAM15の全体を初期化する(S66)。
On the other hand, if the current time is not the time of startup by pressing the power key (S51: NO), the
Claims (15)
基本プログラムが書き込まれた第1不揮発性メモリと、
第2不揮発性メモリと、
揮発性メモリと、
制御部と
を備え、
前記制御部は、
前記外部機器から前記通信部を介して追加プログラムをダウンロードして前記揮発性メモリに保存する追加プログラム保存処理と、
前記追加プログラム保存処理の実行に応じて、前記追加プログラムのダウンロード元を示すダウンロード元情報を前記第2不揮発性メモリに保存するダウンロード元情報保存処理と、
前記制御部自身のリブート、または、電子機器の電源のオフ、である所定動作の要求がされる場合に、前記揮発性メモリに保存されているデータを前記揮発性メモリに保持させる保持処理と、
前記制御部自身のブート時に、前記揮発性メモリにおける前記追加プログラムの有無を判定する判定処理と、
前記判定処理によって前記揮発性メモリに前記追加プログラムが無いと判定された場合に、前記制御部自身のブートに応じて、前記第2不揮発性メモリに保存された前記ダウンロード元情報を基に、前記外部機器から前記通信部を介して前記揮発性メモリに追加プログラムを再ダウンロードして前記揮発性メモリに保存する追加プログラム再保存処理と
を実行する、
電子機器。 a communication section that communicates with external equipment;
a first non-volatile memory in which a basic program is written;
a second non-volatile memory;
volatile memory,
It is equipped with a control section,
The control unit includes:
an additional program storage process of downloading an additional program from the external device via the communication unit and storing it in the volatile memory;
a download source information storage process that stores download source information indicating a download source of the additional program in the second nonvolatile memory in response to execution of the additional program storage process;
a retention process for retaining data stored in the volatile memory in the volatile memory when a predetermined operation such as rebooting the control unit itself or powering off the electronic device is requested;
a determination process that determines the presence or absence of the additional program in the volatile memory at the time of booting the control unit itself;
If it is determined by the determination process that the additional program does not exist in the volatile memory, the download source information stored in the second non-volatile memory is executing an additional program re-save process of re-downloading the additional program from an external device to the volatile memory via the communication unit and storing the additional program in the volatile memory;
Electronics.
前記制御部は、
前記追加プログラム保存処理の実行に応じて、前記追加プログラムが前記揮発性メモリにダウンロードされていることを示す情報である追加プログラムフラグを前記揮発性メモリに保存する追加プログラムフラグ処理を実行し、
前記所定動作の要求がされ、かつ、前記追加プログラムフラグが前記揮発性メモリに保存されている場合に、前記保持処理を実行する、
電子機器。 The electronic device according to claim 1,
The control unit includes:
In response to execution of the additional program saving process, executing an additional program flag process to save an additional program flag, which is information indicating that the additional program has been downloaded to the volatile memory, in the volatile memory;
executing the retention process when the predetermined operation is requested and the additional program flag is stored in the volatile memory;
Electronics.
前記所定動作の要求は、前記制御部自身のリブートの要求であり、
前記制御部は、
前記所定動作の要求がされ、かつ、前記追加プログラムフラグが前記揮発性メモリに保存されている場合に、前記保持処理を実行し、前記保持処理の実行後にリブートを実行する、
電子機器。 The electronic device according to claim 2,
The request for the predetermined operation is a request for rebooting the control unit itself,
The control unit includes:
executing the retention process when the predetermined operation is requested and the additional program flag is stored in the volatile memory, and rebooting after executing the retention process;
Electronics.
前記所定動作の要求は、前記電子機器の電源のオフの要求であり、
前記制御部は、前記所定動作の要求がされ、かつ、前記追加プログラムフラグが前記揮発性メモリに保存されている場合に、前記保持処理を実行し、前記保持処理の実行後に前記電源をオフにする、
電子機器。 The electronic device according to claim 2,
The request for the predetermined operation is a request to turn off the power of the electronic device,
The control unit executes the holding process when the predetermined operation is requested and the additional program flag is stored in the volatile memory, and turns off the power after executing the holding process. do,
Electronics.
指示を受け付ける受付部をさらに備え、
前記制御部は、前記揮発性メモリの内容を保持して前記電源をオフにする指示を前記受付部に受け付け、かつ、前記追加プログラムフラグが前記揮発性メモリに保存されている場合に、前記保持処理を実行する、
電子機器。 The electronic device according to claim 4,
It also includes a reception section to receive instructions.
The control unit receives an instruction from the reception unit to turn off the power while retaining the contents of the volatile memory, and when the additional program flag is stored in the volatile memory, the control unit execute the process,
Electronics.
前記制御部は、
前記追加プログラム保存処理の実行に応じて、前記追加プログラムを識別する識別情報を前記第2不揮発性メモリに書き込み、
前記判定処理において、前記第2不揮発性メモリに前記識別情報が保存されているか否かを判定し、前記第2不揮発性メモリに前記識別情報が保存されていない場合、前記揮発性メモリに前記追加プログラムがないと判定する、
電子機器。 The electronic device according to any one of claims 1 to 5,
The control unit includes:
writing identification information identifying the additional program into the second nonvolatile memory in response to execution of the additional program storage process;
In the determination process, it is determined whether or not the identification information is stored in the second non-volatile memory, and if the identification information is not stored in the second non-volatile memory, the additional information is added to the volatile memory. Determine that there is no program,
Electronics.
前記制御部は、前記第2不揮発性メモリに前記識別情報が保存されており、かつ、前記揮発性メモリに前記追加プログラムが保存されていると判定した場合に、前記追加プログラムを使用した制御を実行する、
電子機器。 The electronic device according to claim 6,
When the control unit determines that the identification information is stored in the second nonvolatile memory and that the additional program is stored in the volatile memory, the control unit performs control using the additional program. Execute,
Electronics.
前記制御部は、前記第2不揮発性メモリに前記識別情報が保存されているが、前記揮発性メモリに前記追加プログラムが保存されていないと判定した場合に、前記追加プログラムを使用しない制御を実行する、
電子機器。 The electronic device according to claim 6 or 7,
The control unit executes control that does not use the additional program when determining that the identification information is stored in the second non-volatile memory but the additional program is not stored in the volatile memory. do,
Electronics.
前記制御部は、
前記制御部自身のブート時に前記揮発性メモリに前記追加プログラムが保存されてないと判定した場合、前記識別情報および前記ダウンロード元情報を基に前記追加プログラム再保存処理を実行し、当該追加プログラム再保存処理でダウンロードされた前記追加プログラムを使用した制御を実行する、
電子機器。 The electronic device according to any one of claims 6 to 8,
The control unit includes:
If it is determined that the additional program is not saved in the volatile memory when the control unit itself boots, the additional program re-save process is executed based on the identification information and the download source information, and the additional program is re-stored. Executing control using the additional program downloaded in the storage process;
Electronics.
前記制御部は、前記識別情報および前記ダウンロード元情報を基に実行した前記追加プログラム保存処理による前記追加プログラムのダウンロードに失敗した場合、前記追加プログラムを使用しない制御を実行する、
電子機器。 The electronic device according to claim 9,
The control unit executes control not to use the additional program if downloading of the additional program by the additional program storage process executed based on the identification information and the download source information fails.
Electronics.
表示部をさらに備え、
前記制御部は、前記追加プログラムのダウンロードに失敗した場合、前記追加プログラムのダウンロードを促す表示を前記表示部に出力する、
電子機器。 The electronic device according to claim 10,
further comprising a display section,
The control unit outputs a display prompting the download of the additional program to the display unit if the download of the additional program fails.
Electronics.
前記制御部は、
前記電子機器の電源のオフの要求に応じて前記保持処理を実行せずに前記電源をオフにする場合、前記第2不揮発性メモリに保持される電源状態フラグの状態を通常電源オフ状態にし、前記電源のオフの要求に応じて前記保持処理を実行して前記電源をオフにする場合、前記電源状態フラグの状態を保持電源オフ状態にし、前記電源のオンの要求に応じて前記電源をオンにする場合、前記電源状態フラグの状態を電源オン状態に設定する電源状態フラグ処理を実行し、
前記電源状態フラグの状態に応じて、前記制御処理後に実行する処理の内容を切り替える、
電子機器。 The electronic device according to any one of claims 6 to 11,
The control unit includes:
When turning off the power without performing the holding process in response to a request to turn off the power of the electronic device, a power state flag held in the second nonvolatile memory is set to a normal power off state; When the holding process is executed to turn off the power in response to a request to turn off the power, the state of the power state flag is set to the hold power off state, and the power is turned on in response to the request to turn on the power. If so, execute power state flag processing to set the state of the power state flag to a power on state,
switching the content of processing to be executed after the control processing according to the state of the power state flag;
Electronics.
前記電源状態フラグの状態が前記通常電源オフ状態または前記保持電源オフ状態である場合、前記制御処理後に前記電源をオフにし、
前記電源状態フラグの状態が前記電源オン状態である場合、前記制御処理後に前記電源をオンに維持する、
電子機器。 The electronic device according to claim 12,
If the state of the power state flag is the normal power off state or the holding power off state, turn off the power after the control process;
If the state of the power state flag is the power on state, maintaining the power on after the control process;
Electronics.
前記制御部は、前記電源が外部電源に接続されたことに応じた前記制御部自身のブート時に、前記電源状態フラグの状態が前記通常電源オフ状態である場合、前記電源をオフにし、前記電源状態フラグの状態が前記保持電源オフ状態または前記電源オン状態である場合、前記制御処理を実行する、
電子機器。 The electronic device according to claim 12 or 13,
When the control unit itself boots in response to connection of the power supply to an external power supply, if the state of the power state flag is the normal power off state, the control unit turns off the power supply and restarts the power supply. If the state of the status flag is the holding power off state or the power on state, executing the control process;
Electronics.
前記制御部は、
前記制御部自身のブート時に、前記保持処理が行われていたことを判定する保持判定処理と、
前記保持判定処理によって保持処理が行われていたと判定された場合に、保持内容を維持したまま揮発性メモリを初期化するメモリ初期化処理と、
をさらに実行する、
電子機器。 The electronic device according to any one of claims 1 to 14,
The control unit includes:
retention determination processing that determines that the retention processing has been performed when the control unit itself boots;
memory initialization processing that initializes the volatile memory while maintaining the retained contents when it is determined that the retention processing has been performed by the retention determination processing;
further execute,
Electronics.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2023179733A JP2023174882A (en) | 2017-12-27 | 2023-10-18 | Electronic apparatus |
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017252340A JP7067057B2 (en) | 2017-12-27 | 2017-12-27 | Electronics |
JP2022073282A JP7371723B2 (en) | 2017-12-27 | 2022-04-27 | Electronics |
JP2023179733A JP2023174882A (en) | 2017-12-27 | 2023-10-18 | Electronic apparatus |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2022073282A Division JP7371723B2 (en) | 2017-12-27 | 2022-04-27 | Electronics |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2023174882A true JP2023174882A (en) | 2023-12-08 |
Family
ID=67304497
Family Applications (3)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2017252340A Active JP7067057B2 (en) | 2017-12-27 | 2017-12-27 | Electronics |
JP2022073282A Active JP7371723B2 (en) | 2017-12-27 | 2022-04-27 | Electronics |
JP2023179733A Pending JP2023174882A (en) | 2017-12-27 | 2023-10-18 | Electronic apparatus |
Family Applications Before (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2017252340A Active JP7067057B2 (en) | 2017-12-27 | 2017-12-27 | Electronics |
JP2022073282A Active JP7371723B2 (en) | 2017-12-27 | 2022-04-27 | Electronics |
Country Status (1)
Country | Link |
---|---|
JP (3) | JP7067057B2 (en) |
Family Cites Families (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4097117B2 (en) * | 2001-01-22 | 2008-06-11 | 株式会社リコー | Image forming apparatus and image processing system |
JPWO2002065274A1 (en) * | 2001-02-13 | 2004-06-17 | 富士通株式会社 | Information processing equipment |
JP2002259124A (en) * | 2001-03-05 | 2002-09-13 | Sony Corp | Operating system, and device and method for supporting program development |
JP4121333B2 (en) | 2001-08-27 | 2008-07-23 | 株式会社リコー | Image forming apparatus, program update method, and recording medium |
JP4784100B2 (en) * | 2005-01-21 | 2011-09-28 | 富士ゼロックス株式会社 | Processing device and firmware download method thereof. |
JP2006221354A (en) | 2005-02-09 | 2006-08-24 | Internatl Business Mach Corp <Ibm> | Information update method, program and information processor |
WO2007000067A1 (en) * | 2005-06-27 | 2007-01-04 | Eidgenössische Technische Hochschule Zürich | Method and system for acquiring azimuth information using signals provided by satellites |
JP2007149001A (en) * | 2005-11-30 | 2007-06-14 | Canon Inc | Controller and power control method |
JP2012221171A (en) | 2011-04-07 | 2012-11-12 | Canon Inc | Recording device and method for controlling operation thereof |
JP2016103160A (en) | 2014-11-28 | 2016-06-02 | 京セラドキュメントソリューションズ株式会社 | Image processing device and method of updating program |
-
2017
- 2017-12-27 JP JP2017252340A patent/JP7067057B2/en active Active
-
2022
- 2022-04-27 JP JP2022073282A patent/JP7371723B2/en active Active
-
2023
- 2023-10-18 JP JP2023179733A patent/JP2023174882A/en active Pending
Also Published As
Publication number | Publication date |
---|---|
JP7371723B2 (en) | 2023-10-31 |
JP7067057B2 (en) | 2022-05-16 |
JP2019117588A (en) | 2019-07-18 |
JP2022093482A (en) | 2022-06-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3037968A1 (en) | Electronic device and firmware recovery program that ensure recovery of firmware | |
US20060047938A1 (en) | Method and apparatus to initialize CPU | |
US9563435B2 (en) | Information processing system, information processing apparatus and start up control method | |
US20070169092A1 (en) | Image forming apparatus capable of updating firmware of optional device and method thereof | |
JP2005157528A (en) | Memory device | |
CN115145650A (en) | Information processing apparatus, storage medium, and information processing method | |
JP5970867B2 (en) | Information processing apparatus, image forming apparatus, and program | |
JP7371723B2 (en) | Electronics | |
JP2008158991A (en) | Control system for nand type flash memory | |
JP2023068538A (en) | Information processing apparatus, method for controlling the same, and program | |
JP2014174697A (en) | Information processing device, control method of information processing device, and control program | |
JP5011780B2 (en) | Information processing apparatus and activation method thereof | |
JP5895609B2 (en) | Information processing apparatus, image forming apparatus, and program | |
JP2013200602A (en) | Image processing apparatus | |
JP2005050097A (en) | Information processor, information processing method, program, and storage medium | |
US20180160006A1 (en) | Image processing apparatus and method of controlling an image processing apparatus | |
JP2008307837A (en) | Image forming system and its control method | |
JP2008059360A (en) | Printer | |
JP7494543B2 (en) | Information processing device and program | |
JP5998902B2 (en) | Image forming apparatus, information processing apparatus, and program | |
JP7031211B2 (en) | Electronics | |
JP2008130036A (en) | Information processor | |
JP2006106823A (en) | Electronic equipment, operating system start method to be executed by the equipment and operating system initialization method to be executed by the equipment | |
JP2016122436A (en) | Information processing device and information processing method | |
JP2016103160A (en) | Image processing device and method of updating program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20231108 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20231114 |