JPH0476795A - Ic card - Google Patents
Ic cardInfo
- Publication number
- JPH0476795A JPH0476795A JP2191501A JP19150190A JPH0476795A JP H0476795 A JPH0476795 A JP H0476795A JP 2191501 A JP2191501 A JP 2191501A JP 19150190 A JP19150190 A JP 19150190A JP H0476795 A JPH0476795 A JP H0476795A
- Authority
- JP
- Japan
- Prior art keywords
- program
- main routine
- mask rom
- card
- stored
- 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
- 238000010586 diagram Methods 0.000 description 6
- 238000004364 calculation method Methods 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 235000014548 Rubus moluccanus Nutrition 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000008676 import Effects 0.000 description 1
- 238000000034 method Methods 0.000 description 1
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
この発明に、マイクロコンピュータ(以下マイコンとい
う)とプログラマブルメモリを内蔵したICカードでプ
ログラマブルメモリに書かれたプログラムをマイコンが
実行できるICカードに関するものである。[Detailed Description of the Invention] [Field of Industrial Application] This invention relates to an IC card that has a built-in microcomputer (hereinafter referred to as a microcomputer) and a programmable memory, and allows the microcomputer to execute a program written in the programmable memory. It is.
第4図は従来のICカードのブロック図、第5tgh第
4図のICカードのメモリマツプである。FIG. 4 is a block diagram of a conventional IC card, and FIG. 4 is a memory map of the IC card shown in FIG.
因において、+lIにICカード、(21はICカード
(l全体の制御を行うCPU、(3)ハブログラムが格
納されているマスクROM 、 +41i演算結果やデ
ータが格納されるRAM 、 +51 fDデデーが格
納されるプログラマブルメモ!J 、+61は外部との
データの授受を行う入出力制御回路、(7)はデータア
ドレス制御信号などを各ブロックに伝えるバス、+81
fl I Cカードil+に電源を供給するVCC端子
、(9)はGND端子、101はICカードfilにリ
セットをかけるためのリセット端子、(Illillミ
クロツクklcカードil+に供給する友めのクロック
端子、Q21fl外部とデータの授受をする友めの工り
端子、(31)ハマスクROM +31に格納されてい
るプログラム、@ハプログラマブルメモリ(6)に格納
されているデータである。第6図に第4図に示すマスク
ROM +31に格納されているプログラムの幻の中の
メインルーチン(311)とサブルーチン(312)を
示している。In the above, +1I is an IC card, (21 is an IC card (1) is a CPU that controls the entire system, (3) is a mask ROM in which the hub program is stored, +41i is a RAM in which calculation results and data are stored, +51 is a RAM in which fD data is stored. Programmable memo!J, +61 is an input/output control circuit that exchanges data with the outside, (7) is a bus that transmits data address control signals, etc. to each block, +81
fl VCC terminal that supplies power to the IC card il+, (9) is the GND terminal, 101 is the reset terminal that resets the IC card fil, (a friend clock terminal that supplies the Illill Microk KLC card il+, Q21fl A companion terminal for exchanging data with the outside, (31) a program stored in the Hamask ROM +31, and data stored in the programmable memory (6). The main routine (311) and subroutine (312) in the program stored in the mask ROM +31 shown in FIG.
次に動作について説明する。まず、ICカード111G
’!”/cc端子18+ 、 GND端子(9)より電
源を供給され、クロック端子間よりクロック信号を供給
され、リセット端子ααよりリセット信号を供給される
ことにより動作を開始する。その後、S10端子α2に
よりデータの授受を入出力制御回路1B)の制御により
行う。マスクROM i3)にu CPU +21が実
行するプログラムelllが格納されており、CPU
12+ Uバス(7)ヲ介してプログラム制を読み取り
実行する。CPU 121が実行するプログラム(31
1Uメインルーチン(311)もサブルーチン(3校)
もすべてマスクROM +31に格納されている。CP
U tz+ tjメインルーチン(311)を実行し、
メインルーチン(311)からサブルーチン(312)
をコールして実行する。このことを第6図に示す。Next, the operation will be explained. First, IC card 111G
'! "It starts operation by being supplied with power from the /cc terminal 18+ and the GND terminal (9), by being supplied with a clock signal between the clock terminals, and by being supplied with a reset signal by the reset terminal αα. After that, the operation is started by being supplied with a reset signal from the reset terminal αα. Data transfer is performed under the control of the input/output control circuit 1B).A program ell to be executed by the u CPU +21 is stored in the mask ROM i3).
12+ Reads and executes the program system via the U bus (7). Program executed by CPU 121 (31
1U main routine (311) is also a subroutine (3 schools)
are all stored in mask ROM +31. C.P.
Execute the U tz+ tj main routine (311),
Main routine (311) to subroutine (312)
Call and execute. This is shown in FIG.
また、CPU telは演算結果などを必要に応じてR
AM+41に格納したり、データ@をプログラマブルメ
モリ(6)に格納する。In addition, the CPU tel sends calculation results etc. to R as needed.
AM+41 or data @ to the programmable memory (6).
従来のICカードに以上のように構成されているので、
メインルーチンもサブルーチンもすべてのプログラムが
マスクROMに入っているため、プログラムを変更する
場合は、マスクROMf変更しなければならない念め、
多くの費用が必要となり、また、少量多品種生産に対応
できないため、小規模のICカードシステムに使用でき
ないなどの問題点があった。Since the conventional IC card is configured as described above,
All programs, both main routines and subroutines, are stored in the mask ROM, so if you want to change the program, be sure to change the mask ROM f.
This method requires a large amount of cost and cannot be used in small-scale IC card systems because it cannot handle high-mix, low-volume production.
この発明に上記のような問題点を解消する几めになされ
たもので、容易にプログラムの変更ができ、また、マス
クROM金変更する必要がないICカードを得ることを
目的とする。This invention has been carefully designed to solve the above-mentioned problems, and an object of the present invention is to obtain an IC card whose program can be easily changed and which does not require changing the mask ROM.
この発明に係るICカードにマスクROMには固定のサ
ブルーチンを格納し、プログラマブルメモリにメインル
ーチンを格納するようにしたものである。In the IC card according to the present invention, a fixed subroutine is stored in the mask ROM, and a main routine is stored in the programmable memory.
この発明におけるICカードは、プログラマブルメモリ
にメインルーチンを格納し友ことによりマスクROMを
変更することなく、プログラムを容易に変更できる。The IC card according to the present invention stores the main routine in the programmable memory, so that the program can be easily changed without changing the mask ROM.
以下この発明の一実施例を図について説明する。 An embodiment of the present invention will be described below with reference to the drawings.
第1図[ICカードのメモリマツプ、第2図げ第11A
に示すマスクROMに格納されているメインルーチンお
よびサブルーチンの実行金示す図である。Figure 1 [IC card memory map, Figure 2, Figure 11A]
FIG. 3 is a diagram showing the execution costs of the main routine and subroutines stored in the mask ROM shown in FIG.
図において、(3)〜+51 、 @ 、傷η、 (3
12)に第4図ないし第6図の従来例に示したものと同
等であるので説明を省略する。@にプログラマブルメモ
1月5)に格納されているメインルーチンである。第3
図は第1図に示すメインルーチン書き込みプログラム國
のフローチャートである。In the figure, (3) to +51, @, scratch η, (3
12) is the same as that shown in the conventional example shown in FIGS. 4 to 6, so the explanation will be omitted. This is the main routine stored in the programmable memo (January 5). Third
This figure is a flowchart of the main routine writing program shown in FIG.
次に動作について説明する。マスクROM +31には
多数の汎用性の高いサブルーチン(312)とメインル
ーチン書き込みプログラムaりが格納されており、CP
U +2114まずメインルーチンJiFき込みプログ
ラム□□□ヲ実行する。メインルーチン書き込みプログ
ラム(32でに、まずI10端子Otよりメインルーチ
ン書き込みコマンドを受信する。もし、このコマンドを
受信しなければメインルーチン@を実行する。Next, the operation will be explained. The mask ROM +31 stores a large number of highly versatile subroutines (312) and a main routine writing program.
U +2114 First, execute the main routine JiF import program □□□. Main routine writing program (at step 32, a main routine writing command is first received from the I10 terminal Ot. If this command is not received, the main routine @ is executed.
コマンドを受信したらメインルーチンの誉き込みモード
となり、i10端子a力より受信するプログラムをプロ
グラマブルメモリ(6)に書き込んでいを、メインルー
チン書き込みプログラム(社)を終了する。When the command is received, the program enters the main routine write mode, writes the program received from the i10 terminal a into the programmable memory (6), and then ends the main routine write program.
メインルーチン輔の実行を行う場合に、プログラマブル
メモリ(6)に書き込まれているメインルーチン@を始
めから順に実行していき、サブルーチンコールによりマ
スクROM +31に格納されてサブルーチン(312
>を実行する。When executing the main routine, the main routine @ written in the programmable memory (6) is executed sequentially from the beginning, and then stored in the mask ROM +31 by the subroutine call and executed as the subroutine (312).
> Execute.
なお、上記例でぼメインルーチン書き込みプログラム翰
の実行ハ、I10端子(121よりメインルーチン書き
込みコマンドを受信することにより行うものを示し友が
、このコマンドに暗証コードのようなものをつけて受信
しなければ、メインルーチン−〇書き込みが行われない
ようにすれば、上記実施例より、セキュリティーの高い
ものになる。Note that the above example shows that the execution of the main routine writing program is performed by receiving the main routine writing command from the I10 terminal (121). If there is no main routine, writing to the main routine is prevented, which provides higher security than the above embodiment.
以上のようにこの発明によれば、メインルーチンをマス
クROMの変更なしで容易に変更できるようにしたので
、プログラムの変更費用が安価にでき、また、少量多品
種生産に対応でき、小規模なICカードシステムにでも
ICカード全供給でき、また、プログラム変更の納期も
短縮することがで青る効果が得られる。As described above, according to the present invention, the main routine can be easily changed without changing the mask ROM, so the cost of changing the program can be reduced, and it is also possible to support small-scale, high-mix production. It is possible to supply all IC cards to an IC card system, and the delivery time for program changes can be shortened, resulting in an advantageous effect.
第1図にこの発明の一実施例によるICカードのメモリ
マツプを示す図、第2図に第1図に示すマスクROMに
格納されているメインルーチンおよびサブルーチンの実
行を示す図、第3図は第1図に示すメインルーチン書き
込みプログラムのフローチャート、第4図に従来のIC
カードのブロック図、第5図に第4図のICカードのメ
モリマツプを示す図、第6図は第4図に示すマスクRO
Mに格納されているメインルーチンおよびサブルーチン
の実行を示す図である。
図において、(3)にマスクROM、+41はRAM
、 +51にプログラマブルメモリ、曽ニメインルーチ
ン書き込みプログラム、(9)はデータ、鰺ニメインル
ーチン、(311”)にメインルーチン、(312)に
サブルーチンである。
なお、図中、同一符号に同一、又は相当部分を示す◇
第1図
3 マズ’tROM
4:RAM
l1l: サブルーチン
第3図
第4図
−−−−−−−−−−−−−−−−−一−−−−−−づ
一−−−−11C11−ト
2:cpu
乙人出り制御即因絡
1/Q逼テ
第6図
第5図
平成
2年
10月26日FIG. 1 is a diagram showing a memory map of an IC card according to an embodiment of the present invention, FIG. 2 is a diagram showing execution of the main routine and subroutines stored in the mask ROM shown in FIG. 1, and FIG. Figure 1 shows the flowchart of the main routine writing program, and Figure 4 shows the conventional IC.
A block diagram of the card, FIG. 5 shows the memory map of the IC card shown in FIG. 4, and FIG. 6 shows the mask RO shown in FIG. 4.
FIG. 3 is a diagram showing the execution of a main routine and subroutines stored in M. In the figure, (3) is a mask ROM, and +41 is a RAM.
, +51 is a programmable memory, Soni main routine writing program, (9) is data, Sabaji main routine, (311'') is a main routine, and (312) is a subroutine. In addition, in the figure, the same symbols are the same, ◇ Figure 1 3 Maz'tROM 4: RAM l1l: Subroutine Figure 3 Figure 4 1-----11C11-2: CPU Output Control Immediate Cause 1/Q Connection Figure 6 Figure 5 October 26, 1990
Claims (1)
るプログラムを格納するマスクROMと、データを格納
するプログラマブルメモリとを備え、プログラマブルメ
モリに書かれたプログラムを実行することができるIC
カードにおいて、マスクROMにはサブルーチンのみを
格納し、メインプログラムをプログラマブルメモリに格
納することを特徴とするICカード。An IC that is equipped with a microcomputer, a mask ROM that stores programs to be executed by the microcomputer, and a programmable memory that stores data, and that can execute programs written in the programmable memory.
An IC card characterized in that only a subroutine is stored in a mask ROM, and a main program is stored in a programmable memory.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2191501A JPH0476795A (en) | 1990-07-18 | 1990-07-18 | Ic card |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2191501A JPH0476795A (en) | 1990-07-18 | 1990-07-18 | Ic card |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH0476795A true JPH0476795A (en) | 1992-03-11 |
Family
ID=16275703
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2191501A Pending JPH0476795A (en) | 1990-07-18 | 1990-07-18 | Ic card |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0476795A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8180082B2 (en) | 2007-04-04 | 2012-05-15 | Funai Electric Advanced Applied Technology Research Institute Inc. | Microphone unit, close-talking voice input device, information processing system, and method of manufacturing microphone unit |
US8605930B2 (en) | 2008-03-27 | 2013-12-10 | Funai Electric Co., Ltd. | Microphone unit, close-talking type speech input device, information processing system, and method for manufacturing microphone unit |
-
1990
- 1990-07-18 JP JP2191501A patent/JPH0476795A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8180082B2 (en) | 2007-04-04 | 2012-05-15 | Funai Electric Advanced Applied Technology Research Institute Inc. | Microphone unit, close-talking voice input device, information processing system, and method of manufacturing microphone unit |
US8605930B2 (en) | 2008-03-27 | 2013-12-10 | Funai Electric Co., Ltd. | Microphone unit, close-talking type speech input device, information processing system, and method for manufacturing microphone unit |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH0259937A (en) | Ic card | |
JPS5835295B2 (en) | Data transfer method in master-slave system | |
KR950012516B1 (en) | Microcomputer | |
JPH0476795A (en) | Ic card | |
JP2930259B2 (en) | Portable electronic devices | |
JP3077911B2 (en) | Portable electronic devices | |
JPS6111876A (en) | Data transfer system | |
JPS6243789A (en) | Method for testing ic card | |
JPH0520474A (en) | One chip microcomputer | |
JP2962431B2 (en) | Programmable controller | |
JP2613957B2 (en) | ID system | |
JPS63132303A (en) | Microcomputer application controller mounted on vihicle | |
JPH01169691A (en) | Ic card | |
JPS63159993A (en) | Ic card | |
JPS6349935A (en) | Central controller | |
JPS61148525A (en) | Computer system | |
JPH1027153A (en) | Bus transfer device | |
JPH03109661A (en) | Data processor | |
JPS61280091A (en) | Semiconductor memory device | |
JPH04205694A (en) | Electronic device provided with information storage device | |
JPS60176106A (en) | Sequence controller | |
JPS62168231A (en) | Data processor | |
JPS63206855A (en) | Data transmission equipment | |
JPH0520140U (en) | Information processing equipment | |
JPH02297682A (en) | Microcomputer |