JPH02236730A - Program rewritable type computer - Google Patents

Program rewritable type computer

Info

Publication number
JPH02236730A
JPH02236730A JP5902789A JP5902789A JPH02236730A JP H02236730 A JPH02236730 A JP H02236730A JP 5902789 A JP5902789 A JP 5902789A JP 5902789 A JP5902789 A JP 5902789A JP H02236730 A JPH02236730 A JP H02236730A
Authority
JP
Japan
Prior art keywords
program
prom
cpu
control part
host
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
JP5902789A
Other languages
Japanese (ja)
Inventor
Kiyoto Miyazawa
宮沢 清人
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP5902789A priority Critical patent/JPH02236730A/en
Publication of JPH02236730A publication Critical patent/JPH02236730A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

PURPOSE:To develop external information on a memory by providing an E<2> PROM and a static RAM with backup, and enabling information to be inputted from an external device such as an FDD, etc. CONSTITUTION:The title computer is comprised by providing a reloadable type semiconductor memory 3, a write control part 4, and a CPU 1. The CPU 1 is operated by a program stored in the E<2>PROM 3 after reset, and a RAM 2 is used as a work area for it. When the program stored in the E<2>PROM 3 is updated, the CPU 1 controls the write control part 4 to write data on the E<2>PROM 3 when receiving a command to update the program from a host 6 via a communication control part 5. Next, the data sent form the host 6 is written on the E<2>PROM 3. Thereby, it is possible to perform the change of the program in a single action concentrically by using a communication line.

Description

【発明の詳細な説明】 (産業上の利用分!#?) 本発明はROMを使用して構成したマイクロコンピュー
タシステムに関し、特にEFROMやマスクROMなど
を用いてマイクロコンピュータを動作させる装置に関す
る。
DETAILED DESCRIPTION OF THE INVENTION (Industrial Application!#?) The present invention relates to a microcomputer system configured using ROM, and particularly to an apparatus for operating a microcomputer using EFROM, mask ROM, or the like.

(従来の技術) 従来,マイクロプロセサを使用した処理装置では,プロ
グラムはまずEPROMやマスクROMICより起動さ
れ、その後もFliPR,OMやマスクROM上のプロ
グラムで処理装置を動作させたり、あるいはフロッピィ
ディスクやハードディスクなどの記憶媒体、あるいは通
信装置よりRAM上にプログラムをロードして処理装置
を動作させていた。
(Prior art) Conventionally, in a processing device using a microprocessor, a program is first started from an EPROM or mask ROM, and then the processing device is operated by the program on the FliPR, OM, or mask ROM, or the program is started from a floppy disk or a floppy disk. The processing device was operated by loading a program onto RAM from a storage medium such as a hard disk or a communication device.

(発明が解決しようとする課題) 従来のマイクロコンピュータ処理装置においては、フロ
ッピィディスクよりプログラムをロードするため、長時
間がかかるという欠点がある。tた,フロッピィディス
クよりプログラムをロードする九め、シリコン記憶デバ
イスよりも障啓率が高いと云う欠点があり.特に設置環
境が悪く、ほこりやゴミが出やすい装置ではその傾向は
著しいと云う欠点がある。さらに、EFROM+’zス
クR,OMなどにプログラムを格納すると,ロードは高
速になって障害率も低くなるが、プログラムの修正が困
難になるという欠点がある。
(Problems to be Solved by the Invention) Conventional microcomputer processing devices have the disadvantage that it takes a long time to load programs from a floppy disk. Another disadvantage of loading programs from floppy disks is that they have a higher failure rate than silicon storage devices. This tendency is particularly noticeable in devices that are installed in poor environments and that tend to generate dust and dirt. Furthermore, if a program is stored in an EFROM+'z disk R, OM, etc., loading becomes faster and the failure rate is lowered, but there is a drawback that it becomes difficult to modify the program.

本発明の目的は,EFROMやマスクROMの代りにE
”ROMやバックアップ付きスタティックRAMt−有
し、且つ, Ii’DD.あるいはHDD、または通信
装置などの外部装置より情報を入力することができるよ
うにしておくことにより上記欠点全除去し、外部情報を
メモリ上に展閘できるように構成したプログラム書換え
可能形コンピュータを提供することにある。
The purpose of the present invention is to use E-ROM instead of EFROM or mask ROM.
``By having a ROM or static RAM with backup, and being able to input information from an external device such as an Ii'DD, HDD, or communication device, all of the above drawbacks can be eliminated and external information can be input. An object of the present invention is to provide a programmable computer configured so that it can be expanded on a memory.

(課題を解決する之めの手段) 本発明によるプログラム書換え可能形コンピュータは書
換え町能形半導体メモリと、書込み制御部と、OPUと
を具備して構成し次ものである。
(Means for Solving the Problems) A rewritable computer according to the present invention includes a rewritable semiconductor memory, a write control section, and an OPU.

書換え可能形半導体メモリは,FDDあるいはHDD、
または通信装置などの外部装置よりプログラム情報を入
力して格納するためのものである。
Rewritable semiconductor memory is FDD or HDD,
Alternatively, it is used to input and store program information from an external device such as a communication device.

書込み制御部は、プログラム情報の書込みを制御するた
めのものである。
The write control section is for controlling writing of program information.

OPUは、書換え可能形半導体メモリの内容に応じて処
理を実行するためのものである。
The OPU is for executing processing according to the contents of the rewritable semiconductor memory.

(実 施例) 次に、本発明について図面を参照して説明する。(Example) Next, the present invention will be explained with reference to the drawings.

第1図は,本発明によるプログラム書換え可能形コンピ
ュータを示すブロック図である。
FIG. 1 is a block diagram showing a programmable computer according to the present invention.

第1図において、1はOPU.2はRAM.3はB”P
R,OM.4は書込み制御部、5は通信制御部、6はホ
ストである。
In FIG. 1, 1 is OPU. 2 is RAM. 3 is B”P
R, O.M. 4 is a write control section, 5 is a communication control section, and 6 is a host.

通常、OPU 1にリセットされた後,B”PR,OM
3に格納されているプログラムで動作し,そのワークエ
リアとしてRAM2’i使用丁る。
Normally, after being reset to OPU 1, B”PR, OM
It runs on the program stored in 3 and uses RAM 2'i as its work area.

B”FROMのアクセス時間は、FDDのアクセス時間
に比べて数十倍〜数百倍の高速であり、処理を高速化で
きる。
The access time of B''FROM is several tens to hundreds of times faster than the access time of FDD, and the processing speed can be increased.

第2図は、第1図に示丁E2FROMのメモリマップを
示す説明図である。
FIG. 2 is an explanatory diagram showing a memory map of the E2FROM shown in FIG. 1.

B2P几OM3に格納されているプログラムを更新する
過程を,第1図および第2因に従つて説明する。
The process of updating the program stored in the B2P OM3 will be explained with reference to FIG. 1 and the second factor.

OPUIは,ホスト6より通信制御部5t−介してプロ
グラム更新のコマンドを受けると B2FROM3にデ
ータを書込むために、書込み制御部4t′制御する。次
に、ホスト6から送られてきたデータt−B”FROM
3に書込む。
When the OPUI receives a program update command from the host 6 via the communication control unit 5t, it controls the write control unit 4t' to write data to the B2FROM3. Next, the data t-B"FROM sent from the host 6
Write in 3.

書込み中に不具合が生じた場合には,まったく動作しな
くならないように、次のような動作をさせる。
If a problem occurs during writing, perform the following operations to ensure that the program does not stop working at all.

第2図に示丁ように g2p几OM3のメモリ空間t−
AとB,ならびにO,!:Dの2つに分割し、これらの
2つを交互に更新してゆく。
As shown in Figure 2, the memory space of g2p OM3 is t-
A and B, as well as O,! :D, and update these two parts alternately.

現在,AとB=i使用中の場合、更新されるデータは0
とDとに書込まれ、次に電源を投入すると,0とDとに
格納されているプログラムが動作する。電m.t−投入
した後.プログラムは第.[lK示Tようなフローに従
って動作する。0およびDの領域で実行させる場合には
 E!FROM3に入力させる最上位アドレス信号を反
転させることにより、OPUIからは同じアドレス空間
で動作しているように見える。
Currently, if A and B=i are in use, the updated data is 0
When the power is turned on next time, the program stored in 0 and D will operate. electric m. After adding t-. The program is No. It operates according to the flow shown below. When executing in the 0 and D area, use E! By inverting the most significant address signal input to FROM3, it appears from the OPUI that they are operating in the same address space.

(発明の効果) 以上説明したように本発明は,読出し/書込み可能なR
OMデバイスを使用してプログラムを格納するとともに
,外部記憶装置からデータを更新できるよりにすること
によって、第1にプログラムを容易に変更することがで
き、第2に通信線路を使ってプログラムの変更全1度に
集中的に行うことができ,第3にFDDよりも高信頼度
で動作でき,第4にPL)13よりも高速に動作町能で
あるため、電源投入から動作開始までの時間が短かく,
第5に必ずしも外部記憶デバイスを必要としないので,
小型化が町能であると云う効果がある。
(Effect of the invention) As explained above, the present invention provides readable/writable R
By using an OM device to store programs and being able to update data from an external storage device, firstly, programs can be easily changed, and secondly, programs can be changed easily using communication lines. Thirdly, it can operate with higher reliability than FDD, and fourthly, it can operate faster than PL)13, so the time from power-on to start of operation is shortened. is short,
Fifth, it does not necessarily require an external storage device, so
The effect of miniaturization is that it is town Noh.

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

第1図は,本発明によるプログラム書換え可能形コンピ
ュータの一実施例を示すブロック図である。 第2図は,第1図に示丁E”PROM内のメモリマップ
を示丁説明図である。 第3図は、電源投入後の処理フローを示丁説明図である
FIG. 1 is a block diagram showing an embodiment of a programmable computer according to the present invention. FIG. 2 is an explanatory diagram showing the memory map in the E"PROM shown in FIG. 1. FIG. 3 is an explanatory diagram showing the processing flow after power is turned on.

Claims (1)

【特許請求の範囲】[Claims] PDDあるいはHDD、または通信装置などの外部装置
よりプログラム情報を入力して格納するための書換え可
能形半導体メモリと、前記プログラム情報の書込みを制
御するための書込み制御部と、前記書換え可能形半導体
メモリの内容に応じて処理を実行するためのCPUとを
具備して構成したことを特徴とするプログラム書換え可
能形コンピュータ。
A rewritable semiconductor memory for inputting and storing program information from an external device such as a PDD, an HDD, or a communication device, a write control unit for controlling writing of the program information, and the rewritable semiconductor memory. 1. A programmable computer comprising: a CPU for executing processing according to the content of the program.
JP5902789A 1989-03-10 1989-03-10 Program rewritable type computer Pending JPH02236730A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5902789A JPH02236730A (en) 1989-03-10 1989-03-10 Program rewritable type computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5902789A JPH02236730A (en) 1989-03-10 1989-03-10 Program rewritable type computer

Publications (1)

Publication Number Publication Date
JPH02236730A true JPH02236730A (en) 1990-09-19

Family

ID=13101396

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5902789A Pending JPH02236730A (en) 1989-03-10 1989-03-10 Program rewritable type computer

Country Status (1)

Country Link
JP (1) JPH02236730A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05296820A (en) * 1992-04-23 1993-11-12 Teraoka Seiko Co Ltd Electronic-balance apparatus and illegal copy prevention device of control program or the like for the apparatus
JPH0876989A (en) * 1994-08-31 1996-03-22 Teac Corp Program driven electronic device and program rewriting method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05296820A (en) * 1992-04-23 1993-11-12 Teraoka Seiko Co Ltd Electronic-balance apparatus and illegal copy prevention device of control program or the like for the apparatus
JPH0876989A (en) * 1994-08-31 1996-03-22 Teac Corp Program driven electronic device and program rewriting method

Similar Documents

Publication Publication Date Title
JPH02236730A (en) Program rewritable type computer
JPH01235075A (en) Disk memory controller
JPH11194938A (en) Memory managing method for computer having hard disk drive
JPS5856165A (en) Record update system
JPS62125452A (en) Data back-up system for storage device
JPH0793101A (en) Data backup device
JPH03280147A (en) Device configuration method for ews
JP3022011B2 (en) Data backup system
JPS62269256A (en) Data storage system for semiconductor file
JPS6329861A (en) Ipl control system
JPH065008A (en) Testing method for magnetic disk device
JPH0731640B2 (en) Disk access control method
JPS63159905A (en) Programmable controller input/output forced on/off method
JP3226047B2 (en) Input/Output Devices
JPH0739086Y2 (en) FDD control circuit
JPH0833838B2 (en) Computer system
JPH01111239A (en) Error display system
JPH0392922A (en) Information processor
JPH04338815A (en) Semiconductor disk device
JPH0371252A (en) Output terminal equipment
JPS6194160A (en) Storage medium write protection method for electronic computers
JPH0442462A (en) Magnetic disk subsystem
JPH0581089A (en) Electronic equipment
JPH03273433A (en) Personal computer system
JPH07141262A (en) Information processor