JP2004102987A - Camera using rewritable memory - Google Patents

Camera using rewritable memory Download PDF

Info

Publication number
JP2004102987A
JP2004102987A JP2003176178A JP2003176178A JP2004102987A JP 2004102987 A JP2004102987 A JP 2004102987A JP 2003176178 A JP2003176178 A JP 2003176178A JP 2003176178 A JP2003176178 A JP 2003176178A JP 2004102987 A JP2004102987 A JP 2004102987A
Authority
JP
Japan
Prior art keywords
camera
data
rewriting
cpu
processing program
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
JP2003176178A
Other languages
Japanese (ja)
Inventor
Tetsuro Goto
後藤 哲朗
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 JP2003176178A priority Critical patent/JP2004102987A/en
Publication of JP2004102987A publication Critical patent/JP2004102987A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Camera Bodies And Camera Details Or Accessories (AREA)
  • Stored Programmes (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a system capable easily and positively modifying a processing program as needed. <P>SOLUTION: A CPU 28 has a ROM 29 exclusive to reading and a RAM 30 for reading and writing in its interior, and it executes a predetermined process. It receives the processing program in an FM 32 via a plurality of lines, and it executes control following the processing program. A CPU 28 composes a serial communication line with a program rewriting device 50 via an interface means 34 and terminals 8A-8C. Deletion and rewriting of the processing program in the FM32 is carried out in accordance with an operation signal of the rewriting device 50. A power supply for the FM 32 is applied with voltage by the rewriting device 50 via a terminal 8F, and the CPU 28 carries out deletion/rewriting operation to the FM 32 only when a voltage in a comparator 62 is a predetermined voltage or more. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【産業上の利用分野】
本発明は外部から書換え可能な大容量メモリを有するカメラに関するものである。
【0002】
【従来の技術】
従来よりカメラの電子化が進み、自動露出、焦点合わせ、フィルム給送、ストロボ制御等を実行するためには高機能マイクロコンピュータ(以降CPUと略称する)による処理が行われている。
【0003】
自動露出を例に取って説明すると、まずカメラ内に配設された測光センサからの被写体輝度信号と装填されているフィルムの感度信号を読取り、それらの値をROM内に予め記憶されている演算方法に応じて計算を実行し、適正露出条件を求める。そしてその結果をCPU外に設けられた表示装置に信号を出力して撮影者に告知する。さらにシャッタボタンが押された場合にはレンズの絞り値、シャッタの開口時間が演算結果の通りになるよう外部のアクチュエータに制御信号を出力する。
【0004】
公知の如くそのようなCPUはいわゆるワンチップ型であり、その内部には入出力制御装置、処理の内容と順序等を格納する読出し専用メモリ(以降ROMと略称する)、入力された信号を一時的に格納する読み書き可能なメモリ(以降RAMと略称する)、計算等を実行する論理装置が設けられている。
【0005】
公知の如くCPUにおけるROMはその製造プロセスのマスク工程において処理プログラムに合わせて作られ(マスクROMと称する)るため、製造後の変更はまったく不可能である。処理プログラムに誤りが発見された、あるいはさらに性能の良いセンサに対応した高度な演算プログラムを使用したい、アクチュエータの仕様に変更があったなどの理由で処理プログラムの変更を行う場合には、製造プロセス以前でCPU自体を新たに作り直し、さらにカメラ内の回路基板に半田付けなどで付直しをせざるを得ない。
【0006】
また試作品など製品立上がり時に過渡的に使用されるいわゆるワンタイムCPUは、内部のROMへの書込みのみが電気的に可能であるためマスクROMのような製造工程を経る必要が無く、処理プログラムの早期確認ができるメリットはあるものの、マスクROMと同様書込んだ処理プログラムの消去は不可能であり反復使用は不可能である。また半田付けによる付直しも必要であった。
【0007】
一方近年フラッシュメモリ(以降FMと略称する)の開発が行われている。FMは電気的な消去書換えが繰返し可能である点ではいわゆるEEPROMと同様であるが、内部構造が簡略であるために小さなチップ上に大容量のメモリを形成でき、前述のCPUの動作を指示する処理プログラムのような数十キロバイト以上もの記憶は容易であるとされている。
【0008】
【発明が解決しようとする課題】
以上のようにカメラでの性能向上などの目的があるにも関わらずROM内の処理プログラムを迅速に変更する事は不可能であると言う問題があった。
そこで本発明では、必要に応じて処理プログラムの改変を容易にかつ確実に行えるシステムを提供する事を目的としている。
【0009】
【課題を解決するための手段】
上記目的を達成するために請求項1の発明におけるカメラには、マイクロコンピュータと、前記マイクロコンピュータの作動を指示する制御プログラムを格納する電気的消去書換えの可能な大容量メモリと、データを一時記憶する一時記憶メモリとを有し、外部の装置から伝達されるコマンドおよび/またはプログラムデータは一旦前記一時記憶メモリに格納され、前記大容量メモリへの消去書換えに関する処理命令により、前記一時記憶メモリに格納された前記コマンドおよび/またはプログラムデータを前記大容量メモリに転送するようにした。
【0010】
また請求項1に従属する請求項2の発明では、前記コマンドおよび/またはプログラムデータは、前記外部の装置における制御により送られてくるようにした。
【0011】
【発明の実施の形態】
図1は本発明による第1実施例であり、大容量メモリの例としてフラッシュメモリ(FM)を使用したカメラの電気回路図例である。
本回路は電池20を電源としたDCDCコンバータ21からの給電により作動する。
【0012】
DCDCコンバータ21は2系統の電圧出力22、23を有している。電圧22は本実施例の場合低圧約5Vで、後述するCPU28、FM32を含む各制御回路の駆動に用いられる。また電圧23は本実施例の場合高圧約12Vで、後述の測距手段27の駆動に用いられる。
中枢の制御を実行するCPU28への入力信号は下記の如くである。
【0013】
まず測光手段24は被写体の明るさを測定するフォトダイオードから成る公知のセンサ手段であり、測光値情報がCPU28に入力される。
フィルム感度検出手段25は装填されたフィルムパトローネの側面などに付与されたコード化された感度情報を読み取るもので、フィルム感度情報がCPU28に入力される。
スイッチ検出手段26は後述のレリーズボタン4、モード設定ボタン7に連動したスイッチを含む手動操作スイッチの他、カメラのシーケンス状態を検出するためのタイミングスイッチなどを含み、カメラのあらゆる状態情報がCPU28に入力される。
測距手段27は被写体の合焦状況を測定するCCDなどから成る公知のセンサ手段であり、測距値情報がCPU28に入力される。
CPU28からの出力はドライバ手段33を経由して下記の駆動を実行する。 LCD6を駆動して露光、作動モード設定に関する情報、警告情報などを表示させる。
シャッタ11を制御してフィルム面に所定の露光時間を与える。
後述のレンズ2内の絞り35を駆動して被写体からの通過光量を制御する。
モータ36を駆動してフィルムの巻上げ、巻き戻し給送などを制御する。その作動タイミングはスイッチ検出手段26からの信号に従う。
モータ37を駆動して後述のレンズ2内のレンズ群を移動させ、被写体に焦点が合うように制御を行う。
【0014】
さらにCPU28は複数の信号ラインをもって、インターフェース手段34と端子8A〜8Fを介して後述するデータバック5と、あるいはプログラム書換え装置50とのデータ交信などを行う。
図1における本発明に関する部分を以下に詳述する。
CPU28はその内部に読出し専用のROM29と読出し書込み用のRAM30、不図示であるが論理演算ユニット、ADコンバータなどを有し所定の処理を実行する。さらにFM32とは複数のラインを介してその中の処理プログラムを受信し、その処理プログラムに従った制御を実行する。これらについては後述のフローチャートにて説明する。
【0015】
ここでROM29は前述の通り読出し専用のメモリでありそれにはインターフェース回路34を介してFM32を消去書換えをするのに必要な処理プログラムのみが格納されている。従ってインターフェース回路34を介してFM32の消去命令が入力された場合にはその作動を、消去されて新たなプログラムの書換えが命令された場合にはその作動をするだけの作動を司るのである。
CPU28がカメラ1本来の作動を実行できるのはFM32にそのような処理プログラムが格納された後である。
CPU28はインターフェース手段34を介して下記の信号の授受を実行する。まず端子8A〜8Cを経由してシリアル通信ラインを構成する。端子8Aを介してクロック信号をカメラ1から一方向で送出、端子8Bを介してハンドシェーク信号の授受、端子8Cを介してデータ信号の授受をそれぞれ双方向で実行する。なお以上のようなシリアル通信ラインの構成、詳細データについては公知である。
【0016】
また端子8Dを経由して写込み信号をデータバック5に送出する。写込み信号とはカメラ1が露光動作を開始するタイミングに応じて発生する信号であり、データバック5による後述のデータ写込み動作はこの信号をトリガとして実行される。この場合端子8Fは使用されない。
また後述の如く端子8A〜8Fはプログラム書換え装置50とも接続されて各種信号の授受を行う。
【0017】
この場合には、書換え装置50の作動信号に従ってFM32内の処理プログラムの消去並びに書換えが行われる。書込むべきプログラムは端子8A〜8Cにて前述同様シリアル通信ラインにて伝達される。またこの時写込み信号用端子8Dは使用されない。
端子8FはFM32に消去書込み用電源が印加される給電端子であり、消去書換えが実行される時にのみ高圧約12Vが書換え装置50から印加される。これによりカメラ1内にはFM32の消去書換え時にのみ必要な電源をわざわざ用意しておく必要はない。消去書換え時には後述する書換え装置50を必ず必要とするのであるから、書換え装置側に必要な電源を装備しておけば良いのである。
【0018】
さらに電池20と給電端子8Fの電圧はそれぞれ参照電圧源61、63が付与されたコンパレータ60、62の入力端子に印加される。そしてコンパレータ60、62の両出力はANDゲート64に伝達され、ANDゲート64の出力はCPU28に接続されている。
これにより電池電圧20、給電端子8Fの内いずれか一方でも所定電圧以下の場合にはANDゲート64出力がその旨をCPU28に伝えるため、後述の如くCPU28はFM32の消去書換え動作を実行しない。仮に電池20が消耗している場合、あるいは何らかの理由で給電端子8Fの電圧が低い場合にFM32の消去書換えを行うと、消去が完全になされないあるいは処理プログラムが間違った状態で書換えられる可能性があるからである。
図2は本発明によるカメラ1の形態説明図である。
カメラ1はレンズ2が装着され、裏蓋を兼ねたデータバック5を開放した状態である。不図示のフィルムパトローネはパトローネ室10に装填され、パトローネから引き出されたフィルムはシャッタ11の前面を通過して、スプール12に巻き付けられる。フィルムの給送についてはスプール12内部に設けられたモータ36にて行われる。
【0019】
公知の如く撮影者はレンズ2を通過した被写体の状況をファインダ3から視認し、レリーズボタン4を押す事で露光の開始を指令する。
露光モードや各種条件はLCD6で確認できる。ボタン7はカメラ1の露出モード、撮影条件などを任意に設定するための操作ボタンであり、LCD6上の文字などを確認しながら操作を行う。
シャッタ11下方には複数の端子群8が設けられている。これは図1で説明した端子8A〜8Fでありその機能は説明済みである。
データバック5内側に設けられた圧板14は不図示のフィルムをアパーチャ6に押しつけて平面性を保つ作用をすると共に、フィルムに各種データを光学的に写込むための孔13を有している。
【0020】
また前述したカメラ1の端子群8に相対した位置には接点群15が配設されている。データバック5を閉じると接点群8、15同士が接触して前述のデータ授受のための電気回路を形成する。
図3はデータバック5内の電気回路例である。
データバック5には年月日に関するカレンダデータ、カメラ1から送信される露出データの2種類のうち一方を写込む機能を有している。
中枢の機能は電池41を駆動源とするCPU40が司る。カレンダ機能として接続された発振子からの常時一定の周波数をカウントする事で時刻情報を得ることが可能となる。
露出データは端子15A〜15Eによるデータ交信機能によりカメラ1から指示される。端子15Dは写込みのタイミング信号を受信する。
いずれのデータを写込むかはデータバック5表面に備えられた不図示の設定部材により選択でき、その内容はLCD42により確認可能である。
【0021】
ここでLCD42の表示内容はほぼそのまま写込み用LCD43によっても表現されている。LCD43は前述の圧板14上の孔13に露出しており、前述の写込み信号によるタイミングでランプ44が所定時間点灯する事でLCD3による表示内容はそのままフィルムに写込まれる。
図4はカメラ1内のFM32内に対して処理プログラムの消去書換えを行うためのプログラム書換え装置50の概念図である。
パソコン52を中枢とし、書換え動作の処理順序、FM32に対して書込みたい処理プログラムはフロッピーディスク(以降FDと称する)51に記憶されている。公知の如くパソコン52はFD51内の情報に従ってその作動を実行する。書換え装置50は端子16A〜16Fを有しており、カメラ1の端子群8と接触した状態で書換えコマンド並びに処理プログラムを送受信する。なお写込みに関する作動は無関係であるので、端子16Dは機能を有しない。
【0022】
カメラ1内のFM32の処理プログラムを書換える場合には、端子16A〜16Fを介してパソコン52とカメラ1とを接続し、FD51に基づいてパソコン52を作動させれば良い。後述の如く処理の最初に端子16Fに約12Vの電圧を印加してカメラ1内のFM32が作動するようにする。その後端子16A〜16Cを介してシリアル通信で必要データを送信する。
図5は図1中のCPU28による処理ルーチン例である。
本ルーチンは給電が行われている間繰り返し実行される。
ステップS1では、端子8A〜8Fを介してデータ交信を実行する。データバック5あるいは書換え装置50のいずれが装着されていてもデータ交信は成立するが、CPU28が受信するデータには送信元の識別データも入っている。
ステップS2では、受信データに基づいてデータバック5あるいは書換え装置50のいずれが装着されているかを判断する。識別データがデータバック5である事を示している場合にはステップS3以降の通常処理に移行し、識別データが書換え装置50である事を示している場合にはステップS16にジャンプする。
【0023】
ステップS16では、ANDゲート64の出力により、電池20及び端子8Fの電圧を判断する。
ステップS17では、ANDゲート64出力が正常である場合には本ルーチンにてFM32の消去書換えを実行する。その詳細は図6にて詳述する。
ステップS18では、ANDゲート64出力が異常、すなわち電池20あるいは端子8Fのいずれかあるいは両方共に所定電圧以下であったと判断された場合には、警告を実行する。カメラ1上のLCD6あるいはパソコン52の画面上での警告マーク点滅などで良い。
【0024】
ステップS3では、測光手段24、感度検出手段25からの測光情報、感度情報を取り込む。
ステップS4では、設定されている露出モードに基づいてステップS3で得た両情報を演算し、適正露光条件であるシャッタ時間、絞り値を算出する。
ステップS5では、ステップS4で求められた露出情報あるいはモード情報をLCD6上に表示する。
ステップS6では、測距手段27からの被写体の合焦情報を取込む。
ステップS7では、合焦情報に基づいてモータ37を駆動し、レンズ2内のレンズ群を移動させ被写体にピントが合うようにする。
ステップS8では、スイッチ検出手段26を介してレリーズボタン4が押されたか否かを判断する。押されていない場合には、ステップS1に復帰して上記の処理を繰り返す。
【0025】
ステップS11では、レリーズボタン4が押されていたので、まず不図示の反射ミラーを上昇させ、撮影光路から退避させる。
ステップS12では、絞り35を所定絞り開口となるよう制御する。
ステップS13では、シャッタ11を所定時間開閉してフィルムへの露光を制御する。
ステップS14では、露光動作が完了したので不図示の反射ミラーを下降させる。
ステップS15では、モータ36を正転させて、フィルムの給送とメカニズムの付勢動作を行う。
【0026】
以上にて露光動作が一巡したのでステップS1に復帰して上記の処理を繰り返す。
【0027】
図6は図5中のステップS17で示した書換え処理ルーチンの詳細実施例である。
【0028】
本処理ルーチンはCPU28内のROM29に格納されている書換え不可能なプログラムに従う。また端子8A〜8F、インターフェース回路34を介して受信される処理プログラムはCPU28内のRAM30に一旦格納された後、FM32に転送されかつ記憶されるようになっている。
ステップS22では、書換え装置50とのデータ交信を実行する。
ステップS23では、書換え装置からのデータを解読して、書込みモードあるいは消去モードのいずれが指示されているかを判断する。
ステップS24では、消去モードが指示されているので、FM32内の情報を消去する。
ステップS25では、FM32内の情報消去が完了したかを判断する。完了した場合には後述の書換え装置50にその旨を送信する。未完了である間はステップS24からの消去処理を繰返す。
ステップS26では、書換え装置50からのデータを受信する。この場合に送信されてくるデータは新たにFM32に格納したい処理プログラムである。
ステップS27では、受信されてくる処理プログラムを順次FM32内に格納する。
ステップS28では、書込み処理が完了したかを判断する。完了した場合には後述の書換え装置にその旨を送信する。未完了である間はステップS27からの書込み処理を繰返す。
ステップS30では、本ルーチンは誤動作を防止するためのルーチンである。書込みモードが指示されてはいるがFM32に対する消去処理が完了しているかを確認する。消去が未処理である場合にはステップS24からの消去処理を実行する。すでに完了している場合にはステップS26に移行し、書込み処理を実行する。
【0029】
図7はデータバック5内のCPU40による処理ルーチン例である。本ルーチンはCPU40に電池41が接続されている間繰返し実行される。
ステップS40では、発振子45による出力周波数のカウントを基にした計時すなわち年月日などのカレンダ処理を実行する。
【0030】
なお本実施例では説明の簡略化のためステップS40でのみカレンダ処理を実行するように示したが、ステップS41以降に示す処理と並列に実行するような方法でも構わない。
ステップS41では、カメラ1とデータ交信を行い、まずカメラ1に対して交信相手がデータバック5である旨を送信する。さらにカメラ1からは写込み用データとして各種露出情報を受取る。本ステップは図6のステップS1に呼応する。
【0031】
前述のように端子15A〜15Eを介した公知のシリアルデータ交信によりデータ授受を行うが、この時にはまだカメラ1の露光シーケンスに入っていないので端子15Dを経由する写込み信号は入力されていない。
ステップS42では、不図示の設定手段により選択されている写込みモードを判断する。本実施例の場合年月日を示すカレンダモード、あるいは露出データモードのいずれかの選択が可能となっている。
カレンダモードの場合はステップS43、露出データモードの場合はステップS44に移行する。
ステップS43では、年月日データをLCD42に表示する。前述のようにCPU40の駆動出力は写込み用LCD43にも並列に印加されているので、LCD42とLCD43はほぼ同内容を表示している。
ステップS44では、図3のように露出データをLCD42に表示する。実施例にはシャッタタイムと絞り値をあげたが、これに限らず使用しているレンズの種類など露出に直接関連するデータあるいはカメラ1の種別など露出とは関連のないデータでも良い。
ステップS45では、端子15Dをモニタして、カメラ1から写込み信号が入力されているか否かを判断する。写込み信号が入力されていない場合にはステップS40からの処理を繰返す。
ステップS46では、写込み信号が入力されたので、ランプ44を一定時間点灯しLCD43が表示しているデータをフィルム上に光学記録する。
【0032】
図8は書換え装置50の処理ルーチン例である。前述の如くパソコン52は装填されたFD51に格納されている指令に従って下記の処理を実行する。
ステップS50では、カメラ1とデータ交信を行い、まずカメラ1に対して自身が書換え装置50である旨を送信する。本ステップは図5のステップS1に呼応するが、図7のステップS41と異なりカメラ1からは写込み用データなどが送信されてくることはない。
前述のように端子16A〜16Fの一部を介した公知のシリアルデータ交信によりデータ授受を行うが、データバック5と違って写込み動作とは無縁のため端子16Dは使用しない。
【0033】
本交信によってカメラ1は本来の処理を停止し、FM32の書換えに備えて図5のステップS16以降すなわち図6で説明した書換え処理に入る。
ステップS51では、端子16Fを介してカメラ1のFM32へ消去書換え用電圧約12Vを出力する。
ステップS52では、次にカメラ1に対してFM32内の処理プログラムを消去する送信する。図6のステップS24に呼応する。
ステップS53では、FM32内の処理プログラムの消去が完了したかを判断する。図6のステップS25に呼応する。
ステップS54では、FM32に格納すべき新しい処理プログラムを送信する。ステップS55では、FM32内に処理プログラムがすべて格納し終ったかを判断する。図6のステップS28に呼応する。FM32内の旧処理プログラムの消去並びに新処理プログラムの格納が完了した場合には本処理ルーチンを終了する。
ステップS56では、FM32の消去書換え処理が完了したので端子16Fを介した電圧12Vの給電を停止する。
【0034】
図9は本発明による第2実施例であり、3種類のメモリであるROM29、RAM30、FM32が内蔵されている構造のCPU28を使用した電気回路実施例である。
第1実施例と異なる点は、まずDCDCコンバータ21の高圧側出力23がスイッチング手段31を介してFM32の印加され、さらにスイッチング手段31の開閉が端子8Fを介して書換え装置50からの信号で制御される点である。
【0035】
この構成によって書換え装置50がカメラ1に接続され、しかもFM32の消去書換え動作を実行する時にのみ電圧23がFM32に印加されるので、他の時点で誤って電圧23が給電されることによるFM32内の処理プログラムの消去などの危険を防止することができる。
図9でさらに特徴的なことは、カメラ1としては後々変更される可能性の高い処理プログラムの一部、本実施例上では測光演算ルーチンと表示処理ルーチンについて消去書換え可能なFM32内の処理プログラムに従い、FM32の消去書換えルーチン自体とカメラ1として必要な処理プログラムで前述の測光演算ルーチンと表示処理ルーチンを除いた残りの後々変更の可能性のない処理プログラムに関してはROM29に格納されている固定された処理プログラムに従うよう構成した点である。
図10は図9中のCPU28による処理ルーチン例である。
【0036】
本ルーチンは給電が行われている間繰り返し実行される。
ステップS1では、端子8A〜8Fを介してデータ交信を実行する。データバック5あるいは書換え装置50のいずれが装着されていてもデータ交信は成立するが、CPU28が受信するデータには送信元の識別データも入っている。
ステップS2では、受信データに基づいてデータバック5あるいは書換え装置50のいずれが装着されているかを判断する。識別データがデータバック5である事を示している場合にはステップS3以降の通常処理に移行し、識別データが書換え装置50である事を示している場合にはステップS17にジャンプする。
【0037】
ステップS17では、書換え装置50が接続されている場合には本ルーチンにてFM32の消去書換えを実行する。その詳細は図6と同様である。
ステップS3では、測光手段24、感度検出手段25からの測光情報、感度情報を取り込む。
【0038】
ステップS60では、FM32に格納された演算処理用プログラムを読出し、RAM30に一旦格納する。
ステップS4では、ステップS3で得た両情報をステップS60で得た処理プログラムに従って演算し、適正露光条件であるシャッタ時間、絞り値を算出する。
【0039】
ステップS61では、FM32に格納された表示処理用プログラムを読出し、RAM30に一旦格納する。
ステップS5では、ステップS4で求められた露出情報あるいはモード情報をステップS61で得た処理プログラムに従ってLCD6上に表示する。
ステップS6では、測距手段27からの被写体の合焦情報を取込む。
ステップS7では、合焦情報に基づいてモータ37を駆動し、レンズ2内のレンズ群を移動させ被写体にピントが合うようにする。
ステップS8では、スイッチ検出手段26を介してレリーズボタン4が押されたか否かを判断する。押されていない場合には、ステップS1に復帰して上記の処理を繰り返す。
【0040】
ステップS11では、レリーズボタン4が押されていたので、まず不図示の反射ミラーを上昇させ、撮影光路から退避させる。
ステップS12では、絞り35を所定絞り開口となるよう制御する。
ステップS13では、シャッタ11を所定時間開閉してフィルムへの露光を制御する。
ステップS14では、露光動作が完了したので不図示の反射ミラーを下降させる。
ステップS15では、モータ36を正転させて、フィルムの給送とメカニズムの付勢動作を行う。
【0041】
以上にて露光動作が一巡したのでステップS1に復帰して上記の処理を繰り返す。
なお図10ではステップS60、ステップS61のようにFM32に記憶した処理プログラムを一旦RAM30に読出して必要な処理を実行するように説明したが、FM32の内容に直接従って演算処理ができるのであればそのような必要はなく時間の節約に貢献する。
【0042】
これらの処理によれば、カメラ1として変更の可能性のない基本的な処理ルーチンのみをROM29に格納しておけるので、大容量のFM32を必要とせず、CPU28を安価かつ小型する事ができる。
本図では測光演算ルーチンと表示処理ルーチンのみをFM32に格納される処理プログラムに従って処理するようにしたが、これに限らず加減する事は容易である。FM32に格納したほうが良いルーチン例としては上記以外に、ステップS6の測距演算処理、ステップS7のAFモータ駆動処理、ステップS15の給送モータ駆動処理なども候補としてあげられる。
【0043】
一方書換え装置50の構成は図4と同様であるが、端子16Fには12Vの給電ではなく、スイッチング手段31を開閉するのに必要な単なる信号となる点が異なる。また図8の各ステップのうち図9に関わる変更点は下記の2点のみである。
ステップS51では、端子16Fに閉信号を出力し、カメラ1内のスイッチング手段31をオンさせる。
ステップS56では、端子16Fに開信号を出力し、カメラ1内のスイッチング手段31をオフさせる。
またデータバック5の構成処理内容は図3、7同様である。
【0044】
【発明の効果】
以上のように本発明によれば、外部の装置から電気的消去書換え可能なメモリに格納されるべき目的で転送された処理プログラムは、カメラ内の一時記憶用メモリを経た上で前記メモリに格納されるので、カメラに接続された書換え装置が直接前記メモリに対してデータ授受を行う必要はない。
また、カメラ内の一時記憶用メモリに処理プログラムを転送させる制御は外部の装置が行うので、カメラ内にこのような命令を格納する必要はない。
【0045】
なお実施例においては大容量の電気的消去書換え可能なメモリの一例としてフラッシュメモリFMを使用したシステムを説明したが、CPUの処理プログラムを格納することが可能な容量を有し、かつカメラの外部から所定の端子を介してその処理プログラムの消去書換えが可能である記憶媒体であれば、本発明の目的と一致するので他のものでも構わない。
【0046】
また実施例においては外部から処理プログラムを書換えるためのデータ授受端子にデータバック5との端子を兼用した例を示したが、それ以外の脱着可能なアクセサリであるストロボ、ファインダなどとの接続端子を使用しても同様の効果が得られる。
【図面の簡単な説明】
【図1】本発明の第1実施例によるカメラの電気回路図例である。
【図2】本発明のよるカメラ1の形態説明図である。
【図3】本発明によるデータバック5内の電気回路例である。
【図4】本発明によるプログラム書換え装置50の概念図である。
【図5】本発明によるカメラ内のCPU28による処理ルーチン例である。
【図6】本発明による書換え処理ルーチンの詳細実施例である。
【図7】本発明によるデータバック5内のCPU40による処理ルーチン例である。
【図8】本発明による書換え装置50の処理ルーチン例である。
【図9】本発明の第2実施例によるカメラの電気回路図例である。
【図10】本発明の第2実施例によるカメラ内のCPU28による処理ルーチン例である。
【符号の説明】
1      ─カメラ
5      ─データバック
8、15、16─端子
28、40  ─CPU
31     ─スイッチング手段
32     ─フラッシュメモリ
50     ─書換え装置
60、62  ─コンパレータ
61、63    ─参照電圧
[0001]
[Industrial applications]
The present invention relates to a camera having a large-capacity rewritable memory from the outside.
[0002]
[Prior art]
2. Description of the Related Art Conventionally, the computerization of cameras has advanced, and a high-performance microcomputer (hereinafter abbreviated as CPU) has been used to perform automatic exposure, focusing, film feeding, strobe control, and the like.
[0003]
Taking automatic exposure as an example, first, a subject luminance signal and a sensitivity signal of a loaded film are read from a photometric sensor provided in a camera, and the values are read out by a calculation stored in a ROM in advance. Calculation is performed according to the method, and an appropriate exposure condition is obtained. Then, a signal is output to a display device provided outside the CPU to notify the photographer of the result. Further, when the shutter button is pressed, a control signal is output to an external actuator so that the aperture value of the lens and the opening time of the shutter become as calculated.
[0004]
As is well known, such a CPU is of a so-called one-chip type, in which an input / output control device, a read-only memory (hereinafter abbreviated as ROM) for storing the contents and order of processing, and a temporarily stored input signal are stored. A readable / writable memory (hereinafter abbreviated as a RAM) for temporarily storing, and a logic device for executing calculations and the like are provided.
[0005]
As is well known, a ROM in a CPU is created in accordance with a processing program in a masking step of the manufacturing process (referred to as a mask ROM), so that a change after the manufacturing is impossible at all. If an error is found in the processing program, or if you want to use an advanced arithmetic program corresponding to a sensor with better performance, or if you change the processing program due to a change in actuator specifications, the manufacturing process In the past, the CPU itself had to be newly recreated, and further, had to be reattached to the circuit board in the camera by soldering or the like.
[0006]
Also, a so-called one-time CPU, which is used transiently at the time of product start-up such as a prototype, can only be electrically written into the internal ROM, so there is no need to go through a manufacturing process like a mask ROM, and a processing program Although there is an advantage that the confirmation can be performed early, it is impossible to erase the written processing program similarly to the mask ROM, and it is impossible to use the processing program repeatedly. In addition, refitting by soldering was necessary.
[0007]
On the other hand, in recent years, flash memories (hereinafter abbreviated as FM) have been developed. An FM is similar to a so-called EEPROM in that electrical erasing and rewriting can be repeated. However, since the internal structure is simple, a large-capacity memory can be formed on a small chip, and the operation of the CPU is instructed. It is said that storage of several tens of kilobytes or more, such as a processing program, is easy.
[0008]
[Problems to be solved by the invention]
As described above, there is a problem that it is impossible to quickly change the processing program in the ROM despite the purpose of improving the performance of the camera.
Therefore, an object of the present invention is to provide a system that can easily and reliably modify a processing program as needed.
[0009]
[Means for Solving the Problems]
In order to achieve the above object, the camera according to the first aspect of the present invention includes a microcomputer, a large-capacity electrically erasable and rewritable memory for storing a control program for instructing the operation of the microcomputer, and temporarily storing data. Command and / or program data transmitted from an external device is temporarily stored in the temporary storage memory, and is temporarily stored in the temporary storage memory by a processing instruction relating to erasure rewriting to the large-capacity memory. The stored command and / or program data is transferred to the large-capacity memory.
[0010]
Further, in the invention according to claim 2 dependent on claim 1, the command and / or program data is sent under the control of the external device.
[0011]
BEST MODE FOR CARRYING OUT THE INVENTION
FIG. 1 is a first embodiment according to the present invention, and is an example of an electric circuit diagram of a camera using a flash memory (FM) as an example of a large-capacity memory.
This circuit operates by power supply from a DCDC converter 21 using a battery 20 as a power supply.
[0012]
The DCDC converter 21 has two voltage outputs 22 and 23. The voltage 22 is a low voltage of about 5 V in this embodiment, and is used for driving each control circuit including a CPU 28 and an FM 32 described later. The voltage 23 is a high voltage of about 12 V in this embodiment, and is used for driving a distance measuring means 27 described later.
The input signals to the CPU 28 for executing the central control are as follows.
[0013]
First, the photometric unit 24 is a known sensor unit composed of a photodiode for measuring the brightness of a subject, and photometric value information is input to the CPU 28.
The film sensitivity detecting means 25 reads coded sensitivity information provided on the side of the loaded film cartridge or the like, and the film sensitivity information is input to the CPU 28.
The switch detecting means 26 includes a manually operated switch including a switch linked to a release button 4 and a mode setting button 7 to be described later, a timing switch for detecting a sequence state of the camera, and the like. Is entered.
The distance measuring means 27 is a known sensor means such as a CCD for measuring the in-focus state of the subject, and distance measurement value information is input to the CPU.
The output from the CPU 28 executes the following driving via the driver means 33. The LCD 6 is driven to display information on exposure and operation mode setting, warning information, and the like.
By controlling the shutter 11, a predetermined exposure time is given to the film surface.
An aperture 35 in the lens 2 described later is driven to control the amount of light passing from the subject.
The motor 36 is driven to control film winding, rewinding and feeding. The operation timing is in accordance with a signal from the switch detecting means 26.
By driving the motor 37, a lens group in the lens 2 described later is moved, and control is performed so that the subject is focused.
[0014]
Further, the CPU 28 performs data communication with the data back 5 described later or the program rewriting device 50 through the interface means 34 and the terminals 8A to 8F with a plurality of signal lines.
The part related to the present invention in FIG. 1 will be described in detail below.
The CPU 28 has a read-only ROM 29 and a read / write RAM 30 therein, a logical operation unit (not shown), an AD converter, and the like, and executes predetermined processing. Further, the FM 32 receives a processing program therein through a plurality of lines and executes control according to the processing program. These will be described later with reference to the flowchart.
[0015]
Here, the ROM 29 is a read-only memory as described above, and stores only a processing program necessary for erasing and rewriting the FM 32 via the interface circuit 34. Therefore, when an erasing command of the FM 32 is input via the interface circuit 34, the operation is controlled, and when the command is deleted and a new program is rewritten, the operation of only performing the operation is performed.
The CPU 28 can execute the original operation of the camera 1 after such a processing program is stored in the FM 32.
The CPU 28 transmits and receives the following signals via the interface unit 34. First, a serial communication line is formed via the terminals 8A to 8C. A clock signal is transmitted in one direction from the camera 1 via the terminal 8A, a handshake signal is transmitted / received via the terminal 8B, and a data signal is transmitted / received via the terminal 8C. The configuration and detailed data of the serial communication line as described above are known.
[0016]
Further, it transmits the imprint signal to the data back 5 via the terminal 8D. The imprint signal is a signal generated according to the timing at which the camera 1 starts the exposure operation, and the data imprint operation described later by the data bag 5 is executed using this signal as a trigger. In this case, the terminal 8F is not used.
As will be described later, the terminals 8A to 8F are also connected to the program rewriting device 50 to exchange various signals.
[0017]
In this case, the processing program in the FM 32 is erased and rewritten according to the operation signal of the rewriting device 50. The program to be written is transmitted via the serial communication line at terminals 8A to 8C as described above. At this time, the imprint signal terminal 8D is not used.
The terminal 8F is a power supply terminal to which power for erasing and writing is applied to the FM 32, and a high voltage of about 12 V is applied from the rewriting device 50 only when erasing and rewriting are executed. Thus, it is not necessary to prepare a power supply required only when erasing and rewriting the FM 32 in the camera 1. Since the rewriting device 50, which will be described later, is always required at the time of erasing rewriting, it is sufficient to equip the rewriting device with a necessary power supply.
[0018]
Further, the voltages of the battery 20 and the power supply terminal 8F are applied to input terminals of comparators 60 and 62 to which reference voltage sources 61 and 63 are applied, respectively. Then, both outputs of the comparators 60 and 62 are transmitted to the AND gate 64, and the output of the AND gate 64 is connected to the CPU 28.
As a result, when one of the battery voltage 20 and the power supply terminal 8F is lower than the predetermined voltage, the output of the AND gate 64 informs the CPU 28 of that fact. If the erasure rewriting of the FM 32 is performed when the battery 20 is depleted or the voltage of the power supply terminal 8F is low for some reason, erasing may not be completely completed or the processing program may be rewritten in an incorrect state. Because there is.
FIG. 2 is an explanatory view of the form of the camera 1 according to the present invention.
The camera 1 is in a state where the lens 2 is mounted and the data bag 5 also serving as a back cover is opened. A film cartridge (not shown) is loaded in a cartridge chamber 10, and a film drawn from the cartridge passes through the front surface of a shutter 11 and is wound around a spool 12. The film is fed by a motor 36 provided inside the spool 12.
[0019]
As is well known, the photographer visually recognizes the situation of the subject passing through the lens 2 from the viewfinder 3 and instructs the start of exposure by pressing the release button 4.
The exposure mode and various conditions can be confirmed on the LCD 6. The button 7 is an operation button for arbitrarily setting an exposure mode, a photographing condition, and the like of the camera 1, and is operated while checking characters and the like on the LCD 6.
A plurality of terminal groups 8 are provided below the shutter 11. These are the terminals 8A to 8F described with reference to FIG. 1, and their functions have been described.
The pressure plate 14 provided inside the data bag 5 has a function of pressing a film (not shown) against the aperture 6 to maintain the flatness, and has a hole 13 for optically transferring various data to the film.
[0020]
A contact group 15 is disposed at a position facing the terminal group 8 of the camera 1 described above. When the data bag 5 is closed, the contact groups 8 and 15 come into contact with each other to form the above-described electric circuit for data transfer.
FIG. 3 shows an example of an electric circuit in the data bag 5.
The data bag 5 has a function of imprinting one of two types of calendar data relating to the date and exposure data transmitted from the camera 1.
The central function is controlled by a CPU 40 driven by a battery 41. Time information can be obtained by always counting a constant frequency from an oscillator connected as a calendar function.
Exposure data is instructed from the camera 1 by a data communication function using the terminals 15A to 15E. The terminal 15D receives a timing signal for imprinting.
Which data is to be imprinted can be selected by a setting member (not shown) provided on the surface of the data bag 5, and the contents can be confirmed by the LCD 42.
[0021]
Here, the display contents of the LCD 42 are expressed almost directly by the imprinting LCD 43. The LCD 43 is exposed through the hole 13 on the pressure plate 14, and the lamp 44 is turned on for a predetermined time at the timing according to the above-mentioned imprinting signal, so that the display contents of the LCD 3 are imprinted on the film as it is.
FIG. 4 is a conceptual diagram of a program rewriting device 50 for erasing and rewriting a processing program in the FM 32 in the camera 1.
With the personal computer 52 as the center, the processing sequence of the rewriting operation and the processing program to be written to the FM 32 are stored in a floppy disk (hereinafter referred to as FD) 51. As is well known, the personal computer 52 executes its operation according to the information in the FD 51. The rewriting device 50 has terminals 16A to 16F, and transmits and receives a rewriting command and a processing program while being in contact with the terminal group 8 of the camera 1. Since the operation related to imprinting is irrelevant, the terminal 16D has no function.
[0022]
When rewriting the processing program of the FM 32 in the camera 1, the personal computer 52 is connected to the camera 1 via the terminals 16A to 16F, and the personal computer 52 is operated based on the FD 51. As described later, a voltage of about 12 V is applied to the terminal 16F at the beginning of the processing so that the FM 32 in the camera 1 operates. Then, necessary data is transmitted by serial communication via the terminals 16A to 16C.
FIG. 5 is an example of a processing routine by the CPU 28 in FIG.
This routine is repeatedly executed while power is supplied.
In step S1, data communication is performed via the terminals 8A to 8F. Data communication is established regardless of whether the data bag 5 or the rewriting device 50 is mounted, but the data received by the CPU 28 includes the identification data of the transmission source.
In step S2, it is determined which of the data bag 5 and the rewriting device 50 is attached based on the received data. If the identification data indicates the data back 5, the process proceeds to the normal processing after step S3. If the identification data indicates the rewriting device 50, the process jumps to step S16.
[0023]
In step S16, the voltages of the battery 20 and the terminal 8F are determined based on the output of the AND gate 64.
In step S17, if the output of the AND gate 64 is normal, the erasure rewriting of the FM 32 is executed in this routine. The details will be described in detail with reference to FIG.
In step S18, if it is determined that the output of the AND gate 64 is abnormal, that is, it is determined that one or both of the battery 20 and the terminal 8F is lower than the predetermined voltage, a warning is issued. The warning mark may blink on the LCD 6 of the camera 1 or the screen of the personal computer 52.
[0024]
In step S3, photometric information and sensitivity information from the photometric means 24 and the sensitivity detecting means 25 are fetched.
In step S4, both information obtained in step S3 are calculated based on the set exposure mode, and a shutter time and an aperture value, which are appropriate exposure conditions, are calculated.
In step S5, the exposure information or mode information obtained in step S4 is displayed on the LCD 6.
In step S6, the focus information of the subject from the distance measuring means 27 is fetched.
In step S7, the motor 37 is driven based on the focusing information, and the lens group in the lens 2 is moved to focus on the subject.
In step S8, it is determined whether or not the release button 4 has been pressed via the switch detection means 26. If not, the process returns to step S1 and repeats the above processing.
[0025]
In step S11, since the release button 4 has been pressed, the reflection mirror (not shown) is first raised and retracted from the photographing optical path.
In step S12, the aperture 35 is controlled to have a predetermined aperture.
In step S13, the exposure to the film is controlled by opening and closing the shutter 11 for a predetermined time.
In step S14, since the exposure operation has been completed, the reflection mirror (not shown) is lowered.
In step S15, the motor 36 is rotated forward to perform the feeding of the film and the urging operation of the mechanism.
[0026]
Since the exposure operation has completed one cycle, the process returns to step S1 to repeat the above processing.
[0027]
FIG. 6 is a detailed embodiment of the rewrite processing routine shown in step S17 in FIG.
[0028]
This processing routine follows a non-rewritable program stored in the ROM 29 in the CPU 28. A processing program received via the terminals 8A to 8F and the interface circuit 34 is temporarily stored in the RAM 30 in the CPU 28, and then transferred to and stored in the FM 32.
In step S22, data communication with the rewriting device 50 is performed.
In step S23, the data from the rewriting device is decoded to determine which of the writing mode and the erasing mode is instructed.
In step S24, since the erase mode has been instructed, the information in the FM 32 is erased.
In step S25, it is determined whether the erasure of information in the FM 32 has been completed. When the rewriting is completed, the fact is transmitted to the rewriting device 50 described later. While it is not completed, the erasing process from step S24 is repeated.
In step S26, data from the rewriting device 50 is received. The data transmitted in this case is a processing program that is to be newly stored in the FM 32.
In step S27, the received processing programs are sequentially stored in the FM32.
In step S28, it is determined whether the writing process has been completed. When the rewriting is completed, the fact is transmitted to a rewriting device described later. While the writing is not completed, the writing process from step S27 is repeated.
In step S30, this routine is a routine for preventing a malfunction. It is checked whether the erasing process for the FM 32 has been completed although the writing mode has been instructed. If the erasure has not been performed, the erasure process from step S24 is executed. If it has already been completed, the flow shifts to step S26 to execute a write process.
[0029]
FIG. 7 is an example of a processing routine by the CPU 40 in the data bag 5. This routine is repeatedly executed while the battery 41 is connected to the CPU 40.
In step S40, a calendar process such as time measurement, that is, date, is performed based on the output frequency count by the oscillator 45.
[0030]
In the present embodiment, the calendar processing is executed only in step S40 for the sake of simplicity, but a method in which the processing is executed in parallel with the processing shown in step S41 and thereafter may be used.
In step S41, data communication is performed with the camera 1, and first, the fact that the communication partner is the data back 5 is transmitted to the camera 1. Further, various exposure information is received from the camera 1 as imprint data. This step corresponds to step S1 in FIG.
[0031]
As described above, data is transmitted and received by known serial data communication via the terminals 15A to 15E. At this time, since the exposure sequence of the camera 1 has not yet been entered, the imprint signal via the terminal 15D has not been input.
In step S42, the printing mode selected by the setting means (not shown) is determined. In the case of the present embodiment, either the calendar mode indicating the date and the exposure data mode can be selected.
In the case of the calendar mode, the process proceeds to step S43, and in the case of the exposure data mode, the process proceeds to step S44.
In the step S43, the date data is displayed on the LCD. As described above, the driving output of the CPU 40 is also applied to the imprinting LCD 43 in parallel, so that the LCD 42 and the LCD 43 display almost the same contents.
In step S44, the exposure data is displayed on the LCD 42 as shown in FIG. Although the shutter time and the aperture value are given in the embodiment, the present invention is not limited to this, and data directly related to exposure such as the type of lens used or data not related to exposure such as the type of the camera 1 may be used.
In the step S45, the terminal 15D is monitored to determine whether or not an imprint signal is input from the camera 1. If the imprint signal has not been input, the processing from step S40 is repeated.
In step S46, since the imprint signal has been input, the lamp 44 is turned on for a certain period of time, and the data displayed on the LCD 43 is optically recorded on the film.
[0032]
FIG. 8 is an example of a processing routine of the rewriting device 50. As described above, the personal computer 52 executes the following processing according to the command stored in the loaded FD 51.
In step S50, data communication is performed with the camera 1, and firstly, the camera 1 is notified that it is the rewriting device 50. This step corresponds to step S1 in FIG. 5, but unlike step S41 in FIG. 7, no data for imprinting or the like is transmitted from the camera 1.
As described above, data transfer is performed by known serial data communication through a part of the terminals 16A to 16F. However, unlike the data back 5, the terminal 16D is not used because it is not related to the imprinting operation.
[0033]
As a result of this communication, the camera 1 stops the original processing and enters the rewriting processing described in FIG. 6 after step S16 in FIG. 5 in preparation for rewriting the FM32.
In step S51, the erase / rewrite voltage of about 12 V is output to the FM 32 of the camera 1 via the terminal 16F.
In step S52, next, the processing program in the FM 32 is erased and transmitted to the camera 1. This corresponds to step S24 in FIG.
In step S53, it is determined whether the erasure of the processing program in the FM 32 has been completed. This corresponds to step S25 in FIG.
In step S54, a new processing program to be stored in the FM 32 is transmitted. In step S55, it is determined whether all the processing programs have been stored in the FM 32. This corresponds to step S28 in FIG. When the erasure of the old processing program in the FM 32 and the storage of the new processing program are completed, the processing routine ends.
In step S56, the power supply of the voltage 12V via the terminal 16F is stopped because the erasure rewriting process of the FM 32 is completed.
[0034]
FIG. 9 shows a second embodiment according to the present invention, which is an electric circuit embodiment using a CPU 28 having a structure in which three types of memories, a ROM 29, a RAM 30, and an FM 32 are built in.
The difference from the first embodiment is that first, the high-voltage side output 23 of the DCDC converter 21 is applied to the FM 32 via the switching means 31, and the opening and closing of the switching means 31 is controlled by a signal from the rewriting device 50 via the terminal 8F. It is a point that is done.
[0035]
With this configuration, the voltage 23 is applied to the FM 32 only when the rewriting device 50 is connected to the camera 1 and the erasing and rewriting operation of the FM 32 is performed. Dangers such as erasing of the processing program can be prevented.
What is further characteristic in FIG. 9 is that a part of a processing program that is likely to be changed later as the camera 1, a processing program in the FM 32 erasable and rewritable for the photometry calculation routine and the display processing routine in this embodiment. Accordingly, with respect to the processing programs necessary for the camera 1 except for the photometry calculation routine and the display processing routine, the remaining erasing and rewriting routines of the FM 32 and the processing programs required for the camera 1 are not stored in the ROM 29 but are fixed. That is, it is configured to follow the processing program.
FIG. 10 is an example of a processing routine by the CPU 28 in FIG.
[0036]
This routine is repeatedly executed while power is supplied.
In step S1, data communication is performed via the terminals 8A to 8F. Data communication is established regardless of whether the data bag 5 or the rewriting device 50 is mounted, but the data received by the CPU 28 includes the identification data of the transmission source.
In step S2, it is determined which of the data bag 5 and the rewriting device 50 is attached based on the received data. If the identification data indicates the data back 5, the process proceeds to the normal processing after step S3. If the identification data indicates the rewriting device 50, the process jumps to step S17.
[0037]
In step S17, when the rewriting device 50 is connected, the erasure rewriting of the FM 32 is executed in this routine. The details are the same as in FIG.
In step S3, photometric information and sensitivity information from the photometric means 24 and the sensitivity detecting means 25 are fetched.
[0038]
In step S60, the arithmetic processing program stored in the FM 32 is read and temporarily stored in the RAM 30.
In step S4, both information obtained in step S3 are calculated according to the processing program obtained in step S60, and a shutter time and an aperture value, which are appropriate exposure conditions, are calculated.
[0039]
In step S61, the display processing program stored in the FM 32 is read and temporarily stored in the RAM 30.
In step S5, the exposure information or mode information obtained in step S4 is displayed on the LCD 6 according to the processing program obtained in step S61.
In step S6, the focus information of the subject from the distance measuring means 27 is fetched.
In step S7, the motor 37 is driven based on the focusing information, and the lens group in the lens 2 is moved to focus on the subject.
In step S8, it is determined whether or not the release button 4 has been pressed via the switch detection means 26. If not, the process returns to step S1 and repeats the above processing.
[0040]
In step S11, since the release button 4 has been pressed, the reflection mirror (not shown) is first raised and retracted from the photographing optical path.
In step S12, the aperture 35 is controlled to have a predetermined aperture.
In step S13, the exposure to the film is controlled by opening and closing the shutter 11 for a predetermined time.
In step S14, since the exposure operation has been completed, the reflection mirror (not shown) is lowered.
In step S15, the motor 36 is rotated forward to perform the feeding of the film and the urging operation of the mechanism.
[0041]
Since the exposure operation has completed one cycle, the process returns to step S1 to repeat the above processing.
In FIG. 10, it has been described that the processing program stored in the FM 32 is once read out to the RAM 30 and necessary processing is executed as in steps S60 and S61. However, if the arithmetic processing can be performed directly in accordance with the contents of the FM 32, There is no need to do this, saving time.
[0042]
According to these processes, only the basic processing routine that is not likely to be changed as the camera 1 can be stored in the ROM 29, so that the large-capacity FM 32 is not required, and the CPU 28 can be reduced in cost and size.
In this figure, only the photometry calculation routine and the display processing routine are processed according to the processing program stored in the FM 32. However, the present invention is not limited to this, and it is easy to adjust. In addition to the above, examples of the routine that should be stored in the FM 32 include a distance measurement calculation process in step S6, an AF motor drive process in step S7, and a feed motor drive process in step S15.
[0043]
On the other hand, the configuration of the rewriting device 50 is the same as that of FIG. 4 except that the terminal 16F is not supplied with 12 V, but is merely a signal necessary for opening and closing the switching means 31. In addition, of the steps in FIG. 8, the following two points are changed in relation to FIG. 9.
In step S51, a closing signal is output to the terminal 16F, and the switching means 31 in the camera 1 is turned on.
In step S56, an open signal is output to the terminal 16F to turn off the switching means 31 in the camera 1.
The configuration processing contents of the data back 5 are the same as those in FIGS.
[0044]
【The invention's effect】
As described above, according to the present invention, the processing program transferred for the purpose of being stored in the electrically erasable and rewritable memory from the external device is stored in the memory after passing through the temporary storage memory in the camera. Therefore, there is no need for the rewriting device connected to the camera to directly transfer data to and from the memory.
Further, since control for transferring the processing program to the temporary storage memory in the camera is performed by an external device, it is not necessary to store such an instruction in the camera.
[0045]
In the embodiment, the system using the flash memory FM has been described as an example of a large-capacity electrically erasable and rewritable memory. However, the system has a capacity capable of storing a processing program of the CPU and is provided outside the camera. Any other storage medium may be used as long as the storage medium is capable of erasing and rewriting the processing program via a predetermined terminal.
[0046]
Further, in the embodiment, an example is shown in which a data transfer terminal for rewriting a processing program from the outside is also used as a terminal for the data back 5, but a connection terminal for a detachable accessory such as a strobe or a finder. The same effect can be obtained by using.
[Brief description of the drawings]
FIG. 1 is an example of an electric circuit diagram of a camera according to a first embodiment of the present invention.
FIG. 2 is an explanatory diagram of a camera 1 according to the present invention.
FIG. 3 is an example of an electric circuit in a data bag 5 according to the present invention.
FIG. 4 is a conceptual diagram of a program rewriting device 50 according to the present invention.
FIG. 5 is an example of a processing routine by a CPU 28 in the camera according to the present invention.
FIG. 6 is a detailed embodiment of a rewrite processing routine according to the present invention.
FIG. 7 is an example of a processing routine by the CPU 40 in the data bag 5 according to the present invention.
FIG. 8 is a processing routine example of the rewriting device 50 according to the present invention.
FIG. 9 is an example of an electric circuit diagram of a camera according to a second embodiment of the present invention.
FIG. 10 is an example of a processing routine by a CPU 28 in a camera according to a second embodiment of the present invention.
[Explanation of symbols]
1 Camera
5) Data back
8, 15, 16 terminal
28, 40 ─CPU
31 ─ Switching means
32 flash memory
50 ─ Rewriting device
60, 62 ─Comparator
61, 63 ─Reference voltage

Claims (2)

マイクロコンピュータと、
前記マイクロコンピュータの作動を指示する制御プログラムを格納する電気的消去書換えの可能な大容量メモリと、
データを一時記憶する一時記憶メモリとを有し、
外部の装置から伝達されるコマンドおよび/またはプログラムデータは一旦前記一時記憶メモリに格納され、前記大容量メモリへの消去書換えに関する処理命令により、前記一時記憶メモリに格納された前記コマンドおよび/またはプログラムデータを前記大容量メモリに転送することを特徴とする書換え可能なメモリを有するカメラ。
A microcomputer,
A large-capacity electrically erasable and rewritable memory storing a control program for instructing operation of the microcomputer;
A temporary storage memory for temporarily storing data,
Command and / or program data transmitted from an external device is temporarily stored in the temporary storage memory, and the command and / or program data stored in the temporary storage memory is processed by a processing instruction relating to erasure rewriting to the large capacity memory. A camera having a rewritable memory, wherein data is transferred to the mass memory.
前記コマンドおよび/またはプログラムデータは、前記外部の装置における制御により送られてくるものであることを特徴とする請求項1に記載の書換え可能なメモリを有するカメラ。2. The camera having a rewritable memory according to claim 1, wherein the command and / or program data is sent under control of the external device.
JP2003176178A 2003-06-20 2003-06-20 Camera using rewritable memory Pending JP2004102987A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003176178A JP2004102987A (en) 2003-06-20 2003-06-20 Camera using rewritable memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003176178A JP2004102987A (en) 2003-06-20 2003-06-20 Camera using rewritable memory

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP5330452A Division JPH07191364A (en) 1993-12-27 1993-12-27 Camera using reloadable memory

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2006348614A Division JP4222523B2 (en) 2006-12-25 2006-12-25 Camera system and camera

Publications (1)

Publication Number Publication Date
JP2004102987A true JP2004102987A (en) 2004-04-02

Family

ID=32290606

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003176178A Pending JP2004102987A (en) 2003-06-20 2003-06-20 Camera using rewritable memory

Country Status (1)

Country Link
JP (1) JP2004102987A (en)

Similar Documents

Publication Publication Date Title
JP2003098583A (en) Camera using rewritable memory
US5293191A (en) Camera
JP2004102987A (en) Camera using rewritable memory
JP4222523B2 (en) Camera system and camera
JP4282460B2 (en) Data rewrite device
JPH07191364A (en) Camera using reloadable memory
JPH02941A (en) Camera
JP3945406B2 (en) Camera and camera system
JP3608217B2 (en) Camera and camera system
JPH07191365A (en) Camera using reloadable memory
JPH11153826A (en) Display device for camera
JP2982960B2 (en) Camera with self-check function
JP2003005270A (en) Connection cable for camera
JP3409416B2 (en) camera
JP3406870B2 (en) Camera with data imprint function
JP2749286B2 (en) Auto focus camera
JP3495455B2 (en) Camera with shooting information recording function
US6516155B1 (en) Camera capable of controlling a change of setting of data peculiar to a film to be imprinted on the film
JP3412095B2 (en) Camera operation control device
JPH06258709A (en) Camera
JPH0242431A (en) Camera
JPH08320519A (en) Date imprinting device for camera
JP2004062373A (en) Equipment using microcomputer
JPH05216110A (en) Camera capable of multiple exposure
JPH1090780A (en) Film cartridge information display device for camera

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20061024

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061225

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20070508

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070706

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20070717

A912 Removal of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20070810