JP6313962B2 - Electronics - Google Patents

Electronics Download PDF

Info

Publication number
JP6313962B2
JP6313962B2 JP2013253367A JP2013253367A JP6313962B2 JP 6313962 B2 JP6313962 B2 JP 6313962B2 JP 2013253367 A JP2013253367 A JP 2013253367A JP 2013253367 A JP2013253367 A JP 2013253367A JP 6313962 B2 JP6313962 B2 JP 6313962B2
Authority
JP
Japan
Prior art keywords
update
program
power
key
power key
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
JP2013253367A
Other languages
Japanese (ja)
Other versions
JP2015111355A (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.)
Fukuda Denshi Co Ltd
Original Assignee
Fukuda Denshi 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 Fukuda Denshi Co Ltd filed Critical Fukuda Denshi Co Ltd
Priority to JP2013253367A priority Critical patent/JP6313962B2/en
Publication of JP2015111355A publication Critical patent/JP2015111355A/en
Application granted granted Critical
Publication of JP6313962B2 publication Critical patent/JP6313962B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、内部メモリに格納されているプログラムに基づき動作する電子機器に関する。 The present invention relates to an electronic equipment that operates based on programs stored in the internal memory.

近年、医療機器及びオフィス機器等の多くの電子機器は、内部にCPU(Central Processing Unit)等の制御用の回路が設けられており、このCPUが内部メモリに格納されているプログラムコードに基づき動作するようになっている。   In recent years, many electronic devices such as medical devices and office devices are provided with a control circuit such as a CPU (Central Processing Unit) and the CPU operates based on a program code stored in an internal memory. It is supposed to be.

また、コンピュータ等のアプリケーションプログラムと同様に、CPU内蔵の電子機器でも、装置の完成後や出荷後にプログラムコードをアップデート(バージョンアップ)して、その装置の機能拡張や機能補正が行えるようになってきている。このようなアップデートの例は、例えば特許文献1に記載されている。   In addition, as with application programs such as computers, even in electronic devices with a built-in CPU, the program code can be updated (upgraded) after the device is completed or shipped, and the function of the device can be expanded or corrected. ing. An example of such an update is described in Patent Document 1, for example.

特開2009−98993号公報JP 2009-98993 A

ところで、アップデート操作の一つの方法として、電源キーを用いるものがある。具体的には、ユーザーによって電源キーが押下されたときに、機器の起動と同時にアップデートを開始する方法である。この方法によれば、既に機器が起動している状態においてアップデートを開始させた場合には、既に動作中のプログラムのアップデートが困難であるのに対して、全てのプログラムをアップデートできるといった長所がある。   By the way, as one method of the update operation, there is a method using a power key. Specifically, when the power key is pressed by the user, the update is started simultaneously with the activation of the device. According to this method, when an update is started in a state where the device is already activated, it is difficult to update a program that is already in operation, but all the programs can be updated. .

一方で、この種の電子機器は、ソフトウェアが異常状態になった場合に備え、電源キーを長押し(例えば10秒)した場合に強制的に電源をシャットダウンにする機能を有するものがある。因みに、このような場合に使用される電源キーは、一般に、モーメンタリ動作型の押しボタンスイッチ(モーメンタリスイッチと呼ばれることもある)であり、押下されているときだけON信号を出力し、指を離すと押下前の位置に自動的に復帰してOFF信号を出力する(あるいは信号を出力しない)状態となるものである。   On the other hand, some electronic devices of this type have a function of forcibly shutting down the power when a power key is pressed for a long time (for example, 10 seconds) in case the software becomes abnormal. Incidentally, the power key used in such a case is generally a momentary operation type push button switch (sometimes referred to as a momentary switch), which outputs an ON signal only when it is pressed and releases the finger. And automatically returns to the position before pressing and outputs an OFF signal (or does not output a signal).

このため、ユーザーが電源キーを押下してアップデートを開始させた後に、引き続き電源キーを長押ししてしまうと、アップデート中に電源がシャットダウンしてしまい、その結果、場合によっては機器を再起動できなくなる等の重大なダメージを被るおそれがあった。   For this reason, if the user presses the power key to start the update and then continues to press and hold the power key, the power will shut down during the update, and as a result, in some cases, the device can be restarted. There was a risk of serious damage such as disappearance.

本発明は、以上の点を考慮してなされたものであり、アップデート時にユーザーの操作ミスがあった場合でも、重大なダメージを被ることを回避できる電子機器を提供する。 The present invention has been made in view of the above, even if there is a user error when updating, to provide an electronic equipment capable of avoiding incurring significant damage.

本発明の電子機器の一つの態様は、
ユーザーの操作に応じてプログラムのアップデートを行う電子機器であって、
電源キーと、
ユーザーによる前記電源キーの操作に応じて複数のプログラムを順次アップデートする機能と、ユーザーによる前記電源キーの操作に応じて電源をシャットダウンする機能と、を有する制御部と、
を備えた電子機器であって、
前記制御部は、
アップデートする外部のプログラムにアクセス可能な状態でありかつ電源がシャットダウンされている状態において、前記電源キーが押下された場合に、前記プログラムアップデートを開始する機能と
前記状態において前記電源をオンするために前記電源キーが押下された後、前記電源キーがそのまま所定期間押下し続けられた場合に、前記電源をシャットダウンする機能と、
ブートローダプログラムのアップデートを、前記所定期間よりも後の期間に行う機能と、
を有し、前記ブートローダプログラムのアップデート中の前記電源のシャットダウンを回避する
One aspect of the electronic device of the present invention is:
An electronic device that updates programs according to user operations,
A power key,
A control unit having a function of sequentially updating a plurality of programs according to an operation of the power key by a user, and a function of shutting down a power according to an operation of the power key by a user;
An electronic device comprising:
The controller is
In a state in which it and the power supply is accessible state to the outside of the program is shut down to update, if the power key is pressed, the function of starting the update of the program,
A function of shutting down the power when the power key is continuously pressed for a predetermined period after the power key is pressed to turn on the power in the state;
A function of updating the boot loader program in a period later than the predetermined period;
And shutting down the power supply during the update of the boot loader program .

本発明によれば、アップデート時に電源キーが長押しされ電源がシャットダウンされるといった操作ミスがあった場合でも、重大なダメージを被ることを回避できる。   According to the present invention, it is possible to avoid serious damage even if there is an operation mistake such as a long press of the power key during the update and the power supply is shut down.

実施の形態に係る心電計の外観構成を示す上面図The top view which shows the external appearance structure of the electrocardiograph which concerns on embodiment 本発明の要部構成を示すブロック図The block diagram which shows the principal part structure of this invention 実施の形態によるアップデート処理手順を示すフローチャートThe flowchart which shows the update process sequence by embodiment 比較例によるアップデート処理手順を示すフローチャートFlow chart showing update processing procedure according to comparative example

以下、本発明の実施の形態について、図面を参照して詳細に説明する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

図1は、本発明のプログラム更新方法が適用される心電計の外観構成を示す上面図である。心電計10は、タッチパネル11、レコーダー12及び操作部20を有する。操作部20は、電源キー21と、複数の操作キー群22と、からなる。操作キー群22は、所謂カスタムキーであり、計測のスタート/ストップを指示するためのスタート/ストップ操作キーなどを含んでいる。   FIG. 1 is a top view showing an external configuration of an electrocardiograph to which the program update method of the present invention is applied. The electrocardiograph 10 includes a touch panel 11, a recorder 12, and an operation unit 20. The operation unit 20 includes a power key 21 and a plurality of operation key groups 22. The operation key group 22 is a so-called custom key, and includes a start / stop operation key for instructing start / stop of measurement.

タッチパネル11には、計測結果である心電波形が表示される。また、タッチパネル11には各種設定画面や動作メニュー画面が表示され、ユーザーはタッチパネル11を用いて各種設定や動作指示を行うことができる。また、心電計10は、心電用電極などを接続するための接続部(図示せず)、差し込まれたSDカード40(図2)等のメモリカードや通信ケーブルと内部回路とで信号の送受を行うためのインターフェース(I/F)33(図2)、及び、計測演算や動作制御を行うCPU(Central Processing Unit)30(図2)などを有する。   On the touch panel 11, an electrocardiogram waveform as a measurement result is displayed. In addition, various setting screens and operation menu screens are displayed on the touch panel 11, and the user can perform various settings and operation instructions using the touch panel 11. In addition, the electrocardiograph 10 has a connection part (not shown) for connecting an electrocardiographic electrode, a memory card such as an inserted SD card 40 (FIG. 2), a communication cable, and an internal circuit for signal transmission. It has an interface (I / F) 33 (FIG. 2) for performing transmission and reception, a CPU (Central Processing Unit) 30 (FIG. 2) for performing measurement calculation and operation control, and the like.

図2は、心電計10の構成を示すブロック図である。なお、図2のブロック図は、本発明に関わる構成のみを示してある。   FIG. 2 is a block diagram showing a configuration of the electrocardiograph 10. Note that the block diagram of FIG. 2 shows only the configuration related to the present invention.

CPU30は、ソフトウェア保持部31に保持されたプログラムに従って、心電図の計測演算や心電計10全体の動作制御などを行う。ソフトウェア保持部31は、書き換え可能な記憶装置であり、本実施の形態の場合にはフラッシュメモリである。   The CPU 30 performs electrocardiogram measurement calculation, operation control of the entire electrocardiograph 10 and the like according to a program held in the software holding unit 31. The software holding unit 31 is a rewritable storage device, and is a flash memory in the present embodiment.

操作部20からの操作信号は、CPU30、アップデート制御部32及び電源供給部34に送出される。CPU30は、操作信号によって指示された処理を、ソフトウェア保持部31のプログラムに従って行う。   An operation signal from the operation unit 20 is sent to the CPU 30, the update control unit 32, and the power supply unit 34. The CPU 30 performs processing instructed by the operation signal in accordance with a program stored in the software holding unit 31.

アップデート制御部32は、電源キー21と、操作キー群22の中の予め決められた特定キーとが同時に押下されたことを示す操作信号を操作部20から受けると、ソフトウェア保持部31に保持されたプログラムのアップデートを行う。アップデートは、新たなプログラムをインターフェース(I/F)33を介してSDカード40などから取得し、ソフトウェア保持部31によって保持されているプログラムをこの新たなプログラムに書き換えることによって行われる。   When the update control unit 32 receives an operation signal from the operation unit 20 indicating that the power key 21 and a predetermined specific key in the operation key group 22 are simultaneously pressed, the update control unit 32 is held in the software holding unit 31. Update the installed program. The update is performed by acquiring a new program from the SD card 40 or the like via the interface (I / F) 33 and rewriting the program held by the software holding unit 31 with this new program.

心電計10は電源供給部34を有し、電源供給部34は電源キー21が所定時間以上長押しされたことを示す操作信号を操作部20から入力すると、心電計10全体への電源供給を停止する(つまりシャットダウンする)。本実施の形態では、電源キーが10秒間長押しされたときに、シャットダウンを行うようになっている。電源キー21は、モーメンタリ動作型の押しボタンスイッチ(モーメンタリスイッチと呼ばれることもある)であり、押下されているときだけON信号を出力し、指を離すと押下前の位置に自動的に復帰してOFF信号を出力する(あるいは信号を出力しない)状態となるものである。   The electrocardiograph 10 has a power supply unit 34. When the power supply unit 34 inputs an operation signal indicating that the power key 21 has been pressed for a predetermined time or longer from the operation unit 20, the power supply to the entire electrocardiograph 10 is supplied. Stop (ie shut down) the supply. In the present embodiment, the shutdown is performed when the power key is pressed for 10 seconds. The power key 21 is a momentary operation type push button switch (sometimes referred to as a momentary switch), and outputs an ON signal only when pressed, and automatically returns to the position before pressing when the finger is released. Thus, an OFF signal is output (or no signal is output).

図3は、本実施の形態によるアップデート制御部32の処理手順を示す。   FIG. 3 shows a processing procedure of the update control unit 32 according to this embodiment.

アップデート制御部32は、ステップS0で処理を開始すると、続くステップS1で特定キー及び電源キー21が同時に押下されたかを監視し、同時に押圧された場合にプログラムのアップデートを開始し、ステップS2に移る。本実施の形態の場合、先ず、電源がシャットダウンされている状態でユーザーによりSDカード40がI/F33に差し込まれ、ステップS1で肯定結果を得た場合にアップデートが開始される。実際には、特定キーと電源キー21を同時に押下されてから電源がオンになるまでに3秒程度の時間がかかり、その直後にアップデートが開始される。   When the update control unit 32 starts the process in step S0, it monitors whether the specific key and the power key 21 are simultaneously pressed in the next step S1, and starts updating the program if they are pressed simultaneously, and proceeds to step S2. . In the case of the present embodiment, first, the update is started when the user inserts the SD card 40 into the I / F 33 with the power supply shut down and obtains a positive result in step S1. Actually, it takes about 3 seconds until the power is turned on after the specific key and the power key 21 are pressed simultaneously, and the update is started immediately after that.

アップデート制御部32は、ステップS2で起動時画像プログラムを書き込む。このプログラムは起動時にタッチパネル11に表示させるための画像に関するプログラムである。次に、アップデート制御部32は、ステップS3でカーネルプログラムを書き込む。そして、アップデート制御部32は、他のプログラムを書き込んだ後に、最後にステップSnでブートローダプログラムを書き込み、ステップSn+1でアップデート処理を終了する。このようなアップデートの順番は、SDカード40の中に記述されている。そしてアップデート制御部32がその順番を読み取り、その順番に従ってプログラムをアップデートする。また、アップデート制御部32にアップデートの順番を予め設定しておいてもよい。   The update control unit 32 writes the startup image program in step S2. This program is a program related to an image to be displayed on the touch panel 11 at startup. Next, the update control unit 32 writes the kernel program in step S3. Then, after writing another program, the update control unit 32 finally writes the boot loader program in step Sn, and ends the update process in step Sn + 1. Such an update order is described in the SD card 40. Then, the update control unit 32 reads the order and updates the program according to the order. Further, the update control unit 32 may set the update order in advance.

因みに、各ステップS2、S3、………、Snでの各プログラムの書き込み時には、随時、前のプログラムを消去しそこに新たなプログラムを書き込むようになっている。つまり、前のプログラムを一挙に全て消去するのではなく、ステップS2、S3、………、Snの都度に前のプログラムを消去するようになっている。   Incidentally, at the time of writing each program at each step S2, S3,..., Sn, the previous program is erased and a new program is written there as needed. That is, instead of erasing all the previous programs all at once, the previous program is erased at each step S2, S3,..., Sn.

図3に示す本実施の形態のアップデート処理の特徴は、電源キー21の長押しにより電源がシャットダウンされるタイミングを避けたタイミングでブートローダプログラムをアップデートすることである。これを実現するために、図3の処理手順では、ブートローダプログラムをアップデートするステップを最後にしている。   The feature of the update process of the present embodiment shown in FIG. 3 is that the boot loader program is updated at a timing that avoids the timing when the power supply is shut down by long pressing of the power key 21. In order to realize this, the step of updating the boot loader program is the last in the processing procedure of FIG.

図3と対応する処理に同一符号を付して示す図4は、本実施の形態に対する比較例を示す。図3のアップデート処理と異なる点は、ブートローダプログラムをアップデートするステップを最初に行うことである。   FIG. 4 which shows the processing corresponding to FIG. 3 with the same reference numerals shows a comparative example with respect to the present embodiment. The difference from the update process of FIG. 3 is that the step of updating the boot loader program is performed first.

本実施の形態で想定しているのは、ユーザーがアップデートを開始しようとして、特定キーと電源キー21を押下し、そのまま電源がシャットダウンされてしまうまで電源キー21を押し続けるといった操作ミスをしてしまうことである。つまり、実際には、特定キーと電源キー21を同時に押下すれば、その数秒後にアップデートが開始されるので、ユーザーはその時点でキーから指を離せばよいが、ユーザーが誤ってそのまま10秒間電源キー21を押し続けると、アップデート中に強制的に電源がシャットダウンされてしまう。   In the present embodiment, it is assumed that the user presses the specific key and the power key 21 in order to start the update, and continues to press the power key 21 until the power is shut down. It is to end. In other words, if the specific key and the power key 21 are pressed at the same time, the update will start after a few seconds, so the user may release the key at that time, but the user accidentally turns off the power for 10 seconds. If the key 21 is kept pressed, the power supply is forcibly shut down during the update.

ブートローダプログラムのアップデートは、ブートローダプログラムのサイズにもよるが一般に10〜15秒程度かかる。よって、電源キーを10秒間長押ししたときに電源をシャットダウンする設定の場合には、図4の比較例のように、最初にブートローダプログラムのアップデートを行うとブートローダプログラムのアップデート中に電源がシャットダウンする可能性が高くなる。そのため、本実施の形態では、ブートローダプログラムをアップデートする順番を他のプログラムをアップデートする順番よりも後にすることで、電源キー21の長押しにより電源がシャットダウンされるタイミングを避けたタイミングでブートローダプログラムをアップデートするようにした。   The update of the boot loader program generally takes about 10 to 15 seconds depending on the size of the boot loader program. Therefore, in the case of setting to shut down the power when the power key is pressed and held for 10 seconds, as shown in the comparative example of FIG. 4, when the boot loader program is updated first, the power is shut down during the update of the boot loader program. The possibility increases. Therefore, in this embodiment, the boot loader program is updated at a timing that avoids the timing when the power supply is shut down by long pressing of the power key 21 by setting the order of updating the boot loader program behind the order of updating other programs. Updated.

因みに、CPU内蔵の電子機器では、電源をオンした後のシステム起動過程が、比較的小さな実行コード群から構成されているブートローダを実行し、続いて、このブートローダがそのシステムのオペレーションシステムプログラムの初期コードを読み出すといった、段階的な起動動作となっているのが一般的である。ブートローダが壊れると、オペレーションシステムプログラムの初期コードを読み出すことができなくなり、その結果オペレーションシステムを起動できなくなるおそれがある。また、ブートローダには、アップデートを制御するためのプログラムが含まれているので、ブートローダが壊れると、アップデート自体もできなくなるおそれがある。   Incidentally, in an electronic device with a built-in CPU, the system start-up process after turning on the power executes a boot loader composed of a relatively small group of executable codes, and then this boot loader starts the initial operation system program of the system. Generally, it is a step-by-step activation operation such as reading a code. If the boot loader is broken, the initial code of the operation system program cannot be read, and as a result, the operation system may not be activated. Further, since the boot loader includes a program for controlling the update, there is a possibility that the update itself cannot be performed if the boot loader is broken.

よって、ブートローダのアップデート中に電源がシャットダウンすることによってブートローダが壊れると、次にオペレーションシステムを起動ができなくなるおそれがある。また、仮にオペレーションシステムが起動できたとしても、アップデートができなくなるおそれがある。本発明の発明者は、このことを考慮して、ユーザーの操作ミスにより電源がシャットダウンしたとしてもブートローダが破壊されることがないように、電源がシャットダウンする可能性がある期間はブートローダのアップデートを行わないようにした。   Therefore, if the boot loader is broken because the power supply is shut down during the boot loader update, the operation system may not be started next. Further, even if the operation system can be started, there is a possibility that the update cannot be performed. In consideration of this, the inventor of the present invention updates the boot loader during a period when the power supply may be shut down so that the boot loader is not destroyed even if the power supply is shut down due to a user's operation error. I didn't do it.

因みに、図3のような手順でアップデートを行った場合、起動時画像プログラムをアップデートしている最中に電源がシャットダウンすると、起動時画像プログラムが壊れる可能性がある。この場合、起動時画像が乱れたり表示されなくなることになる。しかし、ブートローダが壊れていなければ、電子機器を起動することができるので、起動後に起動時画像プログラムをアップデートして修復する作業を行うことができ、重大なダメージは受けない。   Incidentally, when updating is performed according to the procedure shown in FIG. 3, if the power supply is shut down while the startup image program is being updated, the startup image program may be broken. In this case, the startup image is distorted or not displayed. However, if the boot loader is not broken, the electronic device can be started, so that the startup image program can be updated and repaired after startup, and no serious damage is received.

以上説明したように、本実施の形態によれば、電源キー21の長押しにより電源がシャットダウンされるタイミングを避けたタイミングでブートローダプログラムをアップデートするようにしたことにより、電子機器を起動できなくなるといった重大なダメージを被ることを回避できるようになる。   As described above, according to the present embodiment, the boot loader program is updated at a timing that avoids the timing when the power supply is shut down due to the long press of the power key 21, so that the electronic device cannot be started. You will be able to avoid taking serious damage.

なお、上述の実施の形態では、電源キーを10秒間長押ししたときに電源をシャットダウンする設定だったので、アップデート開始から10秒の時点でブートローダプログラムをアップデートしない順番でアップデートを行うようにしたが、電源キーを5秒間長押ししたときに電源をシャットダウンする設定の場合にはそのタイミングではブートローダプログラムをアップデートせず、電源キーを20秒間長押ししたときに電源がシャットダウンする設定の場合にはそのタイミングではブートローダプログラムをアップデートしないようにすればよい。   In the above embodiment, since the power supply is set to shut down when the power key is pressed and held for 10 seconds, the boot loader program is updated in an order not to be updated at 10 seconds from the start of the update. If the setting is to shut down the power when the power key is pressed for 5 seconds, the boot loader program is not updated at that timing, and if the power is set to shut down when the power key is pressed for 20 seconds, The boot loader program should not be updated at the timing.

また、上述の実施の形態では、複数のプログラムの中で、ブートローダプログラムを1番最後の順番でアップデートする場合について述べたが、1番最後の順番に限らず、2番目以降の順番でアップデートしてもよい。電源キー21の長押しにより電源がシャットダウンされるタイミングを避けたタイミングでブートローダプログラムをアップデートするには、ブートローダプログラムをアップデートする前のプログラムのアップデートに要する時間が、シャットダウンのための電源キー21の長押し時間を超えていればよい。よって、最初のプログラムのアップデート時間がこの長押し時間を超えているのであれば、ブートローダプログラムをアップデートする順番を2番目にしてもよい。但し、プログラムのアップデート時間はプログラムサイズに依存するので、ブートローダプログラムをアップデートする順番はできるだけ後にした方がシャットダウンのタイミングを避けてブートローダプログラムをアップデートできるようになる。   In the above-described embodiment, the case where the boot loader program is updated in the last last order among the plurality of programs has been described. However, the update is not limited to the last last order, and is updated in the second or later order. May be. In order to update the boot loader program at a timing that avoids the timing when the power supply is shut down due to the long press of the power key 21, the time required to update the program before updating the boot loader program is the length of the power key 21 for shutdown. It only needs to exceed the push time. Therefore, if the update time of the first program exceeds the long press time, the boot loader program may be updated in the second order. However, since the update time of the program depends on the program size, the boot loader program can be updated while avoiding the shutdown timing if the order of updating the boot loader program is as late as possible.

また、上述の実施の形態では、複数のプログラムを1つずつ順番にアップデートする場合について述べたが、要は、ブートローダプログラムを電源キー21の長押しにより電源がシャットダウンされるタイミングを避けたタイミングでアップデートすればよく、複数のプログラムを同時にアップデートしてもよい。   In the above-described embodiment, the case where a plurality of programs are updated one by one in order has been described. In short, the boot loader program is at a timing that avoids the timing when the power supply is shut down by pressing and holding the power key 21. It may be updated, and multiple programs may be updated simultaneously.

また、上述の実施の形態では、電源キー21と電源キー21以外の特定の操作キーとが同時に押下された場合にプログラムのアップデートを開始する場合について述べたが、これに限らず、電源キー21が押下された場合にプログラムのアップデートを開始するようにしてもよい。具体的には、アップデート制御部32が、アップデート用のプログラムが記録されたSDカード40が差し込まれた状態で、電源キー21が押下されたことを検知したときにアップデートを開始するようにしてもよい。   In the above-described embodiment, the case where the update of the program is started when the power key 21 and a specific operation key other than the power key 21 are simultaneously pressed has been described. The program update may be started when is pressed. Specifically, the update control unit 32 may start the update when detecting that the power key 21 is pressed while the SD card 40 in which the update program is recorded is inserted. Good.

また、上述の実施の形態では、本発明を心電計に適用した場合について述べたが、本発明はこれに限らず、プログラムのアップデートを行うことができる電子機器に広く適用可能である。   In the above-described embodiment, the case where the present invention is applied to an electrocardiograph has been described. However, the present invention is not limited to this, and can be widely applied to electronic devices that can update programs.

上述の実施の形態は、本発明を実施するにあたっての具体化の一例を示したものに過ぎず、これらによって本発明の技術的範囲が限定的に解釈されてはならないものである。すなわち、本発明はその要旨、またはその主要な特徴から逸脱することなく、様々な形で実施することができる。   The above-described embodiments are merely examples of implementation in carrying out the present invention, and the technical scope of the present invention should not be construed as being limited thereto. That is, the present invention can be implemented in various forms without departing from the gist or the main features thereof.

本発明は、プログラムのアップデートを行うことができる電子機器に適用可能である。   The present invention is applicable to an electronic device that can update a program.

10 心電計
11 タッチパネル
12 レコーダー
20 操作部
21 電源キー
22 操作キー群
30 CPU
31 ソフトウェア保持部
32 アップデート制御部
33 インターフェース(I/F)
34 電源供給部
DESCRIPTION OF SYMBOLS 10 Electrocardiograph 11 Touch panel 12 Recorder 20 Operation part 21 Power key 22 Operation key group 30 CPU
31 Software Holding Unit 32 Update Control Unit 33 Interface (I / F)
34 Power supply unit

Claims (2)

ユーザーの操作に応じてプログラムのアップデートを行う電子機器であって、
電源キーと、
ユーザーによる前記電源キーの操作に応じて複数のプログラムを順次アップデートする機能と、ユーザーによる前記電源キーの操作に応じて電源をシャットダウンする機能と、を有する制御部と、
を備えた電子機器であって、
前記制御部は、
アップデートする外部のプログラムにアクセス可能な状態でありかつ電源がシャットダウンされている状態において、前記電源キーが押下された場合に、前記プログラムアップデートを開始する機能と
前記状態において前記電源をオンするために前記電源キーが押下された後、前記電源キーがそのまま所定期間押下し続けられた場合に、前記電源をシャットダウンする機能と、
ブートローダプログラムのアップデートを、前記所定期間よりも後の期間に行う機能と、
を有し、前記ブートローダプログラムのアップデート中の前記電源のシャットダウンを回避する、
電子機器。
An electronic device that updates programs according to user operations,
A power key,
A control unit having a function of sequentially updating a plurality of programs according to an operation of the power key by a user, and a function of shutting down a power according to an operation of the power key by a user;
An electronic device comprising:
The controller is
In a state in which it and the power supply is accessible state to the outside of the program is shut down to update, if the power key is pressed, the function of starting the update of the program,
A function of shutting down the power when the power key is continuously pressed for a predetermined period after the power key is pressed to turn on the power in the state;
A function of updating the boot loader program in a period later than the predetermined period;
And avoiding shutdown of the power supply during the update of the boot loader program,
Electronics.
記制御部は、前記電源キーの操作と同時に、前記電源キー以外の特定の操作キーが押下された場合に、前記プログラムをアップデートする、
請求項1に記載の電子機器。
Before SL control section simultaneously with the operation of the power key, when a specific operation key other than the power key is pressed, to update the program,
The electronic device according to claim 1 .
JP2013253367A 2013-12-06 2013-12-06 Electronics Active JP6313962B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013253367A JP6313962B2 (en) 2013-12-06 2013-12-06 Electronics

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013253367A JP6313962B2 (en) 2013-12-06 2013-12-06 Electronics

Publications (2)

Publication Number Publication Date
JP2015111355A JP2015111355A (en) 2015-06-18
JP6313962B2 true JP6313962B2 (en) 2018-04-18

Family

ID=53526129

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013253367A Active JP6313962B2 (en) 2013-12-06 2013-12-06 Electronics

Country Status (1)

Country Link
JP (1) JP6313962B2 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004013536A (en) * 2002-06-06 2004-01-15 Seiko Epson Corp Flash memory rewrite control system and method, program for operating processe in flash memory rewrite control method, and information storage medium
JP2007047993A (en) * 2005-08-09 2007-02-22 Rohm Co Ltd Control circuit, electronic equipment using it and update method for firmware
JP2009064206A (en) * 2007-09-06 2009-03-26 Yokogawa Electric Corp Electronic equipment
JP5486946B2 (en) * 2010-02-03 2014-05-07 ソフトバンクBb株式会社 Communication device and firmware upgrade method for communication device

Also Published As

Publication number Publication date
JP2015111355A (en) 2015-06-18

Similar Documents

Publication Publication Date Title
TWI515660B (en) Firmware variable update method
US8161277B2 (en) Method of safe and recoverable firmware update and device using the same
JP5358153B2 (en) GAME DEVICE AND INFORMATION PROCESSING DEVICE
US20090217257A1 (en) Apparatus and Method for Firmware Update
JP2009187134A (en) Information processor, start control method for information processor, program and recording medium
JP5895385B2 (en) Image output apparatus and program thereof
TW201716999A (en) Method for startup inspection and computer system using the same
US20140258699A1 (en) Boot fault tolerant device and method thereof
CN108475046B (en) Control device and editing device
JP2009271737A (en) Information processor
US20170264768A1 (en) Information processing apparatus and restart executing method
JP6313962B2 (en) Electronics
JP2012174061A (en) Information processing device, information processing method, scanner device, and control method of scanner device
JP6073710B2 (en) Information processing apparatus, automatic recovery method from startup failure, and automatic recovery program from startup failure
JP6192089B2 (en) Information processing apparatus, control method and control program for information processing apparatus
JP6403919B1 (en) Drawing software, storage medium and drawing device
JP2006260407A (en) Information processing device
JP2007172200A (en) Software updating system
JP2008162054A (en) Printer
JP2023068538A (en) Information processing apparatus, method for controlling the same, and program
JP2010117944A (en) Software update system, software update method, mobile phone terminal, and program
JP2005165535A (en) Software version upgrading method, adapter device, program for realizing software version upgrading method, and recording medium storing the program
JP4981115B2 (en) Information processing device
JP2012194675A (en) Information apparatus and emergency access method for information apparatus
JP2003122575A (en) Information processing unit

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20161115

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170727

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170801

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20171002

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180326

R150 Certificate of patent or registration of utility model

Ref document number: 6313962

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250