JP2003203013A - Microprocessor, and program forming device and program debugging device therefor - Google Patents

Microprocessor, and program forming device and program debugging device therefor

Info

Publication number
JP2003203013A
JP2003203013A JP2002001550A JP2002001550A JP2003203013A JP 2003203013 A JP2003203013 A JP 2003203013A JP 2002001550 A JP2002001550 A JP 2002001550A JP 2002001550 A JP2002001550 A JP 2002001550A JP 2003203013 A JP2003203013 A JP 2003203013A
Authority
JP
Japan
Prior art keywords
program
data
microprocessor
bus
address
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.)
Granted
Application number
JP2002001550A
Other languages
Japanese (ja)
Other versions
JP4247311B2 (en
Inventor
Koichi Wada
晃一 和田
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2002001550A priority Critical patent/JP4247311B2/en
Publication of JP2003203013A publication Critical patent/JP2003203013A/en
Application granted granted Critical
Publication of JP4247311B2 publication Critical patent/JP4247311B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

<P>PROBLEM TO BE SOLVED: To provide a microprocessor capable of performing the processing of a program or data having high secrecy while ensuring the secrecy. <P>SOLUTION: The program to be processed by a microprocessor body 21 is encrypted by a known encrypting processing and stored in an external memory device. It is inputted from the external memory device to a data bus cipher processing means 11 through a data bus 23b, decoded from the cipher by the data bus cipher processing means 11, and delivered to the microprocessor body 21 through the data bus 23a, and the microprocessor 21 performs a processing according to the program. The data processed by the microprocessor body 21 is inputted to the data bus cipher processing means 11 through the data bus 23a, encrypted by the known encrypting processing by the data bus cipher processing means 11 and stored in the external memory device through the data bus 23b. <P>COPYRIGHT: (C)2003,JPO

Description

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

【0001】[0001]

【発明の属する技術分野】本発明はマイクロプロセッサ
に関し、詳細には、外部デバイスのセキュリティを確保
するマイクロプロセッサに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a microprocessor, and more particularly to a microprocessor for ensuring the security of external devices.

【0002】[0002]

【従来の技術】図9は、従来のマイクロプロセッサの構
成を示すブロック図である。図9において、マイクロプ
ロセッサは、データ処理を行うマイクロプロセッサ本体
71と、外部メモリ装置にアドレス情報を出力するため
のアドレスバス72と、外部メモリ装置とデータをやり
取りするためのデータバス73とを備えている。
2. Description of the Related Art FIG. 9 is a block diagram showing a configuration of a conventional microprocessor. In FIG. 9, the microprocessor includes a microprocessor main body 71 for processing data, an address bus 72 for outputting address information to an external memory device, and a data bus 73 for exchanging data with the external memory device. ing.

【0003】このようなマイクロプロセッサは、アドレ
スバス72に出力するアドレス情報に基づくアドレスの
データを、データバス73を介して外部メモリ装置とや
り取りするようになっている。
Such a microprocessor is adapted to exchange address data based on address information output to the address bus 72 with an external memory device via the data bus 73.

【0004】また、図10は、従来のマイクロプロセッ
サで処理するプログラムを作成するためのプログラム作
成装置の構成を示すブロック図である。図10におい
て、プログラム作成装置は、プログラムを作成するプロ
グラム作成部81と、プログラムのアドレス情報を出力
するためのアドレスバス82と、作成したプログラムの
データをやり取りするためのデータバス83と、プログ
ラム作成部81で作成したプログラムを外部メモリ装置
に書き込むプログラム書込み部84とを備えている。
FIG. 10 is a block diagram showing the structure of a conventional program creating device for creating a program to be processed by a microprocessor. In FIG. 10, the program creation device includes a program creation unit 81 for creating a program, an address bus 82 for outputting address information of the program, a data bus 83 for exchanging data of the created program, and a program creation A program writing unit 84 for writing the program created by the unit 81 in an external memory device is provided.

【0005】このようなプログラム作成装置は、プログ
ラム作成部81で作成したプログラムのデータをアドレ
スバス72に出力するアドレス情報に基づくアドレスご
とにデータバス83を介してプログラム書込み部84に
転送し、プログラム書込み部84が外部メモリ装置にプ
ログラムを書き込むようになっている。
In such a program creating device, the data of the program created by the program creating unit 81 is transferred to the program writing unit 84 via the data bus 83 for each address based on the address information output to the address bus 72, and the program is written. The writing unit 84 writes the program in the external memory device.

【0006】また、図11は、従来のマイクロプロセッ
サで処理するプログラムをデバックするプログラムデバ
ック装置の構成を示すブロック図である。図11におい
て、プログラムデバック装置は、プログラムをデバック
するプログラムデバック部91と、外部メモリ装置にア
ドレス情報を出力するためのアドレスバス92と、外部
メモリ装置とデータをやり取りするためのデータバス9
3とを備えている。
FIG. 11 is a block diagram showing the configuration of a program debug device for debugging a program processed by a conventional microprocessor. 11, the program debug device includes a program debug unit 91 for debugging a program, an address bus 92 for outputting address information to an external memory device, and a data bus 9 for exchanging data with the external memory device.
3 and 3.

【0007】このようなプログラムデバック装置は、ア
ドレスバス92に出力するアドレス情報に基づくアドレ
スのデータを、データバス93を介して外部メモリ装置
とやり取りして外部メモリ装置に格納されたプログラム
のデバックを行うようになっている。
Such a program debug device exchanges the data of the address based on the address information output to the address bus 92 with the external memory device via the data bus 93 to debug the program stored in the external memory device. I am supposed to do it.

【0008】[0008]

【発明が解決しようとする課題】しかし、このような従
来のマイクロプロセッサでは、外部メモリ装置にプログ
ラムやデータを格納し、アドレスバスとデータバスを介
してそのデータを読み出したり書き込んだりしているの
で、外部メモリ装置の内容を読み取ることにより、プロ
グラムやデータの内容を容易に取得することができ、機
密性の高いプログラムやデータの処理には使用できない
という問題があった。
However, in such a conventional microprocessor, programs and data are stored in an external memory device, and the data is read and written via the address bus and the data bus. However, there is a problem that the contents of programs and data can be easily obtained by reading the contents of the external memory device, and cannot be used for processing highly confidential programs and data.

【0009】本発明はこのような問題を解決するために
なされたもので、機密性の高いプログラムやデータの処
理をセキュリティを確保しつつ行うことができるマイク
ロプロセッサを提供するものである。
The present invention has been made in order to solve such a problem, and provides a microprocessor capable of performing highly confidential program and data processing while ensuring security.

【0010】[0010]

【課題を解決するための手段】本発明のマイクロプロセ
ッサは、データ処理を行うマイクロプロセッサ本体と、
外部デバイスにアドレス情報を出力するためのアドレス
バスと、前記外部デバイスとデータをやり取りするため
のデータバスとを備え、前記データバス上に、前記マイ
クロプセッサ本体から前記外部デバイスへ出力されるデ
ータの暗号化処理と前記外部デバイスから前記マイクロ
プロセッサ本体に入力されるデータの復号化処理を行う
データバス暗号処理手段を設けた構成を有している。こ
の構成により、外部デバイスに格納されたデータが復号
化されて処理されるとともに、外部デバイスへ格納する
データが暗号化されることとなる。
A microprocessor of the present invention comprises a microprocessor body for data processing,
An address bus for outputting address information to an external device and a data bus for exchanging data with the external device are provided, and the data output from the microprocessor body to the external device is provided on the data bus. The data bus cryptographic processing means is provided for performing the encryption processing and the decryption processing of the data input from the external device to the microprocessor main body. With this configuration, the data stored in the external device is decrypted and processed, and the data stored in the external device is encrypted.

【0011】また、本発明のプログラム作成装置は、マ
イクロプロセッサで実行されるプログラムを作成するプ
ログラム作成部と、外部デバイスにプログラムを書き込
むプログラム書込み部と、前記プログラム作成部から前
記プログラム書込み部へアドレス情報を出力するための
アドレスバスと、前記プログラム作成部と前記プログラ
ム書込み部とでデータをやり取りするためのデータバス
とを備え、前記データバス上に、前記プログラム作成部
から前記プログラム書込み部へ出力されるデータの暗号
化処理と前記プログラム書込み部から前記プログラム作
成部に入力されるデータの復号化処理を行うデータバス
暗号処理手段を設けた構成を有している。この構成によ
り、外部デバイスへ書き込むプログラムが暗号化される
こととなる。
Further, the program creating apparatus of the present invention includes a program creating section for creating a program executed by a microprocessor, a program writing section for writing the program in an external device, and an address from the program creating section to the program writing section. An address bus for outputting information and a data bus for exchanging data between the program creating unit and the program writing unit are provided, and output from the program creating unit to the program writing unit on the data bus. The data bus encryption processing means for performing the encryption processing of the data to be performed and the decryption processing of the data input from the program writing section to the program creating section is provided. With this configuration, the program written in the external device is encrypted.

【0012】また、本発明のプログラムデバック装置
は、マイクロプロセッサで実行されるプログラムをデバ
ックするプログラムデバック部と、外部デバイスにアド
レス情報を出力するためのアドレスバスと、前記外部デ
バイスとデータをやり取りするためのデータバスとを備
え、前記データバス上に、前記プログラムデバック部か
ら前記外部デバイスへ出力されるデータの暗号化処理と
前記外部デバイスから前記プログラムデバック部に入力
されるデータの復号化処理を行うデータバス暗号処理手
段を設けた構成を有している。この構成により、外部デ
バイスに格納されたデータが復号化されて処理されると
ともに、外部デバイスへ格納するデータが暗号化される
こととなる。
Further, the program debug device of the present invention exchanges data with the external device, a program debug unit for debugging the program executed by the microprocessor, an address bus for outputting address information to the external device. And a data bus for performing encryption processing of data output from the program debug unit to the external device and decryption processing of data input from the external device to the program debug unit on the data bus. It has a configuration provided with a data bus encryption processing means for performing. With this configuration, the data stored in the external device is decrypted and processed, and the data stored in the external device is encrypted.

【0013】また、本発明のマイクロプロセッサは、デ
ータ処理を行うマイクロプロセッサ本体と、外部デバイ
スにアドレス情報を出力するためのアドレスバスと、前
記外部デバイスとデータをやり取りするためのデータバ
スとを備え、前記アドレスバス上に、前記マイクロプセ
ッサ本体から前記外部デバイスへ出力されるアドレス情
報の暗号化処理を行うアドレスバス暗号処理手段を設け
た構成を有している。この構成により、外部デバイスへ
出力するアドレス情報が暗号化されることとなる。
Further, the microprocessor of the present invention comprises a microprocessor main body for data processing, an address bus for outputting address information to an external device, and a data bus for exchanging data with the external device. An address bus encryption processing means for performing encryption processing of address information output from the microprocessor main body to the external device is provided on the address bus. With this configuration, the address information output to the external device is encrypted.

【0014】また、本発明のプログラム作成装置は、マ
イクロプロセッサで実行されるプログラムを作成するプ
ログラム作成部と、外部デバイスにプログラムを書き込
むプログラム書込み部と、前記プログラム作成部から前
記プログラム書込み部へアドレス情報を出力するための
アドレスバスと、前記プログラム作成部と前記プログラ
ム書込み部とでデータをやり取りするためのデータバス
とを備え、前記アドレスバス上に、前記プログラム作成
部から前記プログラム書込み部へ出力されるアドレス情
報の暗号化処理を行うアドレスバス暗号処理手段を設け
た構成を有している。この構成により、外部デバイスに
書き込むプログラムのアドレスが暗号化されることとな
る。
Further, the program creating apparatus of the present invention includes a program creating section for creating a program executed by a microprocessor, a program writing section for writing the program in an external device, and an address from the program creating section to the program writing section. An address bus for outputting information, and a data bus for exchanging data between the program creating unit and the program writing unit are provided, and output from the program creating unit to the program writing unit on the address bus. The address bus encryption processing means for performing the encryption processing of the received address information is provided. With this configuration, the address of the program written in the external device is encrypted.

【0015】また、本発明のプログラムデバック装置
は、マイクロプロセッサで実行されるプログラムをデバ
ックするプログラムデバック部と、外部デバイスにアド
レス情報を出力するためのアドレスバスと、前記外部デ
バイスとデータをやり取りするためのデータバスとを備
え、前記アドレスバス上に、前記プログラムデバック部
から前記外部デバイスへ出力されるアドレス情報の暗号
化処理を行うアドレスバス暗号処理手段を設けた構成を
有している。この構成により、外部デバイスへ出力する
アドレス情報が暗号化されることとなる。
Further, the program debug device of the present invention exchanges data with the external device, a program debug unit for debugging the program executed by the microprocessor, an address bus for outputting address information to the external device. And a data bus for performing address data encryption processing means for performing encryption processing of address information output from the program debug unit to the external device on the address bus. With this configuration, the address information output to the external device is encrypted.

【0016】[0016]

【発明の実施の形態】以下、本発明の実施の形態につい
て、図面を参照して説明する。図1から図4は本発明の
第1の実施の形態のマイクロプロセッサとそのプログラ
ム作成装置及びプログラムデバック装置を示す図であ
る。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described below with reference to the drawings. 1 to 4 are diagrams showing a microprocessor, a program creating apparatus and a program debugging apparatus thereof according to a first embodiment of the present invention.

【0017】図1は、本実施の形態のマイクロプロセッ
サの構成を示すブロック図である。図1に示すように、
本実施の形態のマイクロプロセッサは、データ処理を行
うマイクロプロセッサ本体21と、マイクロプロセッサ
本体21から外部メモリ装置へ出力するデータの暗号化
処理と外部メモリ装置からマイクロプロセッサ本体21
に入力されるデータの復号化処理を行うデータバス暗号
処理手段11と、外部メモリ装置にアドレス情報を出力
するためのアドレスバス22と、マイクロプロセッサ本
体21とデータバス暗号処理手段11とを接続してデー
タをやり取りするためのデータバス23aと、データバ
ス暗号処理手段11と外部メモリ装置とを接続してデー
タをやり取りするためのデータバス23bとを備えてい
る。
FIG. 1 is a block diagram showing the configuration of the microprocessor of this embodiment. As shown in Figure 1,
The microprocessor of the present embodiment includes a microprocessor main body 21 that performs data processing, encryption processing of data output from the microprocessor main body 21 to an external memory device, and the microprocessor main body 21 from the external memory device.
The data bus encryption processing means 11 for performing the decryption processing of the data input to the, the address bus 22 for outputting the address information to the external memory device, the microprocessor main body 21 and the data bus encryption processing means 11 are connected. And a data bus 23a for exchanging data, and a data bus 23b for exchanging data by connecting the data bus encryption processing means 11 and an external memory device.

【0018】このようなマイクロプロセッサにおいて、
マイクロプロセッサ本体21が処理するプログラムは、
後述するプログラム作成装置などにより外部メモリ装置
に周知の暗号化処理により暗号化されて格納されてお
り、外部メモリ装置からデータバス23bを介してデー
タバス暗号処理手段11に入力され、データバス暗号処
理手段11で暗号から復号化され、データバス23aを
介してマイクロプロセッサ本体21に渡され、そのプロ
グラムに従ってマイクロプロセッサ本体21が処理を行
う。
In such a microprocessor,
The program processed by the microprocessor main body 21 is
The data is encrypted and stored in an external memory device by a well-known encryption process by a program creating device or the like to be described later. The code is decrypted by the means 11 and passed to the microprocessor main body 21 via the data bus 23a, and the microprocessor main body 21 performs processing according to the program.

【0019】また、マイクロプロセッサ本体21が処理
したデータは、データバス23aを介してデータバス暗
号処理手段11に入力され、データバス暗号処理手段1
1で周知の暗号化処理により暗号化され、データバス2
3bを介して外部メモリ装置に格納される。
The data processed by the microprocessor main body 21 is input to the data bus encryption processing means 11 via the data bus 23a, and the data bus encryption processing means 1 is supplied.
Data bus 2 is encrypted by the well-known encryption process in 1.
It is stored in the external memory device via 3b.

【0020】このように本実施の形態のマイクロプロセ
ッサにおいては、外部メモリ装置とデータのやり取りを
行うデータバス上にデータバス暗号処理手段11を設
け、このデータバス暗号処理手段11により、外部メモ
リ装置からのデータを復号化し、また外部メモリ装置へ
出力するデータを暗号化しているので、外部メモリ装置
に格納されている暗号化されたプログラムを読み込んで
処理することができるとともに、処理したデータを暗号
化して外部メモリ装置に格納することができる。
As described above, in the microprocessor of this embodiment, the data bus encryption processing means 11 is provided on the data bus for exchanging data with the external memory device, and the data bus encryption processing means 11 causes the external memory device to operate. Data is decrypted, and the data to be output to the external memory device is encrypted, so the encrypted program stored in the external memory device can be read and processed, and the processed data can be encrypted. It can be converted and stored in an external memory device.

【0021】次に、図2は本実施の形態のプログラム作
成装置の構成を示すブロック図である。このプログラム
作成装置は、本実施の形態のマイクロプロセッサに処理
を行わせるプログラムを作成するためのものである。
Next, FIG. 2 is a block diagram showing the configuration of the program creating apparatus according to the present embodiment. This program creation device is for creating a program that causes the microprocessor of the present embodiment to perform processing.

【0022】図2に示すように、本実施の形態のプログ
ラム作成装置は、上述のマイクロプロセッサと同じデー
タバス暗号処理手段11と、プログラムを作成するプロ
グラム作成部31と、プログラムのアドレス情報を出力
するためのアドレスバス32と、プログラム作成部31
とデータバス暗号処理手段11とを接続して作成したプ
ログラムのデータをやり取りするためのデータバス33
aと、データバス暗号処理手段11とプログラム書込み
部34とを接続して作成したプログラムのデータをやり
取りするためのデータバス33bと、プログラム作成部
31で作成したプログラムを外部メモリ装置に書き込む
プログラム書込み部34とを備えている。
As shown in FIG. 2, the program creating apparatus according to the present embodiment outputs the same data bus encryption processing means 11 as the above-mentioned microprocessor, a program creating section 31 for creating a program, and address information of the program. Address bus 32 for programming, and program creation unit 31
And a data bus 33 for exchanging data of a program created by connecting the data bus cryptographic processing means 11 to each other.
a, a data bus 33b for exchanging data of a program created by connecting the data bus encryption processing means 11 and the program writing unit 34, and a program writing for writing the program created by the program creating unit 31 in an external memory device. And a section 34.

【0023】このようなプログラム作成装置において、
プログラム作成部31が作成したプログラムは、データ
バス33aを介してデータバス暗号処理手段11に入力
され、データバス暗号処理手段11で周知の暗号化処理
により暗号化され、データバス33bを介してプログラ
ム書込み部34に入力され、プログラム書込み部34が
暗号化されたプログラムデータを外部メモリ装置に格納
する。
In such a program creating device,
The program created by the program creating unit 31 is input to the data bus encryption processing means 11 via the data bus 33a, encrypted by the known encryption processing in the data bus encryption processing means 11, and the program is created via the data bus 33b. The program data input to the writing unit 34 and stored in the external memory device is encrypted by the program writing unit 34.

【0024】このように本実施の形態のプログラム作成
装置においては、プログラム作成部31とプログラム書
込み部34との間でデータのやり取りを行うデータバス
上にデータバス暗号処理手段11を設け、このデータバ
ス暗号処理手段11により、プログラム書込み部34が
外部メモリ装置へ書き込むプログラムデータを暗号化し
ているので、外部メモリ装置に暗号化されたプログラム
を格納することができ、該外部メモリ装置を本実施の形
態のマイクロプロセッサに接続して、格納したプログラ
ムによってマイクロプロセッサに処理を行わせることが
できる。
As described above, in the program creating apparatus of the present embodiment, the data bus encryption processing means 11 is provided on the data bus for exchanging data between the program creating section 31 and the program writing section 34, and the data Since the program writing unit 34 encrypts the program data to be written in the external memory device by the bus cipher processing means 11, the encrypted program can be stored in the external memory device. It can be connected to a microprocessor of a form, and a microprocessor can perform a process by the stored program.

【0025】次に、図3は本実施の形態のプログラムデ
バック装置の構成を示すブロック図である。このプログ
ラムデバック装置は、本実施の形態のマイクロプロセッ
サに処理を行わせるプログラムをデバックするためのも
のである。
Next, FIG. 3 is a block diagram showing the configuration of the program debug device according to the present embodiment. This program debug device is for debugging a program that causes the microprocessor of the present embodiment to perform processing.

【0026】図3に示すように、本実施の形態のプログ
ラムデバック装置は、上述のマイクロプロセッサと同じ
データバス暗号処理手段11と、プログラムをデバック
するプログラムデバック部41と、外部メモリ装置にア
ドレス情報を出力するためのアドレスバス42と、プロ
グラムデバック部41とデータバス暗号処理手段11と
を接続してデータをやり取りするためのデータバス43
aと、データバス暗号処理手段11と外部メモリ装置と
を接続してデータをやり取りするためのデータバス43
bとを備えている。
As shown in FIG. 3, the program debug device according to the present embodiment has the same data bus encryption processing means 11 as the above-mentioned microprocessor, a program debug unit 41 for debugging a program, and address information in an external memory device. , And a data bus 43 for connecting the program debug unit 41 and the data bus encryption processing means 11 to exchange data.
a, a data bus 43 for connecting the data bus encryption processing means 11 and an external memory device to exchange data.
and b.

【0027】このようなプログラムデバック装置におい
て、プログラムデバック部41がデバックするプログラ
ムは、上述のプログラム作成装置などにより外部メモリ
装置に周知の暗号化処理により暗号化されて格納されて
おり、外部メモリ装置からデータバス43bを介してデ
ータバス暗号処理手段11に入力され、データバス暗号
処理手段11で暗号から復号化され、データバス43a
を介してプログラムデバック部41に渡され、プログラ
ムデバック部41が所定の手順に従ってそのプログラム
のデバックを行う。
In such a program debugging device, the program debugged by the program debugging unit 41 is stored in the external memory device after being encrypted by a well-known encryption process by the above-mentioned program creating device or the like. From the data bus 43b via the data bus 43b, and the data bus cipher processing unit 11 decrypts the encrypted data.
Is passed to the program debug unit 41 via the program, and the program debug unit 41 debugs the program according to a predetermined procedure.

【0028】また、プログラムデバック部41が処理し
たデータは、データバス43aを介してデータバス暗号
処理手段11に入力され、データバス暗号処理手段11
で周知の暗号化処理により暗号化され、データバス43
bを介して外部メモリ装置に格納される。
The data processed by the program debug unit 41 is input to the data bus encryption processing means 11 via the data bus 43a, and the data bus encryption processing means 11 is supplied.
The data bus 43 is encrypted by the well-known encryption process.
It is stored in the external memory device via b.

【0029】このように本実施の形態のプログラムデバ
ック装置においては、外部メモリ装置とデータのやり取
りを行うデータバス上にデータバス暗号処理手段11を
設け、このデータバス暗号処理手段11により、外部メ
モリ装置からのデータを復号化し、また外部メモリ装置
へ出力するデータを暗号化しているので、外部メモリ装
置に格納されている暗号化されたプログラムを読み込ん
でデバックすることができるとともに、処理したデータ
を暗号化して外部メモリ装置に格納することができる。
As described above, in the program debugging device of the present embodiment, the data bus encryption processing means 11 is provided on the data bus for exchanging data with the external memory device, and the data bus encryption processing means 11 causes the external memory to operate. Since the data from the device is decrypted and the data to be output to the external memory device is encrypted, the encrypted program stored in the external memory device can be read and debugged, and the processed data can be It can be encrypted and stored in an external memory device.

【0030】図4は、このようにして外部メモリ装置に
格納されたデータと従来の格納データを示した図であ
る。従来のデータは、そのまま格納されているので外部
メモリ装置から読み出しただけでその内容が分かってし
まうが、本実施形態のマイクロプロセッサに接続する外
部メモリ装置では、暗号化されたデータを格納するの
で、外部メモリ装置から読み出しても復号化しないとデ
ータの内容は分からない。
FIG. 4 is a diagram showing the data thus stored in the external memory device and the conventional stored data. Since the conventional data is stored as it is, the content can be known only by reading it from the external memory device, but the external memory device connected to the microprocessor of the present embodiment stores encrypted data. Even if it is read from the external memory device, the contents of the data cannot be understood unless it is decrypted.

【0031】次に、図5から図8は本発明の第2の実施
の形態のマイクロプロセッサとそのプログラム作成装置
及びプログラムデバック装置を示す図である。なお、本
実施の形態は、上述の第1の実施の形態と略同様に構成
されているので、同様な構成には同一の符号を付して特
徴部分のみ説明する。
Next, FIG. 5 to FIG. 8 are views showing a microprocessor, its program creating apparatus and program debugging apparatus according to the second embodiment of the present invention. Since the present embodiment is configured substantially the same as the above-described first embodiment, the same reference numerals are given to the same configurations and only the characteristic portions will be described.

【0032】本実施の形態のマイクロプロセッサは、図
5に示すように、マイクロプロセッサ本体21にアドレ
スバス22aを介してアドレスバス暗号処理手段12を
接続し、このアドレスバス暗号処理手段12を、アドレ
スバス22bを介して外部メモリ装置に接続し、マイク
ロプロセッサ本体21から出力されるアドレス情報を暗
号化することを特徴とする。
In the microprocessor of this embodiment, as shown in FIG. 5, the address bus encryption processing means 12 is connected to the microprocessor main body 21 via the address bus 22a, and the address bus encryption processing means 12 is connected to the address bus encryption processing means 12. It is characterized in that the address information output from the microprocessor main body 21 is encrypted by connecting to an external memory device via the bus 22b.

【0033】このようなマイクロプロセッサにおいて、
マイクロプロセッサ本体21が、処理するプログラムを
外部メモリ装置から読み込むためにアドレスバス22a
にアドレス信号を出力すると、このアドレス信号はアド
レスバス暗号処理手段12に入力され、アドレスバス暗
号処理手段12で周知の暗号化処理により暗号化され、
アドレスバス22bを介して外部メモリ装置に入力され
る。
In such a microprocessor,
The microprocessor main body 21 has an address bus 22a for reading a program to be processed from an external memory device.
When the address signal is output to, the address signal is input to the address bus encryption processing means 12 and encrypted by the address bus encryption processing means 12 by a known encryption processing,
It is input to the external memory device via the address bus 22b.

【0034】外部メモリ装置は、暗号化処理されたアド
レスを入力されると、暗号化処理されたアドレスをその
ままアドレスとして、そのアドレスに保存されているプ
ログラムを、データバス23を介してマイクロプロセッ
サ本体21に出力する。
When the encrypted address is input to the external memory device, the encrypted address is used as the address as it is, and the program stored at the address is transferred via the data bus 23 to the microprocessor main body. 21 is output.

【0035】このように本実施の形態のマイクロプロセ
ッサにおいては、外部メモリ装置にアドレス情報を出力
するアドレスバス上にアドレスバス暗号処理手段12を
設け、このアドレスバス暗号処理手段12により外部メ
モリ装置へ出力するアドレス情報を暗号化しているの
で、暗号化処理されたアドレスで外部メモリ装置にアク
セスすることができる。
As described above, in the microprocessor of the present embodiment, the address bus encryption processing means 12 is provided on the address bus for outputting the address information to the external memory device, and the address bus encryption processing means 12 allows the external memory device to access the external memory device. Since the output address information is encrypted, the external memory device can be accessed with the encrypted address.

【0036】次に、図6は本実施の形態のプログラム作
成装置の構成を示すブロック図である。このプログラム
作成装置は、本実施の形態のマイクロプロセッサで処理
を行わせるプログラムを作成するためのものである。
Next, FIG. 6 is a block diagram showing the configuration of the program creating apparatus according to the present embodiment. This program creation device is for creating a program that causes the microprocessor of the present embodiment to perform processing.

【0037】図6に示すように、本実施の形態のプログ
ラム作成装置は、プログラム作成部31にアドレスバス
32aを介してアドレスバス暗号処理手段12を接続
し、このアドレスバス暗号処理手段12を、アドレスバ
ス32bを介してプログラム書込み部34に接続し、プ
ログラム作成部31から出力されるアドレス情報を暗号
化することを特徴とする。
As shown in FIG. 6, in the program creating apparatus of the present embodiment, the address bus encryption processing means 12 is connected to the program creation unit 31 via the address bus 32a, and the address bus encryption processing means 12 is It is characterized in that it is connected to the program writing unit 34 via the address bus 32b to encrypt the address information output from the program creating unit 31.

【0038】このようなプログラム作成装置において、
プログラム作成部31が、作成したプログラムを外部メ
モリ装置に格納するためにアドレスバス32aにアドレ
ス信号を出力すると、このアドレス信号はアドレスバス
暗号処理手段12に入力され、アドレスバス暗号処理手
段12で周知の暗号化処理により暗号化され、アドレス
バス32bを介してプログラム書込み部34に入力され
る。
In such a program creating device,
When the program creating section 31 outputs an address signal to the address bus 32a in order to store the created program in the external memory device, this address signal is input to the address bus encryption processing means 12 and is well known by the address bus encryption processing means 12. The data is encrypted by the encryption process of and is input to the program writing unit 34 via the address bus 32b.

【0039】プログラム書込み部34は、暗号化処理さ
れたアドレスを入力されると、暗号化処理されたアドレ
スをそのままアドレスとして、外部メモリ装置のそのア
ドレスにデータバス33を介して入力されたデータを書
き込む。
When the encrypted address is input, the program writing section 34 uses the encrypted address as an address as it is, and stores the data input via the data bus 33 at the address of the external memory device. Write.

【0040】このように本実施の形態のプログラム作成
装置においては、外部メモリ装置にプログラムを書き込
むプログラム書込み部34へアドレス情報を出力するア
ドレスバス上にアドレスバス暗号処理手段12を設け、
このアドレスバス暗号処理手段12によりプログラム書
込み部34へ出力するアドレス情報を暗号化しているの
で、外部メモリ装置の暗号化処理されたアドレスにプロ
グラムを書き込むことができる。
As described above, in the program creating apparatus of the present embodiment, the address bus encryption processing means 12 is provided on the address bus for outputting the address information to the program writing unit 34 for writing the program in the external memory device.
Since the address information output to the program writing unit 34 is encrypted by the address bus encryption processing unit 12, the program can be written in the encrypted address of the external memory device.

【0041】次に、図7は本実施の形態のプログラムデ
バック装置の構成を示すブロック図である。このプログ
ラムデバック装置は、本実施の形態のマイクロプロセッ
サで処理を行わせるプログラムをデバックするためのも
のである。
Next, FIG. 7 is a block diagram showing the configuration of the program debug device of the present embodiment. This program debug device is for debugging a program that causes the microprocessor of the present embodiment to perform processing.

【0042】図7に示すように、本実施の形態のプログ
ラムデバック装置は、プログラムデバック部41にアド
レスバス42aを介してアドレスバス暗号処理手段12
を接続し、このアドレスバス暗号処理手段12をアドレ
スバス42bを介して外部メモリ装置に接続し、プログ
ラムデバック部41から出力されるアドレス情報を暗号
化することを特徴とする。
As shown in FIG. 7, the program debug device according to the present embodiment has the address bus cipher processing means 12 in the program debug unit 41 via the address bus 42a.
Is connected to the external memory device via the address bus 42b, and the address information output from the program debug unit 41 is encrypted.

【0043】このようなプログラムデバック装置におい
て、プログラムデバック部41が、デバックするプログ
ラムを外部メモリ装置から読み込むためにアドレスバス
42aにアドレス信号を出力すると、このアドレス信号
はアドレスバス暗号処理手段12に入力され、アドレス
バス暗号処理手段12で周知の暗号化処理により暗号化
され、アドレスバス42bを介して外部メモリ装置に入
力される。
In such a program debug device, when the program debug section 41 outputs an address signal to the address bus 42a in order to read the program to be debugged from the external memory device, this address signal is inputted to the address bus cipher processing means 12. Then, the data is encrypted by the well-known encryption processing by the address bus encryption processing means 12 and input to the external memory device via the address bus 42b.

【0044】外部メモリ装置は、暗号化処理されたアド
レスを入力されると、暗号化処理されたアドレスをその
ままアドレスとして、そのアドレスに保存されているプ
ログラムを、データバス43を介してプログラムデバッ
ク部41に出力する。
When the encrypted address is input to the external memory device, the encrypted address is used as it is, and the program stored in the address is transferred to the program debug unit via the data bus 43. Output to 41.

【0045】このように本実施の形態のプログラムデバ
ック装置においては、外部メモリ装置にアドレス情報を
出力するアドレスバス上にアドレスバス暗号処理手段1
2を設け、このアドレスバス暗号処理手段12により外
部メモリ装置へ出力するアドレス情報を暗号化している
ので、暗号化処理されたアドレスで外部メモリ装置にア
クセスすることができる。
As described above, in the program debug device of this embodiment, the address bus encryption processing means 1 is provided on the address bus for outputting the address information to the external memory device.
2 is provided and the address information output to the external memory device is encrypted by the address bus encryption processing means 12, so that the external memory device can be accessed with the encrypted address.

【0046】図8は、このようにして外部メモリ装置に
格納されたデータと従来の格納データを示した図であ
る。従来の外部メモリ装置には、連続したアドレスに関
連した一連のプログラムやデータが格納されているの
で、外部メモリ装置から読み出しただけでその処理内容
やデータの内容が分かってしまうが、本実施形態のマイ
クロプロセッサに接続する外部メモリ装置では、暗号化
されたアドレスにデータを格納するので、外部メモリ装
置から読み出してもアドレスを復号化してデータを並べ
替えないと処理内容やデータの内容は分からない。
FIG. 8 is a diagram showing the data thus stored in the external memory device and the conventional stored data. Since a conventional external memory device stores a series of programs and data related to consecutive addresses, the processing contents and data contents can be known only by reading from the external memory device. Since the external memory device connected to the microprocessor stores the data in the encrypted address, even if it is read from the external memory device, the processing contents and the contents of the data cannot be understood unless the address is decrypted and the data is rearranged. .

【0047】なお、上述の各実施の形態の暗号化処理
は、元のデータと暗号化後のデータが1対1に対応し、
暗号化後のデータから元のデータへの復号化が可能なも
のでなければならないことはいうまでもない。
In the encryption processing of each of the above-described embodiments, the original data and the encrypted data have a one-to-one correspondence,
It goes without saying that it must be possible to decrypt the encrypted data into the original data.

【0048】[0048]

【発明の効果】以上説明したように、本発明によれば、
外部デバイスへアクセスする際のアドレスや外部デバイ
スとやり取りするデータを暗号化することにより、暗号
化されたプログラムやデータを格納した外部デバイスと
接続して処理を行うことができ、機密性の高いプログラ
ムやデータの処理をセキュリティを確保しつつ行うこと
ができる。
As described above, according to the present invention,
By encrypting the address when accessing an external device and the data that is exchanged with the external device, it is possible to connect to an external device that stores encrypted programs and data and perform processing, which is a highly confidential program. And data processing can be performed while ensuring security.

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

【図1】本発明の第1の実施の形態のマイクロプロセッ
サを示す概略ブロック図
FIG. 1 is a schematic block diagram showing a microprocessor according to a first embodiment of the present invention.

【図2】本発明の第1の実施の形態のプログラム作成装
置を示す概略ブロック図
FIG. 2 is a schematic block diagram showing a program creating device according to the first embodiment of the present invention.

【図3】本発明の第1の実施の形態のプログラムデバッ
ク装置を示す概略ブロック図
FIG. 3 is a schematic block diagram showing a program debug device according to the first embodiment of this invention.

【図4】本発明の第1の実施の形態によるデータの格納
状態を示す図
FIG. 4 is a diagram showing a data storage state according to the first embodiment of the present invention.

【図5】本発明の第2の実施の形態のマイクロプロセッ
サを示す概略ブロック図
FIG. 5 is a schematic block diagram showing a microprocessor according to a second embodiment of the present invention.

【図6】本発明の第2の実施の形態のプログラム作成装
置を示す概略ブロック図
FIG. 6 is a schematic block diagram showing a program creating device according to a second embodiment of the present invention.

【図7】本発明の第2の実施の形態のプログラムデバッ
ク装置を示す概略ブロック図
FIG. 7 is a schematic block diagram showing a program debug device according to a second embodiment of the present invention.

【図8】本発明の第2の実施の形態によるデータの格納
状態を示す図
FIG. 8 is a diagram showing a data storage state according to the second embodiment of the present invention.

【図9】従来のマイクロプロセッサを示す概略ブロック
FIG. 9 is a schematic block diagram showing a conventional microprocessor.

【図10】従来のプログラム作成装置を示す概略ブロッ
ク図
FIG. 10 is a schematic block diagram showing a conventional program creation device.

【図11】従来のプログラムデバック装置を示す概略ブ
ロック図
FIG. 11 is a schematic block diagram showing a conventional program debug device.

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

11 データバス暗号処理手段 12 アドレスバス暗号処理手段 21 マイクロプロセッサ本体 22、22a、22b アドレスバス 23、23a、23b データバス 31 プログラム作成部 32、32a、32b アドレスバス 33、33a、33b データバス 34 プログラム書込み部 41 プログラムデバック部 42、42a、42b アドレスバス 43、43a、43b データバス 71 マイクロプロセッサ本体 72 アドレスバス 73 データバス 81 プログラム作成部 82 アドレスバス 83 データバス 84 プログラム書込み部 91 プログラムデバック部 92 アドレスバス 93 データバス 11 Data bus encryption processing means 12 Address bus encryption processing means 21 Microprocessor body 22, 22a, 22b Address bus 23, 23a, 23b data bus 31 Program Creation Department 32, 32a, 32b address bus 33, 33a, 33b data bus 34 Program Writing Section 41 Program Debug Department 42, 42a, 42b address bus 43, 43a, 43b data bus 71 Microprocessor body 72 address bus 73 data bus 81 Program Creation Department 82 address bus 83 data bus 84 Program writing section 91 Program Debug Department 92 address bus 93 data bus

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 データ処理を行うマイクロプロセッサ本
体と、外部デバイスにアドレス情報を出力するためのア
ドレスバスと、前記外部デバイスとデータをやり取りす
るためのデータバスとを備え、前記データバス上に、前
記マイクロプセッサ本体から前記外部デバイスへ出力さ
れるデータの暗号化処理と前記外部デバイスから前記マ
イクロプロセッサ本体に入力されるデータの復号化処理
を行うデータバス暗号処理手段を設けたことを特徴とす
るマイクロプロセッサ。
1. A microprocessor main body for data processing, an address bus for outputting address information to an external device, and a data bus for exchanging data with the external device, wherein: Data bus encryption processing means for performing encryption processing of data output from the microprocessor main body to the external device and decryption processing of data input from the external device to the microprocessor main body are provided. Microprocessor.
【請求項2】 マイクロプロセッサで実行されるプログ
ラムを作成するプログラム作成部と、外部デバイスにプ
ログラムを書き込むプログラム書込み部と、前記プログ
ラム作成部から前記プログラム書込み部へアドレス情報
を出力するためのアドレスバスと、前記プログラム作成
部と前記プログラム書込み部とでデータをやり取りする
ためのデータバスとを備え、前記データバス上に、前記
プログラム作成部から前記プログラム書込み部へ出力さ
れるデータの暗号化処理と前記プログラム書込み部から
前記プログラム作成部に入力されるデータの復号化処理
を行うデータバス暗号処理手段を設けたことを特徴とす
るプログラム作成装置。
2. A program creating section for creating a program executed by a microprocessor, a program writing section for writing the program in an external device, and an address bus for outputting address information from the program creating section to the program writing section. And a data bus for exchanging data between the program creating section and the program writing section, and encryption processing of data output from the program creating section to the program writing section on the data bus. A program creating apparatus comprising: a data bus encryption processing unit that performs a decryption process of data input from the program writing unit to the program creating unit.
【請求項3】 マイクロプロセッサで実行されるプログ
ラムをデバックするプログラムデバック部と、外部デバ
イスにアドレス情報を出力するためのアドレスバスと、
前記外部デバイスとデータをやり取りするためのデータ
バスとを備え、前記データバス上に、前記プログラムデ
バック部から前記外部デバイスへ出力されるデータの暗
号化処理と前記外部デバイスから前記プログラムデバッ
ク部に入力されるデータの復号化処理を行うデータバス
暗号処理手段を設けたことを特徴とするプログラムデバ
ック装置。
3. A program debug unit for debugging a program executed by a microprocessor, an address bus for outputting address information to an external device,
A data bus for exchanging data with the external device is provided, and an encryption process of data output from the program debug unit to the external device and an input from the external device to the program debug unit are provided on the data bus. And a data bus encryption processing means for performing a decryption process of the stored data.
【請求項4】 データ処理を行うマイクロプロセッサ本
体と、外部デバイスにアドレス情報を出力するためのア
ドレスバスと、前記外部デバイスとデータをやり取りす
るためのデータバスとを備え、前記アドレスバス上に、
前記マイクロプロセッサ本体から前記外部デバイスへ出
力されるアドレス情報の暗号化処理を行うアドレスバス
暗号処理手段を設けたことを特徴とするマイクロプロセ
ッサ。
4. A microprocessor main body for performing data processing, an address bus for outputting address information to an external device, and a data bus for exchanging data with the external device, wherein:
A microprocessor provided with address bus encryption processing means for performing encryption processing of address information output from the microprocessor body to the external device.
【請求項5】 マイクロプロセッサで実行されるプログ
ラムを作成するプログラム作成部と、外部デバイスにプ
ログラムを書き込むプログラム書込み部と、前記プログ
ラム作成部から前記プログラム書込み部へアドレス情報
を出力するためのアドレスバスと、前記プログラム作成
部と前記プログラム書込み部とでデータをやり取りする
ためのデータバスとを備え、前記アドレスバス上に、前
記プログラム作成部から前記プログラム書込み部へ出力
されるアドレス情報の暗号化処理を行うアドレスバス暗
号処理手段を設けたことを特徴とするプログラム作成装
置。
5. A program creating section for creating a program executed by a microprocessor, a program writing section for writing the program in an external device, and an address bus for outputting address information from the program creating section to the program writing section. And a data bus for exchanging data between the program creating unit and the program writing unit, and encryption processing of address information output from the program creating unit to the program writing unit on the address bus. An address bus cryptographic processing means for performing the above is provided.
【請求項6】 マイクロプロセッサで実行されるプログ
ラムをデバックするプログラムデバック部と、外部デバ
イスにアドレス情報を出力するためのアドレスバスと、
前記外部デバイスとデータをやり取りするためのデータ
バスとを備え、前記アドレスバス上に、前記プログラム
デバック部から前記外部デバイスへ出力されるアドレス
情報の暗号化処理を行うアドレスバス暗号処理手段を設
けたことを特徴とするプログラムデバック装置。
6. A program debug unit for debugging a program executed by a microprocessor, an address bus for outputting address information to an external device,
A data bus for exchanging data with the external device is provided, and address bus encryption processing means for encrypting address information output from the program debug unit to the external device is provided on the address bus. A program debugging device characterized in that
JP2002001550A 2002-01-08 2002-01-08 Microprocessor and its program creation device and program debugging device Expired - Fee Related JP4247311B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002001550A JP4247311B2 (en) 2002-01-08 2002-01-08 Microprocessor and its program creation device and program debugging device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002001550A JP4247311B2 (en) 2002-01-08 2002-01-08 Microprocessor and its program creation device and program debugging device

Publications (2)

Publication Number Publication Date
JP2003203013A true JP2003203013A (en) 2003-07-18
JP4247311B2 JP4247311B2 (en) 2009-04-02

Family

ID=27641646

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002001550A Expired - Fee Related JP4247311B2 (en) 2002-01-08 2002-01-08 Microprocessor and its program creation device and program debugging device

Country Status (1)

Country Link
JP (1) JP4247311B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005209108A (en) * 2004-01-26 2005-08-04 Toshiba Lsi System Support Kk Microcomputer with external memory
JP2006023957A (en) * 2004-07-07 2006-01-26 Sony Corp Semiconductor integrated circuit and information processor

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005209108A (en) * 2004-01-26 2005-08-04 Toshiba Lsi System Support Kk Microcomputer with external memory
JP4574994B2 (en) * 2004-01-26 2010-11-04 東芝マイクロエレクトロニクス株式会社 Microcomputer with external memory
JP2006023957A (en) * 2004-07-07 2006-01-26 Sony Corp Semiconductor integrated circuit and information processor
US7913307B2 (en) 2004-07-07 2011-03-22 Sony Corporation Semiconductor integrated circuit and information processing apparatus

Also Published As

Publication number Publication date
JP4247311B2 (en) 2009-04-02

Similar Documents

Publication Publication Date Title
JP4865694B2 (en) Processor device
US4797928A (en) Encryption printed circuit board
WO2019109967A1 (en) Storage apparatus and method for address scrambling
WO2018145483A1 (en) Device and method for data protection, and storage controller
CN202650015U (en) System for access of encrypted memory
JP2003198534A (en) Apparatus for encrypting data and method thereof
JP2006277411A (en) Processor, memory, computer system and data transfer method
JPH03276345A (en) Microcontroller
US8015416B2 (en) Memory information protection system and methods
JP2006085676A (en) Encryption instruction processing apparatus
US11429751B2 (en) Method and apparatus for encrypting and decrypting data on an integrated circuit
US8090108B2 (en) Secure debug interface and memory of a media security circuit and method
CN103258172A (en) Off-chip Nor Flash bus interface hardware encryption device
WO2006054380A1 (en) Memory information protecting system, semiconductor memory, and method for protecting memory information
CN103246852A (en) Enciphered data access method and device
JPS63211045A (en) Portable electronic equipment
CN107861892B (en) Method and terminal for realizing data processing
JP2003203013A (en) Microprocessor, and program forming device and program debugging device therefor
US20080019506A1 (en) Encryption/Decryption Apparatus, System and Method
JP2006254099A (en) Microprocessor
CN102110038B (en) Hardware test circuit structure applied in security chip
JP2005172866A (en) Encryption/decryption system
JPS63197293A (en) Ic card issuing system
JPS63211049A (en) Portable electronic equipment
JPH06195268A (en) Ic memory card and method/device for protecting data

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20041224

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080624

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080818

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20080909

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20081002

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120123

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130123

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130123

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees