JPH0573408A - Memory control system - Google Patents

Memory control system

Info

Publication number
JPH0573408A
JPH0573408A JP23262991A JP23262991A JPH0573408A JP H0573408 A JPH0573408 A JP H0573408A JP 23262991 A JP23262991 A JP 23262991A JP 23262991 A JP23262991 A JP 23262991A JP H0573408 A JPH0573408 A JP H0573408A
Authority
JP
Japan
Prior art keywords
memory
program
select signal
mpu
control program
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
JP23262991A
Other languages
Japanese (ja)
Inventor
Koji Fujita
孝二 藤田
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.)
Niigata Fuji Xerox Manufacturing Co Ltd
Original Assignee
Niigata Fuji Xerox Manufacturing 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 Niigata Fuji Xerox Manufacturing Co Ltd filed Critical Niigata Fuji Xerox Manufacturing Co Ltd
Priority to JP23262991A priority Critical patent/JPH0573408A/en
Publication of JPH0573408A publication Critical patent/JPH0573408A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

PURPOSE:To automatically select a memory in which a supplementary program is stored. CONSTITUTION:When a power source is turned on, an MPU 1 sets a memory selector signal 9 to a Logical '1' state, an address decoder 2 outputs a memory select signal 10 in order to execute an actuation program and a select signal 12 to a memory A 3 is outputted, and an actuation program 15 stored in the memory A 3 is executed by the MPU 1. By the actuation program 15, the contents of a memory B 4 are read, compared with a predefined value, and whether the memory B 4 is loaded or not is decided. When the MPU 1 decides that the memory B 4 is loaded by the actuation program 15, the MPU 1 sets the memory select signal 9 to logical '0'. Thereafter, when the MPU 1 executes a control program 16, a memory select signal 11 is outputted by the address decoder 2, and a memory select signal 13 is out-putted by an OR circuit 7, therefore, and the-improved control program 16 stored in the memory B 4 is executed.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はメモリ制御方式に関し、
特に複数のメモリの選択の制御方式に関する。
BACKGROUND OF THE INVENTION The present invention relates to a memory control system,
In particular, it relates to a control method for selecting a plurality of memories.

【0002】[0002]

【従来の技術】従来のこの種のメモリ制御方式は、図4
に示すように、マイクロプロセッサユニット(MPU)
1と、アドレスデコーダ2と、メモリA3と、メモリB
4と、メモリセレクトスイッチ18とを有して構成して
いる。
2. Description of the Related Art A conventional memory control system of this type is shown in FIG.
As shown in, microprocessor unit (MPU)
1, an address decoder 2, a memory A3, and a memory B
4 and a memory select switch 18 are provided.

【0003】メモリA3内には、装置を制御する制御プ
ログラムとデータ部とを有していて、メモリA3のみで
装置を制御する場合は、メモリセレクトスイッチ18を
オフにし、アドレスデコーダ2からメモリA3へのセレ
クト信号12を出力する。
The memory A3 has a control program for controlling the device and a data section. When the device is controlled only by the memory A3, the memory select switch 18 is turned off and the address decoder 2 to the memory A3. The select signal 12 is output.

【0004】次に、メモリA3内にある制御プログラム
に欠陥があるが同メモリA3内に入っているデータ部だ
けは有効の時は、改善された制御プログラムのみの入っ
たメモリB4を搭載させ、メモリセレクトスイッチ18
を手動でオンにし、アドレスデコーダ2からメモリB4
へのセレクト信号13を出力する。
Next, when the control program in the memory A3 is defective, but only the data part in the memory A3 is valid, the memory B4 containing only the improved control program is mounted, Memory select switch 18
Is turned on manually, and the address decoder 2 to the memory B4
To output the select signal 13 to.

【0005】[0005]

【発明が解決しようとする課題】この従来のメモリ制御
方式では、図4に示すようにメモリA3内の制御プログ
ラムに欠陥があった場合に、メモリB4を搭載させ、そ
のメモリB4内の制御プログラムで動作させる場合に
は、メモリセレクタスイッチ18を手動で切りかえる必
要があるという問題点がある。
In this conventional memory control system, when the control program in the memory A3 is defective as shown in FIG. 4, the memory B4 is mounted and the control program in the memory B4 is installed. However, there is a problem in that it is necessary to manually switch the memory selector switch 18 in the case of operating with.

【0006】[0006]

【課題を解決するための手段】本発明のメモリ制御方式
は、マイクロプロセッサユニットを有したメモリ制御方
式において、起動プログラムと第1の制御プログラムと
データ部とを格納したメモリと、前記第1の制御プログ
ラムの欠陥を補う第2の制御プログラムを格納する補完
メモリとを備え、前記起動プログラム内に前記補完メモ
リの実装の有無を判断する判断プログラムを有してこの
判断プログラムにより前記補完メモリ実装時に前記第2
の制御プログラムを実行させる制御手段を有している。
A memory control system of the present invention is a memory control system having a microprocessor unit, wherein a memory storing a start-up program, a first control program and a data section, and the first memory are stored. A complementary memory for storing a second control program for compensating for a defect in the control program, and a judgment program for judging whether or not the complementary memory is mounted is provided in the startup program. The second
It has a control means for executing the control program.

【0007】[0007]

【実施例】次に、本発明について図面を参照して説明す
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be described with reference to the drawings.

【0008】図1は本発明の一実施例のメモリ制御方式
を示すブロック図、図2は本実施例におけるメモリAの
メモリマップ図、図3は本実施例におけるメモリAに格
納されている起動プログラムの流れ図である。
FIG. 1 is a block diagram showing a memory control system according to an embodiment of the present invention, FIG. 2 is a memory map diagram of a memory A in this embodiment, and FIG. 3 is a start-up stored in the memory A in this embodiment. It is a flow chart of a program.

【0009】図1において、本実施例はマイクロプロセ
ッサユニット(MPU)1が本実施例全体の制御を行
い、アドレスデコーダ2はMPU1から出力されるアド
レスバス8をメモリA3,メモリB4に割り振る為のメ
モリセレクト信号10,11を出力し、メモリA3には
図2に示すメモリマップ図に示してあるように電源投入
時に動作する起動プログラム15、通常装置全体を制御
する制御プログラム16及びこれらのプログラムとは独
立したデータを持つ文字データ部17とを有し、メモリ
B4にはメモリA3の中の制御プログラム16の欠陥を
補った制御プログラムが格納され、論理積回路5はメモ
リセレクト信号10と論理和回路6の出力との論理積を
とってメモリA3に対するメモリセレクト信号12を作
り、論理和回路7はメモリセレクト信号11とメモリセ
レクト信号9との論理和をとってメモリB4へのセレク
ト信号13を作る回路を有して構成している。
In FIG. 1, in this embodiment, a microprocessor unit (MPU) 1 controls the whole of this embodiment, and an address decoder 2 allocates an address bus 8 output from the MPU 1 to a memory A3 and a memory B4. The memory select signals 10 and 11 are output, and in the memory A3, as shown in the memory map diagram of FIG. 2, a startup program 15 that operates at power-on, a control program 16 that controls the entire normal device, and these programs. Has a character data section 17 having independent data, the memory B4 stores a control program that compensates for the defect of the control program 16 in the memory A3, and the AND circuit 5 logically sums with the memory select signal 10. The logical product with the output of the circuit 6 is taken to produce the memory select signal 12 for the memory A3, and the logical sum circuit 7 Constitute a circuit for making a select signal 13 to the memory B4 taking the logical sum of the memory selection signal 11 and the memory select signals 9.

【0010】次に、本実施例の動作について図1,図2
および図3を用いて説明する。
Next, the operation of this embodiment will be described with reference to FIGS.
And it demonstrates using FIG.

【0011】今、本実施例を適用する装置に電源が投入
されたとすると、MPU1はメモリセレクト信号9を論
理“1”状態にし、アドレスデコーダ2は起動プログラ
ム15を実行させる為にメモリセレクト信号10を出力
してメモリA3へのセレクト信号12が出力され、メモ
リA3に格納されている起動プログラム15がMPU1
により実行される。
Now, assuming that the apparatus to which this embodiment is applied is powered on, the MPU 1 sets the memory select signal 9 to the logic "1" state, and the address decoder 2 executes the start program 15 to select the memory select signal 10. Is output to output the select signal 12 to the memory A3, and the start program 15 stored in the memory A3 causes the MPU1 to operate.
Executed by.

【0012】起動プログラム15には、図3の流れ図に
示す様に、メモリB4内容を読み(S11)、既定値と
比較してメモリB4が搭載されているかどうかを判断す
る(S12)。MPU1が起動プログラム15によって
メモリB4が搭載されていると判断すると、MPU1は
メモリセレクト信号9を論理“0”にする。その後、M
PU1が制御プログラム16を実行させるとアドレスデ
コーダ2によってメモリセレクト信号11が出力され、
論理和回路7によって、メモリセレクト信号13が出力
される為、メモリB4に格納されている改良された制御
プログラムが実行される。
As shown in the flow chart of FIG. 3, the start-up program 15 reads the contents of the memory B4 (S11) and compares it with a predetermined value to judge whether the memory B4 is mounted (S12). When the MPU 1 determines that the memory B4 is mounted by the startup program 15, the MPU 1 sets the memory select signal 9 to the logic "0". Then M
When the PU 1 executes the control program 16, the address decoder 2 outputs the memory select signal 11,
Since the memory select signal 13 is output by the OR circuit 7, the improved control program stored in the memory B4 is executed.

【0013】一方、MPU1が起動プログラム15から
メモリB4の搭載を認めなかった場合には、MPU1は
メモリセレクト信号9を論理“1”にする。その後、M
PU1がメモリA3に格納してある制御プログラム16
を実行させると、同様にアドレスデコーダ2によってメ
モリセレクト信号11が出力され、論理和回路6によっ
て、メモリセレクト信号12が出力される。
On the other hand, when the MPU 1 does not recognize the mounting of the memory B4 from the boot program 15, the MPU 1 sets the memory select signal 9 to the logic "1". Then M
Control program 16 stored in memory A3 by PU1 16
Similarly, the address decoder 2 outputs the memory select signal 11 and the OR circuit 6 outputs the memory select signal 12.

【0014】[0014]

【発明の効果】以上説明したように本発明は、第1のメ
モリに格納している起動プログラムの中に別の改良され
た制御プログラムのが格納された第2のメモリがあるか
否かの判断プログラムを入れ、マイクロプロセッサユニ
ットのコントロールによって自動的に改良された制御プ
ログラムの入った第2のメモリを選択する制御手段を有
することにより、外部からの手動の選択なしに、自動的
に制御プログラムを選択することができるという効果を
有する。
As described above, according to the present invention, whether or not the startup program stored in the first memory has the second memory in which another improved control program is stored. By having a control means for inputting the judgment program and automatically selecting the second memory containing the improved control program by the control of the microprocessor unit, the control program can be automatically controlled without manual selection from the outside. Has the effect that can be selected.

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

【図1】本発明の一実施例を示すブロック図である。FIG. 1 is a block diagram showing an embodiment of the present invention.

【図2】本実施例におけるメモリAのメモリマップを示
す図である。
FIG. 2 is a diagram showing a memory map of a memory A in this embodiment.

【図3】本実施例におけるメモリAに格納されている起
動プログラムの流れ図である。
FIG. 3 is a flowchart of a boot program stored in a memory A according to the present embodiment.

【図4】従来のメモリ制御方式の一例を示すブロック図
である。
FIG. 4 is a block diagram showing an example of a conventional memory control method.

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

1 マイクロプロセッサユニット(MPU) 2 アドレスデコーダ 3 メモリA 4 メモリB 5 論理積回路 6 論理和回路 7 論理和回路 8 アドレスバス 9 メモリセレクト信号 10 メモリセレクト信号 11 メモリセレクト信号 12 セレクト信号 13 セレクト信号 14 データバス 15 起動プログラム 16 制御プログラム 17 文字データ部 18 メモリセレクトスイッチ 1 Microprocessor unit (MPU) 2 Address decoder 3 Memory A 4 Memory B 5 Logical product circuit 6 Logical sum circuit 7 Logical sum circuit 8 Address bus 9 Memory select signal 10 Memory select signal 11 Memory select signal 12 Select signal 13 Select signal 14 Data bus 15 Startup program 16 Control program 17 Character data section 18 Memory select switch

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 マイクロプロセッサユニットを有したメ
モリ制御方式において、起動プログラムと第1の制御プ
ログラムとデータ部とを格納したメモリと、前記第1の
制御プログラムの欠陥を補う第2の制御プログラムを格
納する補完メモリとを備え、前記起動プログラム内に前
記補完メモリの実装の有無を判断する判断プログラムを
有してこの判断プログラムにより前記補完メモリ実装時
に前記第2の制御プログラムを実行させる制御手段を有
することを特徴とするメモリ制御方式。
1. A memory control method having a microprocessor unit, comprising: a memory storing a start program, a first control program and a data section; and a second control program for compensating for a defect in the first control program. Complementary memory for storing, a control program for determining whether or not the complementary memory is mounted is provided in the boot program, and a control means for executing the second control program when the complementary memory is mounted by the determination program. A memory control method characterized by having.
JP23262991A 1991-09-12 1991-09-12 Memory control system Pending JPH0573408A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP23262991A JPH0573408A (en) 1991-09-12 1991-09-12 Memory control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP23262991A JPH0573408A (en) 1991-09-12 1991-09-12 Memory control system

Publications (1)

Publication Number Publication Date
JPH0573408A true JPH0573408A (en) 1993-03-26

Family

ID=16942316

Family Applications (1)

Application Number Title Priority Date Filing Date
JP23262991A Pending JPH0573408A (en) 1991-09-12 1991-09-12 Memory control system

Country Status (1)

Country Link
JP (1) JPH0573408A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63101931A (en) * 1986-10-17 1988-05-06 Minolta Camera Co Ltd Program control system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63101931A (en) * 1986-10-17 1988-05-06 Minolta Camera Co Ltd Program control system

Similar Documents

Publication Publication Date Title
US6170043B1 (en) Method for controlling an optic disk
JPH11184703A (en) Information processor and boot method
KR20060101164A (en) Recording medium recording information processing device, high speed start method and program
JPH10222362A (en) Microcomputer incorporating flash eeprom
JPH0573408A (en) Memory control system
US5974519A (en) Address re-designate circuit for microcontroller
JPH0648452B2 (en) Microcomputer
JP2710890B2 (en) Memory designation controller
US6713778B2 (en) Register setting method and semiconductor device
JP3190735B2 (en) Memory chip select switching circuit
JPH06208525A (en) Method for switching operation mode of processor
JPH06230857A (en) Reset device
JP2005082291A (en) Elevator control device
JPH05282232A (en) Device control mechanism
JPH05173676A (en) Disk power source control system
JPS63275097A (en) Non-volatile memory
JPH04246729A (en) Memory selection control method in i/o adaptor
JP2000322265A (en) Memory device, method for reprogramming boot area of memory device, computer unit having memory device
JPS62236745A (en) Data processing device
JPS6051737B2 (en) Option instruction illegal processing method
JPH0789330B2 (en) Computer
JPH11224197A (en) Program download system for digital signal receiver
JPH05241853A (en) Programmable controller
JP2006099215A (en) Computer device with download board
JPH0651826A (en) Teaching device for robot

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19990309