JPH0338985A - Method of access to memory card for picture data recording - Google Patents

Method of access to memory card for picture data recording

Info

Publication number
JPH0338985A
JPH0338985A JP1173114A JP17311489A JPH0338985A JP H0338985 A JPH0338985 A JP H0338985A JP 1173114 A JP1173114 A JP 1173114A JP 17311489 A JP17311489 A JP 17311489A JP H0338985 A JPH0338985 A JP H0338985A
Authority
JP
Japan
Prior art keywords
address
memory
bits
memory card
image data
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
JP1173114A
Other languages
Japanese (ja)
Inventor
Yoshitaka Ota
佳孝 太田
Takeoki Sakai
酒井 勇起
Hiroaki Arakawa
裕明 荒川
Shinichi Murakami
慎一 村上
Tomoaki Tamura
知章 田村
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.)
Konica Minolta Inc
Original Assignee
Konica Minolta Inc
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 Konica Minolta Inc filed Critical Konica Minolta Inc
Priority to JP1173114A priority Critical patent/JPH0338985A/en
Publication of JPH0338985A publication Critical patent/JPH0338985A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To reduce the number of address lines between the main body of a camera or the main body of a reproducing machine and a memory card and to improve reliability by accessing the memory card for each block to be determined by high-order bits when the memory card for picture data recording is accessed. CONSTITUTION:The address of a memory in the memory card is divided into the high-order bits and low-order bits. Then, an address counter 11 is provided as a high-order bit address means to take in charge of the high-order 16 bits and an address counter 12 is provided as a low-order bit address means to take in charge of low-order 8 bits. These address counters are connected to the address bus of a memory 13. When the memory is accessed, only the high- order bits of the address are designated from an external part and simultaneously with this designation, the low-order bit address means is reset to an initial value. Then, the access is started and afterwards, the address is successively counted up or down by the counter 12 and sequentially accessed. Then, picture data are written or read. Thus, the number of the address lines can be reduced and the reliability is improved.

Description

【発明の詳細な説明】 〈産業上の利用分野〉 本発明は、画像データ記録用のメモリカードに対するア
クセス方法に関する。
DETAILED DESCRIPTION OF THE INVENTION <Field of Industrial Application> The present invention relates to a method of accessing a memory card for recording image data.

〈従来の技術〉 電子スチルカメラとして、CCD等の撮像素子から取込
んだ画像信号をA/D変換して、カメラ本体に着脱自在
に装着されるメモリカードに記録するものがある(特開
昭63−72283号公報。
<Prior art> Some electronic still cameras convert image signals from an image sensor such as a CCD into A/D and record them on a memory card that is removably attached to the camera body. Publication No. 63-72283.

特開昭64−10784号公報参照)。(See Japanese Patent Application Laid-open No. 10784/1984).

このメモリカードは、通常名刺大の基板にSRAM、D
RAM、EPROM又はEEPROM等のメモリチップ
を組込んでプラスチックシートで被覆し、端部にコネク
タを形成したものである。
This memory card is usually a business card-sized board with SRAM, D
A memory chip such as RAM, EPROM or EEPROM is incorporated and covered with a plastic sheet, and a connector is formed at the end.

〈発明が解決しようとする課題〉 ところで、このようなメモリカードに対して、カメラ本
体あるいは再生機本体からアクセスするに際し、メモリ
容量に対応してアドレスのビット数が多くなることから
、アドレスラインが多くなり、コネクタのピン数が多く
なるので、その分、接触不良等を生しる機会が増えて、
信頼性の面で問題がある。
<Problems to be Solved by the Invention> By the way, when accessing such a memory card from the camera body or the playback device body, the number of address bits increases in accordance with the memory capacity, so the address line becomes This increases the number of connector pins, which increases the chances of poor contact, etc.
There are problems with reliability.

本発明は、このような従来の問題点に鑑み、記録される
データが画像データであるという特殊性に着目して、ア
ドレスライン(ピン数)を低減でき、信頼性の向上を図
ることのできる、画像データ記録用のメモリカードに対
するアクセス方法を提供することを目的とする。
In view of these conventional problems, the present invention focuses on the special feature that the data to be recorded is image data, thereby making it possible to reduce the number of address lines (number of pins) and improve reliability. , an object of the present invention is to provide a method of accessing a memory card for recording image data.

〈課題を解決するための手段〉 このため、本発明は、次の第1及び第2の方法を提供す
る。
<Means for Solving the Problems> Therefore, the present invention provides the following first and second methods.

第1の方法は、画像データ記録用のメモリカード内のメ
モリのアドレスを上位ビ・ントと下位ビ1ットとに分け
、 メモリのアクセスに際し、外部よりアドレスの上位ビッ
トのみを指定して上位ビット・アドレス手段をセットし
、これと同時に下位ビット・アドレス手段を初期値にリ
セットして、アクセスを開始し、その後、下位ビット・
アドレス手段によりアドレスを順次アップ又はダウンし
てシーケンシャルアクセスし、画像データの書込み又は
読出しを行う。
The first method is to divide the memory address in the memory card for recording image data into upper bits and lower bits, and when accessing the memory, only the upper bits of the address are specified externally. The access is started by setting the bit address means and at the same time resetting the lower bit address means to the initial value;
Image data is written or read by sequentially accessing the address by sequentially increasing or decreasing the address by the address means.

第2の方法は、画像データ記録用のメモリカード内のメ
モリのアドレスを上位ビットと下位ピントとに分け、 メモリカード内に一画面相当の画像データごとにそれぞ
れのメモリ上のアドレスの上位ビットを記憶した管理用
メモリを設け、 メモリのアクセスに際し、外部より管理用メモリをアク
セスし、メモリ上のアドレスの上位ビットを得て、これ
により上位ビット・アドレス手段をセットし、これと同
時に下位ビット・アドレス手段を初期値にリセットして
、メモリに対するアクセスを開始し、その後、下位ビッ
ト・アドレス手段によりアドレスを順次アップ又はダウ
ンしてシーケンシャルアクセスし、画像データの書込み
又は読出しを行う。
The second method is to divide the memory address in the memory card for recording image data into upper bits and lower focus bits, and store the upper bits of each memory address for each screen worth of image data in the memory card. A management memory is provided, and when accessing the memory, the management memory is accessed externally, the upper bits of the address on the memory are obtained, the upper bit address means is set, and at the same time, the lower bits are set. The address means is reset to an initial value to start accessing the memory, and then the address is sequentially raised or lowered by the lower bit address means for sequential access to write or read image data.

これらは、画像データが一画面相当の範囲では連続的な
もので、途中から読出し等することは必要がないことか
ら、第1の方法では上位ビットにより定まるブロックご
とに、第2の方法では管理用メモリを介して上位ビット
により定まるブロックごとに、書込み又は読出しを行う
ことにより、カメラ本体又は再生機本体とメモリカード
との間のアドレスライン(ピン数)の低減を図るもので
ある。
Since the image data is continuous within the range equivalent to one screen and there is no need to read it out from the middle, the first method manages each block determined by the upper bits, and the second method manages the data block by block. Writing or reading is performed for each block determined by the upper bits through the memory, thereby reducing the number of address lines (number of pins) between the camera body or playback device body and the memory card.

〈実施例〉 以下に本発明の実施例を図面に基づいて説明する。<Example> Embodiments of the present invention will be described below based on the drawings.

第3図は電子スチルカメラのシステム例であり、本シス
テムは制御ブロック1及びクロック発生回路2により制
御されつつ作動し、光学系3を介して被写体の光学像が
CCD等の撮像素子4に与えられ、撮像素子駆動回路5
からの転送パルスにより、撮像素子4から光電変換され
たアナログ画像信号が転送される。
FIG. 3 shows an example of an electronic still camera system. This system operates under the control of a control block 1 and a clock generation circuit 2, and an optical image of a subject is provided to an image pickup device 4 such as a CCD through an optical system 3. and the image sensor drive circuit 5
A photoelectrically converted analog image signal is transferred from the image sensor 4 by a transfer pulse from the image sensor 4 .

そして、撮像素子4からのアナログ画像信号は、アナロ
グ処理回路6で信号処理された後、A/D変換器7にて
デジタル画像データに変換される。
The analog image signal from the image sensor 4 is subjected to signal processing in an analog processing circuit 6, and then converted to digital image data in an A/D converter 7.

そして、A/D変換器7からのデジタル画像データは、
デジタル処理回路8で信号処理された後、インターフェ
ース9を介し、カメラ本体に着脱自在に装着されるメモ
リカード10に書込まれる。また、メモリカード10に
書込まれた画像データは必要によりカメラ本体側に読込
まれる。
The digital image data from the A/D converter 7 is
After the signal is processed by the digital processing circuit 8, it is written to the memory card 10, which is detachably attached to the camera body, via the interface 9. Further, the image data written to the memory card 10 is read into the camera body side as necessary.

再生時はメモリカード10を再生機に装着し、再生機に
より画像データを読出して再生する。
At the time of reproduction, the memory card 10 is attached to a reproduction machine, and the image data is read and reproduced by the reproduction machine.

本発明はこのようなメモリカードに対するアクセス方法
を提供するものであり、以下では、メモリカードのメモ
リのアドレスを0OOOOOH〜FFFFFFH(Hは
16進数を表す)とする。
The present invention provides a method for accessing such a memory card, and hereinafter, the memory addresses of the memory card are assumed to be 0OOOOOH to FFFFFFH (H represents a hexadecimal number).

先ず第1の方法に対応する実施例について説明する。First, an example corresponding to the first method will be described.

第1の方法ではメモリカード内のメモリのアドレスを上
位ビットと下位ビットとに分けるが、ここでは、上位1
6ビツトと下位8ビツトとに分け、メモリのアクセスに
際しては、外部よりアドレスの上位16ビツトのみを指
定して、第2図に示すような256ワードのブロック(
OOH−FFH)ごとにアクセス可能とする。
In the first method, the memory address in the memory card is divided into upper bits and lower bits.
The address is divided into 6 bits and the lower 8 bits, and when accessing the memory, only the upper 16 bits of the address are specified from outside, and a block of 256 words (as shown in Figure 2) is created.
(OOH-FFH).

第1図の例では、メモリカード内に、上位ビット・アド
レス手段としての上位16ビツトを受けもつアドレスカ
ウンタ11と、下位ビット・アドレス手段としての下位
8ビツトを受けもつアドレスカウンタ12とを設け、メ
モリ13のアドレスバスに接続しである。。
In the example shown in FIG. 1, the memory card is provided with an address counter 11 that handles the upper 16 bits as an upper bit address means, and an address counter 12 that handles the lower 8 bits as a lower bit address means. It is connected to the address bus of the memory 13. .

メモリのアクセスに際しては、カメラ側よりアドレスバ
スを通じて16ビツトのアドレスが送られ、プリセット
信号により、アドレスカウンタ11にプリセットされる
。これと同時にアドレスカウンタ12はリセットされ、
初期値のOOHにされる。
When accessing the memory, a 16-bit address is sent from the camera side via the address bus, and is preset in the address counter 11 by a preset signal. At the same time, the address counter 12 is reset,
The initial value is set to OOH.

これにより、カメラ側からの16ビツトのアドレスが1
00OHであれば、メモリ13の100000Hのアド
レスに対しアクセスが開始される。すなわち、コントロ
ール信号(R/W信号、C5信号等)に応じて、メモリ
13のこのアドレスに対しデータバス上のデータが書込
まれ、又はこのアドレスのデータがデータバスを通じて
読出される。
As a result, the 16-bit address from the camera side becomes 1
If it is 00OH, access to address 100000H of memory 13 is started. That is, depending on the control signal (R/W signal, C5 signal, etc.), data on the data bus is written to this address in the memory 13, or data at this address is read out through the data bus.

その後は、クロック信号によりアドレスカウンタ12が
次々とカウントアツプされて、次位のアドレスに対しア
クセスがなされる。
Thereafter, the address counter 12 is counted up one after another by the clock signal, and the next address is accessed.

アドレスカウンタ12がFFHからOOHになると、キ
ャリー信号を生じ、これによりアドレスカウンタ11に
対するクロック信号が有効となり、アドレスカウンタ1
1がカウントアツプされ、次位のブロックに対しても引
続いてアクセスがなされる。
When the address counter 12 goes from FFH to OOH, a carry signal is generated, which makes the clock signal for the address counter 11 valid, and the address counter 1
The count is incremented by 1, and the next block is successively accessed.

これにより画像データの書込み・読出しを行うことがで
きる。
This allows image data to be written and read.

第4図及び第5図(a)、 (b)の例は第1図のアク
セス手法を応用してメモリカード内の画像記録の整理を
行う場合について示している。
The examples in FIGS. 4 and 5(a) and 5(b) show a case where image records in a memory card are organized by applying the access method shown in FIG. 1.

メモリカード内のメモリには撮影順に画像データが記憶
されるが、撮影後にカメラ又は再生機の消去機能により
特定の画像データを消去する場合がある。かかる場合、
例えば6枚撮影した後に5枚目の画像を消去したとすれ
ば、メモリ上の記録済エリア中に空エリアを生じるから
、第6図の如く、6枚目のエリアの画像データを5枚目
の空エリアに移動させて、空エリアをつめておくことが
望ましい。本例はかかる要望に応えるものである。
Although image data is stored in the memory of the memory card in the order in which it was taken, specific image data may be erased by the erase function of the camera or playback device after the image is taken. In such case,
For example, if you delete the fifth image after taking six pictures, an empty area will be created in the recorded area of the memory, so as shown in Figure 6, the image data in the area of the sixth picture will be deleted from the fifth picture. It is desirable to move it to an empty area and fill up the empty area. This example meets this demand.

先ずアドレスバスを通じて複写元(S)である6枚目の
エリアの先頭アドレスの上位16ビツト(例えば600
0 H)が送られ、プリセット信号のによりアドレスカ
ウンタ11にプリセットされる。
First, the upper 16 bits (for example, 600
0H) is sent, and the address counter 11 is preset by the preset signal.

次にアドレスバスを通じて複写先(D)であるである5
枚目のエリアの先頭アドレスの上位16ビツト(例えば
5000H)が送られ、プリセット信号■によりアドレ
スカウンタ11’ にプリセットされる。これと同時に
リセット信号によりアドレスカウンタ12はリセットさ
れ、初期値の00)(にされる。
Next, the copy destination (D) is 5 through the address bus.
The upper 16 bits (for example, 5000H) of the start address of the th area are sent and preset in the address counter 11' by the preset signal . At the same time, the address counter 12 is reset by the reset signal and set to the initial value 00).

ここで、S/D切換信号に応し、S/D切換スイッチ1
4が切換えられ、先ずS側に切換えられて、データの読
出しがなされる。
Here, in response to the S/D switching signal, S/D switching switch 1
4 is switched, first it is switched to the S side, and data is read.

すなわち、メモリ13の例えば600000Hのアドレ
スに対しアクセスが開始され、コントロール信号(R/
W信号等)により、このアドレスのデータが読出されて
、ラッチ回路15にラッチされる。
That is, access is started to the address 600000H of the memory 13, and the control signal (R/
W signal, etc.), the data at this address is read out and latched into the latch circuit 15.

次にS/D切換スイッチ14がD側に切換えられて、デ
ータの書込みがなされる。
Next, the S/D changeover switch 14 is switched to the D side, and data is written.

すなわち、メモリ13の例えば500000Hのアドレ
スに対しアクセスが開始され、コントロール信号(R/
W信号等)により、このアドレスに対し、ラッチ回l1
115上のデータが書込まれる。
That is, access is started to the address of 500000H in the memory 13, for example, and the control signal (R/
W signal, etc.), the latch circuit l1 is
The data on 115 is written.

その後は、クロック信号によりアドレスカウンタ12が
次々とカウントアツプされ、S/D切換スイッチ14の
作動と共に、それぞれ次位のアドレスに対しアクセスが
なされて、画像データが次々と複写される。
Thereafter, the address counter 12 is counted up one after another by the clock signal, and with the operation of the S/D changeover switch 14, access is made to each next address, and image data is successively copied.

アドレスカウンタ12がFFHからOOHになると、キ
ャリー信号を生じ、これによりアドレスカウンタ11.
11″に対するクロック信号が有効となり、アドレスカ
ウンタ11.11°がカウントアツプされ、次位のブロ
ックに対しても引続いてアクセスがなされて、画像デー
タが更に次々と複写される。
When address counter 12 goes from FFH to OOH, it generates a carry signal, which causes address counter 11 .
The clock signal for 11'' becomes valid, the address counter 11.11° counts up, the next block is accessed successively, and the image data is further copied one after another.

これにより画像データをつめることができる。This allows the image data to be packed.

第7図及び第8図の例は、第4図の例の2個の上位ビッ
トアドレス手段としてのアドレスカウンタ11.11″
をアドレスラッチ16.16°に変更したものである。
The example of FIGS. 7 and 8 uses the address counter 11.11'' as the two upper bit address means of the example of FIG.
is changed to an address latch of 16.16°.

これによれば、ハード上の負担が軽減される。According to this, the burden on hardware is reduced.

但し、■ブロック(256ワード)の複写ごとに上位1
6ビツトをプリセットする必要があり、ソフト上の負担
は重くなる。
However, for each block (256 words) copied, the top 1
It is necessary to preset 6 bits, which increases the software burden.

また、画像データ記録用のメモリカードに対しアクセス
する場合、画像メモリの中の特定エリアに、第9図に例
示するような管理用データを置くのがよい。
Further, when accessing a memory card for recording image data, it is preferable to place management data as illustrated in FIG. 9 in a specific area in the image memory.

ここで、N枚記録しである場合、N枚目以降のデータは
、ALL ”O″゛とする。
Here, if N sheets are to be recorded, all data from the Nth sheet onwards is set to "O".

従って、OOHからシーケンシャルアクセスして、AL
L″O++  なるワードを検出したときは、その前の
ワードが最終記録済アドレスである。そして、これとO
OH,OIHの内容とから、残り容量を算出できる。
Therefore, by performing sequential access from OOH,
When a word L″O++ is detected, the previous word is the last recorded address.
The remaining capacity can be calculated from the contents of OH and OIH.

また、カメラにメモリカードが差し込まれた場合、先ず
このエリアを読出し、カメラ側のメモリに置く。
Also, when a memory card is inserted into the camera, this area is first read out and placed in the camera's memory.

そして、カメラのパワースイッチがONしている間は、
カメラ側のメモリの中でだけデータの書換えを行い、パ
ワースイッチがOFFされたときに、このデータをメモ
リカード側へ移してからパワーOFFするとよい。この
場合、メモリカードが強制的に急に引抜かれたりしない
ようになっていることが必要である。
While the camera's power switch is on,
It is preferable to rewrite data only in the memory on the camera side, and when the power switch is turned off, transfer this data to the memory card side and then turn off the power. In this case, it is necessary to prevent the memory card from being forcibly pulled out suddenly.

又は、高速連写等、高速動作を行っている期間中は、カ
メラ側のメモリのデータだけ書換えて、メモリカード側
は書換えず、高速動作が終了して、時間に余裕ができた
ときに直ちにメモリカードの方も書換えるようにすると
よい。これによりいつカードを抜かれても大丈夫となる
Alternatively, during periods of high-speed operation such as high-speed continuous shooting, rewrite only the data in the camera's memory but do not rewrite the memory card, and immediately after the high-speed operation ends and you have time to spare. It is a good idea to rewrite the memory card as well. This makes it safe even if the card is removed at any time.

次に第2の方法に対応する実施例について説明する。Next, an example corresponding to the second method will be described.

第10図を参照し、第2の方法ではメモリカード内のメ
モリ13に画像データを順次記憶させると共に、メモリ
カード内に一画面相当の画像データごとにそれぞれのメ
モリ13上のアドレス(例えば最終アドレス)の上位ビ
ットを記憶した管理用メモリ17を設ける。そして、こ
の管理用メモリ17を介してアクセスする。第11図は
その管理用メモリの内容を例示したもので、lワード−
16ビツトとしである。尚、管理用メモリ17のFFH
番地はカウンタ機能を持つ。
Referring to FIG. 10, in the second method, image data is sequentially stored in the memory 13 in the memory card, and each image data corresponding to one screen is stored in the memory card at an address (for example, the final address) on the memory 13. ) is provided with a management memory 17 that stores the upper bits of the data. Then, access is made via this management memory 17. Figure 11 shows an example of the contents of the management memory.
It is 16 bits. Furthermore, FFH of the management memory 17
Addresses have a counter function.

先ず画像メモリの残り容量計算をする場合の手順につい
て説明する。
First, the procedure for calculating the remaining capacity of the image memory will be explained.

(1)コントロール信号■、■をR/W=R(リード・
ライト信号のリード状り、0E=DIS(アウトプット
エネーブル信号の非出力状態)とし、カメラ側からデー
タバスにOOHを出力し、クロック■にパルスを出力す
る。
(1) Control signals ■, ■ R/W=R (read/
When the write signal is read, 0E=DIS (output enable signal non-output state), OOH is output from the camera side to the data bus, and a pulse is output to the clock (2).

(2)データバスを入力状態にし、コントロール信号の
を0E=E (アウトプットエネーブル信号の出力状態
)とする。これにより、管理用メモリ17からアドレス
OOHの内容(16ビツト)が出力される。
(2) Set the data bus to the input state and set the control signal to 0E=E (output enable signal output state). As a result, the contents (16 bits) of the address OOH are output from the management memory 17.

(3)  セレクト信号によりセレクトスイッチ18を
切換えながら、その上位8ビツト、下位8ビツトをデー
タバスを通じてカメラ側に読込む。これによりアドレス
OOHの内容であるメモリカードの容量を知ることがで
きる。
(3) While switching the select switch 18 using the select signal, read the upper 8 bits and lower 8 bits to the camera side through the data bus. This allows the capacity of the memory card, which is the content of the address OOH, to be known.

(4)次に、コントロール信号■、■をR/W=R,0
E=DrSとし、カメラ側からデータバスにFFHを出
力し、クロックのにパルスを出力する。
(4) Next, control signals ■ and ■ are R/W=R,0
Set E=DrS, output FFH from the camera side to the data bus, and output a pulse to the clock.

(5)データバスを人力状態にし、コントロール信号■
を0E=Eとする。これにより、管理用メモリ17から
アドレスFFHの内容が出力され、セレフトスイッチ1
8を介して上位8ビツト(又は8ビツト)のみが取出さ
れる。
(5) Put the data bus into the manual state and control signal■
Let 0E=E. As a result, the contents of the address FFH are output from the management memory 17, and the select switch 1
Only the upper 8 bits (or 8 bits) are taken out via 8.

尚、アドレスFFHに記憶された「最終記録画像のアド
レス」とは、管理用メモリ17の中でのアドレス(8ビ
ツト)で、6枚目まで撮影した場合は、06Hである。
The "address of the last recorded image" stored in address FFH is an address (8 bits) in the management memory 17, and is 06H if up to the 6th image has been photographed.

ここで、管理用メモリ17はlワード−16ビツトであ
るから、このデータは、上位8ビツト、下位8ビツトの
いずれか、又は両方に書いておく。
Here, since the management memory 17 is l words - 16 bits, this data is written in either the upper 8 bits, the lower 8 bits, or both.

(6)  コントロール信号■、■をR/W=R,0E
=DISとし、(5)で取出したデータをデータバスを
通じて管理用メモリ17に送り、クロックのにパルスを
出力する。
(6) Control signals ■, ■ R/W = R, 0E
=DIS, the data extracted in (5) is sent to the management memory 17 via the data bus, and a pulse is output to the clock.

(7)データバスを入力状態にし、コントロール信号の
を0E=Eとする。これにより、管理用メモリ17から
例えばアドレス06Hの内容(16ビツト)が出力され
る。
(7) Put the data bus in the input state and set the control signal to 0E=E. As a result, the contents (16 bits) of address 06H, for example, are output from the management memory 17.

(8)  セレクト信号によりセレクトスイッチ18を
切換えながら、その上位8ビツト、下位8ビツトをデー
タバスを通じてカメラ側に読込む。これによりアドレス
06Hの内容である6枚目の画像の最終アドレスを知る
ことができる。この例では、これは最終記録画像の最終
アドレスである。
(8) While switching the select switch 18 using the select signal, read the upper 8 bits and lower 8 bits to the camera side through the data bus. This makes it possible to know the final address of the sixth image, which is the content of address 06H. In this example, this is the final address of the final recorded image.

(9)  (3)と(8)のデータから画像メモリ13
の残り容量を計算する。
(9) Image memory 13 from data of (3) and (8)
Calculate the remaining capacity of.

次に追加記録をする場合の手順について説明する。Next, the procedure for additional recording will be explained.

(1)  コントロール信号■、■をR/W=R,0E
=D I Sとし、カメラ側からデータバスにFFHを
出力し、クロックのにパルスを出力する。
(1) Control signals ■, ■ R/W = R, 0E
=DIS, output FFH from the camera side to the data bus, and output a pulse to the clock.

(2)データバスを人力状態にし、コントロール信号■
を0E=Eとする。これにより、管理用メモリ17から
アドレスFFHの内容(16ビツトで、例えば6枚目ま
で記録してあれば、上位8ビツト。
(2) Put the data bus into the manual state and control signal■
Let 0E=E. As a result, the contents of the address FFH are transferred from the management memory 17 (16 bits, for example, if up to the 6th disc has been recorded, the upper 8 bits).

下位8ビツト、又は両方が06H)が出力される。The lower 8 bits (or both are 06H) are output.

(3)その出力からセレクトスイッチ18を介して上位
8ビツト(又は下位8ビツト)のみを取出す。
(3) Extract only the upper 8 bits (or lower 8 bits) from the output via the select switch 18.

これにより、例えば06Hが読込まれる。As a result, for example, 06H is read.

(4)  コントロール信号■を0E=D I Sとし
、上記(3)で読込んだデータをデータバスを通じて管
理用メモリ17に送り、クロックのにパルスを出力する
(4) Set the control signal ■ to 0E=DIS, send the data read in the above (3) to the management memory 17 via the data bus, and output a pulse to the clock.

(5)データバスを入力状態にし、コントロール信号の
を0E=Eとする。これにより、管理用メモリ17から
最終に記録された例えば6枚目の画像の最終アドレスの
上位16ビツト(例えば5555H)が出力される。
(5) Bring the data bus to the input state and set the control signal to 0E=E. As a result, the upper 16 bits (for example, 5555H) of the final address of the last recorded image, for example, the sixth image, are output from the management memory 17.

(6)カメラ側からセットにパルスを出力する。(6) Output pulses from the camera side to the set.

これによりアドレスカウンタ11は例えば5555Hに
プリセットされ、アドレスカウンタ12はFFHにプリ
セットされる。そして、クロック■にパルスを出力し、
アドレスカウンタ12を1インクリメントする。これに
より、アドレスカウンタ11は5556Hに、アドレス
カウンタ12はOOHにされる。
As a result, the address counter 11 is preset to, for example, 5555H, and the address counter 12 is preset to FFH. Then, output a pulse to the clock ■,
The address counter 12 is incremented by 1. As a result, the address counter 11 is set to 5556H, and the address counter 12 is set to OOH.

(7)コントロール信号■を0E=D I Sとする。(7) Set the control signal ■ to 0E=DIS.

(8)カメラ側からデータバスに画像データを出力し、
クロック■にパルスを出力する。これを画像データの数
だけ繰返す、これにより画像データタが書込まれる。
(8) Output image data from the camera side to the data bus,
Outputs a pulse to clock ■. This is repeated for the number of image data, thereby writing the image data.

(9)  データバスに〔上記(3)で読込んだデータ
+1〕=例えば07Hを出力する。そして、コントロー
ル信号のをW/R=Wとし、クロックのにパルスを出力
する。
(9) Output [data read in (3) above]=07H, for example, to the data bus. Then, the control signal is set to W/R=W, and a pulse is output to the clock.

00)  クロックの−2にパルスを人力し、管理用メ
モリ17のFFH番地の内容を1カウントアンプする。
00) A pulse is manually applied at -2 of the clock to amplify the contents of the FFH address of the management memory 17 by one count.

次に消去ついて説明する。Next, erasure will be explained.

例えば5枚目の画像を消去する場合、先ず、A=(05
H番地の内容)+1.B= (04H番地の内容)+1
として、A番地の画像メモリの内容をB番地へ移す。
For example, when deleting the fifth image, first A=(05
Contents of address H) +1. B= (Contents of address 04H)+1
The contents of the image memory at address A are moved to address B.

そして、A、Bをそれぞれ1つずつインクリメントしつ
つ、A番地の画像メモリの内容をB番地へ移す。
Then, while incrementing A and B by one, the contents of the image memory at address A are transferred to address B.

これをAの値が06Hの内容の値と同じになるまで繰返
し、このときのBの値を05Hに入れる。
This is repeated until the value of A becomes the same as the value of the content of 06H, and the value of B at this time is entered into 05H.

次にAの値が07Hの内容と同じになるまで繰返し、こ
のときのBの値を06Hに入れる。
Next, repeat until the value of A becomes the same as the content of 07H, and then put the value of B at this time into 06H.

そして、これらを記録済の全画像に対して行う。Then, these steps are performed on all recorded images.

尚、以上の説明ではカウンタはすべてインクリメント動
作で説明したが、デクリメント動作でも構わないことは
言うまでもない。
Incidentally, in the above explanation, all counters have been explained using increment operations, but needless to say, they may also perform decrement operations.

〈発明の効果〉 以上説明したように本発明によれば、画像データ記録用
のメモリカードに対するアクセスに際し、上位ビットに
より定まるブロックごとに、又は、管理用メモリを介し
て上位ビットにより定まるブロックごとに、アクセスす
るので、カメラ本体又は再生機本体とメモリカードとの
間のアドレスライン(ピン数)を低減でき、信頼性の向
上を図ることができるという効果が得られる。
<Effects of the Invention> As explained above, according to the present invention, when accessing a memory card for recording image data, data is accessed for each block determined by the upper bits, or for each block determined by the upper bits via the management memory. , the number of address lines (number of pins) between the camera body or playback device body and the memory card can be reduced, and reliability can be improved.

【図面の簡単な説明】[Brief explanation of drawings]

第1図は本発明の第1の方法に対応する実施例を示す図
、第2図は画像メモリの概略図、第3図は電子スチルカ
メラのシステム図、第4図は他の実施例を示す図、第5
図(a)、 (b)は第4図の例におけるタイミング図
、第6図はデータをつめる様子を示す図、第7図は他の
実施例を示す図、第8図は第7図の例におけるタイミン
グ図、第9図は管理用データエリアの概略図、第10図
は第2の方法に対応する実施例を示す図、第11図は管
理用メモリの概略図である。
Fig. 1 is a diagram showing an embodiment corresponding to the first method of the present invention, Fig. 2 is a schematic diagram of an image memory, Fig. 3 is a system diagram of an electronic still camera, and Fig. 4 is a diagram showing another embodiment. Figure 5
Figures (a) and (b) are timing diagrams for the example in Figure 4, Figure 6 is a diagram showing how data is packed, Figure 7 is a diagram showing another embodiment, and Figure 8 is a diagram for the example in Figure 7. FIG. 9 is a schematic diagram of the management data area, FIG. 10 is a diagram showing an embodiment corresponding to the second method, and FIG. 11 is a schematic diagram of the management memory.

Claims (2)

【特許請求の範囲】[Claims] (1)画像データ記録用のメモリカード内のメモリのア
ドレスを上位ビットと下位ビットとに分け、メモリのア
クセスに際し、外部よりアドレスの上位ビットのみを指
定して上位ビット・アドレス手段をセットし、これと同
時に下位ビット・アドレス手段を初期値にリセットして
、アクセスを開始し、その後、下位ビット・アドレス手
段によりアドレスを順次アップ又はダウンしてシーケン
シャルアクセスし、画像データの書込み又は読出しを行
うことを特徴とする画像データ記録用のメモリカードに
対するアクセス方法。
(1) Divide the memory address in the memory card for recording image data into upper bits and lower bits, and when accessing the memory, specify only the upper bits of the address from the outside and set the upper bit address means, At the same time, the lower bit address means is reset to the initial value to start access, and then the address is sequentially raised or lowered by the lower bit address means for sequential access to write or read image data. A method for accessing a memory card for recording image data, characterized by:
(2)画像データ記録用のメモリカード内のメモリのア
ドレスを上位ビットと下位ビットとに分け、メモリカー
ド内に一画面相当の画像データごとにそれぞれのメモリ
上のアドレスの上位ビットを記憶した管理用メモリを設
け、 メモリのアクセスに際し、外部より管理用メモリをアク
セスし、メモリ上のアドレスの上位ビットを得て、これ
により上位ビット・アドレス手段をセットし、これと同
時に下位ビット・アドレス手段を初期値にリセットして
、メモリに対するアクセスを開始し、その後、下位ビッ
ト・アドレス手段によりアドレスを順次アップ又はダウ
ンしてシーケンシャルアクセスし、画像データの書込み
又は読出しを行うことを特徴とする画像データ記録用の
メモリカードに対するアクセス方法。
(2) Management in which memory addresses in a memory card for recording image data are divided into upper bits and lower bits, and the upper bits of each memory address are stored in the memory card for each image data equivalent to one screen. When accessing the memory, the management memory is accessed externally, the upper bits of the address on the memory are obtained, the upper bit address means is set, and the lower bit address means is set at the same time. Image data recording characterized by resetting to an initial value, starting access to the memory, and then sequentially increasing or decreasing the address using lower bit address means to perform sequential access to write or read image data. How to access your memory card.
JP1173114A 1989-07-06 1989-07-06 Method of access to memory card for picture data recording Pending JPH0338985A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1173114A JPH0338985A (en) 1989-07-06 1989-07-06 Method of access to memory card for picture data recording

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1173114A JPH0338985A (en) 1989-07-06 1989-07-06 Method of access to memory card for picture data recording

Publications (1)

Publication Number Publication Date
JPH0338985A true JPH0338985A (en) 1991-02-20

Family

ID=15954409

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1173114A Pending JPH0338985A (en) 1989-07-06 1989-07-06 Method of access to memory card for picture data recording

Country Status (1)

Country Link
JP (1) JPH0338985A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5724545A (en) * 1990-04-12 1998-03-03 Skorski; Serge Memory card with capacity-independent 3-line addressing system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5724545A (en) * 1990-04-12 1998-03-03 Skorski; Serge Memory card with capacity-independent 3-line addressing system

Similar Documents

Publication Publication Date Title
US5274457A (en) Digital electronic still camera having removable record means
JP3750771B2 (en) Image recording method and apparatus
US6427049B2 (en) Electronic still camera
JPS63286077A (en) Picture data storage device
US6728476B1 (en) Apparatus and method for thumbnail picture data readout
US5206931A (en) Picture file system
JPS63206073A (en) Information editing device
JPH0338985A (en) Method of access to memory card for picture data recording
JP3052301B2 (en) Electronic camera
JPH02193236A (en) Storage management system for memory card
JPH0549000A (en) Electronic camera
JP3820682B2 (en) MEMORY CONTROL DEVICE, DATA WRITE / READ METHOD, AND IMAGING DEVICE
JP2892806B2 (en) Electronic still camera
JPH06133264A (en) Electronic still camera
JP3831472B2 (en) Electronic still camera erasing operation control device
JP4406094B2 (en) Image reproducing apparatus and image recording apparatus
JP3000606B2 (en) Data processing device
JP3103699B2 (en) Digital electronic still camera with continuous shooting function
JPH02249371A (en) Electronic camera
JP3291778B2 (en) Memory device
JPH02226977A (en) Still picture data processing unit
JP2761217B2 (en) Image storage device
JP2791081B2 (en) Electronic still camera device
JP3658003B2 (en) Electronic camera
JPH0879686A (en) Method for recording information of electronic still camera and device therefor