[go: up one dir, main page]

JPH0713871A - Address control method of eeprom - Google Patents

Address control method of eeprom

Info

Publication number
JPH0713871A
JPH0713871A JP5152466A JP15246693A JPH0713871A JP H0713871 A JPH0713871 A JP H0713871A JP 5152466 A JP5152466 A JP 5152466A JP 15246693 A JP15246693 A JP 15246693A JP H0713871 A JPH0713871 A JP H0713871A
Authority
JP
Japan
Prior art keywords
eeprom
address
rom area
register
user
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.)
Withdrawn
Application number
JP5152466A
Other languages
Japanese (ja)
Inventor
Keiichi Ito
啓一 伊藤
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co Ltd
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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP5152466A priority Critical patent/JPH0713871A/en
Publication of JPH0713871A publication Critical patent/JPH0713871A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Storage Device Security (AREA)
  • Microcomputers (AREA)

Abstract

PURPOSE:To improve the security by preventing EEPROM data from being forged. CONSTITUTION:When a control ROM area 24b where 4 process routine P for EEPROM rewriting is called from a user program area 24a through a subroutine, a jump to a control ROM area 24b is made through a jump table 24c once. When this jump table 24c is referred to, an offset value (y) stored in a register 30 composed of an EEPROM is added by an adder 31 to call the process routine P assigned to a fixed address even when an entry address (x) which is different, user by user, is assigned.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、IC(集積回路)カー
ド等に用いるマイクロコンピュータ内に内蔵され、機密
性の高いデータ等を記憶する電気的消去可能な不揮発性
メモリであるEEPROM(Electrically Erasable &
Programmable Read Only Memory )のアドレス制御方法
に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention is an electrically erasable non-volatile memory EEPROM (Electrically Erasable) incorporated in a microcomputer used for an IC (integrated circuit) card or the like and storing highly confidential data and the like. &
Programmable Read Only Memory) address control method.

【0002】[0002]

【従来の技術】従来、例えば、ICカード用マイクロコ
ンピュータに内蔵されるEEPROMは、機密性の高い
データを記憶するため、そのデータを第3者が不正に書
換えることができないのが望ましい。このようなICカ
ード用マイクロコンピュータに関する技術としては、例
えば次のような文献に記載されるものがある。 文献;沖研究開発、57[2](1990−4)備瀬等
「ICカード用1チップマイコン」P.39 図2は、前記文献に記載された従来のICカード用マイ
クロコンピュータの一構成例を示す機能ブロック図であ
る。このICカード用マイクロコンピュータは、ICカ
ードリーダ/ライタとのシリアル信号SIOの入出力を
行うシリアル入出力端子1、電源電位VDD(例えば、
5V)用の電源端子2、反転リセット信号RESN を入
力するリセット端子3、クロック信号CLKを入力する
クロック入力端子4、及びGND(=0V)用の電源端
子5と、内部データバス6と、中央処理装置(以下、C
PUという)と、半導体メモリと、レジスタとを備えて
いる。
2. Description of the Related Art Conventionally, for example, an EEPROM incorporated in a microcomputer for an IC card stores highly confidential data, and therefore it is desirable that a third party cannot illegally rewrite the data. As a technique relating to such an IC card microcomputer, for example, there is one described in the following documents. Reference: Oki R & D, 57 [2] (1990-4) Bise et al. 39 is a functional block diagram showing one configuration example of the conventional IC card microcomputer described in the above-mentioned document. This IC card microcomputer includes a serial input / output terminal 1 for inputting / outputting a serial signal SIO to / from an IC card reader / writer, a power supply potential VDD (for example,
5 V) power supply terminal 2, a reset terminal 3 for inputting an inverted reset signal RES N , a clock input terminal 4 for inputting a clock signal CLK, a power supply terminal 5 for GND (= 0 V), an internal data bus 6, Central processing unit (hereinafter C
PU), a semiconductor memory, and a register.

【0003】CPUは、端子2〜5に接続され各種のタ
イミング信号や制御信号を発生するタイミング/制御回
路11、例えば8ビットの算術論理演算ユニット(以
下、ALUという)12、該ALU12の演算結果を一
時記憶する補助レジスタ(Bレジスタ)13、該ALU
12の演算結果を累算するアキュムレータ(Aレジス
タ)14、及びコンディションコードレジスタ15等か
ら構成されている。ALU12、補助レジスタ13、及
びアキュムレータ14は内部データバス6に接続されて
いる。コンディションコードレジスタ15は、シリアル
入出力端子1に接続されると共に、ALU12及びアキ
ュムレータ14に接続されている。半導体メモリとして
は、データの随時読み書き可能なRAM(ランダムアク
セスメモリ)21、読出し専用のROM(リードオンリ
メモリ)24、及びEEPROM26を有し、それらが
内部データバス6に接続されている。RAM21は、デ
ータポインタ22でアドレッシングされ、その一部がプ
ッシュダウン方式のスタックとして使用され、スタック
ポインタ23でアドレッシングされるようになってい
る。ROM24は、例えばマスクROMで構成され、プ
ログラムカウンタ25でアドレッシングされる。このR
OM24は、アプリケーションプログラムを記憶するユ
ーザプログラムROM領域と、内部テストやEEPRO
Mアクセスルーチン(処理ルーチン)を記憶するコント
ロールROM領域とを有している。EEPROM26
は、機密性の高いデータ等を記憶するメモリであり、B
レジスタとAレジスタのペアレジスタ27でアドレッシ
ングされる。このEEPROM26の記憶領域は、命令
としては実行できない。
A CPU is a timing / control circuit 11 connected to terminals 2 to 5 for generating various timing signals and control signals, for example, an 8-bit arithmetic logic operation unit (hereinafter referred to as ALU) 12, and an operation result of the ALU 12. Register (B register) 13 for temporarily storing
It is composed of an accumulator (A register) 14 for accumulating the operation results of 12, a condition code register 15, and the like. The ALU 12, the auxiliary register 13, and the accumulator 14 are connected to the internal data bus 6. The condition code register 15 is connected to the serial input / output terminal 1 and also to the ALU 12 and the accumulator 14. The semiconductor memory includes a RAM (random access memory) 21 capable of reading and writing data at any time, a read-only ROM (read only memory) 24, and an EEPROM 26, which are connected to the internal data bus 6. The RAM 21 is addressed by the data pointer 22, a part of the RAM 21 is used as a push-down stack, and is addressed by the stack pointer 23. The ROM 24 is composed of, for example, a mask ROM, and is addressed by the program counter 25. This R
The OM 24 has a user program ROM area for storing application programs, an internal test and EEPRO.
And a control ROM area for storing an M access routine (processing routine). EEPROM 26
Is a memory for storing highly confidential data, and B
Addressing is performed by the pair register 27 of the register and the A register. The storage area of the EEPROM 26 cannot be executed as an instruction.

【0004】図2のマイクロコンピュータでは、電源端
子2に電源電位VDDが印加されると共に、クロック信
号CLKがクロック入力端子4に入力されると、タイミ
ング/制御回路11から各種のタイミングや制御信号が
発生する。ICカードリーダ/ライタからシリアル信号
SIOがシリアル入出力端子1に入力されると、そのシ
リアル信号SIOがコンディションコードレジスタ15
へ送られる。プログラムカウンタ25でアドレッシング
されたROM24内のプログラムが読出され、そのプロ
グラムに従い、例えばALU12がシリアル信号SIO
とRAM21内のデータとに対して演算処理を行い、そ
の演算結果が補助レジスタ13やアキュムレータ14に
一時記憶され、内部データバス6を介してRAM21等
に記憶される。EEPROM26のデータは、メモリセ
ルのトランジスタの閾値を変化させて記憶される。この
記憶データは、特に機密性(セキュリティ)を必要とす
るため、その記憶データを第3者が不正に書換えること
ができないのが望ましい。そこで、セキュリティ対策と
して、従来、図3に示すようなEEPROM26の書換
え防止手段を講じている。
In the microcomputer of FIG. 2, when the power supply potential VDD is applied to the power supply terminal 2 and the clock signal CLK is input to the clock input terminal 4, various timings and control signals are output from the timing / control circuit 11. Occur. When the serial signal SIO is input from the IC card reader / writer to the serial input / output terminal 1, the serial signal SIO is input to the condition code register 15
Sent to. The program in the ROM 24 addressed by the program counter 25 is read, and the ALU 12, for example, outputs the serial signal SIO in accordance with the program.
And the data in the RAM 21 are subjected to arithmetic processing, and the arithmetic result is temporarily stored in the auxiliary register 13 or the accumulator 14 and stored in the RAM 21 or the like via the internal data bus 6. The data of the EEPROM 26 is stored by changing the threshold value of the transistor of the memory cell. Since this stored data requires particularly confidentiality (security), it is desirable that a third party cannot illegally rewrite the stored data. Therefore, as a security measure, conventionally, a rewrite preventing unit of the EEPROM 26 as shown in FIG. 3 is taken.

【0005】図3は、図2のROMマップを示す図であ
る。従来のEEPROM26の書換え防止方法では、該
EEPROM26のデータ書換えの手順をファームウェ
ア(firmware)化し、ROM24内にユーザプログラム
ROM領域24aとは別に、コントロール(制御)RO
M領域24bを設け、このコントロールROM領域24
b内にEEPROM書換えルーチン(処理ルーチン)P
を置き、該処理ルーチンPをユーザプログラムROM領
域24a内に記憶したエントリーアドレスxによって呼
出す(コール)ようにしている。これにより、EEPR
OM26のコントロール方法をユーザに開示しなくて
も、サブルーチンである処理ルーチンPをコールするだ
けで、EEPROM26の書換えを行うことができる。
また、処理ルーチンPのエントリーアドレスxは、ユー
ザプログラム作成者等の必要最小限の者にのみ開示し、
一般には公開しないことで、ICカード保有者等のエン
ドユーザが、不正にEEPROMデータの改ざんができ
ないようにしている。
FIG. 3 is a diagram showing the ROM map of FIG. In the conventional method of preventing rewriting of the EEPROM 26, the procedure of data rewriting of the EEPROM 26 is converted into firmware, and the control RO is stored in the ROM 24 separately from the user program ROM area 24a.
An M area 24b is provided, and this control ROM area 24
EEPROM rewriting routine (processing routine) P in b
And the processing routine P is called by the entry address x stored in the user program ROM area 24a. This allows the EEPR
Even if the control method of the OM 26 is not disclosed to the user, the EEPROM 26 can be rewritten simply by calling the processing routine P which is a subroutine.
Further, the entry address x of the processing routine P is disclosed only to the minimum necessary person such as the user program creator,
By not disclosing the information to the public, end users such as IC card holders cannot illegally tamper with the EEPROM data.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、従来の
セキュリティ対策では、次のような問題があり、それを
解決することが困難であった。EEPROM26の書換
えのための処理ルーチンPは、例えばマスクROMで構
成されたROM24上に置かれており、そのエントリー
アドレスxは常に同じもので、異なるユーザ間であって
も同じエントリーアドレスxを用いている。そのため、
ユーザプログラム作成者から第3者にエントリーアドレ
スxが漏れてしまうと、エンドユーザがEEPROMデ
ータの書換え方法を知ることになり、EEPROMデー
タの改ざんが容易に実行できる危険性がある。この防止
策として、ユーザ毎、あるいは同じユーザでも一定期間
毎にエントリーアドレスxを変更するという方法もあ
る。しかし、この方法では、エントリーアドレスxを変
更する度に、マスクROMデータを作り直さなければな
らず、無駄なコスト及び開発時間がかかり、実用的であ
ると言えない。本発明は、前記の問題を解決し、EEP
ROM書換えの処理ルーチンPを固定のアドレスに配置
したままで、ユーザ毎に異なるエントリーアドレスxを
割付けることが可能なEEPROMのアドレス制御方法
を提供することを目的とする。
However, the conventional security measures have the following problems, and it is difficult to solve them. The processing routine P for rewriting the EEPROM 26 is placed on the ROM 24 composed of, for example, a mask ROM, and its entry address x is always the same, and even if different users use the same entry address x. There is. for that reason,
If the entry address x leaks from the user program creator to a third party, the end user will know how to rewrite the EEPROM data, and there is a risk that the alteration of the EEPROM data can be easily executed. As a preventive measure, there is also a method of changing the entry address x for each user or even for the same user at regular intervals. However, with this method, the mask ROM data must be recreated each time the entry address x is changed, which wastes cost and development time, and is not practical. The present invention solves the above problems and provides EEP
It is an object of the present invention to provide an EEPROM address control method capable of allocating a different entry address x to each user while the ROM rewriting processing routine P remains arranged at a fixed address.

【0007】[0007]

【課題を解決するための手段】本発明は、前記課題を解
決するために、マイクロコンピュータ内に設けられたE
EPROMのデータ書換えの手順をファームウェア化
し、コントロールROM領域内の固定番地に配置したE
EPROM書換えのための処理ルーチンを、ユーザプロ
グラムROM領域内のエントリーアドレスによってコー
ルすようにしたEEPROMのアドレス制御方法におい
て、次のような手段を講じている。即ち、前記ユーザプ
ログラムROM領域内のエントリーアドレスと、EEP
ROM構成のレジスタに格納している前記エントリーア
ドレスに対応するオフセット値とを加算し、その加算し
たアドレスに配置したジャンプテーブルを経由して前記
コントロールROM領域内の処理ルーチンをコールする
ようにしている。
In order to solve the above problems, the present invention provides an E provided in a microcomputer.
The procedure for rewriting the EPROM data was converted to firmware and placed at a fixed address in the control ROM area.
In the EEPROM address control method in which the processing routine for rewriting the EPROM is called by the entry address in the user program ROM area, the following means are taken. That is, the entry address in the user program ROM area and the EEP
The offset value corresponding to the entry address stored in the register of the ROM structure is added, and the processing routine in the control ROM area is called via the jump table arranged at the added address. .

【0008】[0008]

【作用】本発明によれば、以上のようにEEPROMの
アドレス制御方法を構成したので、ユーザプログラムR
OM領域から、EEPROM書換えのための処理ルーチ
ンを配置しているコントロールROM領域をサブルーチ
ンコールする場合、一度、ジャンプテーブルを経由して
からコントロールROM領域へジャンプする。このジャ
ンプテーブル参照時に、EEPROMで構成されたレジ
スタに格納されたオフセット値が加算される。これによ
り、ユーザ毎に異なったエントリーアドレスを割付けて
も、固定番地に割付けられたEEPROM書換えのため
の処理ルーチンのコールが行える。従って、前記課題を
解決できるのである。
According to the present invention, since the EEPROM address control method is configured as described above, the user program R
When making a subroutine call from the OM area to the control ROM area in which the processing routine for rewriting the EEPROM is arranged, the control ROM area is jumped once via the jump table. At the time of referring to the jump table, the offset value stored in the register configured by the EEPROM is added. As a result, even if a different entry address is assigned to each user, the processing routine for rewriting the EEPROM assigned to the fixed address can be called. Therefore, the above problem can be solved.

【0009】[0009]

【実施例】図1は、本発明の実施例のEEPROMのア
ドレス制御方法を示す機能ブロック図であり、従来の図
2及び図3中の要素と共通の要素には共通の符号が付さ
れている。本実施例のアドレス制御方法の対象となるE
EPROM26は、従来の図2のマイクロコンピュータ
内に設けられており、そのマイクロコンピュータに設け
られたROM24内には、エントリーアドレスxが置か
れたユーザプログラムROM領域24a、及びEEPR
OM書換えのための処理ルーチンPが置かれたコントロ
ールROM領域24bの他に、固定アドレスzに割付け
られた固定アドレスAが置かれたジャンプテーブル24
cが設けられている。また、マイクロコンピュータ内に
は、例えば8ビットのEEPROMで構成されオフセッ
ト値yを格納するレジスタ30と、エントリーアドレス
xとオフセット値yを加算して固定アドレスzをジャン
プテーブル24cに与える加算器31とが、設けられて
いる。以上のような構成において、ROM24内のユー
ザプログラムROM領域24aから、該ROM24内の
コントロールROM領域24bの処理ルーチンPをコー
ルする場合、このコール先のエントリーアドレスxに、
レジスタ30に予め格納されているオフセット値yを加
算器31で加えた固定アドレスzが、実効アドレスとな
る。固定アドレスzがジャンプテーブル24cのアドレ
スになるように構成されているので、このジャンプテー
ブル24cを経由してコントロールROM領域24b内
の処理ルーチンPをコールすることができる。
1 is a functional block diagram showing an address control method for an EEPROM according to an embodiment of the present invention. Elements common to those shown in FIGS. 2 and 3 of the related art are designated by common reference numerals. There is. E which is the target of the address control method of this embodiment
The EPROM 26 is provided in the conventional microcomputer shown in FIG. 2, and the ROM 24 provided in the microcomputer has a user program ROM area 24a in which an entry address x is placed and an EEPR.
In addition to the control ROM area 24b where the processing routine P for OM rewriting is placed, the jump table 24 where the fixed address A assigned to the fixed address z is placed
c is provided. Further, in the microcomputer, for example, a register 30 configured by an 8-bit EEPROM for storing an offset value y, and an adder 31 for adding the entry address x and the offset value y to give a fixed address z to the jump table 24c. Is provided. In the above configuration, when the processing routine P of the control ROM area 24b in the ROM 24 is called from the user program ROM area 24a in the ROM 24, the entry address x of the call destination is set to
The fixed address z obtained by adding the offset value y previously stored in the register 30 by the adder 31 becomes the effective address. Since the fixed address z is the address of the jump table 24c, the processing routine P in the control ROM area 24b can be called via this jump table 24c.

【0010】ここで、ユーザ毎に異なったエントリーア
ドレスx1 ,x2 ,…,xn を割付けたとしても、それ
に対応するオフセット値y1 ,y2 ,…,yn をxi
i=z(但し、i;1〜nの任意の値)となるよう
に、予めレジスタ30に格納しておけば、固定アドレス
zに割付けたジャンプテーブル24cを経由して、同じ
く固定アドレスAに配置された処理ルーチンPを実行で
きる。例えば、あるユーザU1 には、エントリーアドレ
スx1 を2010hとして割付けたとする。また、ジャ
ンプテーブル24cの固定アドレスzは2020h、処
理ルーチンPの先頭アドレスを3000hに固定である
とする。すると、このユーザU1 に対するオフセット値
1 は、x1 +y1 =2020hより、10hとなり、
この値10hをレジスタ30に書込んでおけば、201
0h番地をサブルーチンコールすることにより、300
0h番地から始まるコントロールROM領域24b内の
処理ルーチンPを実行することができる。ここで、レジ
スタ30に格納されるオフセット値yi を2の補数表現
による負数に拡張すれば、エントリーアドレスxi がジ
ャンプテーブル24cの固定アドレスzの前にある必要
はない。例えば、別のユーザU2 には、エントリーアド
レスx2 を2050hに割付けたとして、オフセット値
2 をD0hにすれば、x2 +y2 =2020hとな
り、同じ処理ルーチンPをコールすることができる。こ
れにより、ユーザへのエントリーアドレスxの割付けの
自由度が増す。
Even if different entry addresses x 1 , x 2 , ..., X n are assigned to each user, the offset values y 1 , y 2 , ..., Y n corresponding to them are assigned to x i +.
If y i = z (where i; any value of 1 to n) is stored in the register 30 in advance, the fixed address A is also passed through the jump table 24c assigned to the fixed address z. It is possible to execute the processing routine P arranged in. For example, assume that the entry address x 1 is assigned to a certain user U 1 as 2010h. Further, it is assumed that the fixed address z of the jump table 24c is 2020h and the start address of the processing routine P is fixed to 3000h. Then, the offset value y 1 for the user U 1 is from x 1 + y 1 = 2020h, 10h , and the
If this value 10h is written in the register 30, 201
By calling subroutine 0h, 300
The processing routine P in the control ROM area 24b starting from the address 0h can be executed. Here, if the offset value y i stored in the register 30 is expanded to a negative number in the two's complement representation, the entry address x i does not have to be before the fixed address z of the jump table 24c. For example, if another user U 2 is assigned the entry address x 2 to 2050h and the offset value y 2 is D0h, x 2 + y 2 = 2020h, and the same processing routine P can be called. This increases the degree of freedom in assigning the entry address x to the user.

【0011】以上のように、本実施例では、ユーザ毎に
異なるエントリーアドレスx1 ,x2 ,…,xn を割付
けていても、レジスタ30に格納するオフセット値y
1 ,y2 ,…,yn を書換えるだけでよいので、メーカ
側で用意する、ファームウェアが格納されているROM
24のマスクROMデータを何度も作り直す必要がな
く、コスト及び開発期間の削減が図れる。しかも、この
ような簡単な構成で、EEPROM26のデータの不正
改ざんを防ぐことができ、セキュリティ上、非常に有効
な手段となる。本発明は、上記実施例に限定されず、例
えば、EEPROM26が設けられるマイクロコンピュ
ータを図2以外の回路構成に変更したり、あるいはそれ
をICカード以外の装置に設ける等、種々の変形が可能
である。
As described above, in the present embodiment, even if different entry addresses x 1 , x 2 , ..., X n are assigned to each user, the offset value y stored in the register 30 is set.
ROM that stores the firmware prepared by the manufacturer because it is only necessary to rewrite 1 , y 2 , ..., Y n
There is no need to recreate the 24 mask ROM data many times, and the cost and development period can be reduced. Moreover, with such a simple structure, it is possible to prevent the data in the EEPROM 26 from being tampered with, which is a very effective means in terms of security. The present invention is not limited to the above embodiment, and various modifications are possible, for example, by changing the circuit configuration of the microcomputer in which the EEPROM 26 is provided to a circuit configuration other than that shown in FIG. 2 or providing it in a device other than the IC card. is there.

【0012】[0012]

【発明の効果】以上詳細に説明したように、本発明によ
れば、ユーザプログラムROM領域内のエントリーアド
レスと、レジスタに格納されているオフセット値とを加
算し、その加算したアドレスに配置したジャンプテーブ
ルを経由して前記コントロールROM領域内の処理ルー
チンを呼出すようにしたので、ユーザ毎に異なるエント
リーアドレスを割付けていても、レジスタに格納するオ
フセット値を書換えるだけでよいので、例えば、メーカ
側で用意する、ファームウェアが格納されているROM
データを何度も作り直す必要がなく、コスト及び開発期
間を削減できる。しかも、レジスタのオフセット値を変
えることにより、固定番地の処理ルーチンのアドレスを
公開することなく、その処理ルーチンを実行できるの
で、アドレスのシークレット化が向上し、EEPROM
データの不正改ざんを防止でき、セキュリティを向上で
きる。
As described above in detail, according to the present invention, the entry address in the user program ROM area and the offset value stored in the register are added, and the jump is placed at the added address. Since the processing routine in the control ROM area is called via the table, even if a different entry address is assigned to each user, it is only necessary to rewrite the offset value stored in the register. ROM that stores the firmware prepared in
The cost and development period can be reduced because data does not need to be recreated many times. Moreover, by changing the offset value of the register, the processing routine can be executed without disclosing the address of the processing routine of the fixed address, so that the secret address can be improved and the EEPROM can be improved.
It is possible to prevent unauthorized alteration of data and improve security.

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

【図1】本発明の実施例のEEPROMのアドレス制御
方法を示す機能ブロック図である。
FIG. 1 is a functional block diagram showing an EEPROM address control method according to an embodiment of the present invention.

【図2】従来のICカード用マイクロコンピュータの構
成例を示す機能ブロック図である。
FIG. 2 is a functional block diagram showing a configuration example of a conventional IC card microcomputer.

【図3】図2のROMマップを示す図である。FIG. 3 is a diagram showing a ROM map of FIG.

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

11 タイミング/制御回路 12 ALU 13 補助レジスタ 14 アキュムレータ 15 コンディションコードレジスタ 21 RAM 22 データポインタ 23 スタックポインタ 24 ROM 24a ユーザプログラムROM領域 24b コントロールROM領域 24c ジャンプテーブル 25 プログラムカウンタ 26 EEPROM 27 ペアレジスタ 30 レジスタ 31 加算器 A,z 固定アドレス P 処理ルーチン x エントリーアドレス 11 Timing / Control Circuit 12 ALU 13 Auxiliary Register 14 Accumulator 15 Condition Code Register 21 RAM 22 Data Pointer 23 Stack Pointer 24 ROM 24a User Program ROM Area 24b Control ROM Area 24c Jump Table 25 Program Counter 26 EEPROM 27 Pair Register 30 Register 31 Addition Device A, z Fixed address P Processing routine x Entry address

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 マイクロコンピュータ内に設けられたE
EPROMのデータ書換えの手順をファームウェア化
し、コントロールROM領域内の固定番地に配置したE
EPROM書換えのための処理ルーチンを、ユーザプロ
グラムROM領域内のエントリーアドレスによって呼出
すようにしたEEPROMのアドレス制御方法におい
て、 前記ユーザプログラムROM領域内のエントリーアドレ
スと、EEPROM構成のレジスタに格納している前記
エントリーアドレスに対応するオフセット値とを加算
し、その加算したアドレスに配置したジャンプテーブル
を経由して前記コントロールROM領域内の処理ルーチ
ンを呼出すようにしたことを特徴とするEEPROMの
アドレス制御方法。
1. An E provided in a microcomputer
The procedure for rewriting the EPROM data was converted to firmware and placed at a fixed address in the control ROM area.
In an EEPROM address control method in which a processing routine for rewriting EPROM is called by an entry address in a user program ROM area, the entry address in the user program ROM area and an EEPROM configuration register are stored. An address control method for an EEPROM, wherein an offset value corresponding to an entry address is added, and a processing routine in the control ROM area is called via a jump table arranged at the added address.
JP5152466A 1993-06-23 1993-06-23 Address control method of eeprom Withdrawn JPH0713871A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5152466A JPH0713871A (en) 1993-06-23 1993-06-23 Address control method of eeprom

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5152466A JPH0713871A (en) 1993-06-23 1993-06-23 Address control method of eeprom

Publications (1)

Publication Number Publication Date
JPH0713871A true JPH0713871A (en) 1995-01-17

Family

ID=15541131

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5152466A Withdrawn JPH0713871A (en) 1993-06-23 1993-06-23 Address control method of eeprom

Country Status (1)

Country Link
JP (1) JPH0713871A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016503542A (en) * 2013-08-12 2016-02-04 スンシル ユニバーシティー リサーチ コンソルティウム テクノーパークSoongsil University Research Consortium Techno−Park Application code obfuscation device and method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016503542A (en) * 2013-08-12 2016-02-04 スンシル ユニバーシティー リサーチ コンソルティウム テクノーパークSoongsil University Research Consortium Techno−Park Application code obfuscation device and method

Similar Documents

Publication Publication Date Title
US7945791B2 (en) Protected storage of a datum in an integrated circuit
JP3638770B2 (en) Storage device with test function
CN110020561B (en) Semiconductor device and method of operating semiconductor device
JPH0719231B2 (en) Integrated circuit with improved access security device
US7657758B2 (en) Processing apparatus and integrated circuit to prevent illicit access and reverse engineering
US7409251B2 (en) Method and system for writing NV memories in a controller architecture, corresponding computer program product and computer-readable storage medium
US6965977B2 (en) Tamper-resistant method and data processing system using the same
JP3125070B2 (en) IC card
KR20030092264A (en) Smart card with enhanced security and method for protecting security information stored therein
US20100138916A1 (en) Apparatus and Method for Secure Administrator Access to Networked Machines
JPH0896106A (en) Ic card and ic card system
US20040186947A1 (en) Access control system for nonvolatile memory
JPH0827730B2 (en) Single-chip microcomputer and test method thereof
JPH0713871A (en) Address control method of eeprom
JP2000235523A (en) Circuit device for processing electronic data
JP3086052B2 (en) EEPROM
JP2005149262A (en) Information processor
KR100718352B1 (en) Data processing unit and how it works
JPH026115B2 (en)
JP2002526840A (en) Data processing apparatus and method of operation for preventing differential current consumption analysis
KR910014812A (en) Method and apparatus for observing an internal memory map register
JPH11237983A (en) One-chip microcomputer and entry method for accessing boot area in the one-chip microcomputer
JPH09114949A (en) Memory card provided with mutual authentication function
JPH05282472A (en) Microcomputer and card incorporating the same
JPH09231329A (en) Memory card

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20000905