JPH04325993A - Memory card - Google Patents
Memory cardInfo
- Publication number
- JPH04325993A JPH04325993A JP3097240A JP9724091A JPH04325993A JP H04325993 A JPH04325993 A JP H04325993A JP 3097240 A JP3097240 A JP 3097240A JP 9724091 A JP9724091 A JP 9724091A JP H04325993 A JPH04325993 A JP H04325993A
- Authority
- JP
- Japan
- Prior art keywords
- memory
- card
- address
- pin
- pins
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 230000015654 memory Effects 0.000 claims abstract description 39
- 230000006870 function Effects 0.000 description 8
- 238000010586 diagram Methods 0.000 description 7
- 230000002457 bidirectional effect Effects 0.000 description 1
- 238000000034 method Methods 0.000 description 1
Abstract
Description
【0001】0001
【産業上の利用分野】本発明はメモリカードに関するも
のである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to memory cards.
【0002】0002
【従来の技術】現在メモリカードとして例えば(JEI
DA Ver4.0)と呼ばれる型式の入出力ピンを
有するものがある。[Prior Art] Currently, memory cards such as (JEI
Some devices have input/output pins of a type called DA Ver. 4.0).
【0003】0003
【発明が解決しようとしている課題】しかし上記例では
ピン数が68本もある為、例えば電子機器としてデジタ
ルカメラのためのメモリとしてカメラ本体に装着する場
合にはコネクタが大きくなる、又は、各ピンの接触の信
頼性が低下する等の問題がある。[Problem to be Solved by the Invention] However, in the above example, the number of pins is 68, so if it is attached to the camera body as a memory for a digital camera as an electronic device, the connector becomes large, or each pin There are problems such as reduced contact reliability.
【0004】本発明はかかる点に鑑みて信頼性を向上さ
せたメモリカードを提供することを目的とする。[0004] In view of this point, an object of the present invention is to provide a memory card with improved reliability.
【0005】[0005]
【課題を解決するための手段】本発明のメモリカードは
上述の目的を達成するため、メモリカードのライトイネ
ーブル、リードイネーブルを指定するためのピンをメモ
リのアドレス空間を指定するためのピンとして兼用した
ことを特徴とするメモリカード。[Means for Solving the Problems] In order to achieve the above-mentioned object, the memory card of the present invention uses a pin for specifying the write enable and read enable of the memory card as a pin for specifying the address space of the memory. A memory card that is characterized by:
【0006】[0006]
【実施例】図1(1)、(2)は本発明の一実施例のメ
モリカードであり20ピンのメモリカードで実施した場
合のピンの種類と機能を示す。DESCRIPTION OF THE PREFERRED EMBODIMENTS FIGS. 1(1) and 1(2) show a memory card according to an embodiment of the present invention, and show the types and functions of pins when a 20-pin memory card is used.
【0007】図2はカード内のメモリをアクセスする為
の各ピンの状態を示す。FIG. 2 shows the state of each pin for accessing the memory within the card.
【0008】図3はデータ書き込みのタイミングチャー
ト、図4はデータ読み込みのタイミングチャート、図5
はステータス0.1の内容の一例、図6はカード内のメ
モリマック例、図7はカードコントロールデータ例を夫
々示す図である。FIG. 3 is a timing chart for data writing, FIG. 4 is a timing chart for data reading, and FIG. 5 is a timing chart for data reading.
6 shows an example of the contents of status 0.1, FIG. 6 shows an example of the memory map in the card, and FIG. 7 shows an example of card control data.
【0009】まずカード内のメモリアクセスについて説
明する。データの書き込み、読み出しとも図2に示すよ
うにM1,M0,ST1,ST0の各ピンを設定してア
ドレスの指定をする。最大32ビットでポイントできる
FFFFFFFF(HEX)までアクセス可能である。
例えばアドレスFEDCBA98(HEX)に76(H
EX)というデータを書く場合、図3のようなタイミン
グで各ピンの出力をコントロールすればよい。First, memory access within the card will be explained. In both writing and reading of data, addresses are specified by setting the M1, M0, ST1, and ST0 pins as shown in FIG. It is possible to access up to FFFFFFFF (HEX) which can be pointed with a maximum of 32 bits. For example, address FEDCBA98 (HEX) is 76 (H
When writing the data EX), the output of each pin can be controlled at the timing shown in Figure 3.
【0010】読み出しの場合も図4のようにすればよい
。[0010] Also in the case of reading, the procedure shown in FIG. 4 may be used.
【0011】アドレス指定はそのカードのメモリ容量に
応じ、上位のアドレス指定を省略してもよい。またアド
レス上連続的にデータを読み書きする為にアドレスのオ
ートインクリメント機能をカード内に設けてもよい。つ
まり、1度アドレスを指示すれば後のデータはM1,M
0ピンを(0,0)にしてST0(書き込みの場合)、
ST1(読み出しの場合)をHiにする毎にカード内で
自動的にアドレスが更新され、データが読み書きされる
。このアドレスのオートインクメントの機能は公知であ
るので、ここでの詳細な説明は省く。[0011] Address designation may be omitted depending on the memory capacity of the card. Further, an address auto-increment function may be provided in the card in order to continuously read and write data on the address. In other words, once you specify an address, the subsequent data will be M1, M
Set the 0 pin to (0,0) and ST0 (for writing),
Each time ST1 (for reading) is set to Hi, the address is automatically updated within the card, and data is read and written. Since this address auto-increment function is well known, detailed explanation will be omitted here.
【0012】またオートインクリメント機能の設定、解
除はカード内にモードレジスタを設け、このレジスタに
所定の値を書くことによりアドレシングモードが切替わ
る様にしておけばよい。The auto-increment function can be set or canceled by providing a mode register in the card, and writing a predetermined value into this register to switch the addressing mode.
【0013】次に図2中のRead STATUS0
,1について説明する。Next, Read STATUS0 in FIG.
, 1 will be explained.
【0014】これはアドレス指定なしに読めるレジスタ
(メモリ)で、カードの状態を各ビットに割り当ててい
る。例えば図5のようにSTATUSOのビット0のE
Rはカードに何らかのエラーが発生したとき、セットさ
れるエラービット、ビット1〜3のRDY0,1,2は
書き込み終了や、アクセス可能等の状態を示すレディビ
ット、ビット4〜6のBL0,1,2は電池内蔵カード
の場合に電池の消耗程度を示すバッテリーレベルビット
、ビット7のEPはカードが消去、又は書き込み禁止を
示すイレーズプロテクトビット。[0014] This is a register (memory) that can be read without addressing, and the card status is assigned to each bit. For example, as shown in Figure 5, E of bit 0 of STATUSO
R is an error bit that is set when some kind of error occurs in the card. Bits 1 to 3 RDY0, 1, and 2 are ready bits that indicate that writing has been completed or access is possible. Bits 4 to 6 are BL0 and 1. , 2 is a battery level bit indicating the degree of battery consumption in the case of a card with a built-in battery, and bit 7 EP is an erase protect bit indicating that the card is erased or write-protected.
【0015】STATUS1のER0〜3はSTATU
S0 ERビットがセットされたとき、その具体的内
容をされに細かく示すエラービット、その他は予備とし
て割り当てている。[0015] ER0 to 3 of STATUS1 are STATUS
When the S0 ER bit is set, the error bit shows the specific details in detail, and the other bits are allocated as a reserve.
【0016】これによりカードの状態をできるだけ早く
読み出せるようにすることが出来る。[0016] This makes it possible to read the card status as quickly as possible.
【0017】次にカード内のメモリの割り当てについて
述べる。このメモリマップ例を図6に示す。Next, memory allocation within the card will be described. An example of this memory map is shown in FIG.
【0018】アドレスの小さいエリアにはカードの属性
データを書いておく、図6では仮に100000H以下
を属性データ領域に割り当てそれ以外をユーザデータ領
域としている。本実施例ではカード内に異なる種類のメ
モリが混在していても読み書きができる。即ち、例えば
メモリ1としてSRAMを、メモリ2としてPROM、
メモリ3としてフラッシュROMが混在しているとする
。それぞれの容量はメモリ1か64Kバイト、メモリ2
を1Mバイト、メモリ3を4Mバイトとする。そして図
6のようにアドレスの属性データ領域以降順にメモリ1
、2、3と割り当てる。Attribute data of the card is written in an area with a small address. In FIG. 6, an area of 100000H or less is temporarily allocated to the attribute data area, and the rest is used as the user data area. In this embodiment, even if different types of memories are mixed in the card, reading and writing is possible. That is, for example, SRAM is used as memory 1, PROM is used as memory 2,
Assume that the memory 3 includes a flash ROM. Each capacity is memory 1, 64K bytes, memory 2
is 1M byte, and memory 3 is 4M byte. Then, as shown in Figure 6, memory 1
, 2, 3.
【0019】この場合メモリ1と2、2と3の領域必ず
しも連続的につながってなくともよい。例えばメモリ1
を100000(HEX)から10FFFF(HEX)
まで64Kバイト
メモリ2は200000(HEX)から2FFFF(H
EX)まで1Mバイト
メモリ3は300000(HEX)から700000(
HEX)まで4Mバイト
と割り当ててもよい。In this case, the areas of memories 1 and 2, and areas 2 and 3 do not necessarily have to be continuously connected. For example, memory 1
from 100000 (HEX) to 10FFFF (HEX)
Up to 64K bytes Memory 2 is 200000 (HEX) to 2FFFF (H
EX) to 1M byte memory 3 is 300,000 (HEX) to 700,000 (
HEX) up to 4 Mbytes may be allocated.
【0020】こうした場合、属性領域には図7のように
メモリの種類とそのメモリ領域のスタートアドレスとエ
ンドアドレスを書いておく。1種類のメモリについてこ
れを1組分用意する。従って上記のようにメモリ1、2
、3と3つある場合は3組分の属性を書いておく。In such a case, the type of memory and the start address and end address of the memory area are written in the attribute area as shown in FIG. One set of these is prepared for each type of memory. Therefore, as shown above, memory 1 and 2
, 3, if there are three, write the attributes for the three sets.
【0021】そして各メモリの属性情報終了コードとし
て例えばゼロを1byte分設定する。この属性領域は
スタート、エンドアドレス以外にアクセススピード消去
電圧、書き込み、読み出し電圧、等が書き込まれている
。そして属性終了コードか2回連続したところを全属性
データの終了としている。Then, for example, 1 byte of zero is set as the attribute information end code of each memory. In addition to the start and end addresses, access speed erase voltage, write and read voltages, etc. are written in this attribute area. All attribute data ends when the attribute end code is repeated twice.
【0022】以上によりカードがカメラ本体に装着され
たら、この属性情報を読み込むことにより、どんな種類
のメモリかどれくらいの容量あるかが直ちに判断できる
。これに基づいて所定のメモリ管理様式に従い、読み書
きを行うことができる。When the card is inserted into the camera body as described above, by reading this attribute information, it is possible to immediately determine what type of memory it has and how much capacity it has. Based on this, reading and writing can be performed according to a predetermined memory management style.
【0023】(他の実施例)本実施例では20ピンのカ
ードについて述べたが、他のピン数でもよい。(Other Embodiments) In this embodiment, a 20-pin card has been described, but other numbers of pins may be used.
【0024】またデータバスも8ビットにしたが、これ
も何ビットでもよい。Further, although the data bus is made 8 bits, it may also be any number of bits.
【0025】メモリの種類により多電源が必要な場合も
あるが、この場合には夫々の電源電圧のピンを用意して
もよい。Depending on the type of memory, multiple power supplies may be required; in this case, pins for each power supply voltage may be provided.
【0026】またコントロール時の各ピンの極性は本実
施例によらなくてもよい。たとえば本実施例ではCEか
Hiでカードイネーブルであるが、Lowでイネーブル
としてもよい。ステータスの種類も本実施例以外のもの
の追加、変更は自由である。Furthermore, the polarity of each pin during control does not have to be according to this embodiment. For example, in this embodiment, the card is enabled when CE is High, but it may be enabled when CE is Low. Status types other than those in this example can be added or changed as desired.
【0027】以上説明した本実施例に依れば従来のメモ
リ空間分のアドレスピンA0〜A25、ライトイネーブ
ル(WE)、出力イネーブル(OE)の機能を兼用化し
、4本のピン(カードイネーブルを除く)のみで多くの
メモリ容量をアクセス可能にしたものである。According to the present embodiment described above, the functions of address pins A0 to A25, write enable (WE), and output enable (OE) for the conventional memory space are shared, and four pins (card enable and This makes it possible to access a large amount of memory capacity only with
【0028】したがってピンの機能を多重化したことに
より比較的少ないピン数で、大きな容量のメモリ空間を
アクセスすることが可能となった。従ってピンの接触の
信頼性を損なうことなく、またコネクタの大型化を招か
ずに大容量メモリカードをカメラに装着することが可能
となった。Therefore, by multiplexing the pin functions, it has become possible to access a large capacity memory space with a relatively small number of pins. Therefore, it has become possible to attach a large capacity memory card to a camera without impairing the reliability of pin contact or increasing the size of the connector.
【0029】また1つのカード内に複数種類のメモリを
混雑させることも可能となった。[0029] It has also become possible to congest multiple types of memories within one card.
【0030】本実施例ではM0、M1のピンをD0〜D
7の上位ビットとして用いたがこれに限らず下位ビット
であってもよいし、他のピンであってもよい。In this embodiment, the M0 and M1 pins are connected to D0 to D.
Although it is used as the upper bit of 7, it is not limited to this and may be a lower bit or another pin.
【0031】[0031]
【発明の効果】以上説明した様に本発明に依ればメモリ
カードのピン数を少なくし、信頼性を向上させることが
出来る。As explained above, according to the present invention, the number of pins of a memory card can be reduced and reliability can be improved.
【図1】本発明を実施したカードのピン名と機能の例を
示す図。FIG. 1 is a diagram showing examples of pin names and functions of a card implementing the present invention.
【図2】本発明を実施したカードの内部アクセス機能の
説明のための図。FIG. 2 is a diagram for explaining internal access functions of a card implementing the present invention.
【図3】本発明を実施したカードの書き込みタイミング
例を示す図。FIG. 3 is a diagram showing an example of write timing for a card implementing the present invention.
【図4】本発明を実施したカードの読み込みタイミング
例を示す図。FIG. 4 is a diagram showing an example of reading timing of a card implementing the present invention.
【図5】本発明を実施したカードのステータス情報の例
を示す図。FIG. 5 is a diagram showing an example of status information of a card implementing the present invention.
【図6】本発明を実施したカードのメモリマップ例を示
す図。FIG. 6 is a diagram showing an example of a memory map of a card implementing the present invention.
【図7】本発明を実施したカードの属性領域の例を示す
図。FIG. 7 is a diagram showing an example of an attribute area of a card implementing the present invention.
D0〜D7 双方向データバス M0,M セレクト入力ピン D0 to D7 Bidirectional data bus M0, M Select input pin
Claims (2)
ードイネーブルを指定するためのピンをメモリのアドレ
ス空間を指定するためのピンとして兼用したことを特徴
とするメモリカード。1. A memory card characterized in that a pin for specifying write enable and read enable of the memory card is also used as a pin for specifying an address space of the memory.
を指定するためのピンであることを特徴とする請求項1
のメモリカード。2. Claim 1, wherein the pin is a pin for specifying an upper bit of an address space.
memory card.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP3097240A JPH04325993A (en) | 1991-04-26 | 1991-04-26 | Memory card |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP3097240A JPH04325993A (en) | 1991-04-26 | 1991-04-26 | Memory card |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH04325993A true JPH04325993A (en) | 1992-11-16 |
Family
ID=14187091
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP3097240A Pending JPH04325993A (en) | 1991-04-26 | 1991-04-26 | Memory card |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH04325993A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2007116486A1 (en) * | 2006-03-31 | 2007-10-18 | Fujitsu Limited | Memory apparatus, control method thereof, control program thereof, memory card, circuit board and electronic device |
WO2007116483A1 (en) * | 2006-03-31 | 2007-10-18 | Fujitsu Limited | Memory apparatus, its control method, its control program, memory card, circuit board, and electronic device |
-
1991
- 1991-04-26 JP JP3097240A patent/JPH04325993A/en active Pending
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2007116486A1 (en) * | 2006-03-31 | 2007-10-18 | Fujitsu Limited | Memory apparatus, control method thereof, control program thereof, memory card, circuit board and electronic device |
WO2007116483A1 (en) * | 2006-03-31 | 2007-10-18 | Fujitsu Limited | Memory apparatus, its control method, its control program, memory card, circuit board, and electronic device |
JPWO2007116483A1 (en) * | 2006-03-31 | 2009-08-20 | 富士通株式会社 | MEMORY DEVICE, ITS CONTROL METHOD, CONTROL PROGRAM, MEMORY CARD, CIRCUIT BOARD AND ELECTRONIC DEVICE |
JPWO2007116486A1 (en) * | 2006-03-31 | 2009-08-20 | 富士通株式会社 | MEMORY DEVICE, ITS CONTROL METHOD, CONTROL PROGRAM, MEMORY CARD, CIRCUIT BOARD AND ELECTRONIC DEVICE |
US8159886B2 (en) | 2006-03-31 | 2012-04-17 | Fujitsu Limited | Memory device, control method for the same, control program for the same, memory card, circuit board and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6434658B1 (en) | Memory device operable with a small-capacity buffer memory and having a flash memory | |
EP0712067B1 (en) | Flash disk card | |
US6263399B1 (en) | Microprocessor to NAND flash interface | |
EP1242868B1 (en) | Organization of blocks within a nonvolatile memory unit to effectively decrease sector write operation time | |
US6798710B2 (en) | Synchronous flash memory with virtual segment architecture | |
US5890188A (en) | Nonvolatile semiconductor memory device having means for selective transfer of memory block contents and for chaining together unused memory blocks | |
US5361228A (en) | IC memory card system having a common data and address bus | |
CA1152212A (en) | Main storage configuration control system | |
US5386539A (en) | IC memory card comprising an EEPROM with data and address buffering for controlling the writing/reading of data to EEPROM | |
US6366977B1 (en) | Semiconductor storage device employing cluster unit data transfer scheme and data management method thereof | |
US20020147882A1 (en) | Universal serial bus flash memory storage device | |
US5920884A (en) | Nonvolatile memory interface protocol which selects a memory device, transmits an address, deselects the device, subsequently reselects the device and accesses data | |
US20060187738A1 (en) | Memory management device and memory device | |
US5303201A (en) | Semiconductor memory and semiconductor memory board using the same | |
KR20040067856A (en) | Memory Device and Recording/Reproducing Apparatus Using the Same | |
KR20010108209A (en) | Memory card, method for allotting logical address, and method for writing data | |
JP2002278781A (en) | Storage device, method for controlling storage device and program | |
JP2001243110A (en) | Memory controller, flash memory system and access method to flash memory | |
US5724544A (en) | IC memory card utilizing dual eeproms for image and management data | |
JPH09171486A (en) | Pc card | |
JP2007035120A (en) | Sequential access memory | |
JPH04325993A (en) | Memory card | |
JP3589699B2 (en) | Data processing device and data processing system using the same | |
JP2584120B2 (en) | Data recording method in memory card and memory card system | |
JP3117244B2 (en) | EEPROM control device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20001212 |