JPH11338992A - Pc card - Google Patents

Pc card

Info

Publication number
JPH11338992A
JPH11338992A JP10140754A JP14075498A JPH11338992A JP H11338992 A JPH11338992 A JP H11338992A JP 10140754 A JP10140754 A JP 10140754A JP 14075498 A JP14075498 A JP 14075498A JP H11338992 A JPH11338992 A JP H11338992A
Authority
JP
Japan
Prior art keywords
memory
written
cpu
external computer
area
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
JP10140754A
Other languages
Japanese (ja)
Inventor
Terushi Kabasawa
昭史 樺沢
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP10140754A priority Critical patent/JPH11338992A/en
Publication of JPH11338992A publication Critical patent/JPH11338992A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To make an unused area of a memory effectively usable referring to memory idle area information of a memory management means to write data in an idle area of the memory in accordance with a command from an external computer. SOLUTION: When a memory write start command is written in a register 9 from an external computer 4, a PC card interface circuit 8 generates an interrupt signal to a CPU 2. The CPU 2 receives the interrupt signal to search areas of flag '00' of a memory management part 10 in the order from a flag 1. If the area of the flag 1 is '00', '01' is written in the area of the flag 1. When file name 'AAAA' is written in the register 9 from the external computer 4, the PC card interface circuit 8 generates an interrupt signal to the CPU 2, and the CPU 2 receives the interrupt signal to write 'AAAA' in the area of a file name 1 of the memory management part 10.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】この発明は、ノートパソコン
のPCMCIAスロット等に差し込んで使用するPCカ
ードに関するものである。
[0001] 1. Field of the Invention [0002] The present invention relates to a PC card used by being inserted into a PCMCIA slot or the like of a notebook personal computer.

【0002】[0002]

【従来の技術】図4は、特開平8―263615号公報
に示された従来のPCカードを示すブロック図である。
図において、1はプログラムやデータを格納するメモ
リ、2はメモリの制御を行なうCPU、3は外部コンピ
ュータ4とPCカード5とを接続するPCカードインタ
フェースコネクタ、6はPCカードインタフェースコネ
クタ2からのアドレスバスA、データバスA、制御信号
Aをメモリ1へ直接接続させる手段を備えたバス切替回
路、7は外部コンピュータ4が発行するプログラム書き
込みコマンドを認識する書き込みコマンド認識回路であ
る。
2. Description of the Related Art FIG. 4 is a block diagram showing a conventional PC card disclosed in Japanese Patent Application Laid-Open No. 8-263615.
In the figure, 1 is a memory for storing programs and data, 2 is a CPU for controlling the memory, 3 is a PC card interface connector for connecting an external computer 4 and a PC card 5, and 6 is an address from the PC card interface connector 2. A bus switching circuit including means for directly connecting the bus A, the data bus A, and the control signal A to the memory 1, and a write command recognition circuit 7 for recognizing a program write command issued by the external computer 4.

【0003】次に、動作について説明する。PCカード
5と外部コンピュータ4がPCカードインタフェースコ
ネクタ3を介して接続されている状態において、外部コ
ンピュータ4からプログラム書き込みコマンドが発行さ
れると、書き込みコマンド認識回路7はこのプログラム
書き込みコマンドを認識し、CPU2に対し、ホールド
要求信号を出力する。CPU2はアドレスバスB、デー
タバスB、制御信号Bに接続されている端子をハイイン
ピーダンスにした後、ホールドアクノリッジ信号をバス
切替回路6に出力する。ホールドアクノリッジ信号を受
けたバス切替回路6は、アドレスバスAとアドレスバス
B、データバスAとデータバスB、制御信号Aと制御信
号Bを直接接続し、外部コンピュータ4からのプログラ
ムを直接メモリ1に書き込む。
Next, the operation will be described. When a program write command is issued from the external computer 4 in a state where the PC card 5 and the external computer 4 are connected via the PC card interface connector 3, the write command recognition circuit 7 recognizes the program write command, It outputs a hold request signal to the CPU 2. After setting the terminals connected to the address bus B, the data bus B, and the control signal B to high impedance, the CPU 2 outputs a hold acknowledge signal to the bus switching circuit 6. Upon receiving the hold acknowledge signal, the bus switching circuit 6 directly connects the address bus A and the address bus B, the data bus A and the data bus B, the control signal A and the control signal B, and stores the program from the external computer 4 directly into the memory 1. Write to.

【0004】[0004]

【発明が解決しようとする課題】上記のような従来のP
Cカードでは、メモリの管理を行なっていないため、メ
モリの指定したアドレス、特に空き領域へデータを書き
込むことができないという問題があった。
The conventional P as described above
In the C card, since the memory is not managed, there is a problem that data cannot be written to an address specified in the memory, particularly to a free area.

【0005】この発明は、上記のような問題点を解決す
るためになされたもので、メモリの未使用領域を有効活
用できるPCカードを提供することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made to solve the above problems, and has as its object to provide a PC card that can effectively use an unused area of a memory.

【0006】[0006]

【課題を解決するための手段】この発明の第1の発明に
係るPCカードは、プログラムやデータを格納するメモ
リと、前記メモリを制御する制御手段と、外部コンピュ
ータとデータの受け渡しを行なうPCカードインタフェ
ースコネクタと、前記PCカードインタフェースコネク
タと前記制御手段との間のデータの受け渡しを制御する
PCカードインタフェース回路とを備えたPCカードに
おいて、前記メモリの空き領域の管理を行うメモリ管理
手段を設け、前記制御手段は、前記外部コンピュータか
らのコマンドに応じ前記メモリ管理手段のメモリ空き領
域情報を参照して前記メモリの空き領域にデータを書き
込む構成としたものである。
According to a first aspect of the present invention, there is provided a PC card for storing a program and data, a control unit for controlling the memory, and a PC card for transferring data to and from an external computer. In a PC card including an interface connector and a PC card interface circuit for controlling data transfer between the PC card interface connector and the control means, a memory management means for managing a free area of the memory is provided; The control means is configured to write data in a free area of the memory with reference to the free area information of the memory management means in response to a command from the external computer.

【0007】この発明の第2の発明に係るPCカード
は、プログラムやデータを格納するメモリと、前記メモ
リを制御する制御手段と、外部コンピュータとデータの
受け渡しを行なうPCカードインタフェースコネクタ
と、前記PCカードインタフェースコネクタと前記制御
手段との間のデータの受け渡しを制御するPCカードイ
ンタフェース回路を備えたPCカードにおいて、前記メ
モリのアドレスを管理するメモリ管理手段を設け、前記
制御手段は、前記外部コンピュータからのアドレス指定
信号に応じ前記メモリ管理手段のアドレス情報を参照し
て前記メモリの所定のアドレスにデータを書き込む構成
としたものである。
According to a second aspect of the present invention, there is provided a PC card including a memory for storing programs and data, control means for controlling the memory, a PC card interface connector for transferring data to and from an external computer, and In a PC card provided with a PC card interface circuit for controlling data transfer between a card interface connector and the control means, a memory management means for managing addresses of the memory is provided, and the control means is provided from the external computer. The data is written to a predetermined address of the memory by referring to the address information of the memory management means in response to the address designation signal.

【0008】[0008]

【発明の実施の形態】実施の形態1.図1は、この発明
の一実施形態を示すブロック図である。図において、1
はプログラムやデータを格納するメモリ、2はメモリ1
の制御を行うCPUからなる制御手段、3は外部コンピ
ュータ4とPCカード5とを接続するPCカードインタ
フェースコネクタ、4は外部コンピュータ、5はPCカ
ードである。8は外部コンピュータ4とCPU2の間で
コマンドとデータのやりとりを行なうレジスタ9を含む
PCカードインタフェース回路、10は前記CPU2か
らなる制御手段に設けられ、メモリ1のアドレスとデー
タの管理を行ない、メモリ1の空き領域の管理を行なう
メモリ管理部からなるメモリ管理手段である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiment 1 FIG. 1 is a block diagram showing an embodiment of the present invention. In the figure, 1
Is a memory for storing programs and data, 2 is a memory 1
, A PC card interface connector for connecting an external computer 4 to a PC card 5, 4 an external computer, and 5 a PC card. Reference numeral 8 denotes a PC card interface circuit including a register 9 for exchanging commands and data between the external computer 4 and the CPU 2. Reference numeral 10 denotes a control unit provided with the CPU 2 for managing addresses and data in the memory 1, This is a memory management unit including a memory management unit that manages one free area.

【0009】図2は、図1のメモリ管理部10をCPU
2内部のメモリで実現した場合のメモリの利用態様を示
した一例である。図2(a)はメモリに何も書かれてい
ない初期状態を、図2(b)はメモリにファイルを1つ
書き込んだ状態を、図2(c)はメモリに2つめのファ
イルを書き込んだ状態を示している。
FIG. 2 shows the memory management unit 10 of FIG.
2 is an example showing a use mode of a memory when realized by two internal memories. 2A shows an initial state where nothing is written in the memory, FIG. 2B shows a state where one file is written in the memory, and FIG. 2C shows a state where a second file is written in the memory. The state is shown.

【0010】次に、上記実施の形態1について図1およ
び図2を用いて説明する。まず、最初のファイルデータ
を外部コンピュータ4からメモリ1に書き込む方法につ
いて説明する。外部コンピュータ4からメモリ書き込み
開始コマンドをレジスタ9に書き込むと、PCカードイ
ンタフェース回路8はCPU2に対して割り込み信号を
発生させる。割り込み信号を受信したCPU2は、メモ
リ管理部10のフラグの領域が「00」になっている所
をフラグ1から順に探しに行く。最初は、フラグ1の領
域が「00」になっているため、フラグ1の領域に「0
1」を書き込む。
Next, the first embodiment will be described with reference to FIGS. First, a method of writing the first file data from the external computer 4 to the memory 1 will be described. When a memory write start command is written into the register 9 from the external computer 4, the PC card interface circuit 8 generates an interrupt signal for the CPU 2. Upon receiving the interrupt signal, the CPU 2 sequentially searches the flag area of the memory management unit 10 where the flag area is “00” from the flag 1. At first, since the area of the flag 1 is “00”, the area of the flag 1 is “0”.
Write "1".

【0011】次に、外部コンピュータ4からファイル名
「AAAA」をレジスタ9に書き込むと、PCカードイ
ンタフェース回路8はCPU2に対して割り込み信号を
発生させる。割り込み信号を受信したCPU2はメモリ
管理部10のファイル名1の領域に「AAAA」を書き
込む。
Next, when the file name “AAAAA” is written into the register 9 from the external computer 4, the PC card interface circuit 8 generates an interrupt signal to the CPU 2. The CPU 2 that has received the interrupt signal writes “AAAAA” in the area of the file name 1 of the memory management unit 10.

【0012】次に、外部コンピュータからレジスタ9に
メモリ1へ書き込むファイルデータを書き込むと、PC
カードインタフェース回路はCPU2に対して割り込み
信号を発生させる。割り込み信号を受信したCPU2は
レジスタ9からメモリ1へ書き込むファイルデータを読
み出し、メモリ1の「00」番地からデータを順次書き
込んでいく。
Next, when file data to be written to the memory 1 is written into the register 9 from the external computer, the PC
The card interface circuit causes the CPU 2 to generate an interrupt signal. Upon receiving the interrupt signal, the CPU 2 reads the file data to be written to the memory 1 from the register 9 and sequentially writes the data from address “00” of the memory 1.

【0013】次に、外部コンピュータ4からメモリ書き
込み終了コマンドをレジスタ9に書き込むと、PCカー
ドインタフェース回路8はCPU2に対して割り込み信
号を発生させる。割り込み信号を受信したCPU2はメ
モリ1にデータを書き込んだ最終アドレス「XX」を終
了アドレス1の領域に書き込む。
Next, when a memory write end command is written into the register 9 from the external computer 4, the PC card interface circuit 8 generates an interrupt signal to the CPU 2. Upon receiving the interrupt signal, the CPU 2 writes the final address “XX” in which the data has been written to the memory 1 into the end address 1 area.

【0014】次に、2つめのファイルデータを外部コン
ピュータ4からメモリ1書き込む方法について説明す
る。最初のファイルデータ書き込んだ時と同様に、外部
コンピュータ4からメモリ書き込み開始コマンドをレジ
スタ9に書き込むと、PCカードインタフェース回路8
はCPU2に対して割り込み信号を発生させる。割り込
み信号を受信したCPU2はメモリ管理部10のフラグ
の領域が「00」になっている所をフラグ1から順に探
しに行く。今度は、フラグ2の領域が「00」になって
いるため、フラグ2の領域に「01」を書き込む。
Next, a method of writing the second file data from the external computer 4 to the memory 1 will be described. When a memory write start command is written into the register 9 from the external computer 4 in the same manner as when writing the first file data, the PC card interface circuit 8
Causes the CPU 2 to generate an interrupt signal. Upon receiving the interrupt signal, the CPU 2 searches the flag area of the memory management unit 10 where the flag area is “00” in order from the flag 1. This time, since the area of the flag 2 is “00”, “01” is written in the area of the flag 2.

【0015】次に、外部コンピュータ4からファイル名
「BBBB」をレジスタ9に書き込むと、PCカードイ
ンタフェース回路8はCPU2に対して割り込み信号を
発生させる。割り込み信号を受信したCPU2はメモリ
管理部10のファイル名2の領域に「BBBB」を書き
込む。
Next, when the file name “BBBB” is written into the register 9 from the external computer 4, the PC card interface circuit 8 generates an interrupt signal to the CPU 2. The CPU 2 that has received the interrupt signal writes “BBBB” in the area of the file name 2 of the memory management unit 10.

【0016】次に、外部コンピュータからレジスタ9に
メモリ1へ書き込むファイルデータを書き込むと、PC
カードインタフェース回路はCPU2に対して割り込み
信号を発生させる。割り込み信号を受信したCPU2は
レジスタ9からメモリ1へ書き込むファイルデータを読
み出し、メモリ1の「XX(終了アドレス1に書き込ん
である値)+1」番地からデータを順次書き込んでい
く。
Next, when file data to be written to the memory 1 is written from the external computer into the register 9, the PC
The card interface circuit causes the CPU 2 to generate an interrupt signal. Upon receiving the interrupt signal, the CPU 2 reads the file data to be written to the memory 1 from the register 9 and sequentially writes the data from the address “XX (the value written to the end address 1) +1” of the memory 1.

【0017】次に、外部コンピュータ4からメモリ書き
込み終了コマンドをレジスタ9に書き込むと、PCカー
ドインタフェース回路8はCPU2に対して割り込み信
号を発生させる。割り込み信号を受信したCPU2はメ
モリ1にデータを書き込んだ最終アドレス「YY」を終
了アドレス2の領域に書き込む。3つめ以降のファイル
を書き込む場合も、2つめのファイルを書き込んだとき
と同様に行なう。
Next, when a memory write end command is written into the register 9 from the external computer 4, the PC card interface circuit 8 generates an interrupt signal to the CPU 2. Upon receiving the interrupt signal, the CPU 2 writes the last address “YY” in which the data has been written to the memory 1 into the end address 2 area. The writing of the third and subsequent files is performed in the same manner as the writing of the second file.

【0018】次に、メモリ1へ書き込んだファイルデー
タを読み出す方法について説明する。外部コンピュータ
4からメモリ読み出し開始コマンドと読み出しファイル
名(ここでは「BBBB」とする)をレジスタ9に書き
込むと、PCカードインタフェース回路8はCPU2に
対して割り込み信号を発生させる。割り込み信号を受信
したCPU2はメモリ管理部10からファイル名の領域
に「BBBB」が書き込まれている所を探し出す。ファ
イル名2の所に「BBBB」が書き込んであるのを探し
出したCPU2は「XX(終了アドレス1に書き込んで
ある値)+1」番地からメモリ1のファイルデータを読
み出し、レジスタ9に書き込む。ファイルデータが書き
込まれると、PCカードインタフェース回路8はPCカ
ードインタフェースコネクタ3を介して、外部コンピュ
ータ4に割り込みを発生させる。割り込みを受信した外
部コンピュータ4はレジスタ8に書き込んであるファイ
ルデータを順に読み出す。
Next, a method of reading the file data written in the memory 1 will be described. When a memory read start command and a read file name (here, “BBBB”) are written from the external computer 4 to the register 9, the PC card interface circuit 8 generates an interrupt signal to the CPU 2. Upon receiving the interrupt signal, the CPU 2 searches the memory management unit 10 for a location where "BBBB" is written in the file name area. The CPU 2 that has found that “BBBB” has been written in the place of the file name 2 reads the file data of the memory 1 from the address “XX (the value written in the end address 1) +1” and writes it to the register 9. When the file data is written, the PC card interface circuit 8 causes the external computer 4 to generate an interrupt via the PC card interface connector 3. The external computer 4 that has received the interrupt reads the file data written in the register 8 in order.

【0019】以上のように、メモリ管理部10にて、メ
モリ1の空き領域の管理が行なえるようにしているの
で、メモリの空き領域へ自動的に外部コンピュータ4か
らファイルデータを書き込むことができる。また、書き
込んだファイルデータをファイル名を指定するだけで読
み出すことができる。このことにより、従来使用できな
かった、プログラムの格納領域として使用しているフラ
ッシュメモリ等の未使用領域をユーザに解放することが
できる。
As described above, since the memory management unit 10 can manage the free area of the memory 1, file data can be automatically written from the external computer 4 to the free area of the memory. . Further, the written file data can be read only by designating the file name. As a result, an unused area such as a flash memory used as a program storage area, which cannot be used conventionally, can be released to the user.

【0020】実施形態2.実施形態1と同等な回路にお
いて、メモリ1の指定したアドレスにデータを書き込む
手段について説明する。図3は、図1のメモリ管理部1
0をCPU2内部のメモリで実現した場合のメモリの利
用方法を示した一例である。図3(a)はメモリに何も
かかれていない初期状態を、図3(b)はメモリにファ
イルを1つ書き込んだ状態を、図3(c)はメモリに2
つめのファイルを書き込んだ状態を示している。
Embodiment 2 A description will be given of a means for writing data to a specified address of the memory 1 in a circuit equivalent to the first embodiment. FIG. 3 shows the memory management unit 1 of FIG.
7 is an example showing a method of using a memory when 0 is realized by a memory inside the CPU 2. 3A shows an initial state in which nothing is stored in the memory, FIG. 3B shows a state in which one file is written in the memory, and FIG.
This shows a state where the second file has been written.

【0021】次に、実施の形態2について、図1および
図3を用いて説明する。まず、最初のファイルデータを
外部コンピュータ4からメモリ1に書き込む方法につい
て説明する。外部コンピュータ4からメモリ書き込み開
始コマンドをレジスタ9に書き込むと、PCカードイン
タフェース回路8はCPU2に対して割り込み信号を発
生させる。割り込み信号を受信したCPU2はメモリ管
理部10のフラグの領域が「00」になっている所をフ
ラグ1から順に探しに行く。最初は、フラグ1の領域が
「00」になっているため、フラグ1の領域に「01」
を書き込む。
Next, a second embodiment will be described with reference to FIGS. First, a method of writing the first file data from the external computer 4 to the memory 1 will be described. When a memory write start command is written into the register 9 from the external computer 4, the PC card interface circuit 8 generates an interrupt signal for the CPU 2. Upon receiving the interrupt signal, the CPU 2 searches the flag area of the memory management unit 10 where the flag area is “00” in order from the flag 1. Initially, since the area of the flag 1 is “00”, the area of the flag 1 is “01”.
Write.

【0022】次に、外部コンピュータ4からメモリ1の
書き込み開始アドレス「PP」をレジスタ9に書き込む
と、PCカードインタフェース回路8はCPU2に対し
て割り込み信号を発生させる。割り込み信号を受信した
CPU2はメモリ管理部10の開始アドレス1の領域に
「PP」を書き込む。
Next, when the write start address “PP” of the memory 1 is written into the register 9 from the external computer 4, the PC card interface circuit 8 generates an interrupt signal to the CPU 2. The CPU 2 that has received the interrupt signal writes “PP” in the area of the start address 1 of the memory management unit 10.

【0023】次に、ファイル名「AAAA」をレジスタ
9に書き込むと、PCカードインタフェース回路8はC
PU2に対して割り込み信号を発生させる。割り込み信
号を受信したCPU2はメモリ管理部10のファイル名
1の領域に「AAAA」を書き込む。
Next, when the file name "AAAAA" is written into the register 9, the PC card interface circuit 8
An interrupt signal is generated for PU2. The CPU 2 that has received the interrupt signal writes “AAAAA” in the area of the file name 1 of the memory management unit 10.

【0024】次に、外部コンピュータからレジスタ9に
メモリ1へ書き込むファイルデータを書き込むと、PC
カードインタフェース回路はCPU2に対して割り込み
信号を発生させる。割り込み信号を受信したCPU2は
レジスタ9からメモリ1へ書き込むファイルデータを読
み出し、メモリ1の開始アドレス1の値「PP」番地か
らデータを順次書き込んでいく。
Next, when file data to be written to the memory 1 is written into the register 9 from an external computer, the PC
The card interface circuit causes the CPU 2 to generate an interrupt signal. Upon receiving the interrupt signal, the CPU 2 reads the file data to be written to the memory 1 from the register 9 and sequentially writes the data from the address “PP” of the start address 1 of the memory 1.

【0025】次に、外部コンピュータ4からメモリ書き
込み終了コマンドをレジスタ9に書き込むと、PCカー
ドインタフェース回路8はCPU2に対して割り込み信
号を発生させる。割り込み信号を受信したCPU2はメ
モリ1にデータを書き込んだ最終アドレス「QQ」を終
了アドレス1の領域に書き込む。
Next, when a memory write end command is written into the register 9 from the external computer 4, the PC card interface circuit 8 generates an interrupt signal to the CPU 2. Upon receiving the interrupt signal, the CPU 2 writes the final address “QQ” in which data has been written to the memory 1 into the end address 1 area.

【0026】次に、2つめのファイルデータを外部コン
ピュータ4からメモリ1に書き込む方法について説明す
る。最初のファイルデータ書き込んだ時と同様に、外部
コンピュータ4からメモリ書き込み開始コマンドをレジ
スタ9に書き込むと、PCカードインタフェース回路8
はCPU2に対して割り込み信号を発生させる。割り込
み信号を受信したCPU2はメモリ管理部10のフラグ
の領域が「00」になっている所をフラグ1から順に探
しに行く。今度は、フラグ2の領域が「00」になって
いるため、フラグ2の領域に「01」を書き込む。
Next, a method of writing the second file data from the external computer 4 to the memory 1 will be described. When a memory write start command is written into the register 9 from the external computer 4 in the same manner as when writing the first file data, the PC card interface circuit 8
Causes the CPU 2 to generate an interrupt signal. Upon receiving the interrupt signal, the CPU 2 searches the flag area of the memory management unit 10 where the flag area is “00” in order from the flag 1. This time, since the area of the flag 2 is “00”, “01” is written in the area of the flag 2.

【0027】次に、外部コンピュータ4からメモリ1の
書き込み開始アドレス「RR」をレジスタ9に書き込む
と、PCカードインタフェース回路8はCPU2に対し
て割り込み信号を発生させる。割り込み信号を受信した
CPU2はメモリ管理部10の開始アドレス1の領域に
「RR」を書き込む。
Next, when the write start address “RR” of the memory 1 is written into the register 9 from the external computer 4, the PC card interface circuit 8 generates an interrupt signal to the CPU 2. Upon receiving the interrupt signal, the CPU 2 writes “RR” in the area of the start address 1 of the memory management unit 10.

【0028】次に、外部コンピュータ4からファイル名
「BBBB」をレジスタ9に書き込むと、PCカードイ
ンタフェース回路8はCPU2に対して割り込み信号を
発生させる。割り込み信号を受信したCPU2はメモリ
管理部10のファイル名2の領域に「BBBB」を書き
込む。
Next, when the file name “BBBB” is written into the register 9 from the external computer 4, the PC card interface circuit 8 generates an interrupt signal to the CPU 2. The CPU 2 that has received the interrupt signal writes “BBBB” in the area of the file name 2 of the memory management unit 10.

【0029】次に、外部コンピュータからレジスタ9に
メモリ1へ書き込むファイルデータを書き込むと、PC
カードインタフェース回路はCPU2に対して割り込み
信号を発生させる。割り込み信号を受信したCPU2は
レジスタ9からメモリ1へ書き込むファイルデータを読
み出し、メモリ1の開始アドレス2「RR」番地からデ
ータを順次書き込んでいく。
Next, when file data to be written to the memory 1 is written into the register 9 from the external computer, the PC
The card interface circuit causes the CPU 2 to generate an interrupt signal. Upon receiving the interrupt signal, the CPU 2 reads the file data to be written to the memory 1 from the register 9 and sequentially writes the data from the start address 2 “RR” of the memory 1.

【0030】次に、外部コンピュータ4からメモリ書き
込み終了コマンドをレジスタ9に書き込むと、PCカー
ドインタフェース回路8はCPU2に対して割り込み信
号を発生させる。割り込み信号を受信したCPU2はメ
モリ1にデータを書き込んだ最終アドレス「SS」を終
了アドレス2の領域に書き込む。3つめ以降のファイル
を書き込む場合も、2つめのファイルを書き込んだとき
と同様に行なう。
Next, when a memory write end command is written into the register 9 from the external computer 4, the PC card interface circuit 8 generates an interrupt signal to the CPU 2. Upon receiving the interrupt signal, the CPU 2 writes the last address “SS” in which the data has been written to the memory 1 into the area of the end address 2. The writing of the third and subsequent files is performed in the same manner as the writing of the second file.

【0031】次に、メモリ1へ書き込んだファイルデー
タを読み出す方法について説明する。外部コンピュータ
4からメモリ読み出し開始コマンドと読み出しファイル
名(ここでは「BBBB」とする)をレジスタ9に書き
込むと、PCカードインタフェース回路8はCPU2に
対して割り込み信号を発生させる。割り込み信号を受信
したCPU2はメモリ管理部10からファイル名の領域
に「BBBB」が書き込まれている所を探し出す。ファ
イル名2の所に「BBBB」が書き込んであるのを探し
出したCPU2は開始アドレス2の値「RR」番地から
メモリ1のファイルデータを読み出し、レジスタ9に書
き込む。ファイルデータが書き込まれると、PCカード
インタフェース回路8はPCカードインタフェースコネ
クタ3を介して、外部コンピュータ4に割り込みを発生
させる。割り込みを受信した外部コンピュータ4はレジ
スタ8に書き込んであるファイルデータを順に読み出
す。
Next, a method of reading the file data written in the memory 1 will be described. When a memory read start command and a read file name (here, “BBBB”) are written from the external computer 4 to the register 9, the PC card interface circuit 8 generates an interrupt signal to the CPU 2. Upon receiving the interrupt signal, the CPU 2 searches the memory management unit 10 for a location where "BBBB" is written in the file name area. The CPU 2 that has found that “BBBB” has been written at the file name 2 reads the file data of the memory 1 from the address “RR” of the start address 2 and writes it to the register 9. When the file data is written, the PC card interface circuit 8 causes the external computer 4 to generate an interrupt via the PC card interface connector 3. The external computer 4 that has received the interrupt reads the file data written in the register 8 in order.

【0032】以上のように、メモリ管理部10にて、メ
モリ1の指定した領域に外部コンピュータ4からファイ
ルデータを書き込むことができる。また、書き込んだフ
ァイルデータをファイル名を指定するだけで読み出すこ
とができる。このことにより、従来使用できなかった、
プログラムの格納領域として使用しているフラッシュメ
モリ等の未使用領域をユーザに解放することができる。
As described above, the memory management unit 10 can write file data from the external computer 4 to a designated area of the memory 1. Further, the written file data can be read only by designating the file name. Because of this, it could not be used before,
An unused area such as a flash memory used as a program storage area can be released to the user.

【0033】[0033]

【発明の効果】以上のように、第1の発明によれば、外
部コンピュータからのコマンドに応じてPCカード内部
のメモリの空き領域にデータを書き込むようにしたこと
により、従来使用できなかったプログラムの格納領域と
して使用しているフラッシュメモリ等の未使用領域をユ
ーザに解放することができる。
As described above, according to the first aspect of the present invention, data is written to a free area of the memory inside the PC card in response to a command from an external computer, so that a program which could not be used conventionally can be used. An unused area such as a flash memory used as a storage area can be released to a user.

【0034】また、第2の発明によれば、外部コンピュ
ータからのアドレス指定信号に応じてPCカード内部の
メモリの指定したアドレスにデータを書き込むようにし
たことにより、従来使用できなかったプログラムの格納
領域として使用しているフラッシュメモリ等の未使用領
域をユーザに解放することができる。
According to the second aspect of the present invention, data is written to a designated address in a memory inside the PC card in response to an address designation signal from an external computer, thereby storing a program which could not be used conventionally. An unused area such as a flash memory used as an area can be released to the user.

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

【図1】 この発明の実施の一形態を示すブロック図で
ある。
FIG. 1 is a block diagram showing one embodiment of the present invention.

【図2】 この発明の実施の形態1を示すメモリの利用
態様を示した図である。
FIG. 2 is a diagram showing a use mode of the memory according to the first embodiment of the present invention;

【図3】 この発明の実施の形態2を示すメモリの利用
態様を示した図である。
FIG. 3 is a diagram illustrating a use mode of a memory according to a second embodiment of the present invention;

【図4】 従来のPCカードのブロック図である。FIG. 4 is a block diagram of a conventional PC card.

【符号の説明】[Explanation of symbols]

1 メモリ、2 CPUからなる制御手段、3 PCカ
ードインタフェースコネクタ、4 外部コンピュータ、
5 PCカード、8 PCカードインタフェース回路、
9 レジスタ、10 メモリ管理部からなるメモリ管理
手段。
1 memory, 2 CPU control means, 3 PC card interface connector, 4 external computer,
5 PC card, 8 PC card interface circuit,
9 Registers, 10 Memory management means comprising a memory management unit.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 プログラムやデータを格納するメモリ
と、前記メモリを制御する制御手段と、外部コンピュー
タとデータの受け渡しを行なうPCカードインタフェー
スコネクタと、前記PCカードインタフェースコネクタ
と前記制御手段との間のデータの受け渡しを制御するP
Cカードインタフェース回路とを備えたPCカードにお
いて、前記メモリの空き領域の管理を行うメモリ管理手
段を設け、前記制御手段は、前記外部コンピュータから
のコマンドに応じ前記メモリ管理手段のメモリ空き領域
情報を参照して前記メモリの空き領域にデータを書き込
むことを特徴とするPCカード。
1. A memory for storing programs and data, control means for controlling the memory, a PC card interface connector for transferring data to and from an external computer, and a connection between the PC card interface connector and the control means. P that controls data transfer
In a PC card having a C card interface circuit, a memory management means for managing an empty area of the memory is provided, and the control means transmits the memory empty area information of the memory management means in response to a command from the external computer. A PC card for writing data in a free area of the memory by referring to the data.
【請求項2】 プログラムやデータを格納するメモリ
と、前記メモリを制御する制御手段と、外部コンピュー
タとデータの受け渡しを行なうPCカードインタフェー
スコネクタと、前記PCカードインタフェースコネクタ
と前記制御手段との間のデータの受け渡しを制御するP
Cカードインタフェース回路を備えたPCカードにおい
て、前記メモリのアドレスを管理するメモリ管理手段を
設け、前記制御手段は、前記外部コンピュータからのア
ドレス指定信号に応じ前記メモリ管理手段のアドレス情
報を参照して前記メモリの所定のアドレスにデータを書
き込むことを特徴とするPCカード。
2. A memory for storing programs and data, a control means for controlling the memory, a PC card interface connector for transferring data to and from an external computer, and a connection between the PC card interface connector and the control means. P that controls data transfer
In a PC card having a C card interface circuit, a memory management means for managing an address of the memory is provided, and the control means refers to address information of the memory management means in response to an address designation signal from the external computer. A PC card for writing data to a predetermined address of the memory.
JP10140754A 1998-05-22 1998-05-22 Pc card Pending JPH11338992A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10140754A JPH11338992A (en) 1998-05-22 1998-05-22 Pc card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10140754A JPH11338992A (en) 1998-05-22 1998-05-22 Pc card

Publications (1)

Publication Number Publication Date
JPH11338992A true JPH11338992A (en) 1999-12-10

Family

ID=15275968

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10140754A Pending JPH11338992A (en) 1998-05-22 1998-05-22 Pc card

Country Status (1)

Country Link
JP (1) JPH11338992A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007172259A (en) * 2005-12-21 2007-07-05 Nec Electronics Corp Flash memory, memory control circuit, microcomputer and memory control method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007172259A (en) * 2005-12-21 2007-07-05 Nec Electronics Corp Flash memory, memory control circuit, microcomputer and memory control method
US8041880B2 (en) 2005-12-21 2011-10-18 Renesas Electronics Corporation Flash memory, memory control circuit, microcomputer and memory control method

Similar Documents

Publication Publication Date Title
JP2835184B2 (en) Information processing apparatus, device control method, and IC card
JPH08314794A (en) Method and system for shortening wait time of access to stable storage device
JP3519954B2 (en) Chip enable signal generation circuit and memory device
US7725621B2 (en) Semiconductor device and data transfer method
US5884074A (en) Microcomputer utilizing flash memory for data storage
US5895496A (en) System for an method of efficiently controlling memory accesses in a multiprocessor computer system
JP2003140963A (en) Semiconductor storage system
US7287098B2 (en) Control method and electronic device enabling recognition of functions installed in the electronic device
US20030181994A1 (en) Microprocessor performing efficient external bus access
JPH11338992A (en) Pc card
JP5010065B2 (en) Microcomputer
JPH0572634B2 (en)
USRE38514E1 (en) System for and method of efficiently controlling memory accesses in a multiprocessor computer system
JP4793798B2 (en) Microcomputer
JPH1027097A (en) Method and device for rewriting data of flash rom
JP2513421B2 (en) Storage device
JP3940701B2 (en) Disk array device and cache matching control method applied to the same
JP2001014219A (en) Method and device for controlling cache
JPH10254781A (en) Auxiliary storage device
CN114328311A (en) Storage controller architecture, data processing circuit and data processing method
JP3299147B2 (en) Cache control circuit
JPH0887896A (en) Card-shaped circuit block and writing method thereof
JPH0566894A (en) Magnetic tape control device
JPH05158801A (en) Memory card
JPH0635795A (en) Option card of personal computer