[go: up one dir, main page]

JPH04330590A - Ic card - Google Patents

Ic card

Info

Publication number
JPH04330590A
JPH04330590A JP3095188A JP9518891A JPH04330590A JP H04330590 A JPH04330590 A JP H04330590A JP 3095188 A JP3095188 A JP 3095188A JP 9518891 A JP9518891 A JP 9518891A JP H04330590 A JPH04330590 A JP H04330590A
Authority
JP
Japan
Prior art keywords
data
storage area
data storage
microcomputer
applications
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
JP3095188A
Other languages
Japanese (ja)
Inventor
Toshiyuki Matsubara
利之 松原
Hisashi Oono
大野 久支
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 JP3095188A priority Critical patent/JPH04330590A/en
Publication of JPH04330590A publication Critical patent/JPH04330590A/en
Pending legal-status Critical Current

Links

Landscapes

  • Credit Cards Or The Like (AREA)

Abstract

PURPOSE:To respond to various kinds of applications by expanding a data storage area and to heighten reliability for significant data against chip crack, etc. CONSTITUTION:An EEPROM 12A in which the data of the applications (1)-(3) are stored and an EEPROM 12B in which the data of the applications (4)-(6) are stored are packed on a microcomputer 11A which executes the programs of the applications (1)-(6). Also, significant data storage areas where the significant data from the EEPROMs 12a and 12b are stored respectively are provided.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】この発明は、各種アプリケーショ
ンに対応するプログラムを実行し、その結果を格納する
ICカードに関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an IC card that executes programs corresponding to various applications and stores the results.

【0002】0002

【従来の技術】従来例について説明する。図4は、従来
のICカードを示す機能ブロック図である。図4におい
て、1は外部装置と接続されるVCC端子、2は接地(
GND)端子、3は外部装置と接続されるリセット端子
、4は同じくクロック端子、5は同じくI/O端子であ
る。 6はI/O端子5に接続されている入出力制御回路、7
はCPU、8はROM、9はRAMであり、これらはバ
ス10を介して互いに接続されている。11は入出力制
御回路6からバス10までによって構成されているマイ
コンである。12はバス10を介して入出力制御回路6
、CPU7、ROM8及びRAM9に接続されているデ
ータメモリ(不揮発性メモリ)としてのEEPROMで
ある。
2. Description of the Related Art A conventional example will be explained. FIG. 4 is a functional block diagram showing a conventional IC card. In Figure 4, 1 is a VCC terminal connected to an external device, and 2 is a ground (
3 is a reset terminal connected to an external device, 4 is a clock terminal, and 5 is an I/O terminal. 6 is an input/output control circuit connected to the I/O terminal 5; 7
is a CPU, 8 is a ROM, and 9 is a RAM, which are connected to each other via a bus 10. Reference numeral 11 denotes a microcomputer including an input/output control circuit 6 to a bus 10. 12 is an input/output control circuit 6 via a bus 10
, an EEPROM as a data memory (nonvolatile memory) connected to the CPU 7, ROM 8, and RAM 9.

【0003】次に、上述した従来例の動作を図4を参照
しながら説明する。従来のICカードは、VCC端子1
、GND端子2、リセット端子3、クロック端子3及び
I/O端子5の5つの端子を介して外部装置と接続され
、外部装置からのデータが、I/O端子5を介してシリ
アルデータとして入力される。入力されたデータは、入
出力制御装置6においてシリアル/パラレル変換され、
パラレルデータとして入出力制御回路6からバス10を
介してCPU7に取り込まれる。CPU7は、ROM8
に格納されているユーザプログラムにしたがってデータ
処理を行い、一時的に記憶の必要なデータをRAM9に
格納し、また、データ処理の結果など常時格納が必要な
データをポート(図示しない)を介してデータメモリと
してのEEPROM12に格納する。外部装置へ出力さ
れるデータはパラレル/シリアル変換され、シリアルデ
ータとしてI/O端子5を介して外部へ転送される。
Next, the operation of the above-mentioned conventional example will be explained with reference to FIG. Conventional IC cards have VCC terminal 1
, GND terminal 2, reset terminal 3, clock terminal 3, and I/O terminal 5. Data from the external device is input as serial data via I/O terminal 5. be done. The input data is serial/parallel converted in the input/output control device 6,
The data is taken in as parallel data from the input/output control circuit 6 to the CPU 7 via the bus 10. CPU7 is ROM8
Data processing is performed according to the user program stored in the RAM 9, data that needs to be stored temporarily is stored in the RAM 9, and data that needs to be permanently stored, such as the results of data processing, is sent via a port (not shown). The data is stored in the EEPROM 12 as a data memory. The data output to the external device is subjected to parallel/serial conversion and transferred to the outside via the I/O terminal 5 as serial data.

【0004】なお、ここでは、マイコン11とEEPR
OM12の2つのチップが実装されているICカードに
ついて説明したが、マイコン11内部にEEPRM12
を内蔵するEEPROM内蔵マイコンが開発され、これ
が実装されるワンチップ化が進められている。
[0004] Here, the microcomputer 11 and the EEPR
We have explained an IC card with two OM12 chips mounted, but there is an EEPRM12 inside the microcontroller 11.
A microcontroller with a built-in EEPROM has been developed, and efforts are being made to implement it on a single chip.

【0005】[0005]

【発明が解決しようとする課題】最近、ICカードの利
用拡大のために、多種のアプリケーションへ対応できる
ICカードの要求が高まっている。そのためには、大容
量データメモリをもつICカードが必要である。また一
方では、EEPROM内蔵マイコンが実装されるワンチ
ップ化が進んでいる。しかし、上述したような従来のI
Cカードでは、データメモリとしてのEEPROMは小
容量であり、データ格納領域が小さいので、多種のアプ
リケーションに対応することができないという問題点が
あった。また、従来のワンチップ化されたICカードで
は、チップ割れなどが発生した場合には、EEPROM
上のデータが全て無効になってしまうという問題点もあ
った。
[Problems to be Solved by the Invention] Recently, in order to expand the use of IC cards, there has been an increasing demand for IC cards that can be used in a wide variety of applications. For this purpose, an IC card with a large capacity data memory is required. On the other hand, the trend toward single-chip devices in which microcomputers with built-in EEPROMs are mounted is progressing. However, the conventional I
In the C card, the EEPROM as a data memory has a small capacity and the data storage area is small, so there is a problem that it cannot support a wide variety of applications. In addition, with conventional one-chip IC cards, if the chip breaks, etc., the EEPROM
There was also the problem that all of the above data would become invalid.

【0006】この発明は、このような問題点を解決する
ためになされたもので、データ格納領域を拡大して多種
のアプリケーションに対応できるとともに、チップ割れ
などからデータを保護することができるICカードを得
ることを目的とする。
[0006] This invention was made to solve these problems, and provides an IC card that can expand the data storage area to support a wide variety of applications, and that can protect data from chip cracks and the like. The purpose is to obtain.

【0007】[0007]

【課題を解決するための手段】この発明に係るICカー
ドは、次に掲げる手段を備えたものである。 [1]  多種のアプリケーションに対応するプログラ
ムを実行するマイコン。 [2]  このマイコンからのデータが上記アプリケー
ションごとにデータ格納領域に格納され、上記マイコン
からの重要データがそれぞれの重要データ格納領域に格
納される複数のデータメモリ。
[Means for Solving the Problems] An IC card according to the present invention is provided with the following means. [1] A microcomputer that executes programs compatible with a wide variety of applications. [2] A plurality of data memories in which data from the microcomputer is stored in a data storage area for each of the applications, and important data from the microcomputer is stored in each important data storage area.

【0008】[0008]

【作用】この発明においては、マイコンによって多種の
アプリケーションに対応するプログラムが実行される。 また、複数のデータメモリによって、マイコンからのデ
ータがアプリケーションごとにデータ格納領域に格納さ
れる。さらに、複数のデータメモリによって、マイコン
からの重要データがそれぞれの重要データ格納領域に格
納される。
[Operation] In the present invention, programs corresponding to various applications are executed by a microcomputer. Further, data from the microcomputer is stored in a data storage area for each application by a plurality of data memories. Furthermore, the plurality of data memories store important data from the microcontroller in respective important data storage areas.

【0009】[0009]

【実施例】【Example】

実施例1.この発明の実施例1について説明する。図1
は、この発明の実施例1を示す機能ブロック図である。 図1において、1〜7、9及び10は従来例のものと同
じであり、8Aは共有バス10と接続されているROM
、11Aはマイコン、12A及び12Bはデータメモリ
としてのEEPROM、13はマイコン11A内におい
てバス10と接続され、EEPROM12A及び12B
と接続されているポートである。
Example 1. Example 1 of this invention will be described. Figure 1
1 is a functional block diagram showing Embodiment 1 of the present invention. FIG. In FIG. 1, 1 to 7, 9 and 10 are the same as those in the conventional example, and 8A is a ROM connected to the shared bus 10.
, 11A is a microcomputer, 12A and 12B are EEPROMs as data memories, and 13 is connected to the bus 10 in the microcomputer 11A.
This is the port connected to.

【0010】次に、上述した実施例1の動作について図
1を参照しながら説明する。マイコン11AとEEPR
OM12A及び12Bとの間では、ポート13を介して
アドレス番地、データ及び制御信号の授受が行われる。 マイコン11Aに接続されるデータメモリ、即ちEEP
ROM12A及び12Bのデータ格納領域は、マイコン
11A内部のROM8Aに格納されている処理プログラ
ムによって分割される。分割によって得られた各データ
格納領域に、それぞれ多種のアプリケーションに対応し
たデータが記憶される。
Next, the operation of the first embodiment described above will be explained with reference to FIG. Microcomputer 11A and EEPR
Addresses, data, and control signals are exchanged between the OMs 12A and 12B via the port 13. Data memory connected to microcomputer 11A, that is, EEP
The data storage areas of the ROMs 12A and 12B are divided by a processing program stored in the ROM 8A inside the microcomputer 11A. Each data storage area obtained by division stores data corresponding to various types of applications.

【0011】ここで、データメモリのデータ格納領域が
6分割された場合について説明する。図2は、データ格
納領域が6分割されていてるデータメモリのメモリマッ
プ図である。同図(a)はデータ格納領域が3分割され
ているEEPROM12Aのメモリマップ図であり、ア
プリケ−ション(1)のデータ格納領域14、アプリケ
ーション(2)のデータ格納領域15、アプリケーショ
ン(3)のデータ格納領域16及び重要データ格納領域
17から成る。同図(b)はデータ格納領域が3分割さ
れているEEPROM12Bのメモリマップ図であり、
アプリケ−ション(4)のデータ格納領域18、アプリ
ケーション(5)のデータ格納領域19、アプリケーシ
ョン(6)のデータ格納領域20及び重要データ格納領
域21から成る。EEPROM12Aはアプリケーショ
ン(1)、(2)及び(3)に対応でき、またEEPR
OM12Bはアプリケーション(4)、(5)及び(6
)に対応でき、したがって6種類のアプリケーションに
対応することができる。
[0011] Here, a case where the data storage area of the data memory is divided into six areas will be explained. FIG. 2 is a memory map diagram of a data memory in which the data storage area is divided into six parts. FIG. 5(a) is a memory map diagram of the EEPROM 12A in which the data storage area is divided into three parts: data storage area 14 for application (1), data storage area 15 for application (2), and data storage area 15 for application (3). It consists of a data storage area 16 and an important data storage area 17. Figure (b) is a memory map diagram of the EEPROM 12B in which the data storage area is divided into three parts.
It consists of a data storage area 18 for application (4), a data storage area 19 for application (5), a data storage area 20 for application (6), and an important data storage area 21. EEPROM12A can support applications (1), (2) and (3), and also supports EEPR
OM12B supports applications (4), (5) and (6).
) and therefore six types of applications.

【0012】例えば、アプリケーション(2)のプログ
ラム実行中、データメモリにデータを格納する必要が発
生した場合に、CPU7は、ポート13を介してEEP
ROM12Aのアプロケーション(2)のデータ格納領
域15の所定アドレスを指定し、データを格納する。ま
た、アプリケーション(6)のプログラム実行中、デー
タメモリからデータの読み出しを行う場合、CPU7は
、ポート13を介してEEPROM12Bのアプリケー
ション(6)のデータ格納領域20の所定アドレスから
データの読み出しを行う。
For example, when it becomes necessary to store data in the data memory during the execution of the application (2) program, the CPU 7 stores the EEP data via the port 13.
A predetermined address of the data storage area 15 of application (2) of the ROM 12A is specified, and data is stored. Further, when reading data from the data memory during execution of the application (6) program, the CPU 7 reads data from a predetermined address of the data storage area 20 of the application (6) of the EEPROM 12B via the port 13.

【0013】次に、重要データを格納する場合について
説明する。EEPROM12A及び12Bのデータ格納
領域が分割される際には、それぞれ重要データ格納領域
17及び21が設けられる。データ処理中、重要データ
と判断されたデータを格納する必要が発生した場合には
、CPU7は、ポート13を介してEEPROM12A
の重要データ格納領域17及びEEPROM12Bの重
要データ格納領域21の両方にこのデータを書き込む。 以上説明したように、実施例1では、EEPROM12
A及び12Bを備えてデータ格納領域を拡大したことに
よって、多種のアプリケーションに対応することができ
る。また、実施例1では、EEPROM12A及12B
に重要データ格納領域を設け、それぞれに同じ重要デー
タを格納することによって、EEPROM12AとEE
PROM12Bのどちらかにチップ割れなどが発生して
も、重要データの消失を防ぐことができる。
Next, the case of storing important data will be explained. When the data storage areas of the EEPROMs 12A and 12B are divided, important data storage areas 17 and 21 are provided, respectively. During data processing, if it becomes necessary to store data determined to be important data, the CPU 7 stores the data in the EEPROM 12A via the port 13.
This data is written into both the important data storage area 17 of the EEPROM 12B and the important data storage area 21 of the EEPROM 12B. As explained above, in the first embodiment, the EEPROM 12
By providing A and 12B and expanding the data storage area, it is possible to support a wide variety of applications. In addition, in Example 1, EEPROM12A and 12B
By providing an important data storage area in each and storing the same important data in each, EEPROM12A and EE
Even if a chip cracks or the like occurs in either PROM 12B, important data can be prevented from being lost.

【0014】実施例2.この発明の実施例2について説
明する。図3はEEPROM内蔵マイコンが実装されて
いるICカードを示す機能ブロック図である。図3にお
いて、1〜10は実施例1と同じであり、11Bは内部
でEEPROM12Aがバス10と接続されているEE
PROM内蔵マイコンである。EEPROM12Bは、
マイコン11B内部のポート13を介してバス10と接
続されている。このような場合も実施例1と同様の効果
を奏する。
Example 2. Example 2 of this invention will be described. FIG. 3 is a functional block diagram showing an IC card in which a microcomputer with a built-in EEPROM is mounted. In FIG. 3, 1 to 10 are the same as in the first embodiment, and 11B is an EE in which an EEPROM 12A is connected to the bus 10.
It is a microcomputer with built-in PROM. EEPROM12B is
It is connected to the bus 10 via a port 13 inside the microcomputer 11B. In such a case as well, the same effects as in the first embodiment can be achieved.

【0015】実施例3.ポート13に空があれば、さら
にEEPROMを実装し、データ格納領域をより拡大す
ることができる。
Example 3. If the port 13 is empty, an EEPROM can be further mounted to further expand the data storage area.

【0016】[0016]

【発明の効果】この発明は、以上説明したとおり、多種
のアプリケーションに対応するプログラムを実行するマ
イコンと、このマイコンからのデータがアプリケーショ
ンごとにデータ格納領域に格納され、上記マイコンから
の重要データがそれぞれの重要データ格納領域に格納さ
れる複数のデータメモリとを備えたことによって、デー
タ格納領域が拡大され、多種のアプリケーションに対応
でき、また、チップ割れなどに対する重要データの信頼
性を高めることができるという効果がある。
[Effects of the Invention] As explained above, the present invention includes a microcomputer that executes programs corresponding to various applications, data from this microcomputer is stored in a data storage area for each application, and important data from the microcomputer is stored in a data storage area for each application. By being equipped with multiple data memories stored in each important data storage area, the data storage area is expanded, making it possible to support a wide variety of applications, and increasing the reliability of important data against chip cracks, etc. There is an effect that it can be done.

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

【図1】この発明の実施例1を示す機能ブロック図であ
る。
FIG. 1 is a functional block diagram showing a first embodiment of the present invention.

【図2】この発明の実施例1のEEPROMのメモリマ
ップ図である。
FIG. 2 is a memory map diagram of an EEPROM according to the first embodiment of the present invention.

【図3】この発明の実施例2を示す機能ブロック図であ
る。
FIG. 3 is a functional block diagram showing a second embodiment of the invention.

【図4】従来のICカードを示す機能ブロック図である
FIG. 4 is a functional block diagram showing a conventional IC card.

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

11A、11B    マイコン 12A、12B    EEPROM 11A, 11B Microcomputer 12A, 12B EEPROM

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  多種のアプリケーションに対応するプ
ログラムを実行するマイコン、及び、このマイコンから
のデータが上記アプリケーションごとにデータ格納領域
に格納され、上記マイコンからの重要データがそれぞれ
の重要データ格納領域に格納される複数のデータメモリ
を備えたことを特徴とするICカード。
Claim 1: A microcomputer that executes programs corresponding to various applications, data from this microcomputer is stored in a data storage area for each of the applications, and important data from the microcomputer is stored in each important data storage area. An IC card characterized by comprising a plurality of data memories for storing data.
JP3095188A 1991-04-25 1991-04-25 Ic card Pending JPH04330590A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3095188A JPH04330590A (en) 1991-04-25 1991-04-25 Ic card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3095188A JPH04330590A (en) 1991-04-25 1991-04-25 Ic card

Publications (1)

Publication Number Publication Date
JPH04330590A true JPH04330590A (en) 1992-11-18

Family

ID=14130782

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3095188A Pending JPH04330590A (en) 1991-04-25 1991-04-25 Ic card

Country Status (1)

Country Link
JP (1) JPH04330590A (en)

Similar Documents

Publication Publication Date Title
KR100867900B1 (en) Sdram memory device with an embedded nand flash controller
US20020145920A1 (en) Semiconductor memory device
EP0337463B1 (en) Emulation system capable of complying with microcomputers having different on-chip memory capacities
JP2513462B2 (en) Micro computer
JPH04330590A (en) Ic card
JP3032207B2 (en) Micro computer
JPS62192100A (en) Dynamic type semiconductor memory device
JPS6232516B2 (en)
US5222232A (en) Apparatus and method for monitoring prom access in a microcomputer
JPS58158759A (en) Information processing device
JPS614242A (en) Semiconductor integrated circuit device
JPS6014435B2 (en) Storage device
JPS6243789A (en) Method for testing ic card
JPS63159966A (en) Single-chip microcomputer
KR930009061B1 (en) Memory access unit
JPH01293414A (en) Register initialization method
JP2581484B2 (en) Data processing system
JP2819329B2 (en) Program storage device
JPS6393059A (en) Memory card
JPH01209535A (en) Microcomputer/emulator
EP0755000A2 (en) Microcomputer and address generation method
JPH03211641A (en) Address designation method for memory device
JPS59114657A (en) Memory interface circuit of microcomputer
JPH0789439B2 (en) Semiconductor integrated circuit device
JPH04177452A (en) Information processor