JP2659147B2 - Evaluation microcomputer - Google Patents
Evaluation microcomputerInfo
- Publication number
- JP2659147B2 JP2659147B2 JP3082451A JP8245191A JP2659147B2 JP 2659147 B2 JP2659147 B2 JP 2659147B2 JP 3082451 A JP3082451 A JP 3082451A JP 8245191 A JP8245191 A JP 8245191A JP 2659147 B2 JP2659147 B2 JP 2659147B2
- Authority
- JP
- Japan
- Prior art keywords
- function
- microcomputer
- register
- evaluation
- read
- 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.)
- Expired - Fee Related
Links
Landscapes
- Test And Diagnosis Of Digital Computers (AREA)
- Microcomputers (AREA)
Description
【0001】[0001]
【産業上の利用分野】本発明は評価用マイクロコンピュ
ータに関し、特に、量産すべきワンチップマイクロコン
ピュータに含まれない機能までを評価用マイクロコンピ
ュータが有している場合、該評価用マイクロコンピュー
タにおけるその機能をプログラムを評価する者が使用で
きないようにした評価用マイクロコンピュータに関す
る。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an evaluation microcomputer, and more particularly, to a case where the evaluation microcomputer has functions that are not included in a one-chip microcomputer to be mass-produced. The present invention relates to an evaluation microcomputer in which functions are not used by a person who evaluates a program.
【0002】[0002]
【従来の技術】一般に、ROM及びRAMを内蔵するワ
ンチップマイクロコンピュータは、ROMに記憶された
プログラムによってそれ自体で動作するが、ROMへの
プログラムの記憶は、ワンチップマイクロコンピュータ
の製造時にマスクによって行われる。即ち、ワンチップ
マイクロコンピュータを量産する時に、その量産品全て
に同一のプログラムが書き込まれるのである。従って、
プログラムは簡単には書き換えたりできないのであり、
プログラムを作成する場合には十分な検討を有する。そ
こで、量産用のワンチップマイクロコンピュータと同じ
機能を有するが、動作は外部メモリから与えられる命令
によって成される評価用マイクロコンピュータが作成さ
れ、プログラムの開発及び検討等はこの評価用マイクロ
コンピュータを用いて行われる。2. Description of the Related Art Generally, a one-chip microcomputer having a built-in ROM and RAM operates on its own according to a program stored in a ROM. Done. That is, when mass-producing a one-chip microcomputer, the same program is written in all the mass-produced products. Therefore,
Programs cannot be easily rewritten,
Have sufficient consideration when creating a program. Therefore, an evaluation microcomputer having the same functions as a mass-produced one-chip microcomputer but whose operation is performed by instructions given from an external memory is created, and the development and examination of the program use this evaluation microcomputer. Done.
【0003】最近は、複数種類の量産用ワンチップマイ
クロコンピュータのプログラム評価等に1つの評価用マ
イクロコンピュータで対応できる様に、該評価用マイク
ロコンピュータは、複数種類の量産用ワンチップマイク
ロコンピュータの種々の機能(タイマー機能、AD変換
機能、シリアル入出力機能等)を内蔵しているものが多
い。この評価用マイクロコンピュータを用いて、ある特
定の量産用ワンチップマイクロコンピュータのプログラ
ムの開発及び評価をユーザが行う場合、ユーザは、特定
された量産用ワンチップマイクロコンピュータが持って
いない評価用マイクロコンピュータの機能を使用しない
様に注意を払いながら行っていた。Recently, a single evaluation microcomputer has been used to evaluate various types of mass production one-chip microcomputers, so that various types of mass production one-chip microcomputers can be used. (Built-in functions (timer function, AD conversion function, serial input / output function, etc.)). When the user develops and evaluates a program for a specific one-chip microcomputer for mass production using the microcomputer for evaluation, the user is required to use a microcomputer for evaluation which the specified one-chip microcomputer for mass production does not have. I was careful not to use the function.
【0004】[0004]
【発明が解決しようとする課題】しかしながら、ユーザ
が評価用マイクロコンピュータを用いてプログラム開発
及び評価を行っている時、量産用ワンチップマイクロコ
ンピュータが持っていない評価用マイクロコンピュータ
の機能を誤って使用してプログラム開発及び評価を行っ
てしまった場合、評価用マイクロコンピュータ上におい
てはプログラムは正常動作するが、量産用ワンチップマ
イクロコンピュータ上においては正常動作しなくなる問
題点があった。特に、実際に量産用ワンチップマイクロ
コンピュータ内部のROMに誤った前記プログラムをマ
スクで焼きつけた場合、取り返しのつかないことになっ
てしまう。However, when a user develops and evaluates a program using an evaluation microcomputer, the user mistakenly uses the functions of the evaluation microcomputer that the one-chip microcomputer for mass production does not have. When the program is developed and evaluated, the program normally operates on the microcomputer for evaluation, but does not operate normally on the one-chip microcomputer for mass production. In particular, if the wrong program is burned into a ROM in a mass-production one-chip microcomputer with a mask, it cannot be recovered.
【0005】そこで、本発明は、評価用マイクロコンピ
ュータが複数種類の量産用ワンチップマイクロコンピュ
ータの種々の機能を内蔵している場合において、この評
価用マイクロコンピュータを用いてある特定の量産用ワ
ンチップマイクロコンピュータのプログラム開発及び評
価を行う場合、この量産用ワンチップマイクロコンピュ
ータが持っていない評価用マイクロコンピュータの機能
を、ユーザが気にしなくても使用禁止状態とできる評価
用マイクロコンピュータを提供することを目的とする。Accordingly, the present invention relates to a case where an evaluation microcomputer incorporates various functions of a plurality of kinds of mass production one-chip microcomputers and uses a specific mass production one-chip microcomputer using the evaluation microcomputer. When developing and evaluating a microcomputer program, an evaluation microcomputer that can be set to a use-prohibited state without the user having to worry about the functions of the evaluation microcomputer that the one-chip microcomputer for mass production does not have is provided. With the goal.
【0006】[0006]
【課題を解決するための手段】本発明は、前記問題点を
解決する為に成されたものであり、その特徴とするとこ
ろは、複数の機能、該複数の機能の動作を制御すべく該
複数の機能毎に設けられた複数の機能制御レジスタ、R
OMの読み出しデータを解読することによって前記複数
の機能制御レジスタの何れかを選択するための第1デコ
ーダ、を内蔵した量産用ワンチップマイクロコンピュー
タにおける前記ROMを除く構成を有し、前記ROMに
書き込まれるプログラムの開発又は評価を行う評価用マ
イクロコンピュータにおいて、前記複数の機能制御レジ
スタの何れかの選択を、前記第1デコーダの出力とその
各対応ビットとに基づいて行うべく設けられた少なくと
も1つの機能動作レジスタと、外部メモリの読み出しデ
ータをデコードする第2デコーダと、前記外部メモリの
特定アドレスがアクセスされた時にセットされるフラグ
と、前記外部メモリの特定アドレスから前記機能動作レ
ジスタを選択するためのデータが読み出された時に、前
記第2デコーダ出力と前記フラグ出力とに基づいて、選
択された前記機能動作レジスタに対するデータの書き込
み又は読み出しを可能とする論理回路と、を備え、前記
外部メモリの特定アドレス以外のアドレスがアクセスさ
れている時、前記機能動作レジスタの書き込み動作を禁
止し、該機能動作レジスタの各ビット出力によって特定
の前記機能制御レジスタの書き込み動作及び読み出し動
作を禁止する点である。SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problems, and has a feature that a plurality of functions and an operation of the plurality of functions are controlled. A plurality of function control registers provided for a plurality of functions;
A first decoder for selecting one of the plurality of function control registers by decoding the readout data of the OM; An evaluation microcomputer for developing or evaluating a program to be executed, wherein at least one of the plurality of function control registers is selected based on an output of the first decoder and a corresponding bit thereof. A function operation register, a second decoder for decoding read data from the external memory, a flag set when a specific address of the external memory is accessed, and selecting the function operation register from the specific address of the external memory. When the data of the second decoder is read out, And a logic circuit that enables writing or reading of data to the selected function operation register based on the flag output, and when an address other than the specific address of the external memory is being accessed, The point is that the write operation of the function operation register is prohibited, and the write operation and the read operation of the specific function control register are prohibited by each bit output of the function operation register.
【0007】[0007]
【作用】本発明によれば、評価用マイクロコンピュータ
が複数種類の量産用ワンチップマイクロコンピュータの
種々の機能を内蔵している場合において、この評価用マ
イクロコンピュータを用いてある特定の量産用ワンチッ
プマイクロコンピュータのプログラム開発及び評価を行
う場合、この量産用ワンチップマイクロコンピュータが
持っていない評価用マイクロコンピュータの機能を、ユ
ーザが気にしなくても使用禁止状態とできる。According to the present invention, when the evaluation microcomputer incorporates various functions of a plurality of kinds of mass production one-chip microcomputers, a specific mass production one chip using this evaluation microcomputer is used. When developing and evaluating a microcomputer program, the use of the evaluation microcomputer function not possessed by the one-chip microcomputer for mass production can be prohibited without the user having to worry about it.
【0008】[0008]
【実施例】本発明の詳細を図面に従って具体的に説明す
る。図1は本発明を説明するための評価用マイクロコン
ピュータ内部のブロック図である。(1)は機能制御レジ
スタであり、評価用マイクロコンピュータ内部の種々の
機能(タイマー機能、AD変換機能、シリアル入出力機
能等)を動作制御する為に、各機能に1対1に対応して
設けられており、この機能制御レジスタ(1)にセットさ
れた内容に各機能は設定されて動作する。機能制御レジ
スタ(1)は各機能に応じて複数個設けられている為、個
々の機能制御レジスタ(1)毎にアドレスが割り振られて
おり、ユーザがある特定の機能をユーザの意図する様に
使用したい場合は、この機能に対応する機能制御レジス
タ(1)に割り振られたアドレスを指定して該当する機能
制御レジスタ(1)を選択し、この機能制御レジスタ(1)
にユーザの意図する様に機能を制御するための所定のデ
ータを書き込まなければならない。そこで(2)は、複数
の機能制御レジスタ(1)の何れかを選択するためのアド
レスデータをデコードするのに設けられたアドレスデコ
ーダ(第1デコーダ)であり、ある特定の機能制御レジス
タ(1)を選択したい時、該機能制御レジスタ(1)に対応
して設けられたアドレスデコーダ(2)の出力はローレベ
ル(以下論理「0」と称する)となる。そして、該アドレ
スデコーダ(2)の「0」出力と後述する機能動作レジス
タの「0」出力との論理出力が機能制御レジスタ(1)内
部の制御回路(3)に印加されることによって、機能制御
レジスタ(1)は選択されデータの書き込み読み出し可能
状態となる。BRIEF DESCRIPTION OF THE DRAWINGS FIG. FIG. 1 is a block diagram showing the inside of an evaluation microcomputer for explaining the present invention. (1) is a function control register, which controls each function (timer function, AD conversion function, serial input / output function, etc.) in the evaluation microcomputer in a one-to-one correspondence. Each function is set and operates according to the contents set in the function control register (1). Since a plurality of function control registers (1) are provided for each function, an address is assigned to each function control register (1) so that the user can perform a specific function as intended by the user. If you want to use this function control register (1), specify the address assigned to the function control register (1) corresponding to this function and select the corresponding function control register (1).
In this case, predetermined data for controlling the function as intended by the user must be written. Therefore, (2) is an address decoder (first decoder) provided for decoding address data for selecting any one of the plurality of function control registers (1), and a specific function control register (1) is provided. ), The output of the address decoder (2) provided corresponding to the function control register (1) becomes low level (hereinafter referred to as logic "0"). The logical output of the "0" output of the address decoder (2) and the "0" output of the function operation register described later is applied to the control circuit (3) inside the function control register (1), thereby providing the function. The control register (1) is selected to be in a state where data can be written and read.
【0009】つまり、量産しようとしているワンチップ
マイクロコンピュータが持っていない機能を評価用マイ
クロコンピュータが持っている時、その機能をユーザが
使用できる状態であると、ユーザがその機能を誤って使
用してしまい、誤ったプログラム開発を行う恐れがあ
る。その為に、量産用ワンチップマイクロコンピュータ
の持たない機能が予め判っていれば、ユーザが評価用マ
イクロコンピュータを用いてプログラム開発及び評価を
行う際にその機能を使用禁止状態としておけばよい。そ
こで、量産用ワンチップマイクロコンピュータの持たな
い機能に対応する評価用マイクロコンピュータの機能制
御レジスタ(1)には後述の機能動作レジスタから「1」
を出力させておき、ユーザが誤ってその機能を使用しよ
うとして、その機能制御レジスタ(1)を選択するための
アドレスデータがアドレスデコーダ(2)でデコードされ
ても、その機能制御レジスタ(1)を書き込み読み出し禁
止状態とでき、即ちユーザは何も気にしなくても、ユー
ザが量産用ワンチップマイクロコンピュータにない機能
を、プログラムの開発及び評価段階で評価用マイクロコ
ンピュータ内部で誤って使用するのを防止できるように
しているのである。In other words, if the evaluation microcomputer has a function that the one-chip microcomputer that is to be mass-produced does not have, and the user can use the function, the user mistakenly uses the function. This can lead to incorrect program development. Therefore, if a function not possessed by the one-chip microcomputer for mass production is known in advance, the function may be set to the use-prohibited state when a user develops and evaluates a program using the microcomputer for evaluation. Therefore, the function control register (1) of the evaluation microcomputer corresponding to the function not provided in the mass-production one-chip microcomputer has "1" from the function operation register described later.
Is output, and even if the user attempts to use the function by mistake and the address data for selecting the function control register (1) is decoded by the address decoder (2), the function control register (1) Can be set to the write-read prohibited state, that is, if the user does not care about anything, the user can mistakenly use functions that are not in the mass-production one-chip microcomputer in the evaluation microcomputer during the program development and evaluation stages. That is to prevent.
【0010】そして、機能制御レジスタ(1)内部の制御
回路(3)は、書き込み読み出し可能状態の時に、書き込
み信号W2が印加されると書き込み状態となり、読み出
し信号R2が印加されると読み出し状態となり、内部バ
ス(4)を介して各機能に応じたデータの読み書きを行え
るようになっている。(5)は前述した機能動作レジスタ
であり、例えば8ビットのレジスタで構成されているも
のとする。この機能動作レジスタ(5)の各ビットは複数
の機能制御レジスタ(1)の各々に対応する。つまり、量
産すべきワンチップマイクロコンピュータの機能に対応
する評価用マイクロコンピュータの機能制御レジスタ
(1)に対応付けられた機能動作レジスタ(5)のビットに
は、内部バス(6)を介して「0」がセットされ、また量
産用ワンチップマイクロコンピュータの持たない機能に
対応する評価用マイクロコンピュータの機能制御レジス
タ(1)に対応付けられた機能動作レジスタ(5)のビット
には、内部バス(6)を介して「1」がセットされる様に
なっている。この機能動作レジスタ(5)も、評価用マイ
クロコンピュータの有する機能数に応じて設けられるも
のとする。例えば機能数が16ある場合、機能制御レジ
スタ(1)も16ある為、8ビット構成の機能動作レジス
タ(5)は2個設けなければならないことになる。The control circuit (3) in the function control register (1) enters a write state when a write signal W2 is applied in a write / read enabled state, and enters a read state when a read signal R2 is applied. Data can be read and written according to each function via the internal bus (4). (5) is the above-mentioned function operation register, which is assumed to be constituted by, for example, an 8-bit register. Each bit of the function operation register (5) corresponds to each of the plurality of function control registers (1). In other words, the function control register of the evaluation microcomputer corresponding to the function of the one-chip microcomputer to be mass-produced
Bits of the function operation register (5) corresponding to (1) are set to "0" via the internal bus (6), and are used for evaluation corresponding to functions not provided by the mass-production one-chip microcomputer. The bit of the function operation register (5) associated with the function control register (1) of the microcomputer is set to "1" via the internal bus (6). This function operation register (5) is also provided according to the number of functions of the evaluation microcomputer. For example, when the number of functions is 16, the number of function control registers (1) is also 16, so that two 8-bit function operation registers (5) must be provided.
【0011】(7)は、機能動作レジスタ(5)を選択する
ためのアドレスデータをデコードするアドレスデコーダ
(第2デコーダ)であり、該当する機能動作レジスタ(5)
を選択するためのアドレスデータがデコードされた時、
アドレスデコーダ(7)は「1」を出力する様に構成され
ている。ここで、前述のアドレスデコーダ(2)でデコー
ドされるアドレスデータはユーザの指示によって、評価
用マイクロコンピュータを動作させる為に外部に設けら
れたEPROM等のメモリから発生するものであり、例
えば該EPROMが512Kビットの容量を有し、1ワ
ードが8ビットで構成されている場合、ユーザには例え
ば0000〜FEFF番地までが使用可能に解放されて
いるものとする。また、アドレスデコーダ(7)でデコー
ドされるアドレスデータは、ユーザに評価用マイクロコ
ンピュータを供給する以前にユーザが作成すべき量産用
ワンチップマイクロコンピュータの機能に合致した機能
を有する評価用マイクロコンピュータとする為に、供給
側が指示するデータである。ここで、このアドレスデー
タも前記EPROM等の外部メモリと同一容量のメモリ
から発生するものであり、供給側はこの外部メモリのF
F00〜FFFF番地までを使用する様にしている。こ
のFF00〜FFFF番地までが特定アドレスである。(7) an address decoder for decoding address data for selecting the function operation register (5)
(Second decoder) and the corresponding function operation register (5)
When the address data for selecting is decoded,
The address decoder (7) is configured to output "1". Here, the address data decoded by the address decoder (2) is generated from a memory such as an EPROM provided externally to operate the evaluation microcomputer in accordance with a user's instruction. Has a capacity of 512 Kbits and one word is composed of 8 bits, it is assumed that the user can use up to addresses 0000 to FEFF, for example. Further, the address data decoded by the address decoder (7) includes an evaluation microcomputer having a function corresponding to the function of a mass-production one-chip microcomputer to be created by the user before supplying the evaluation microcomputer to the user. Data to be supplied by the supply side. Here, this address data is also generated from a memory having the same capacity as that of the external memory such as the EPROM, and the supply side operates the F of this external memory.
The addresses from F00 to FFFF are used. The addresses from FF00 to FFFF are the specific addresses.
【0012】評価用マイクロコンピュータの供給側の者
が外部に設けたメモリの特定アドレスをアクセスする
と、フラグ(図示せず)はセットされて「1」になる。こ
のフラグ出力はORゲート(8)の一方の入力端子に印加
される。また、ORゲート(8)の他方の入力端子には、
評価用マイクロコンピュータの供給側の者の意志によっ
て「0」又は「1」となる制御信号が印加される。特
に、この制御信号は、外部メモリの特定アドレスがアク
セスされているか否かに関わらず、「1」とすることが
できる。When a person on the supply side of the evaluation microcomputer accesses a specific address of a memory provided outside, a flag (not shown) is set to "1". This flag output is applied to one input terminal of the OR gate (8). Also, the other input terminal of the OR gate (8)
A control signal of "0" or "1" is applied depending on the will of the person supplying the evaluation microcomputer. In particular, this control signal can be "1" regardless of whether or not a specific address of the external memory is being accessed.
【0013】アドレスデコーダ(7)の出力及びORゲー
ト(8)の出力はANDゲート(9)に印加され、このAN
Dゲート(9)の出力によって機能動作レジスタ(5)内部
に含まれる制御回路(10)の動作が制御される。つまり、
機能動作レジスタ(5)を選択する為にアドレスデコーダ
(7)の出力が「1」となった場合、外部メモリの特定ア
ドレスがアクセスされていることからフラグ出力も
「1」であり、これよりANDゲート(9)の「1」出力
が制御回路(10)に印加され、機能動作レジスタ(5)は書
き込み読み出し可能状態となる。この状態において、書
き込み信号W1が印加されると機能動作レジスタ(5)は
書き込み状態となり、読み出し信号R1が印加されると
機能動作レジスタ(5)は読み出し状態となり、これより
機能制御レジスタ(1)を書き込み読み出し可能状態又は
書き込み読み出し禁止状態とするためのデータが、機能
動作レジスタ(5)の各ビットに書き込まれる。The output of the address decoder (7) and the output of the OR gate (8) are applied to an AND gate (9).
The operation of the control circuit (10) included in the function operation register (5) is controlled by the output of the D gate (9). That is,
Address decoder to select function operation register (5)
When the output of (7) becomes "1", the flag output is also "1" because the specific address of the external memory is accessed, and the "1" output of the AND gate (9) is changed to the control circuit. This is applied to (10), and the function operation register (5) is in a state where writing and reading are possible. In this state, when the write signal W1 is applied, the function operation register (5) is in the write state, and when the read signal R1 is applied, the function operation register (5) is in the read state. Is written to each bit of the function operation register (5) to set the state of the function operation register (5).
【0014】例えば、図1に示す機能制御レジスタ(1)
に対応する機能を量産用ワンチップマイクロコンピュー
タが持っておらず、評価用マイクロコンピュータにおけ
るその機能を使用禁止状態とする場合、この機能制御レ
ジスタ(1)に対応する機能動作レジスタ(5)のビットに
「1」を書き込む。こうすると、ユーザがアドレスデコ
ーダ(2)の出力で機能制御レジスタ(1)を選択しようと
しても、機能動作レジスタ(5)の対応ビット出力が
「1」であることから、NORゲート(11)出力が常に
「0」となり、これより制御回路(3)が機能制御レジス
タ(1)を書き込み読み出し禁止状態とし、対応する機能
は使用禁止状態となる。従って、ユーザは量産用ワンチ
ップマイクロコンピュータになくて評価用マイクロコン
ピュータにある機能を、プログラム開発及び評価時に使
用しない様に気を配る必要がなくなると共に誤って使用
することもなくなる。For example, the function control register (1) shown in FIG.
If the mass-production one-chip microcomputer does not have a function corresponding to the function control register (5) and the function in the evaluation microcomputer is disabled, the bit of the function operation register (5) corresponding to the function control register (1) is used. "1" is written in. In this case, even if the user tries to select the function control register (1) by the output of the address decoder (2), the corresponding bit output of the function operation register (5) is "1". Is always "0", whereby the control circuit (3) sets the function control register (1) to the write / read prohibition state, and the corresponding function is set to the use prohibition state. Therefore, the user does not need to be careful not to use the functions provided in the evaluation microcomputer but in the mass-production one-chip microcomputer at the time of program development and evaluation.
【0015】ここで、評価用マイクロコンピュータをユ
ーザに供給する供給側の者が使用できる外部メモリの特
定アドレスFF00〜FFFF番地には、機能動作レジ
スタ(5)の各ビットに機能制御レジスタ(1)の制御を行
うためのデータが書き込まれた後、0000番地へジャ
ンプするジャンプ命令が含まれ、即ちフラグはリセット
されて「0」となる様に構成されており、機能動作レジ
スタ(5)の各ビットにデータを書き込んだ後は、ユーザ
は機能動作レジスタ(5)を書き込み読み出し可能状態と
できないようになっている。但し、評価用マイクロコン
ピュータをユーザに供給する供給側の者が、機能動作レ
ジスタ(5)へのデータのセット後にデータの変更を行わ
なければならない場合を考慮して、ORゲート(8)に印
加される制御信号を供給側の者が任意に「1」とできる
様にしている。また、ANDゲート(9)出力が「0」の
場合、機能動作レジスタ(5)は内部バス(6)を介したデ
ータの読み書きを禁止されるが、機能動作レジスタ(5)
の各ビットと対応するNORゲート(11)の入力とは直接
接続されている為、例え機能動作レジスタ(5)が書き込
み読み出し禁止状態であっても、機能制御レジスタ(1)
は制御される。Here, at the specific addresses FF00 to FFFF of the external memory which can be used by the person supplying the microcomputer for evaluation to the user, the function control register (1) is added to each bit of the function operation register (5). After the data for performing the control is written, a jump instruction for jumping to address 0000 is included, that is, the flag is reset to “0”, and each of the function operation registers (5) After writing the data to the bit, the user cannot set the function operation register (5) to a write / read enabled state. However, in consideration of the case where the supply side supplying the evaluation microcomputer to the user needs to change the data after setting the data in the function operation register (5), the voltage is applied to the OR gate (8). The control signal to be supplied can be arbitrarily set to "1" by the supply side. When the output of the AND gate (9) is "0", the function operation register (5) is prohibited from reading and writing data through the internal bus (6).
Are directly connected to the input of the corresponding NOR gate (11), so that even if the function operation register (5) is in the write-read prohibition state, the function control register (1)
Is controlled.
【0016】以上の構成を設けることによって、評価用
マイクロコンピュータが複数種類の量産用ワンチップマ
イクロコンピュータの種々の機能を内蔵している場合に
おいて、この評価用マイクロコンピュータを用いてある
特定の量産用ワンチップマイクロコンピュータのプログ
ラム開発及び評価を行う場合、この量産用ワンチップマ
イクロコンピュータが持っていない評価用マイクロコン
ピュータの機能を、ユーザが気にしなくても使用禁止状
態とでき、これより誤ったプログラム開発及びプログラ
ム評価を確実に防止できることになる。By providing the above configuration, when the evaluation microcomputer incorporates various functions of a plurality of kinds of one-chip microcomputers for mass production, a specific mass production system using this evaluation microcomputer is used. When developing and evaluating a program for a one-chip microcomputer, the functions of the evaluation microcomputer that this mass-production one-chip microcomputer does not have can be disabled without the user having to worry about it. Development and program evaluation can be reliably prevented.
【0017】[0017]
【発明の効果】本発明によれば、評価用マイクロコンピ
ュータが複数種類の量産用ワンチップマイクロコンピュ
ータの種々の機能を内蔵している場合において、この評
価用マイクロコンピュータを用いてある特定の量産用ワ
ンチップマイクロコンピュータのプログラム開発及び評
価を行う場合、この量産用ワンチップマイクロコンピュ
ータが持っていない評価用マイクロコンピュータの機能
を、ユーザが気にしなくても使用禁止状態とでき、ユー
ザが評価用マイクロコンピュータを用いて正しいプログ
ラム開発及び評価を確実に行える利点が得られる。According to the present invention, when the evaluation microcomputer incorporates various functions of a plurality of types of mass-production one-chip microcomputers, a specific mass-production microcomputer using this evaluation microcomputer is used. When developing and evaluating one-chip microcomputer programs, the functions of the evaluation microcomputer that this mass-production one-chip microcomputer does not have can be disabled without the user having to worry about it. An advantage is obtained in that correct program development and evaluation can be reliably performed using a computer.
【図1】本発明の評価用マイクロコンピュータを示すブ
ロック図である。FIG. 1 is a block diagram showing an evaluation microcomputer of the present invention.
(1) 機能制御レジスタ (2)(7) アドレスデコーダ (5) 機能動作レジスタ (8) ORゲート (9) ANDゲート (1) Function control register (2) (7) Address decoder (5) Function operation register (8) OR gate (9) AND gate
Claims (2)
すべく該複数の機能毎に設けられた複数の機能制御レジ
スタ、ROMの読み出しデータを解読することによって
前記複数の機能制御レジスタの何れかを選択するための
第1デコーダ、を内蔵した量産用ワンチップマイクロコ
ンピュータにおける前記ROMを除く構成を有し、前記
ROMに書き込まれるプログラムの開発又は評価を行う
評価用マイクロコンピュータにおいて、 前記複数の機能制御レジスタの何れかの選択を、前記第
1デコーダの出力とその各対応ビットとに基づいて行う
べく設けられた少なくとも1つの機能動作レジスタと、 外部メモリの読み出しデータをデコードする第2デコー
ダと、 前記外部メモリの特定アドレスがアクセスされた時にセ
ットされるフラグと、 前記外部メモリの特定アドレスから前記機能動作レジス
タを選択するためのデータが読み出された時に、前記第
2デコーダ出力と前記フラグ出力とに基づいて、選択さ
れた前記機能動作レジスタに対するデータの書き込み又
は読み出しを可能とする論理回路と、を備え、 前記外部メモリの特定アドレス以外のアドレスがアクセ
スされている時、前記機能動作レジスタの書き込み動作
を禁止し、該機能動作レジスタの各ビット出力によって
特定の前記機能制御レジスタの書き込み動作又は読み出
し動作を禁止し、前記評価用マイクロコンピュータ内部
に設けられた複数の機能のうち、量産すべきマイクロコ
ンピュータに関係のない機能を誤って評価してしまうの
を防止することを特徴とする評価用マイクロコンピュー
タ。1. A plurality of functions, a plurality of function control registers provided for each of the plurality of functions to control the operation of the plurality of functions, and a plurality of function control registers provided by decoding read data from a ROM. In a mass-production one-chip microcomputer incorporating a first decoder for selecting any one of them, the evaluation microcomputer for developing or evaluating a program written in the ROM has a configuration excluding the ROM. At least one function operation register provided to select any one of the function control registers based on the output of the first decoder and each corresponding bit, and a second decoder for decoding read data from an external memory A flag that is set when a specific address of the external memory is accessed; When data for selecting the function operation register is read from a specific address of an external memory, writing or reading of data to the selected function operation register is performed based on the second decoder output and the flag output. When an address other than the specific address of the external memory is being accessed, the write operation of the function operation register is prohibited, and the specific operation is performed by each bit output of the function operation register. The write operation or the read operation of the function control register is prohibited, and the internal
Of the multiple functions provided in
Accidentally evaluating features that are not computer-related
A microcomputer for evaluation, characterized in that the microcomputer is prevented .
ジスタを書き込み又は読み出し可能状態とするための前
記論理回路出力と、該機能動作レジスタを書き込み状態
とするための書き込み信号と、該機能動作レジスタを読
み出し状態とするための読み出し信号とが印加される、
該機能動作レジスタの動作制御を行う制御回路を含むこ
とを特徴とする請求項1記載の評価用マイクロコンピュ
ータ。2. The function operation register includes: a logic circuit output for setting the function operation register in a writable or readable state; a write signal for setting the function operation register to a write state; And a read signal for bringing the read state into the read state.
2. The evaluation microcomputer according to claim 1, further comprising a control circuit for controlling the operation of the function operation register.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP3082451A JP2659147B2 (en) | 1991-04-15 | 1991-04-15 | Evaluation microcomputer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP3082451A JP2659147B2 (en) | 1991-04-15 | 1991-04-15 | Evaluation microcomputer |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH04315231A JPH04315231A (en) | 1992-11-06 |
JP2659147B2 true JP2659147B2 (en) | 1997-09-30 |
Family
ID=13774882
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP3082451A Expired - Fee Related JP2659147B2 (en) | 1991-04-15 | 1991-04-15 | Evaluation microcomputer |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2659147B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007305148A (en) * | 2007-06-25 | 2007-11-22 | Univ Waseda | Multi-processor system |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS553093A (en) * | 1978-06-23 | 1980-01-10 | Nec Corp | Integrated circuit for development of computer |
JPH0310335A (en) * | 1989-06-07 | 1991-01-17 | Nec Corp | Emulation chip |
-
1991
- 1991-04-15 JP JP3082451A patent/JP2659147B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JPH04315231A (en) | 1992-11-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR940002754B1 (en) | Control Method of Semiconductor Integrated Circuit Device | |
KR100375217B1 (en) | Microcontroller incorporating an electrically rewritable non-volatile memory | |
KR890004999B1 (en) | Programmable read only memory | |
US5890191A (en) | Method and apparatus for providing erasing and programming protection for electrically erasable programmable read only memory | |
US5383161A (en) | IC card with decoder for selective control for memory storage | |
US4649476A (en) | Microcomputer having an internal address mapper | |
US12235725B2 (en) | Multi-time programmable electronic fuse apparatus | |
US20040236909A1 (en) | Memory card and data rewriting method | |
US6532529B1 (en) | Microcomputer including flash memory overwritable during operation and operating method thereof | |
KR100223844B1 (en) | Optional automatic setting circuit | |
JP2659147B2 (en) | Evaluation microcomputer | |
US5355336A (en) | Memory device and a method for prohibiting writing to the memory device | |
JPH03204053A (en) | Read-only memory | |
KR100341424B1 (en) | Microcomputer | |
US7191323B2 (en) | Information processing unit selecting one of reset vector addresses | |
KR100504064B1 (en) | Microcomputer | |
EP0714060B1 (en) | One chip microcomputer with built-in non-volatile memory | |
JPS6220024Y2 (en) | ||
JP2526893B2 (en) | Semiconductor memory device | |
JP2669958B2 (en) | Microcomputer | |
JPS6246493A (en) | Semiconductor integrated circuit device | |
JPH11338770A (en) | Data processing system having overlead paged memory control register | |
JPS5841595B2 (en) | semiconductor memory circuit | |
JP2000112755A (en) | Microcomputer | |
JPH04352046A (en) | Rom card |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
LAPS | Cancellation because of no payment of annual fees |