JPH03186944A - Processor system - Google Patents

Processor system

Info

Publication number
JPH03186944A
JPH03186944A JP1325599A JP32559989A JPH03186944A JP H03186944 A JPH03186944 A JP H03186944A JP 1325599 A JP1325599 A JP 1325599A JP 32559989 A JP32559989 A JP 32559989A JP H03186944 A JPH03186944 A JP H03186944A
Authority
JP
Japan
Prior art keywords
program
rom
module
ram
stored
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
JP1325599A
Other languages
Japanese (ja)
Inventor
Kazuhiko Miura
和彦 三浦
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.)
Fanuc Corp
Original Assignee
Fanuc 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 Fanuc Corp filed Critical Fanuc Corp
Priority to JP1325599A priority Critical patent/JPH03186944A/en
Publication of JPH03186944A publication Critical patent/JPH03186944A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)
  • Debugging And Monitoring (AREA)
  • Microcomputers (AREA)

Abstract

PURPOSE:To attain the speedy development of a program by treating a ROM area as a RAM area by means of exchanging modules. CONSTITUTION:A read-only ROM module 7 is exchanged to a RAM module 8 in which writing is attained at all times and the RAM module 8 is inserted into a socket 4. Thus, the program is stored in respective RAM 81 of the RAM module 8 from an external memory through peripheral IC 3 at the time of developing the program. Then, a microprocessor 1 is executed in accordance with the stored program and the control state of a whole processor system is viewed. When correction is required for the program at that time, the program in the RAM module 8 is rewritten. Thus, the program can easily be rewritten. Thus, the program stored in ROM 71 can be easily edited and rewritten.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は数値制御装置等の制御装置やコンピュータを構
成するプロセッサシステムに係り、特にプロセッサのメ
モリをモジュール化したプロセッサシステムに関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a processor system constituting a control device such as a numerical control device or a computer, and particularly to a processor system in which the memory of the processor is modularized.

〔従来の技術〕[Conventional technology]

従来、マイクロプロセッサシステムでは、ROMにプロ
グラムの一部又は全部を格納し、その格納されたプログ
ラムをプロセッサで読み出して実行することによって、
システム全体を制御している。
Conventionally, in a microprocessor system, a part or all of a program is stored in a ROM, and the stored program is read and executed by a processor.
It controls the entire system.

通常、このようなマイクロプロセッサシステムとしては
、−枚のプリント板上にマイクロプロセッサ、ROM、
RAM及び制御回路等を実装した形態のものがほとんど
である。
Typically, such a microprocessor system includes a microprocessor, ROM, and
Most of them are equipped with RAM, control circuits, etc.

このような形態のマイクロプロセッサシステムの場合、
−船釣にROMとRAMとの間のICレベルでの信号端
子間の互換性はないので、ROM及びRAMは予め決め
られた箇所にしか実装できない。即ち、ROMの実装さ
れるべきところにRAMを実装することはできず、逆に
RA、Mの実装されるべきところにROMを実装するこ
ともできない。
In this type of microprocessor system,
- Since there is no compatibility between signal terminals at the IC level between ROM and RAM in boat fishing, ROM and RAM can only be installed in predetermined locations. That is, RAM cannot be installed where ROM should be installed, and conversely, ROM cannot be installed where RA and M should be installed.

従って、ROMに格納するプログラムを編集又はデバッ
グしようとすれば、編集作業が終了する毎にそのプログ
ラムをROMに書き込み、そのROMを実際のマイクロ
プロセッサシステムに実装して、その動作を確認するか
、又は、デバッグ装置等の外部機器にROMの代わりに
プログラムを格納するRAMを設けて、そのRAMに格
納されたプログラムに対して編集作業を行う等の方法を
採用していた。
Therefore, if you want to edit or debug a program stored in ROM, you must write the program to ROM every time the editing work is completed, install the ROM in the actual microprocessor system, and check its operation. Alternatively, a method has been adopted in which a RAM for storing programs is provided in place of a ROM in an external device such as a debugging device, and editing operations are performed on the programs stored in the RAM.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

しかし、編集作業が終了する毎にそのプログラムをRO
Mに書き込む方法は、プログラムの修正箇所が僅かであ
っても、その修正の度にROMの内容を書き換えなけれ
ばならない。この場合、ROMの書き込み速度は一般的
にRAMに比べて非常に遅く、また−旦書き込んだ後は
紫外線等でその内容を消去しなければならないため、書
き込み及び消去に時間を要し、非常に効率が悪いという
問題を有していた。
However, every time the editing work is completed, the program is
In the method of writing to M, the contents of the ROM must be rewritten every time the program is modified, even if only a small portion is modified. In this case, the writing speed of ROM is generally very slow compared to RAM, and once written, the contents must be erased with ultraviolet rays, etc., so writing and erasing takes time and is extremely slow. The problem was that it was inefficient.

また、デバッグ装置を用いる場合に、それにRAMが装
備されているとは限らず、たとえ装備されていたとして
もRAMの容量よりROMの容量の方が大きいと、デバ
ッグ装置内のRAMはその機能を完全に満足することは
できないという問題がある。
Also, when using a debug device, it is not necessarily equipped with RAM, and even if it is equipped, if the ROM capacity is larger than the RAM capacity, the RAM in the debug device will not be able to function properly. The problem is that you can't be completely satisfied.

辺上のように、従来はROMにプログラムを書き込んだ
り、−旦書き込まれたプログラムを編集したり、書き換
えたりすることは非常に効率の悪い作業であった。
As mentioned above, in the past, it was extremely inefficient to write a program into a ROM, or to edit or rewrite a program once written.

本発明はこのような点に鑑みてなされたものであり、R
OMに格納すべきプログラムを容易に編集及び書き換え
ることのできるプロセッサシステムを提供することを目
的とする。
The present invention has been made in view of these points, and R
It is an object of the present invention to provide a processor system in which programs to be stored in an OM can be easily edited and rewritten.

〔課題を解決するための手段〕[Means to solve the problem]

本発明では上記課題を解決するために、ROM内のプロ
グラムに応じて実行するプロセッサによって全体を制御
されるプロセッサシステムにおいて、第1のプリント板
上に実装された複数個の前記ROMで構成されるROM
モジュールと、前記ROMモジュールと同じ記憶容量を
有し、前記ROMモジュールと互換性の取れた入出力端
子を有するように第2のプリント板上に実装された複数
個のRAMでa或されるRAMモジュールと、前記プロ
セッサシステムのバスに接続され、前記ROMモジュー
ル及び前記RAMモジュールのいずれか一方を保持でき
るように構成されるソケットとを有することを特徴とす
るプロセッサシステムが提供される。
In order to solve the above-mentioned problems, the present invention provides a processor system that is entirely controlled by a processor that executes programs in a ROM, and is comprised of a plurality of the ROMs mounted on a first printed board. ROM
A RAM comprising a module and a plurality of RAMs mounted on a second printed board so as to have the same storage capacity as the ROM module and input/output terminals compatible with the ROM module. A processor system is provided, comprising: a module; and a socket connected to a bus of the processor system and configured to hold either the ROM module or the RAM module.

〔作用〕[Effect]

ROMモジュールはプログラムを格納するための複数個
のROMで描戊される。RAMモジュールはこのROM
モジュールと同じだけの記憶容量を有し、そしてROM
モジュールと互換性の取れた入出力端子を有するので、
プロセッサはROMモジュールもRAMモジュールも同
じ記憶素子として認識することができる。従って、プロ
セッサシステムのバスに接続され、ROMモジュール及
びRAMモジュールのいずれか一方を保持できるように
構成されたソケットに、どちらのモジュールを挿入して
もプロセッサは同じ記憶素子として扱えるので、プログ
ラムの編集及び書き換え作業時には、RAMモジュール
をソケットに挿入し、プログラム作成が終了した後に、
ROMモジュールをソケットに挿入し、プログラムの書
き込みを行う。これによって、ROMに格納すべきプロ
グラムを容易に編集したり、書き換えたりすることがで
きる。
The ROM module is represented by a plurality of ROMs for storing programs. The RAM module is this ROM
It has the same storage capacity as the module, and ROM
It has input/output terminals that are compatible with the module, so
The processor can recognize both the ROM module and the RAM module as the same storage element. Therefore, regardless of which module is inserted into a socket connected to the bus of the processor system and configured to hold either a ROM module or a RAM module, the processor can treat it as the same storage element, allowing program editing. During rewriting work, insert the RAM module into the socket, and after completing the program creation,
Insert the ROM module into the socket and write the program. This allows the program to be stored in the ROM to be easily edited or rewritten.

〔実施例〕〔Example〕

以下、本発明の一実施例を図面を用いて説明する。 An embodiment of the present invention will be described below with reference to the drawings.

第1図は本発明の一実施例である数値制御装置のハード
ウェアの概略構成を示す図である。
FIG. 1 is a diagram showing a schematic hardware configuration of a numerical control device that is an embodiment of the present invention.

図において、マイクロプロセッサ(CPU)1は数値制
御装置全体の動作を制御する。RAM2は、各種のデジ
タルデータ又は人出力信号を一時的に記憶する。ROM
モジュール7は複数個のROM71を実装したプリント
板で構成され、ソケット4に挿入されることによって、
データバス5及びアドレスバス6を介してプロセッサ1
と接続される。
In the figure, a microprocessor (CPU) 1 controls the operation of the entire numerical control device. The RAM 2 temporarily stores various digital data or human output signals. ROM
The module 7 is composed of a printed board on which a plurality of ROMs 71 are mounted, and when inserted into the socket 4,
Processor 1 via data bus 5 and address bus 6
connected to.

また、RAMモジュール8はROMモジュール7と同じ
だけの記憶容量を持つように複数個のRAM81を実装
したプリント板で構成され、同様にソケット4に挿入さ
れることによって、データバス5及びアドレスバス6を
介してプロセッサ1と接続される。
Further, the RAM module 8 is composed of a printed board on which a plurality of RAMs 81 are mounted so as to have the same storage capacity as the ROM module 7, and when similarly inserted into the socket 4, the data bus 5 and address bus 6 are connected to each other. It is connected to the processor 1 via.

従来、ROM71とRAM81の端子構造は、ICレベ
ルで異なっており、互換性がなかった。
Conventionally, the terminal structures of ROM 71 and RAM 81 were different at the IC level and were not compatible.

しかし、本実施例では、複数個のROM71をプリント
板に実装してR,0Mモジュール7とし、同様に複数個
のRAM81をプリント板に実装してRAMモジュール
8とし、両モジュール間で人出力の互換性が取れるよう
に、それぞれのROM71及びRAM81とプリント板
上の入出力端子との間を所定の配線で結合しである。従
って、どちらのモジュールがソケット4に挿入されてい
ても、プロセッサ1からは同じ容量及びアドレスのメモ
リとして見えることになる。
However, in this embodiment, a plurality of ROMs 71 are mounted on a printed board to form an R,0M module 7, and a plurality of RAMs 81 are similarly mounted on a printed board to form a RAM module 8. To ensure compatibility, the ROM 71 and RAM 81 are connected to the input/output terminals on the printed board using predetermined wiring. Therefore, no matter which module is inserted into the socket 4, it will appear to the processor 1 as a memory with the same capacity and address.

ROM71はEPROM又はEEPROMで構成され、
制御用のプログラムを格納する。プロセッサ1はデータ
バス5及びアドレスバス6を介してROMモジュール7
の各ROM71に格納されたプログラムを読みだし、こ
れに応じてRAM2に各種のデジタルデータを一時的に
記憶する。
ROM71 is composed of EPROM or EEPROM,
Stores control programs. Processor 1 connects ROM module 7 via data bus 5 and address bus 6.
The program stored in each ROM 71 is read out, and various digital data are temporarily stored in the RAM 2 accordingly.

周辺IC3は、不揮発性メモリ、グラフィック制御回路
及びインターフェース等の工作機械制御用の各種のIC
で構成される。
The peripheral IC3 includes various ICs for machine tool control such as nonvolatile memory, graphic control circuits, and interfaces.
Consists of.

以上のように、読み出し専用のROMモジュール7を随
時書き込み可能なRAMモジュール8に交換し、ソケッ
ト4にRAMモジュール8を挿入することによって、プ
ログラム開発時に、周辺■C3を介して外部メモリ等か
らプログラムをRAMモジュール8の各RAM81内に
格納することができる。格納されたプログラムに応じて
マイクロプロセッサ1を実行させ、プロセッサシステム
全体の制御状態を見る。
As described above, by replacing the read-only ROM module 7 with a writable RAM module 8 and inserting the RAM module 8 into the socket 4, it is possible to program from external memory etc. via the peripheral C3 during program development. can be stored in each RAM 81 of the RAM module 8. The microprocessor 1 is executed according to the stored program, and the control status of the entire processor system is checked.

この時に、プログラムに修正が必要な場合は、RAMモ
ジュール8内のプログラムを書き換えることによって容
易にプログラムを修正することができる。また、同様に
してプログラム自体を書き換えることもできる。このよ
うにしてプログラムの変更が終了し、プログラムが完成
した時点でRAMモジュール8の内容を一旦外部メモリ
に格納する。その後、RAMモジュール8をROMモジ
ュール7に交換し、外部メモリからROMモジュール7
に、そのプログラムの内容を書き込む。
At this time, if the program needs to be modified, the program can be easily modified by rewriting the program in the RAM module 8. Additionally, the program itself can be rewritten in the same way. When the program change is completed in this manner and the program is completed, the contents of the RAM module 8 are temporarily stored in the external memory. After that, replace the RAM module 8 with the ROM module 7, and read the ROM module 7 from the external memory.
Write the contents of the program to .

以上のように本実施例によれば、モジュールを差し換え
ることによって、ROM領域をRAM領域として取り扱
うことができるので、編集作業が終わる毎にROMへの
書き込み作業を行う必要がなく、迅速なプログラム開発
が可能となる。また、デバッグ装置等の外部機器にRO
Mの代わりにプログラムを格納するRAMを設ける必要
もなく、デバッグ機器の選択に際しての制約がなくなる
As described above, according to this embodiment, the ROM area can be treated as a RAM area by replacing the module, so there is no need to write to the ROM every time editing is completed, and the program can be quickly programmed. development becomes possible. In addition, it is possible to connect RO to external equipment such as debug equipment.
There is no need to provide a RAM for storing programs in place of M, and there are no restrictions on the selection of debug equipment.

さらに、デバッグ装置等の外部機器のRAM内にプログ
ラムを格納する場合と異なり、ROMと全く同じイメー
ジの場所(アドレス)にプログラムが存在するので、デ
バッグ装置の設定等の操作が簡単になる。
Furthermore, unlike the case where the program is stored in the RAM of an external device such as a debug device, the program exists in the exact same image location (address) as the ROM, so operations such as setting the debug device are simplified.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明によれば、ROMに格納すべ
きプロゲラl、の編集及び書き換えを容易に行うことが
できる。
As described above, according to the present invention, it is possible to easily edit and rewrite the program information to be stored in the ROM.

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

第1図は本発明の一実施例である数値制御装置のハード
ウェアの概略構成を示す図である。 マイクロプロセッサ RAM 周辺IC ソケット データバス アドレスバス −ROMモジュール OM RAMモジュール  A M 1 1
FIG. 1 is a diagram showing a schematic hardware configuration of a numerical control device that is an embodiment of the present invention. Microprocessor RAM Peripheral IC Socket Data Bus Address Bus-ROM Module OM RAM Module A M 1 1

Claims (1)

【特許請求の範囲】[Claims] (1)ROM内のプログラムに応じて実行するプロセッ
サによって全体を制御されるプロセッサシステムにおい
て、 第1のプリント板上に実装された複数個の前記ROMで
構成されるROMモジュールと、 前記ROMモジュールと同じ記憶容量を有し、前記RO
Mモジュールと互換性の取れた入出力端子を有するよう
に第2のプリント板上に実装された複数個のRAMで構
成されるRAMモジュールと、 前記プロセッサシステムのバスに接続され、前記ROM
モジュール及び前記RAMモジュールのいずれか一方を
保持できるように構成されるソケットとを有することを
特徴とするプロセッサシステム。
(1) In a processor system that is entirely controlled by a processor that executes according to a program in a ROM, the ROM module includes a plurality of ROMs mounted on a first printed board; have the same storage capacity and the RO
A RAM module configured of a plurality of RAMs mounted on a second printed board so as to have input/output terminals compatible with the M module; and a RAM module connected to the bus of the processor system and connected to the ROM
A processor system comprising: a module; and a socket configured to hold one of the RAM modules.
JP1325599A 1989-12-15 1989-12-15 Processor system Pending JPH03186944A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1325599A JPH03186944A (en) 1989-12-15 1989-12-15 Processor system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1325599A JPH03186944A (en) 1989-12-15 1989-12-15 Processor system

Publications (1)

Publication Number Publication Date
JPH03186944A true JPH03186944A (en) 1991-08-14

Family

ID=18178680

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1325599A Pending JPH03186944A (en) 1989-12-15 1989-12-15 Processor system

Country Status (1)

Country Link
JP (1) JPH03186944A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS51118932A (en) * 1975-04-11 1976-10-19 Toshiba Corp Write-modify method of program and the device
JPS59189445A (en) * 1983-04-12 1984-10-27 Mitsubishi Electric Corp Numerical controller

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS51118932A (en) * 1975-04-11 1976-10-19 Toshiba Corp Write-modify method of program and the device
JPS59189445A (en) * 1983-04-12 1984-10-27 Mitsubishi Electric Corp Numerical controller

Similar Documents

Publication Publication Date Title
JP2000065899A (en) Semiconductor device, and its data rewriting method
KR19980042796A (en) Microcomputer comprising flash EEPROM and method of erasing flash EEPROM
US6738308B2 (en) Asynchronous flash-EEPROM behaving like a synchronous RAM/ROM
JPH03186944A (en) Processor system
JPS6319058A (en) Memory device
JPH06272611A (en) Engine control device
JP2697022B2 (en) Unit operation setting method
JPH11259308A (en) Programmable controller
US5434979A (en) Disk drive controller
JP2853593B2 (en) Download device
JPS608557B2 (en) Computer with programmable read-only memory
JP2001147863A (en) Flash memory rewrite device
JP3997505B2 (en) System program rewriting method for programmable controller
JPS6348698A (en) Memory storage control device
JP3535337B2 (en) Microcomputer emulator program loading device
JPS61261900A (en) Semiconductor integrated circuit device
JPH03208158A (en) Electronic controller
RU15798U1 (en) COMPUTER SYSTEM
JPH02207344A (en) Software development supporting device
JPH08263281A (en) Flash memory editing device
JPH0381185B2 (en)
JPH08286948A (en) Device and method for supporting software development
RU2179332C1 (en) Computer system
JPH0516635B2 (en)
JPS59153247A (en) Debugging device