[go: up one dir, main page]

JP2012133558A - Starting device - Google Patents

Starting device Download PDF

Info

Publication number
JP2012133558A
JP2012133558A JP2010284709A JP2010284709A JP2012133558A JP 2012133558 A JP2012133558 A JP 2012133558A JP 2010284709 A JP2010284709 A JP 2010284709A JP 2010284709 A JP2010284709 A JP 2010284709A JP 2012133558 A JP2012133558 A JP 2012133558A
Authority
JP
Japan
Prior art keywords
program
cpu
determination
volatile memory
nonvolatile memory
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
Application number
JP2010284709A
Other languages
Japanese (ja)
Inventor
Kenjiro Iohara
賢二郎 庵原
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.)
Nikon Corp
Original Assignee
Nikon Corp
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 Nikon Corp filed Critical Nikon Corp
Priority to JP2010284709A priority Critical patent/JP2012133558A/en
Publication of JP2012133558A publication Critical patent/JP2012133558A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

【課題】複数のスナップショットを保持することなく、電源投入時の実行モードを素早く切換えるように起動すること。
【解決手段】起動装置1は、プログラムの実行時に使用される揮発性メモリ14と、複数のモードのうち実行すべきモードを判別するための判別プログラムを実行する直前に揮発性メモリ14が保持する第1情報の複製を保持する第1不揮発性メモリ17と、電源投入に応じて、第1不揮発性メモリ17に保持される複製に基づいて揮発性メモリ14に第1情報を再現する第1再現手段16と、を備える。
【選択図】図1
An object of the present invention is to start up so as to quickly switch an execution mode at power-on without holding a plurality of snapshots.
An activation device 1 holds a volatile memory 14 used when executing a program and a volatile memory 14 immediately before executing a determination program for determining a mode to be executed among a plurality of modes. A first non-volatile memory 17 that holds a copy of the first information, and a first reproduction that reproduces the first information in the volatile memory 14 based on the copy held in the first non-volatile memory 17 when the power is turned on Means 16.
[Selection] Figure 1

Description

本発明は、起動装置に関する。   The present invention relates to an activation device.

オペレーションシステム(以降OSと呼ぶ)の高機能化に伴い、該OSの起動に要する時間が長くなっている。そこで、起動時間を短くするために、OSの起動後に復帰すべきプログラム位置を設定し、起動時にそのプログラム位置へ速やかに復帰させる技術が知られている(特許文献1参照)。   As the operation system (hereinafter referred to as OS) becomes more sophisticated, the time required to start up the OS has become longer. Therefore, in order to shorten the startup time, a technique is known in which a program position to be returned after the OS is started is set and the program position is quickly returned at the time of startup (see Patent Document 1).

特開2007−249418号公報JP 2007-249418 A

従来技術では、複数の動作モードに対応させて、プログラムの複数の実行状態(レジスタの内容およびOSにより管理されるメモリの内容などのメモリが保持する情報であって、スナップショットと呼ばれる)をそれぞれ不揮発性メモリに保持させていたので、多くの不揮発性メモリ領域を費やすという問題があった。   In the prior art, a plurality of program execution states (information stored in a memory such as register contents and memory contents managed by the OS, called a snapshot) corresponding to a plurality of operation modes, respectively. Since it was held in a non-volatile memory, there was a problem of consuming a large amount of non-volatile memory area.

本発明による起動装置は、プログラムの実行時に使用される揮発性メモリと、複数のモードのうち実行すべきモードを判別するための判別プログラムを実行する直前に揮発性メモリが保持する第1情報の複製を保持する第1不揮発性メモリと、電源投入に応じて、第1不揮発性メモリに保持される複製に基づいて揮発性メモリに第1情報を再現する第1再現手段と、を備えることを特徴とする。   The activation device according to the present invention includes a volatile memory used at the time of execution of a program, and first information held in the volatile memory immediately before executing a determination program for determining a mode to be executed among a plurality of modes. A first non-volatile memory that holds a copy; and a first reproduction unit that reproduces the first information in the volatile memory based on the copy held in the first non-volatile memory when the power is turned on. Features.

本発明による起動装置では、複数のスナップショットを保持することなく、電源投入時の実行モードを素早く切換えるように起動できる。   The activation device according to the present invention can be activated so as to quickly switch the execution mode when the power is turned on without holding a plurality of snapshots.

本発明の一実施の形態による電子カメラの構成例を説明するブロック図である。It is a block diagram explaining the structural example of the electronic camera by one embodiment of this invention. 不揮発性メモリ記憶する内容を説明する図である。It is a figure explaining the content memorize | stored in a non-volatile memory. 電源オン時にCPUが起動する処理の流れを説明するフローチャートである。It is a flowchart explaining the flow of the process which CPU starts when a power supply is turned on.

以下、図面を参照して本発明を実施するための形態について説明する。図1は、本発明の一実施の形態による電子カメラ1の構成例を説明するブロック図である。図1において、電子カメラ1は、撮影光学系11と、撮像素子12と、画像処理部13と、SDRAM14と、LCDモニタ15と、CPU16と、不揮発性メモリ17と、カードインターフェース(I/F)18と、通信インターフェース(I/F)19と、操作部材20とを備える。   Hereinafter, embodiments for carrying out the present invention will be described with reference to the drawings. FIG. 1 is a block diagram illustrating a configuration example of an electronic camera 1 according to an embodiment of the present invention. In FIG. 1, an electronic camera 1 includes a photographing optical system 11, an image sensor 12, an image processing unit 13, an SDRAM 14, an LCD monitor 15, a CPU 16, a nonvolatile memory 17, and a card interface (I / F). 18, a communication interface (I / F) 19, and an operation member 20.

CPU16、不揮発性メモリ17、カードインターフェース18、通信インターフェース19、画像処理部13、SDRAM14およびLCDモニタ15は、それぞれがバス25を介して接続されている。   The CPU 16, the nonvolatile memory 17, the card interface 18, the communication interface 19, the image processing unit 13, the SDRAM 14, and the LCD monitor 15 are connected via a bus 25.

撮影光学系11は、ズームレンズやフォーカシングレンズを含む複数のレンズ群で構成され、被写体像を撮像素子12の受光面に結像させる。なお、図1を簡単にするため、撮影光学系11を単レンズとして図示している。   The photographing optical system 11 includes a plurality of lens groups including a zoom lens and a focusing lens, and forms a subject image on the light receiving surface of the image sensor 12. In order to simplify FIG. 1, the photographing optical system 11 is shown as a single lens.

撮像素子12は、受光素子が受光面に二次元配列されたCMOSイメージセンサなどによって構成される。撮像素子12は、撮影光学系11を通過した光束による像を光電変換し、デジタル画像信号を生成する。デジタル画像信号は、画像処理部13に入力される。画像処理部13は、デジタル画像データに対して各種の画像処理(色補間処理、階調変換処理、輪郭強調処理、ホワイトバランス調整処理など)を施す。   The imaging element 12 is configured by a CMOS image sensor or the like in which light receiving elements are two-dimensionally arranged on the light receiving surface. The image sensor 12 photoelectrically converts an image of the light beam that has passed through the photographing optical system 11 to generate a digital image signal. The digital image signal is input to the image processing unit 13. The image processing unit 13 performs various types of image processing (color interpolation processing, gradation conversion processing, contour enhancement processing, white balance adjustment processing, etc.) on the digital image data.

LCDモニタ15は液晶パネルなどによって構成される。LCDモニタ15は、CPU16からの指示に応じて画像や操作アイコン、メニュー画面などを表示する。SDRAM14は、電源オフ時に記憶内容を保持しない揮発性メモリである。SDRAM14は、画像処理部13による画像処理の前工程や後工程でのデジタル画像データを一時的に記憶する他、CPU16によるプログラム実行時に用いられる。不揮発性メモリ17は、フラッシュメモリなどによって構成される。電源オフ時に記憶内容を保持するので、CPU16が実行するプログラムや、後述するスナップショットと呼ばれる複製データを記憶する。   The LCD monitor 15 is composed of a liquid crystal panel or the like. The LCD monitor 15 displays an image, an operation icon, a menu screen, and the like according to an instruction from the CPU 16. The SDRAM 14 is a volatile memory that does not retain stored contents when the power is turned off. The SDRAM 14 temporarily stores digital image data in a pre-process and post-process of image processing by the image processing unit 13 and is used when a program is executed by the CPU 16. The nonvolatile memory 17 is configured by a flash memory or the like. Since the stored contents are retained when the power is turned off, a program executed by the CPU 16 and duplicated data called a snapshot to be described later are stored.

CPU16は、不揮発性メモリ17が記憶するプログラムを実行することにより、電子カメラ1が行う動作を制御する。CPU16は、AF(オートフォーカス)動作制御や、自動露出(AE)演算も行う。AF動作は、たとえば、スルー画像のコントラスト情報に基づいてフォーカシングレンズ(不図示)の合焦位置を求める。スルー画像は、レリーズ操作前に撮像素子12によって所定の時間間隔(たとえば60コマ/毎秒)で繰り返し取得されるモニタ用画像のことをいう。   The CPU 16 controls the operation performed by the electronic camera 1 by executing a program stored in the nonvolatile memory 17. The CPU 16 also performs AF (autofocus) operation control and automatic exposure (AE) calculation. In the AF operation, for example, an in-focus position of a focusing lens (not shown) is obtained based on the contrast information of the through image. The through image refers to a monitor image that is repeatedly acquired by the image sensor 12 at a predetermined time interval (for example, 60 frames / second) before the release operation.

カードインターフェース18はコネクタ(不図示)を有し、該コネクタにメモリカードなどの記憶媒体30が接続される。カードインターフェース18は、接続された記憶媒体30に対するデータの書き込みや、記憶媒体30からのデータの読み込みを行う。記憶媒体30は、半導体メモリを内蔵したメモリカード、またはハードディスクドライブなどで構成される。   The card interface 18 has a connector (not shown), and a storage medium 30 such as a memory card is connected to the connector. The card interface 18 writes data to the connected storage medium 30 and reads data from the storage medium 30. The storage medium 30 is configured by a memory card incorporating a semiconductor memory, a hard disk drive, or the like.

通信インターフェース19は、たとえば、不図示のコネクタに接続された外部機器との間でTCP/IPプロトコルを用いた通信を行う。この通信により、外部機器からのコマンドやデータを受信したり、記憶媒体30が記憶している画像データや音声データなどを外部機器へ送信したりする。操作部材20は、レリーズボタンやメニュースイッチなどを含む。操作部材20は、撮影操作、モード切替え操作やアイコン選択操作など、各操作に応じた操作信号をCPU16へ送出する。   For example, the communication interface 19 performs communication using an TCP / IP protocol with an external device connected to a connector (not shown). Through this communication, commands and data from an external device are received, and image data, audio data, and the like stored in the storage medium 30 are transmitted to the external device. The operation member 20 includes a release button, a menu switch, and the like. The operation member 20 sends an operation signal corresponding to each operation such as a photographing operation, a mode switching operation, and an icon selection operation to the CPU 16.

本実施形態の電子カメラ1は、電源オン操作された場合にCPU16が行う起動処理に特徴を有するので、起動時の処理を中心に以降の説明を行う。図2は、不揮発性メモリ17が記憶する内容を説明する図である。図2において、高速起動プログラムの領域には、CPU16が高速起動するための起動プログラムを記憶する。   Since the electronic camera 1 according to the present embodiment is characterized by the activation process performed by the CPU 16 when the power is turned on, the following description will be focused on the activation process. FIG. 2 is a diagram for explaining the contents stored in the nonvolatile memory 17. In FIG. 2, in the area of the fast start program, a start program for the CPU 16 to start at high speed is stored.

ブートローダーの領域には、CPU16が起動時に実行する内容を記述するプログラムを記憶する。CPU16は、このブートローダー領域に記述されるプログラムに基づいて、通常の電源オン時に高速起動プログラムを実行する(後述するステップS140)。また、CPU16は、電子カメラ1の製造時や後述するスナップショットの異常を判定した時には、ブートローダー領域に記述されるプログラムに基づいて、高速起動プログラムの代わりにOS転送プログラムを実行する(後述するステップS30)。OS転送プログラムは、OSの内容(カーネル)をSDRAM14の所定領域に展開するためのプログラムである。   In the boot loader area, a program that describes the contents that the CPU 16 executes at startup is stored. Based on the program described in the boot loader area, the CPU 16 executes the fast startup program when the power is turned on normally (step S140 described later). Further, the CPU 16 executes an OS transfer program instead of the fast startup program based on a program described in the boot loader area when the electronic camera 1 is manufactured or when an abnormality of a snapshot described later is determined (described later). Step S30). The OS transfer program is a program for expanding the contents (kernel) of the OS to a predetermined area of the SDRAM 14.

OSの領域には、CPU16が実行するオペレーションシステムプログラムを記憶する。アプリケーションプログラムの領域には、CPU16が実行するアプリケーションプログラムを記憶する。本実施形態のアプリケーションプログラムは、モード判定プログラムと、各モード処理プログラムとを含む。モード判定プログラムは、操作部材20からのモード切替え操作信号に基づいて動作モードを判定するためのプログラムである。モード処理プログラムは、判定された動作モードの処理を行うためのプログラムである。モード処理プログラムには、たとえば、撮影処理プログラムと、再生処理プログラムと、メニュー処理プログラムと、通信処理プログラムとが含まれる。   An operating system program executed by the CPU 16 is stored in the OS area. An application program executed by the CPU 16 is stored in the application program area. The application program of this embodiment includes a mode determination program and each mode processing program. The mode determination program is a program for determining an operation mode based on a mode switching operation signal from the operation member 20. The mode processing program is a program for performing processing of the determined operation mode. The mode processing program includes, for example, a shooting processing program, a reproduction processing program, a menu processing program, and a communication processing program.

撮影処理プログラムは、「撮影処理」モードにおいて撮影を行うためのプログラムである。再生処理プログラムは、「再生処理」モードにおいてLCDモニタ15に再生画像を表示するためのプログラムである。メニュー処理プログラムは、「メニュー処理」モードにおいてLCDモニタ15に操作メニューを表示し、表示しているメニュー項目に対応する操作部材20からの操作信号を受け付けるためのプログラムである。通信処理プログラムは、「通信処理」モードにおいて外部機器との間で通信するためのプログラムである。   The shooting process program is a program for shooting in the “shooting process” mode. The reproduction processing program is a program for displaying a reproduction image on the LCD monitor 15 in the “reproduction processing” mode. The menu processing program is a program for displaying an operation menu on the LCD monitor 15 in the “menu processing” mode and receiving an operation signal from the operation member 20 corresponding to the displayed menu item. The communication processing program is a program for communicating with an external device in the “communication processing” mode.

データ領域には、上述した各プログラムの実行に必要な情報を記憶する。スナップショットの領域には、プログラム実行時にSDRAM14の所定領域に設定されるレジスタの内容、およびOSにより管理されるSDRAM14の内容の「複製」を記憶する。不揮発性メモリ17に対する上記「複製」の記録は、電子カメラ1の製造時やスナップショットの異常を判定した際にCPU16が行う。CPU16は、上述した高速起動プログラムを実行する際に、スナップショットの領域に記憶されている「複製」を用いてレジスタの設定情報やOSにより管理する情報をSDRAM14上に再現する。   The data area stores information necessary for executing each program described above. In the snapshot area, the contents of a register set in a predetermined area of the SDRAM 14 at the time of program execution and the “replication” of the contents of the SDRAM 14 managed by the OS are stored. The recording of the “replication” in the non-volatile memory 17 is performed by the CPU 16 when the electronic camera 1 is manufactured or when it is determined that the snapshot is abnormal. When executing the above-described fast startup program, the CPU 16 reproduces the register setting information and information managed by the OS on the SDRAM 14 by using “replication” stored in the snapshot area.

図3は、電源オン時(操作部材20からオン操作信号が入力される)にCPU16が起動する処理の流れを説明するフローチャートである。図3のステップS10において、CPU16はブートローダー処理を行う。具体的には、CPU16がブートローダープログラムを起動してステップS20へ進む。ステップS20において、CPU16は、スナップショットが正常か否かを判定する。一般に、不揮発性メモリ17が正常に記憶内容を保持する場合には、当該不揮発性メモリ17の記憶内容は変化しない。そこでCPU16は、上記「複製」を不揮発性メモリ17に記録する際にチェックサムを設けておくことにより、当該チェックサムを用いて異常の有無を判定する。   FIG. 3 is a flowchart for explaining the flow of processing that the CPU 16 starts when the power is turned on (an ON operation signal is input from the operation member 20). In step S10 of FIG. 3, the CPU 16 performs a boot loader process. Specifically, the CPU 16 activates the boot loader program and proceeds to step S20. In step S20, the CPU 16 determines whether the snapshot is normal. In general, when the nonvolatile memory 17 normally holds stored contents, the stored contents of the nonvolatile memory 17 do not change. Therefore, the CPU 16 determines whether or not there is an abnormality using the checksum by providing a checksum when the “replica” is recorded in the nonvolatile memory 17.

CPU16は、不揮発性メモリ17のスナップショット領域から読出した「複製」のデータ列を構成する数値の和が、不揮発性メモリ17の当該スナップショット領域に「複製」を記録した際のデータ列を構成する数値の和と一致しない場合に、ステップS20を否定判定(異常判定)してステップS30へ進む。ここで、製造後最初の起動時のように、不揮発性メモリ17のスナップショット領域に「複製」が記録される前である場合にも、データ列を構成する数値の和が一致しないのでステップS20を否定判定する。一方、CPU16は、上記和が一致する場合にステップS20を肯定判定(正常判定)してステップS140へ進む。   The CPU 16 forms a data string when the sum of numerical values constituting the “duplicate” data string read from the snapshot area of the nonvolatile memory 17 records “duplicate” in the snapshot area of the nonvolatile memory 17. If the sum does not coincide with the sum of the numerical values, a negative determination (abnormality determination) is made in step S20 and the process proceeds to step S30. Here, even when “Duplicate” is not recorded in the snapshot area of the non-volatile memory 17 as in the first start-up after manufacturing, the sum of the numerical values constituting the data string does not match, so step S20 Negative decision. On the other hand, if the above sums match, the CPU 16 makes an affirmative determination (normal determination) in step S20 and proceeds to step S140.

ステップS20を肯定判定したCPU16は、正常判定時の起動処理として高速起動プログラムを実行する。ステップS140において、CPU16は、不揮発性メモリ17のスナップショットの領域に記憶される上記「複製」を利用して高速起動プログラムを起動し、ステップS80へ進む。高速起動プログラムを起動すると、後述するステップS30〜ステップS70までの処理をしなくても、ステップS30〜ステップS70の処理を実行した場合と同様のレジスタやOSによる管理情報がSDRAM14上に再現される。   The CPU 16 that has affirmed the determination in step S20 executes the fast startup program as the startup process at the time of normal determination. In step S140, the CPU 16 activates the fast activation program using the “replication” stored in the snapshot area of the nonvolatile memory 17, and proceeds to step S80. When the high-speed startup program is started, the same register and OS management information as when the processing of step S30 to step S70 is executed is reproduced on the SDRAM 14 without performing the processing of steps S30 to S70 described later. .

ステップS20を否定判定したCPU16は、異常判定時の起動処理としてステップS30〜ステップS70までの処理を行う、ステップS30において、CPU16は、OS転送プログラムを実行してステップS40へ進む。ステップS40において、CPU16は、OSプログラムの起動を開始させてステップS50へ進む。ステップS50において、CPU16はドライバの初期化を行ってステップS60へ進む。初期化は、ドライバにおけるパラメータなどの設定内容をあらかじめ定められた初期状態にすることをいう。   The CPU 16 that makes a negative determination in step S20 performs the processing from step S30 to step S70 as the startup processing at the time of abnormality determination. In step S30, the CPU 16 executes the OS transfer program and proceeds to step S40. In step S40, the CPU 16 starts activation of the OS program and proceeds to step S50. In step S50, the CPU 16 initializes the driver and proceeds to step S60. Initialization refers to setting contents such as parameters in a driver to a predetermined initial state.

ステップS60において、CPU16は、モード判定プログラムを起動してステップS70へ進む。ステップS70において、CPU16は、不揮発性メモリ17のスナップショットの領域にスナップショットを作成する。具体的には、上述したステップS30〜ステップS60の処理を行うことにより、CPU16はSDRAM14にレジスタ情報を記録するとともに、OSプログラムによってSDRAM14を使用する。CPU16は、モード判定プログラムを実行してモード判定する直前においてSDRAM14が記憶する内容の「複製」を不揮発性メモリ17におけるスナップショットの領域に更新記録して、ステップS80へ進む。   In step S60, the CPU 16 starts a mode determination program and proceeds to step S70. In step S <b> 70, the CPU 16 creates a snapshot in the snapshot area of the nonvolatile memory 17. Specifically, the CPU 16 records the register information in the SDRAM 14 and uses the SDRAM 14 by the OS program by performing the above-described processing of Step S30 to Step S60. The CPU 16 updates and records “duplicate” of the content stored in the SDRAM 14 in the snapshot area in the nonvolatile memory 17 immediately before executing the mode determination program and determining the mode, and proceeds to step S80.

ステップS80において、CPU16はモード判定を行う。CPU16は、「撮影処理」を判定した場合にステップS90へ進む。CPU16は、「再生処理」を判定した場合にステップS100へ進む。CPU16は、「メニュー処理」を判定した場合にステップS110へ進む。CPU16は、「通信処理」を判定した場合にステップS120へ進む。   In step S80, the CPU 16 performs mode determination. If the CPU 16 determines “shooting process”, it proceeds to step S90. If the CPU 16 determines “reproduction processing”, it proceeds to step S100. If the CPU 16 determines “menu processing”, the process proceeds to step S110. If the CPU 16 determines “communication processing”, the process proceeds to step S120.

ステップS90において、CPU16は、 撮影処理プログラムを起動してステップS130へ進む。ステップS100において、CPU16は、再生処理プログラムを起動してステップS130へ進む。ステップS110において、CPU16は、メニュー処理プログラムを起動してステップS130へ進む。ステップS120において、CPU16は、通信処理プログラムを起動してステップS130へ進む。   In step S90, the CPU 16 activates the photographing processing program and proceeds to step S130. In step S100, the CPU 16 activates the reproduction processing program and proceeds to step S130. In step S110, the CPU 16 activates the menu processing program and proceeds to step S130. In step S120, the CPU 16 activates the communication processing program and proceeds to step S130.

ステップS130において、CPU16は、電源オフか否かを判定する。CPU16は、操作部材20からオフ操作信号が入力されるとステップS130を肯定判定し、所定の電源オフ処理を行って図3による処理を終了する。CPU16は、操作部材20からオフ操作信号が入力されない場合にはステップS130を否定判定し、ステップS80へ戻る。ステップS80へ戻る場合は、上述した処理を繰り返す。   In step S130, the CPU 16 determines whether or not the power is off. When an off operation signal is input from the operation member 20, the CPU 16 makes a positive determination in step S130, performs a predetermined power-off process, and ends the process of FIG. When the off operation signal is not input from the operation member 20, the CPU 16 makes a negative determination in step S130 and returns to step S80. When returning to step S80, the above-described processing is repeated.

以上説明した実施形態によれば、次の作用効果が得られる。
(1)電子カメラ1は、プログラムの実行時に使用されるSDRAM14と、複数のモードのうち実行すべきモードを判別するための判別プログラムを実行する直前にSDRAM14が保持する内容の複製(スナップショット)を保持する不揮発性メモリ17と、電源投入に応じて、不揮発性メモリ17に保持される複製に基づいてSDRAM14に上記内容を再現するCPU16とを備えるようにしたので、複数のスナップショットを保持することなしに、電源投入時の実行モードを素早く切換えるように起動できる。
According to the embodiment described above, the following operational effects can be obtained.
(1) The electronic camera 1 reproduces the contents held by the SDRAM 14 immediately before executing the SDRAM 14 used when executing the program and the determination program for determining the mode to be executed among the plurality of modes. And a CPU 16 that reproduces the above contents in the SDRAM 14 based on a copy held in the nonvolatile memory 17 when the power is turned on, so that a plurality of snapshots are held. It is possible to start up quickly so that the execution mode at power-on can be quickly switched.

(2)上記(1)の電子カメラ1において、電源投入の直後に不揮発性メモリ17に保持される複製が正常か否かを判定するCPU16をさらに備え、CPU16は、上記正常判定した場合にSDRAM14に上記内容を再現する。これにより、複製が正常でない場合には、SDRAM14に誤った再現をすることを防止できる。 (2) In the electronic camera 1 of (1), the electronic camera 1 further includes a CPU 16 that determines whether or not the duplication held in the nonvolatile memory 17 is normal immediately after the power is turned on. Reproduce the above content. As a result, when the duplication is not normal, it is possible to prevent the SDRAM 14 from being erroneously reproduced.

(3)上記(2)の電子カメラ1において、オペレーションシステムプログラムを保持する不揮発性メモリ17と、CPU16によって否定判定された場合に不揮発性メモリ17に保持されるオペレーションシステムプログラムに基づいて判別プログラムを実行する直前のSDRAM14が保持する内容をSDRAM14に再現するCPU16と、をさらに備えるようにした。これにより、複製が正常でない場合には、上記スナップショットを作り直すことができる。すなわち、オペレーションシステムプログラムを実行して、上記判別プログラムを実行する直前のSDRAM14が保持する内容を取得する。 (3) In the electronic camera 1 of the above (2), a non-volatile memory 17 that holds an operation system program and a determination program based on the operation system program held in the non-volatile memory 17 when a negative determination is made by the CPU 16 A CPU 16 that reproduces the contents held in the SDRAM 14 immediately before execution in the SDRAM 14 is further provided. Thereby, when the replication is not normal, the snapshot can be recreated. That is, the operation system program is executed to acquire the contents held in the SDRAM 14 immediately before the determination program is executed.

(4)上記(3)の電子カメラ1において、不揮発性メモリ17が保持する複製を再現された内容によって更新するCPU16をさらに備えるようにしたので、上記正常でない複製を作り直した内容によって更新することができる。 (4) Since the electronic camera 1 of (3) is further provided with the CPU 16 for updating the copy held in the non-volatile memory 17 with the reproduced content, the update is performed with the content of the abnormal copy recreated. Can do.

(変形例1)
電子カメラ1の製造時において、最初に不揮発性メモリ17のスナップショットの領域へ「複製」を記録する場合、不揮発性メモリ17に対する他のプログラム(たとえば、高速起動プログラムやアプリケーションプログラムなど)を記録する際に一緒に「複製」を記録(インストール)するようにしてもよい。
(Modification 1)
At the time of manufacturing the electronic camera 1, when “duplicate” is first recorded in the snapshot area of the non-volatile memory 17, another program (for example, a fast startup program or an application program) for the non-volatile memory 17 is recorded. At this time, “duplicate” may be recorded (installed) together.

(変形例2)
上記実施形態のステップS60(図3)において起動するモード判定プログラムは、たとえば、操作部材20を構成するモード設定ダイヤルからの操作位置を示す信号に基づいて「撮影処理」、「再生処理」、「メニュー処理」、および「通信処理」を判定するものでもよい。
(Modification 2)
The mode determination program activated in step S60 (FIG. 3) of the above-described embodiment is, for example, “shooting process”, “reproduction process”, “ A menu process "and a" communication process "may be determined.

(変形例3)
また、ステップS60(図3)において起動するモード判定プログラムは、LCDモニタ15に表示させたアイコンと、LCDモニタ15の表示面に積層したタッチ操作部材からのタッチ位置検出信号とに基づいて「撮影処理」、「再生処理」、「メニュー処理」、および「通信処理」を判定してもよい。CPU16は、たとえば、カメラを象ったアイコン、右向き三角形を象ったアイコン、工具を象ったアイコン、およびアンテナを象ったアイコンをそれぞれLCDモニタ15に表示させておく。CPU16は、操作部材20を構成するタッチ操作部材からの検出信号が示すタッチ位置に表示しているアイコンに対応する動作モードを判定する。
(Modification 3)
The mode determination program activated in step S60 (FIG. 3) is based on the icon displayed on the LCD monitor 15 and the touch position detection signal from the touch operation member stacked on the display surface of the LCD monitor 15. “Processing”, “Reproduction processing”, “Menu processing”, and “Communication processing” may be determined. For example, the CPU 16 displays on the LCD monitor 15 an icon representing a camera, an icon representing a right-pointing triangle, an icon representing a tool, and an icon representing an antenna. The CPU 16 determines an operation mode corresponding to the icon displayed at the touch position indicated by the detection signal from the touch operation member constituting the operation member 20.

(変形例4)
上記実施形態のステップS70(図3)において、スナップショットの領域へ「複製」を更新記録する際に、LCDモニタ15にメッセージを表示させることによって スナップショットの異常を判定した旨をユーザーへ知らせるようにしてもよい。CPU16は、たとえば、「異常を検出したので修復します。」をLCDモニタ15に表示させる。
(Modification 4)
In step S70 (FIG. 3) of the above embodiment, when "duplicate" is updated and recorded in the snapshot area, a message is displayed on the LCD monitor 15 to inform the user that the snapshot abnormality has been determined. It may be. For example, the CPU 16 causes the LCD monitor 15 to display “Since an abnormality has been detected, it will be repaired.”

(変形例5)
上記実施形態のステップS70(図3)において、スナップショットの領域へ「複製」を更新記録することなく、LCDモニタ15にメッセージを表示させることによって スナップショットの異常を判定した旨をユーザーへ知らせるようにしてもよい。CPU16は、たとえば、「異常を検出しました。修復を行いますか?」をLCDモニタ15に表示させる。CPU16は、ユーザー操作(たとえば、スナップショットスイッチの操作)によって修復を指示する操作信号が操作部材20から入力された場合に、スナップショットの領域へ「複製」を更新記録する。
(Modification 5)
In step S70 (FIG. 3) of the above embodiment, a message is displayed on the LCD monitor 15 without updating “duplicate” in the snapshot area so that the user is informed that the snapshot abnormality has been determined. It may be. For example, the CPU 16 causes the LCD monitor 15 to display “Abnormality has been detected. Would you like to repair it?”. When an operation signal for instructing restoration is input from the operation member 20 by a user operation (for example, operation of a snapshot switch), the CPU 16 updates and records “duplicate” in the snapshot area.

(変形例6)
上記実施形態のステップS70(図3)において、スナップショットの領域へ「複製」を更新記録することなく、LCDモニタ15にメッセージを表示させることによって 警告表示のみを行うようにしてもよい。CPU16は、たとえば、「異常を検出しました。サービスセンターまでお持ち下さい。」をLCDモニタ15に表示させる。
(Modification 6)
In step S70 (FIG. 3) of the above embodiment, only a warning display may be performed by displaying a message on the LCD monitor 15 without updating and recording “duplicate” in the snapshot area. The CPU 16 causes the LCD monitor 15 to display, for example, “Abnormality has been detected. Please bring it to the service center”.

(変形例7)
電子カメラ1を例に説明したが、OSを搭載する電子機器であれば、カメラ以外の他の機器にも本発明を適用することができる。
(Modification 7)
Although the electronic camera 1 has been described as an example, the present invention can be applied to devices other than the camera as long as the electronic device is equipped with an OS.

以上の説明はあくまで一例であり、上記の実施形態の構成に何ら限定されるものではない。   The above description is merely an example, and is not limited to the configuration of the above embodiment.

1…電子カメラ
12…撮像素子
14…SDRAM
15…LCDモニタ
16…CPU
17…不揮発性メモリ
19…通信インターフェース
DESCRIPTION OF SYMBOLS 1 ... Electronic camera 12 ... Image pick-up element 14 ... SDRAM
15 ... LCD monitor 16 ... CPU
17 ... Nonvolatile memory 19 ... Communication interface

Claims (6)

プログラムの実行時に使用される揮発性メモリと、
複数のモードのうち実行すべきモードを判別するための判別プログラムを実行する直前に前記揮発性メモリが保持する第1情報の複製を保持する第1不揮発性メモリと、
電源投入に応じて、前記第1不揮発性メモリに保持される前記複製に基づいて前記揮発性メモリに前記第1情報を再現する第1再現手段と、
を備えることを特徴とする起動装置。
Volatile memory used during program execution, and
A first nonvolatile memory holding a copy of the first information held by the volatile memory immediately before executing a determination program for determining a mode to be executed among a plurality of modes;
First reproduction means for reproducing the first information in the volatile memory based on the copy held in the first nonvolatile memory in response to power-on;
An activation device comprising:
請求項1に記載の起動装置において、
前記電源投入の直後に前記第1不揮発性メモリに保持される前記複製が正常か否かを判定する判定手段をさらに備え、
前記第1再現手段は、前記判定手段によって正常判定された場合に前記揮発性メモリに前記第1情報を再現することを特徴とする起動装置。
The activation device according to claim 1,
Determination means for determining whether or not the copy held in the first nonvolatile memory immediately after the power-on is normal;
The first reproduction unit reproduces the first information in the volatile memory when the determination unit determines normality.
請求項2に記載の起動装置において、
オペレーションシステムプログラムを保持する第2不揮発性メモリと、
前記判定手段によって否定判定された場合に前記第2不揮発性メモリに保持される前記オペレーションシステムプログラムに基づいて前記判別プログラムを実行する直前の第2情報を前記揮発性メモリに再現する第2再現手段と、
をさらに備えることを特徴とする起動装置。
The activation device according to claim 2,
A second nonvolatile memory for holding an operation system program;
Second reproduction means for reproducing, in the volatile memory, second information immediately before executing the determination program based on the operation system program held in the second nonvolatile memory when a negative determination is made by the determination means. When,
An activation device further comprising:
請求項3に記載の起動装置において、
前記第1不揮発性メモリが保持する前記複製を前記第2再現手段によって再現された前記第2情報によって更新する更新手段をさらに備えることを特徴とする起動装置。
In the starting device according to claim 3,
An activation apparatus, further comprising: an updating unit that updates the copy held in the first nonvolatile memory with the second information reproduced by the second reproduction unit.
請求項2に記載の起動装置において、
前記判定手段によって否定判定された場合にその旨を知らせる報知手段をさらに備えることを特徴とする起動装置。
The activation device according to claim 2,
An activation device further comprising notification means for notifying that if the determination means makes a negative determination.
請求項1〜5のいずれか一項に記載の起動装置において、
前記判別プログラムは、モード設定操作部材の設定状態を判別する処理、またはモード設定処理を実行するプログラムを含むことを特徴とする起動装置。
In the starting device according to any one of claims 1 to 5,
The determination apparatus includes a program for determining a setting state of a mode setting operation member or a program for executing a mode setting process.
JP2010284709A 2010-12-21 2010-12-21 Starting device Pending JP2012133558A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010284709A JP2012133558A (en) 2010-12-21 2010-12-21 Starting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010284709A JP2012133558A (en) 2010-12-21 2010-12-21 Starting device

Publications (1)

Publication Number Publication Date
JP2012133558A true JP2012133558A (en) 2012-07-12

Family

ID=46649089

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010284709A Pending JP2012133558A (en) 2010-12-21 2010-12-21 Starting device

Country Status (1)

Country Link
JP (1) JP2012133558A (en)

Similar Documents

Publication Publication Date Title
TWI241135B (en) Camera, starting method of camera and program
JP5943752B2 (en) Imaging device, interchangeable lens, and camera system
US8823868B2 (en) Device, imaging apparatus, imaging system, method for controlling device, and program
KR20080014649A (en) Electronic device and starting method
JP2007049313A (en) Imaging apparatus and control method thereof
US10230893B2 (en) Lens apparatus and image capturing apparatus
JP2004258546A (en) Camera device, method of starting camera device, and program
US10819910B2 (en) Image capturing apparatus, control method of same, and program
CN101515258B (en) Recording control apparatus, one-time recording medium, recording system, and control method
JP4702212B2 (en) camera
JP4859216B2 (en) Imaging device and vibration device
JP2012133558A (en) Starting device
JP4282460B2 (en) Data rewrite device
JP2008172429A (en) Photographing device
JP6541323B2 (en) Electronic device and control method thereof
JP7433801B2 (en) Imaging device
JP5842884B2 (en) Tracking device and camera
JP7345109B2 (en) Imaging device
JP4745908B2 (en) Recording apparatus and control method thereof
JP2010219999A (en) Image capturing apparatus and method of controlling the same
CN101197935B (en) Method of controlling digital photographing device and digital photographing device using the same
JP4836233B2 (en) Image processing apparatus, control method therefor, computer program, and storage medium
JP2025133578A (en) Image recording device and image recording method
JP2025064253A (en) Image recording device and image recording method
JP2004356847A (en) Digital camera