JPH0566992A - Data access system for eeprom - Google Patents

Data access system for eeprom

Info

Publication number
JPH0566992A
JPH0566992A JP22676891A JP22676891A JPH0566992A JP H0566992 A JPH0566992 A JP H0566992A JP 22676891 A JP22676891 A JP 22676891A JP 22676891 A JP22676891 A JP 22676891A JP H0566992 A JPH0566992 A JP H0566992A
Authority
JP
Japan
Prior art keywords
eeprom
data
cpu
static ram
bus
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
JP22676891A
Other languages
Japanese (ja)
Inventor
Akihiko Yamaguchi
昭彦 山口
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 JP22676891A priority Critical patent/JPH0566992A/en
Publication of JPH0566992A publication Critical patent/JPH0566992A/en
Pending legal-status Critical Current

Links

Landscapes

  • Microcomputers (AREA)
  • Read Only Memory (AREA)

Abstract

PURPOSE:To write data in an EEPROM by a CPU without being conscious of physical limit concerning the data write operation of the EEPROM and to improve entrie speed for the processing executed by the CPU by replacing the memory space of the EEPROM with a static RAM. CONSTITUTION:A static RAM 4 is directly connected to the address bus and data bus of a CPU 1. The address bus and data bus of an EEPROM 3 are connected through an EEPROM control part 2 to the respective buses of the CPU 1. Thus, the EEPROM 3 is used for storing data, and the CPU 1 accesses the data on this EEPROM 3. The static RAM 4 stores the completely same data as the data in the EEPROM 3 and can execute write/read from the CPU 1 at all times. Then, the EEPROM control part 2 controls the exchange of the data between the static RAM 4 and the EEPROM 3.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はCPUを有するディジタ
ル回路に関し、特にEEPROMを記憶素子として使用
する回路におけるEEPROMのデータアクセス方式に
関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a digital circuit having a CPU, and more particularly to an EEPROM data access method in a circuit using an EEPROM as a storage element.

【0002】[0002]

【従来の技術】EEPROMを記憶素子として使用する
従来のCPUを有するディジタル回路では、CPUがE
EPROMに記憶されたデータを直接アクセスしてい
る。
2. Description of the Related Art In a digital circuit having a conventional CPU using an EEPROM as a storage element, the CPU is
The data stored in the EPROM is directly accessed.

【0003】[0003]

【発明が解決しようとする課題】上述したように、EE
PROMを記憶素子として使用する従来のディジタル回
路では、CPUがEEPROMに記憶されたデータを直
接アクセスしている為、EEPROMにデータを書き込
む時、EEPROMの特性上、バイトライトに関して言
えばスタティックRAMの10万倍程度の時間を要す
る。従って、CPUがEEPROMに書き込み処理を行
う頻度が多ければ多い程、全体の処理時間が長くなると
いう問題点があった。
As described above, the EE
In a conventional digital circuit using a PROM as a storage element, since the CPU directly accesses the data stored in the EEPROM, when writing data to the EEPROM, due to the characteristics of the EEPROM, in terms of byte write, the static RAM has a capacity of 100,000. It takes about twice as long. Therefore, there is a problem that the more the CPU performs the writing process to the EEPROM, the longer the entire processing time becomes.

【0004】[0004]

【課題を解決するための手段】本発明のEEPROMの
データアクセス方式は、データを記憶するためのEEP
ROMと、このEEPROM上のデータをアクセスする
CPUと、前記EEPROMのデータと全く同一のデー
タを記憶し前記CPUから常に読み書きの行えるスタテ
ィックRAMと、このスタティックRAMのデータと前
記EEPROMのデータとの受け渡しを制御するEEP
ROM制御部とを有する構成である。
SUMMARY OF THE INVENTION The EEPROM data access method of the present invention is an EEPROM for storing data.
ROM, CPU for accessing data on the EEPROM, static RAM for storing exactly the same data as the data for the EEPROM so that the CPU can always read and write, and transfer of data in the static RAM and data for the EEPROM Controlling EEP
This is a configuration including a ROM control unit.

【0005】[0005]

【実施例】次に本発明について図面を参照して説明す
る。
The present invention will be described below with reference to the drawings.

【0006】図1は本発明の一実施例のブロック図であ
る。1はCPU、2はEEPROM制御部、3はEEP
ROM、4はスタティックRAMである。スタティック
RAM4はCPU1のアドレスバス及びデータバスと直
接接続されている。EEPROM3のアドレスバス及び
データバスは、EEPROM制御部2を介しCPU1の
各バスに接続されている。
FIG. 1 is a block diagram of an embodiment of the present invention. 1 is a CPU, 2 is an EEPROM controller, 3 is an EEP
ROM 4 is a static RAM. The static RAM 4 is directly connected to the address bus and data bus of the CPU 1. The address bus and data bus of the EEPROM 3 are connected to each bus of the CPU 1 via the EEPROM control unit 2.

【0007】次に、CPU1からEEPROM3への書
き込み動作について説明する。EEPROM制御部2は
CPU1から発生する書き込みデータ及びアドレスを一
時的にスタックするメモリを有しており、最初に書かれ
たデータから逐次、EEPROM3の書き込み仕様に従
い指定アドレスに書き込んでいく。同時に、CPU1と
直接バスで接続されているスタティックRAM4に同じ
データが書き込まれる。
Next, the write operation from the CPU 1 to the EEPROM 3 will be described. The EEPROM control unit 2 has a memory that temporarily stacks write data and addresses generated from the CPU 1, and sequentially writes the first written data to designated addresses according to the write specifications of the EEPROM 3. At the same time, the same data is written in the static RAM 4 which is directly connected to the CPU 1 via the bus.

【0008】次に、CPU1からEEPROM3上のデ
ータの読み込み動作について説明する。通常CPU1か
らEEPROM3のデータを読み込む場合、CPU1と
直接バスで接続されているスタティックRAM4のデー
タを読み込む。即ち間接的にEEPROM3のデータを
読み込むことになる。
Next, the operation of reading the data on the EEPROM 3 from the CPU 1 will be described. When the data in the EEPROM 3 is normally read from the CPU 1, the data in the static RAM 4 directly connected to the CPU 1 via the bus is read. That is, the data in the EEPROM 3 is indirectly read.

【0009】ここでEEPROM3の実際のデータを読
み込みたい場合は、CPU1からEEPROM3のデー
タを直接読み込む為のアドレスを発生する。これを受け
たEEPROM制御部2はEEPROM3の指定アドレ
スをデコードし、得られたEEPROM3のデータをC
PU1が接続されているデータバスに出力する。図2に
CPU1から見たメモリマップの一例を示す。
If it is desired to read the actual data in the EEPROM 3, the CPU 1 generates an address for directly reading the data in the EEPROM 3. Receiving this, the EEPROM control section 2 decodes the designated address of the EEPROM 3 and stores the obtained data of the EEPROM 3 in C
Output to the data bus to which PU1 is connected. FIG. 2 shows an example of the memory map viewed from the CPU 1.

【0010】次に、スタティックRAM4の初期設定に
ついて説明する。本発明の回路が起動したときスタティ
ックRAM4のデータは不定である。従って、EEPR
OM3のデータを複写する必要がある。その場合CPU
1は上述したように、EEPROM制御部2を介しEE
PROM3の実際のデータを読み込み、そのデータをス
タティックRAM4に書き込んでスタティックRAM4
のデータを初期化する。
Next, the initial setting of the static RAM 4 will be described. When the circuit of the present invention is activated, the data in the static RAM 4 is indefinite. Therefore, EEPR
It is necessary to copy the data of OM3. In that case CPU
As described above, the reference numeral 1 indicates the EE via the EEPROM control unit 2.
The actual data of PROM3 is read, and the data is written in static RAM4, and static RAM4
Initialize the data of.

【0011】この時EEPROM制御部2は、EEPR
OM3へのデータの書き込みは行わない。即ちEEPR
OM制御部2はEEPROM3への書き込みをしない機
能を有している。この設定はCPU1により設定され
る。
At this time, the EEPROM control section 2 causes the EEPROM to
No data is written to OM3. That is, EEPR
The OM control unit 2 has a function of not writing to the EEPROM 3. This setting is set by the CPU 1.

【0012】[0012]

【発明の効果】以上説明したように本発明は、EEPR
OMのメモリ空間をスタティックRAMに置き換えるこ
とにより、EEPROMが持つデータ書き込み操作に関
する物理的制約を意識する事なしに、CPUがEEPR
OMにデータを書き込むことが出来るようになる為、C
PUが行う全体の処理速度が向上するという効果があ
る。
As described above, the present invention is based on the EEPR.
By replacing the memory space of the OM with the static RAM, the CPU can operate the EEPR without being aware of the physical restrictions on the data writing operation of the EEPROM.
Since data can be written to OM, C
This has the effect of improving the overall processing speed of the PU.

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

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

【図2】図1におけるCPUから見たメモリマップの一
例を示す図である。
FIG. 2 is a diagram showing an example of a memory map viewed from a CPU in FIG.

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

1 CPU 2 EEPROM制御部 3 EEPROM 4 スタティックRAM 1 CPU 2 EEPROM control section 3 EEPROM 4 static RAM

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 データを記憶するためのEEPROM
と、このEEPROM上のデータをアクセスするCPU
と、前記EEPROMのデータと全く同一のデータを記
憶し前記CPUから常に読み書きの行えるスタティック
RAMと、このスタティックRAMのデータと前記EE
PROMのデータとの受け渡しを制御するEEPROM
制御部とを有することを特徴とするEEPROMのデー
タアクセス方式。
1. An EEPROM for storing data
And a CPU to access the data on this EEPROM
A static RAM that stores exactly the same data as the EEPROM and can be read and written by the CPU at all times; and the static RAM data and the EE
EEPROM for controlling exchange with PROM data
A data access method for an EEPROM, comprising: a control unit.
JP22676891A 1991-09-06 1991-09-06 Data access system for eeprom Pending JPH0566992A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP22676891A JPH0566992A (en) 1991-09-06 1991-09-06 Data access system for eeprom

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP22676891A JPH0566992A (en) 1991-09-06 1991-09-06 Data access system for eeprom

Publications (1)

Publication Number Publication Date
JPH0566992A true JPH0566992A (en) 1993-03-19

Family

ID=16850312

Family Applications (1)

Application Number Title Priority Date Filing Date
JP22676891A Pending JPH0566992A (en) 1991-09-06 1991-09-06 Data access system for eeprom

Country Status (1)

Country Link
JP (1) JPH0566992A (en)

Similar Documents

Publication Publication Date Title
KR100867900B1 (en) Sdram memory device with an embedded nand flash controller
US8914602B2 (en) Display controller having an embedded non-volatile memory divided into a program code block and a data block and method for updating parameters of the same
JPH09167495A (en) Data storage unit and data storage device using the same
JPH0221616B2 (en)
JPS59188764A (en) Memory device
JPH0566992A (en) Data access system for eeprom
JP2002318779A (en) Device, and access method for its register
JPH10312307A (en) Emulator for computer system
JPH04237346A (en) Microprocessor system
JPS605369A (en) Memory control system
JPH01181137A (en) Storage unit
JP3074984B2 (en) Memory management device
CN113836050A (en) Memory access control method, device, equipment and readable storage medium
JP2581057B2 (en) Evaluation microcomputer
JPH04245346A (en) Microcomputer system
JPH05334506A (en) Ic memory card
JPH08272603A (en) Data processor
JPH04350731A (en) Development backup system
JPH0865497A (en) Image processing system
JPH0773094A (en) Memory initialization controller
JPS59231665A (en) Disk controller
JPH05282194A (en) Memory access control system
JPH01260559A (en) Microcomputer system
JPS62130438A (en) Memory access system
JPH04365142A (en) Development backup system