JPS5987546A - Software protecting system - Google Patents

Software protecting system

Info

Publication number
JPS5987546A
JPS5987546A JP57197592A JP19759282A JPS5987546A JP S5987546 A JPS5987546 A JP S5987546A JP 57197592 A JP57197592 A JP 57197592A JP 19759282 A JP19759282 A JP 19759282A JP S5987546 A JPS5987546 A JP S5987546A
Authority
JP
Japan
Prior art keywords
program
bit information
address signal
program word
written
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP57197592A
Other languages
Japanese (ja)
Inventor
Kazushi Yamaki
八巻 一志
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.)
Hitachi Ltd
Renesas Semiconductor Package and Test Solutions Co Ltd
Original Assignee
Hitachi Ltd
Hitachi Yonezawa Electronics 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 Hitachi Ltd, Hitachi Yonezawa Electronics Co Ltd filed Critical Hitachi Ltd
Priority to JP57197592A priority Critical patent/JPS5987546A/en
Publication of JPS5987546A publication Critical patent/JPS5987546A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Storage Device Security (AREA)

Abstract

PURPOSE:To reinforce a protection of a software by inverting and writing in advance other specified bit information of a program word in a memory device in accordance with a program address signal, etc. CONSTITUTION:Program words consisting of D0-D7 are written in an ROM. In this case, in each program word, if its specified bit information, for instance, D0 is logic ''1'', other specified bit information D1 is left as it is, and if D0 is logic ''0'', D1 is inverted and written in the ROM. In the same way, if a specified bit information An of an address signal preceding by one to the program word to be written is logic ''0'', the output D7 is inverted and written in the ROM. Also, when reading out, the inverted specified bit information is returned to its original state and can be read out by providing a normal phase pulse driver and a in verced phase bus driver being in a parallel state on the terminal D1 and D7.

Description

【発明の詳細な説明】 この発明は、ソフトウェア保護方式に関する。[Detailed description of the invention] The present invention relates to a software protection scheme.

マイクロコンピュータ等では、ROM (リード・オン
リー・メモリ)に、そのソフトウェア(ファームウェア
)が書込まれている。このソフトウェアの内容は、その
読み出しにより、簡単に外部に取り出されコピーされて
しまうという問題を有する。
In microcomputers, software (firmware) is written in ROM (read only memory). There is a problem in that the contents of this software can be easily taken out and copied outside when read.

この発明の目的は、簡単な回路の追加により、実現でき
るソフトウェア保護方式を提供することにある。
An object of the present invention is to provide a software protection system that can be implemented by adding simple circuits.

この発明の他の目的は、以下の説明及び図面から明らか
になるであろう。
Other objects of the invention will become apparent from the following description and drawings.

以下、この発明を実施例とともに詳細に説明する。Hereinafter, this invention will be explained in detail together with examples.

図面には、この発明に従ったROMの読み出し方式の一
実施例のブロック図が示されている。
The drawing shows a block diagram of an embodiment of a ROM reading method according to the present invention.

ROMは、特に制限されないが、DO−Dlからなる1
バイトのプログラム語からなる所定のソフトウェアが書
込まれる。このソフトウェアを形成するにあたり、各プ
ログラム語において、その特定のビット情報、例えば、
DOが論理1ならば他の特定のピント情報D1をそのま
まにし、上記DOが論理OならばDIを反転させてRO
Mに書込むものである。
The ROM is not particularly limited, but may be 1 consisting of DO-Dl.
Predetermined software consisting of byte program words is written. In forming this software, in each program word, its specific bit information, e.g.
If DO is logic 1, other specific focus information D1 is left as is, and if DO is logic 0, DI is inverted and RO
This is what is written to M.

また、令書込もうとするプログラム語の1つ前のアドレ
ス信号の特定のビット情報Anが論理1ならばそのプロ
グラム語の他の特定のビット情報D7をそのままにし、
上記Anが論理0ならばDlを反転させてRCIMに書
込むものである。
Further, if the specific bit information An of the address signal immediately before the program word to which the instruction is to be written is logic 1, the other specific bit information D7 of that program word is left as is,
If the above An is a logic 0, Dl is inverted and written to the RCIM.

このような1つのソフトウェアを構成する各プログラム
語の変換は、上記一定の規則性を利用して簡単な変換プ
ログラムを通すことにより容易に作成できる。
Conversion of each program word constituting one piece of software can be easily created by running a simple conversion program using the above-mentioned certain regularity.

そして、その読み出しにおいては、図面に示したような
、簡単な回路を付加するだけでよい。
To read the information, it is sufficient to simply add a simple circuit as shown in the drawing.

ずなわら、I’20Mの出方端子DIには、並列形態に
された正相バスドライバと逆相バスドライバとが設けら
れ、その制御端子に出方端子Doの信号が印加される。
Of course, the output terminal DI of I'20M is provided with a positive-phase bus driver and a negative-phase bus driver arranged in parallel, and a signal from the output terminal Do is applied to the control terminal thereof.

この出方DOが論理1ならば上記正相バスドライバが動
作し、逆相バスドライバが不動作にされる。また、上記
出力DOが論理〇ならば上記逆相バスドライバが動作し
、正相バスドライバが不動作にされる。
If this output DO is logic 1, the positive phase bus driver is activated and the negative phase bus driver is deactivated. Further, if the output DO is a logic 0, the negative phase bus driver is activated and the positive phase bus driver is deactivated.

また、ROMの出方端子D1には、上記同様な並列形態
にされた正相バスドライバと逆相バスドライバとが設け
られ、その制御端子にD型フリップフロップFFの出力
Qが印加される。このD型フリップフロップFFのデー
タ久方端子りには、アドレス信号の特定のビット情報A
nが印加される。そして、そのクロック端子CKにはア
ドレスストローブ信号csが印加される。
Further, the output terminal D1 of the ROM is provided with a positive-phase bus driver and a negative-phase bus driver in the same parallel configuration as described above, and the output Q of the D-type flip-flop FF is applied to the control terminal thereof. The data terminal of this D-type flip-flop FF contains specific bit information A of the address signal.
n is applied. An address strobe signal cs is applied to the clock terminal CK.

上記ROMの読み出し時におい′C1その読み出された
プログラム語の信号DOが論理1ならば正相バスドライ
バが動作しで、他の特定のビット情報D1をそのままと
し、上記DOが論理0ならば逆相バスドライバが動作し
て、Dlを反転させてデータバスへ伝える。
When reading the above ROM, if the signal DO of the read program word is logic 1, the positive phase bus driver operates and other specific bit information D1 is left as is, and if the above DO is logic 0, the positive phase bus driver operates. The anti-phase bus driver operates to invert Dl and transmit it to the data bus.

また、端子D7に設けられた正相バスドライバと逆相バ
スドライバには、D型フリップフロップFFを通してア
ドレス信号の特定のビット情報Anが伝えられるので、
今読み出そうとするプログラム語の1つ前のアドレス信
号の特定のビット情報Anが論理1ならば、その出力Q
が論理1となって正相バスドライバを動作させるため、
他の特定のビット情報D7をそのままとし、上記Anが
論理0ならば逆相バスドライバを動作させるため、Dl
を反転させてデータバスへ伝える。
Further, specific bit information An of the address signal is transmitted to the positive phase bus driver and negative phase bus driver provided at the terminal D7 through the D-type flip-flop FF.
If the specific bit information An of the address signal immediately before the program word to be read is logic 1, the output Q
becomes logic 1 and operates the positive phase bus driver, so
Dl
is inverted and transmitted to the data bus.

このようにして、正規のプログラム語が順次読み出され
るものである。
In this way, regular program words are read out in sequence.

、上記読み出し回路を用いない場合には、特定のプログ
ラム語を構成しない意味不明なものとなってしまい、し
かも正規の一連のプログラム語及びアドレス信号がキー
信号を構成するため、特定のプログラム語を構成しない
意味不明な信号からの解読を不可能にするので、ソフト
ウェアの保護がなされる。
If the above readout circuit is not used, the result will be a meaningless message that does not constitute a specific program word.Moreover, since a regular series of program words and address signals constitute a key signal, it will not be possible to read a specific program word. The software is protected by making it impossible to decipher it from non-structural and nonsensical signals.

特に、上記読み出し回路を1チツプ半導体集積回路装置
で構成した場合には、その回路構成が外部から不明とな
るのでソフトウェアの保護のよりいっそうの強化を図る
ことができる。
In particular, when the readout circuit is constructed from a one-chip semiconductor integrated circuit device, the circuit configuration becomes unknown from the outside, so that software protection can be further strengthened.

この発明は、前記実施例に限定されない。The invention is not limited to the above embodiments.

プログラム語の特定のピント情報を反転させるか否かに
用いるキー信号としての信号は、プログラム語又はアド
レス信号のいずれか一方のみを利用するものとしてもよ
い。また、その数及び組合せは種々の実施形態を採るこ
とが出来るものである。
The key signal used to determine whether or not specific focus information of a program word is to be inverted may be either the program word or the address signal. Further, the number and combination thereof can be varied in various embodiments.

この発明は、ソフトウェアの保護方式として広く利用す
ることができる。
This invention can be widely used as a software protection system.

【図面の簡単な説明】 図面は、この発明に従ったROMの読み出し方式の一実
施例を示すブロック図である。
BRIEF DESCRIPTION OF THE DRAWINGS The drawing is a block diagram showing an embodiment of a ROM reading method according to the present invention.

Claims (1)

【特許請求の範囲】 1、メモリ装置に予めプログラムアドレス信号及び/又
はプログラム語の特定のビット情報に従っ°ζ、プログ
ラム語の他の特電のビット情報を反転させ゛ζ書込み、
その読み出しにおいて上記プログラムアドレス信号及び
/又はプログラム語の特定のビア)情報をキー信号とし
て、続み出しプログラム語の、ト記他の特定のビット情
報を元の状態にもどすようにしたことを特徴とするソフ
トウェア保の方式。 2、ト記メモリ装νは、半導体リ ド・オンリー・メモ
リであり、上記プログラムアドレス信号は、書込み及び
睨み出すプログラム語より前の書込み又は睨み出しに用
いたアドレス信号であることを特徴とする特許請求の範
囲の範囲第1項記載のラフ1ウエア保緻方式。 3、上記プログラムアドレス信号及び/又はプログラム
語の特定のビット情報をキー信号−として、読み出しプ
ログラム語の上記他の特定のビット情報を元の状態にも
どすための回路は、1チツプの半導体集積回路装置で構
成されるものであることを特徴とする特許請求の範囲の
範囲第1又は第2項記載のソフトウェア保護方式。
[Claims] 1. Inverting other special bit information of the program word according to the program address signal and/or specific bit information of the program word in the memory device in advance;
The feature is that during reading, the program address signal and/or specific via information of the program word is used as a key signal, and other specific bit information of the continuation program word is returned to its original state. A method of software protection. 2. The memory device ν is a semiconductor read-only memory, and the program address signal is an address signal used for writing or looking before the program word to be written or looking. A rough 1-wear maintenance method according to claim 1. 3. The circuit for restoring the other specific bit information of the read program word to its original state using the program address signal and/or specific bit information of the program word as a key signal is a one-chip semiconductor integrated circuit. A software protection system according to claim 1 or 2, characterized in that the software protection system is constituted by a device.
JP57197592A 1982-11-12 1982-11-12 Software protecting system Pending JPS5987546A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57197592A JPS5987546A (en) 1982-11-12 1982-11-12 Software protecting system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57197592A JPS5987546A (en) 1982-11-12 1982-11-12 Software protecting system

Publications (1)

Publication Number Publication Date
JPS5987546A true JPS5987546A (en) 1984-05-21

Family

ID=16377043

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57197592A Pending JPS5987546A (en) 1982-11-12 1982-11-12 Software protecting system

Country Status (1)

Country Link
JP (1) JPS5987546A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0267656A (en) * 1988-09-01 1990-03-07 Nec Ic Microcomput Syst Ltd Single chip microcomputer
JPH03229338A (en) * 1990-02-05 1991-10-11 Matsushita Electron Corp Rom testing method
JPH04105846U (en) * 1991-02-21 1992-09-11 日立電子エンジニアリング株式会社 Cartridge insertion prevention mechanism in recording media cartridge storage body
JPH0744375A (en) * 1993-07-29 1995-02-14 Nec Corp Ciphered data processor

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0267656A (en) * 1988-09-01 1990-03-07 Nec Ic Microcomput Syst Ltd Single chip microcomputer
JPH03229338A (en) * 1990-02-05 1991-10-11 Matsushita Electron Corp Rom testing method
JPH04105846U (en) * 1991-02-21 1992-09-11 日立電子エンジニアリング株式会社 Cartridge insertion prevention mechanism in recording media cartridge storage body
JPH0744375A (en) * 1993-07-29 1995-02-14 Nec Corp Ciphered data processor

Similar Documents

Publication Publication Date Title
KR940020228A (en) Data storage
EP0395377B1 (en) Status register for microprocessor
JPS5987546A (en) Software protecting system
WO1987004541A1 (en) Central processing unit
JPS6022774B2 (en) Input/output terminal control method
JPH01123342A (en) Writing protecting circuit for memory
JPH0421221B2 (en)
SU1370766A1 (en) Device for non-standard one-time switching
JPS6020779B2 (en) Composite computer system
JPH05334099A (en) Write circuit for state setting register
JPH03276346A (en) Memory card
SU1126957A1 (en) Device for processing interruptions
JPH05128013A (en) Contents display system for parity memory
JPS62197847A (en) Semiconductor integrated circuit device
JPS6313200A (en) Integrated circuit
JPS61141067A (en) Priority discriminating device
JPS63144496A (en) Write control system for storage device
JPS6134795A (en) Read only memory
JPS59109950A (en) Error processing system of control storage device
JPH04362752A (en) Memory write protection circuit
JPH06243049A (en) Parity control circuit
JPH0137019B2 (en)
JPH11161559A (en) Storage device with parity check function
JPH01258054A (en) Access control system for storage device
JPS61294556A (en) Detection system for program malfunction