JP2012022754A - Flash rom emulator and data control method - Google Patents

Flash rom emulator and data control method Download PDF

Info

Publication number
JP2012022754A
JP2012022754A JP2010160755A JP2010160755A JP2012022754A JP 2012022754 A JP2012022754 A JP 2012022754A JP 2010160755 A JP2010160755 A JP 2010160755A JP 2010160755 A JP2010160755 A JP 2010160755A JP 2012022754 A JP2012022754 A JP 2012022754A
Authority
JP
Japan
Prior art keywords
drams
refresh
ddr2
flash rom
external device
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.)
Granted
Application number
JP2010160755A
Other languages
Japanese (ja)
Other versions
JP5676169B2 (en
Inventor
Koju Sato
幸樹 佐藤
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 Embedded Products Ltd
Original Assignee
NEC Embedded Products 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 NEC Embedded Products Ltd filed Critical NEC Embedded Products Ltd
Priority to JP2010160755A priority Critical patent/JP5676169B2/en
Publication of JP2012022754A publication Critical patent/JP2012022754A/en
Application granted granted Critical
Publication of JP5676169B2 publication Critical patent/JP5676169B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Dram (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a flash ROM emulator, etc., capable of executing a read operation of DRAM even in a refreshing period of the DRAM, such as DDR2-SDRAM, being used.SOLUTION: The flash ROM emulator includes a plurality of DRAMs such as mirrored DDR2-SDRAMs, and reads out data from un-refreshed DRAM among the plurality of DRAMs according to a read request from a processor or external devices.

Description

本発明は、アプリケーションのデバッグ等に用いられるフラッシュROMエミュレータの技術に関する。   The present invention relates to a technology of a flash ROM emulator used for application debugging or the like.

図6に示すような、CPU(Central Processing Unite)・VDP(Video Display Processor)21とバッファ22とフラッシュROM23とが1つの基板上に配置された構成において、少なくとも1つ以上のフラッシュROM23に格納されるアプリケーション等のデータは、リード要求の場合、バッファを介してCPU・VDP21等からのチップセレクト(CS)・アドレス(AD)・リード(RD)等の命令を受けて、データバス(DT)からリードされ実行される。これらの一連のやりとりはフラッシュROMインターフェースにより行われる。   In a configuration in which a CPU (Central Processing Unite) / VDP (Video Display Processor) 21, a buffer 22, and a flash ROM 23 are arranged on one substrate as shown in FIG. In the case of a read request, data such as application data received from the data bus (DT) upon receiving a command such as chip select (CS), address (AD), read (RD) from the CPU / VDP 21 via the buffer Read and execute. A series of these exchanges is performed by a flash ROM interface.

フラッシュROMに格納されるアプリケーション等の開発段階におけるデバッグ等に際しては、フラッシュROMを内蔵したマイクロコンピュータは所定の構成により基板に実装された状態でフラッシュROMの内容を書き換える(リード・ライト)ことができる。すなわち、フラッシュROMを内蔵したマイクロコンピュータは、フラッシュROMに対してプログラムのリード・ライト処理を行うフラッシュ制御回路と、フラッシュROMに対するリード・ライト処理用のプログラムが格納されたフラッシュ制御ROM等とを備えることにより、フラッシュROMの書き換え時、CPUはフラッシュ制御ROMに格納されたプログラムに従い、フラッシュ制御回路を用いてフラッシュROMに対するプログラムのリード・ライト処理を行うことができる。
ここで、フラッシュROMに格納されるアプリケーション等の開発段階におけるデバッグ等の作業中には頻繁にフラッシュROMの書き換えが発生するので、アプリケーションのデバッグ効率を上げるために、フラッシュROMの書き換えを短時間(高アクセス速度)で行いたいという要望がある。
When debugging an application stored in the flash ROM at the development stage, the microcomputer incorporating the flash ROM can rewrite (read / write) the contents of the flash ROM while being mounted on the board with a predetermined configuration. . That is, a microcomputer incorporating a flash ROM includes a flash control circuit that performs read / write processing of programs on the flash ROM, a flash control ROM that stores a program for read / write processing on the flash ROM, and the like. Thus, when the flash ROM is rewritten, the CPU can read / write the program to the flash ROM using the flash control circuit in accordance with the program stored in the flash control ROM.
Here, since the flash ROM is frequently rewritten during the debugging of the application stored in the flash ROM in the development stage, the flash ROM can be rewritten in a short time (to increase the debugging efficiency of the application). There is a desire to perform at high access speed.

そこで、フラッシュROMの替わりに、フラッシュROMエミュレータとして、フラッシュROMよりアクセス速度が速い疑似SRAM(PSRAM:ハードウェアによって実装されるエミュレータ)を使用することが提案されている。
その場合の構成を図7に示す。図7では、CPU・VDP31とバッファ・セレクタ32と疑似SRAM33とが開発用の専用の1つの基板上に配置され、所定のCPU35が他の基板上に配置され、外部にデバッグ等の作業を行うPC(Personal Computer)34が設けられている。
Therefore, it has been proposed to use a pseudo SRAM (PSRAM: emulator implemented by hardware), which has a higher access speed than the flash ROM, instead of the flash ROM.
The configuration in that case is shown in FIG. In FIG. 7, the CPU / VDP 31, the buffer selector 32, and the pseudo SRAM 33 are arranged on one development-dedicated board, and the predetermined CPU 35 is arranged on another board to perform debugging and the like outside. A PC (Personal Computer) 34 is provided.

CPU・VDP31〜バッファ・セレクタ32〜疑似SRAM33
図7に示すような構成において、少なくとも1つ以上の疑似SRAM33に格納されるアプリケーション等のデータは、リード要求の場合、バッファ・セレクタ32を介してCPU・VDP31等からのチップセレクト(CS)・アドレス(AD)・リード(RD)等の命令を受けて、データバス(DT)を経由してリードされる。これらの一連のやりとりは上記のフラッシュROMインターフェースと同一のインターフェースであるSRAMインターフェースにより行われる。
CPU / VDP 31 to buffer selector 32 to pseudo SRAM 33
In the configuration shown in FIG. 7, data such as an application stored in at least one pseudo SRAM 33 is read from the CPU / VDP 31 or the like via the buffer / selector 32 in the case of a read request. In response to a command such as an address (AD) / read (RD), it is read via a data bus (DT). A series of these exchanges is performed by an SRAM interface which is the same interface as the flash ROM interface.

PC34〜CPU35〜バッファ・セレクタ32〜疑似SRAM33
一方、図7に示すような構成において、デバッグ等の作業を行うPC34等はUSB等を経由して、USBインターフェース等からSRAMインターフェースへ変換する機能を有する所定のCPU35を介してチップセレクト(CS)・アドレス(AD)・リード(RD)・ライト(WR)等の命令を送る。この命令はバッファ・セレクタ32を介してデータバス(DT)を経由して疑似SRAM33に送られ、ライト要求の場合、疑似SRAM33にデータがライトされ、一方リード要求の場合、疑似SRAM33に格納されるアプリケーション等のデータは、バッファ・セレクタ32を介してデータバス(DT)を経由してリードされる。これらの一連のやりとりのうちUSBインターフェースによるPC34と所定のCPU35とのやりとり以外は、上記のフラッシュROMインターフェースと同一のインターフェースであるSRAMインターフェースにより行われる。
なお、最終的にデバッグ等が済んだアプリケーション等は、ROMライタにより図6に示すような構成におけるフラッシュROM23に格納される。
PC 34 to CPU 35 to buffer selector 32 to pseudo SRAM 33
On the other hand, in the configuration as shown in FIG. 7, the PC 34 or the like that performs work such as debugging performs chip select (CS) via a predetermined CPU 35 having a function of converting from the USB interface or the like to the SRAM interface via USB or the like. Send instructions such as address (AD), read (RD), and write (WR). This instruction is sent to the pseudo SRAM 33 via the data selector (DT) via the buffer selector 32. In the case of a write request, the data is written to the pseudo SRAM 33. On the other hand, in the case of a read request, it is stored in the pseudo SRAM 33. Data such as an application is read via the data selector (DT) via the buffer selector 32. Of these series of exchanges, those other than the exchange between the PC 34 and the predetermined CPU 35 via the USB interface are performed by the SRAM interface which is the same interface as the flash ROM interface.
Note that the application and the like that have been finally debugged are stored in the flash ROM 23 having the configuration shown in FIG. 6 by the ROM writer.

しかし、近時、例えば、以下のような数値のようにフラッシュROMのアクセス速度が速くなり、疑似SRAMでは対応できなくなってきている。   However, recently, for example, the access speed of the flash ROM has increased as shown in the following numerical values, and the pseudo SRAM has become unable to cope with it.

フラッシュROMのアクセス速度(要求されるアクセス速度)
ランダムアクセス:96ns(ナノ秒、以下同様)
ページアクセス(連続したアドレスに短いタイミングでアクセス可能):15ns
疑似SRAMを使用した場合のアクセス速度
ランダムアクセス:70ns
ページアクセス:20ns
Flash ROM access speed (required access speed)
Random access: 96 ns (nanosecond, the same applies below)
Page access (access to consecutive addresses with short timing): 15 ns
Access speed when using pseudo SRAM Random access: 70ns
Page access: 20ns

従って、上記の疑似SRAMに代わるフラッシュROMエミュレータが求められることとなる。   Therefore, there is a need for a flash ROM emulator that replaces the pseudo SRAM described above.

ここで、フラッシュROMエミュレータとして、疑似SRAMの替わりに、例えば、以下のような数値の性能であるDDR2−SDRAMを使用できれば、低コストでアクセス速度の問題を解決できる。   Here, if the DDR2-SDRAM having the following numerical performance can be used instead of the pseudo SRAM as the flash ROM emulator, for example, the problem of the access speed can be solved at a low cost.

DDR2−SDRAMのアクセス速度
ランダムアクセス:66.6ns
ページアクセス:0ns(ランダムアクセスの66.6nsで、実質的に1ページ分(8ワード:16bit)のデータをリード可能なので)
DDR2-SDRAM access speed Random access: 66.6 ns
Page access: 0 ns (Since random access is 66.6 ns, data for one page (8 words: 16 bits) can be read substantially)

価格比較
疑似SRAM:128Mbitで市場価格500円
16Gbit:500円×128個=64,000円
DDR2−SDRAM:16Gbitで市場価格5,000円
Price comparison Pseudo SRAM: 128 Mbit and market price 500 yen 16 Gbit: 500 yen × 128 pieces = 64,000 yen DDR2-SDRAM: Market price 5,000 yen at 16 Gbit

フラッシュROMに格納されたプログラムをデバッグする際の関連技術として、フラッシュROMエミュレータを用いるのではなく、CPUと、CPUで実行するプログラムが書き換え可能に格納されるフラッシュROMとを有するマイクロコンピュータにおいて、フラッシュROMに格納されたプログラムをデバッグするためのデバッグプログラムが格納されたメモリと、デバッグ時に、CPUにデバッグプログラムを実行させる切換回路とを有することで、プリント基板に実装された状態でのデバッグを可能にする技術もある(例えば、特許文献1参照)。   As a related technique for debugging a program stored in a flash ROM, a flash is not used in a microcomputer, but a microcomputer having a CPU and a flash ROM in which a program executed by the CPU is stored in a rewritable manner. Debugging in a state mounted on a printed circuit board is possible by having a memory storing a debugging program for debugging a program stored in the ROM and a switching circuit for causing the CPU to execute the debugging program during debugging. There is also a technique (see, for example, Patent Document 1).

特開平11−65884号公報JP 11-65884 A

しかしながら、フラッシュROMエミュレータとして、DDR2−SDRAMを使用した場合には、定期的にリフレッシュ(データを保持するためにDRAMの素子に電荷を補充すること)が必要で、リフレッシュ期間中はノイズの発生等に起因してDDR2−SDRAMのリードを実施できないという問題があるため、リフレッシュ中にDDR2−SDRAMのリードを実施できるようにするための工夫が必要になる。   However, when a DDR2-SDRAM is used as a flash ROM emulator, it is necessary to periodically refresh (replenish charge to the DRAM elements to hold data), and noise is generated during the refresh period. Due to this, there is a problem that the reading of the DDR2-SDRAM cannot be performed, and thus a device for enabling the reading of the DDR2-SDRAM during the refresh is required.

本発明の目的は、フラッシュROMエミュレータとして、DDR2−SDRAM等のDRAMを使用した場合のリフレッシュ期間中であってもDRAMのリードを実施できるフラッシュROMエミュレータおよびデータ制御方法を提供することにある。   An object of the present invention is to provide a flash ROM emulator and a data control method capable of reading DRAM even during a refresh period when a DRAM such as DDR2-SDRAM is used as a flash ROM emulator.

本発明のフラッシュROMエミュレータは、ミラーリングされている複数のDRAMを備え、
プロセッサおよび外部装置からのリード要求に対して前記複数のDRAMのうちリフレッシュをしていないものからデータを読み出すことを特徴とする。
The flash ROM emulator of the present invention includes a plurality of mirrored DRAMs,
In response to a read request from a processor and an external device, data is read from one of the plurality of DRAMs that has not been refreshed.

また、本発明のデータ制御方法は、複数のDRAMをミラーリングするステップと、
プロセッサおよび外部装置からのリード要求に対して前記複数のDRAMのうちリフレッシュをしていないものからデータを読み出すステップとを有することを特徴とする。
The data control method of the present invention includes a step of mirroring a plurality of DRAMs,
And a step of reading data from a plurality of DRAMs which are not refreshed in response to a read request from a processor and an external device.

本発明によれば、フラッシュROMエミュレータとして、DDR2−SDRAM等のDRAMを使用した場合のリフレッシュ期間中であってもDRAMのリードを実施できる。   According to the present invention, DRAM can be read even during a refresh period when a DRAM such as DDR2-SDRAM is used as a flash ROM emulator.

本発明の実施の形態に係るフラッシュROMエミュレータの構成を示す図である。It is a figure which shows the structure of the flash ROM emulator which concerns on embodiment of this invention. 本発明の実施の形態に係るリフレッシュの仕様の一例を示す図である。It is a figure which shows an example of the specification of the refresh which concerns on embodiment of this invention. 本発明の実施の形態に係るリード処理のシーケンス図である。FIG. 6 is a sequence diagram of read processing according to the embodiment of the present invention. 本発明の実施の形態に係るリード処理のシーケンス図である。FIG. 6 is a sequence diagram of read processing according to the embodiment of the present invention. 本発明の実施の形態に係るライト処理のシーケンス図である。FIG. 7 is a sequence diagram of write processing according to the embodiment of the present invention. フラッシュROMエミュレータを用いない構成を示す図である。It is a figure which shows the structure which does not use a flash ROM emulator. フラッシュROMエミュレータとして疑似SRAMを用いた構成を示す図である。It is a figure which shows the structure which used pseudo SRAM as a flash ROM emulator.

以下、本発明の実施の形態について図面を参照して詳細に説明する。図1に示す本実施の形態におけるフラッシュROMエミュレータは、CPU・VDP11とPLD(Programmable Logic Device)12とDDR2−SDRAM13−1、13−2とが、例えば、開発用の専用の1つの基板上に配置され、所定のCPU15が他の基板上に配置され、外部にデバッグ等の作業を行うPC(Personal Computer)14が設けられ構成されている。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. The flash ROM emulator in the present embodiment shown in FIG. 1 includes a CPU VDP 11, a PLD (Programmable Logic Device) 12, and DDR2-SDRAMs 13-1 and 13-2 on, for example, a single board dedicated for development. Arranged, a predetermined CPU 15 is arranged on another board, and a PC (Personal Computer) 14 for performing work such as debugging is provided outside.

本実施の形態におけるフラッシュROMエミュレータ13−1、13−2は、従来の疑似SRAMの替わりに、DDR2−SDRAMを使用している。なお、同等の機能を有するメモリ装置であればDDR2−SDRAMに限定されない。   The flash ROM emulators 13-1 and 13-2 in the present embodiment use DDR2-SDRAM instead of the conventional pseudo SRAM. Note that the memory device is not limited to the DDR2-SDRAM as long as the memory device has an equivalent function.

フラッシュROMエミュレータとして、DDR2−SDRAMを使用した場合には、定期的にリフレッシュ(データを保持するためにDRAMの素子に電荷を補充することDRAMの素子に電荷を補充すること)が必要で、リフレッシュ期間中はノイズの発生等に起因してDDR2−SDRAMのリードを実施できないという問題があるため、リフレッシュ中にDDR2−SDRAMのリードを実施できるようにするための工夫が必要になる。   When a DDR2-SDRAM is used as a flash ROM emulator, it is necessary to periodically refresh (replenish charges to DRAM elements to retain data and replenish charges to DRAM elements). During the period, there is a problem that the reading of the DDR2-SDRAM cannot be performed due to the generation of noise or the like, and thus a device for enabling the reading of the DDR2-SDRAM during the refresh is required.

図1の構成では、少なくとも1つ以上のDDR2−SDRAM(SO−DIMM)を2チャネル(2セット)備えている。なお、少なくとも1チャネルが常にリード可能であればよく2チャネルでなく3チャネル以上であってもよい。
また、上記の図6・図7のフラッシュROMと疑似SRAMとが単純に置換可能であったのとは異なり、フラッシュROMとDDR2−SDRAMとは単純に置換可能ではないのでPLD12が設けられている。
In the configuration of FIG. 1, two channels (two sets) of at least one DDR2-SDRAM (SO-DIMM) are provided. It is sufficient that at least one channel is always readable, and there may be three or more channels instead of two channels.
In addition, unlike the flash ROM and pseudo SRAM shown in FIGS. 6 and 7 described above, the PLD 12 is provided because the flash ROM and DDR2-SDRAM are not simply replaceable. .

図1に示す2チャネルのDDR2−SDRAM13−1、13−2は、PLD12によりミラーリングするように制御される。また、DDR2−SDRAMは、データを保持するために定期的にリフレッシュを行う必要がある。このとき、2チャネルのDDR2−SDRAM13−1、13−2を同時にリフレッシュしないよう、すなわちリフレッシュのタイミングが重ならないように、PLD12は各チャネルを交互にリフレッシュするように制御する。   The 2-channel DDR2-SDRAMs 13-1 and 13-2 shown in FIG. 1 are controlled to be mirrored by the PLD 12. Further, the DDR2-SDRAM needs to be periodically refreshed in order to retain data. At this time, the PLD 12 controls the channels to be alternately refreshed so that the two-channel DDR2-SDRAMs 13-1 and 13-2 are not refreshed at the same time, that is, the refresh timing is not overlapped.

PLD12の機能についてより詳細に説明する。特に、2チャネルのDDR2−SDRAM13−1、13−2のリフレッシュが重ならないように制御する機能と、2チャネルのDDR2−SDRAM13−1、13−2がリフレッシュをしているか否かを判定する機能と、2チャネルのDDR2−SDRAM13−1、13−2をミラーリングさせる機能とについて説明する。
リフレッシュの仕様の一例として、EBE21UE8ACUAのデータシートに基づくリフレッシュの仕様を図2に示す。図2を参照すると、
(1)Refresh cycles:8192cycles/64ms((2)と同様)
(2)Refresh rate:7.8us(すなわち、各チャネルは、7.8usに1回リフレッシュが必要である)
(3)Auto refresh comand cycle(tRFC):127ns(すなわち、1回のリフレッシュに必要な時間は127nsである)
従って、リフレッシュに必要な時間の割合は、127ns/7.8us×100%=1.6%であり、残り98.4%の時間はリードを行うことが可能である。
2チャネルのDDR2−SDRAM13−1、13−2のリフレッシュが重ならないように制御する機能について、図2の「Refresh」の枠(7.8usを2等分した3.9us:リフレッシュ可能期間)は、2チャネルのDDR2−SDRAM13−1、13−2で重ならないように設定されるので、図2の「Refresh」の枠のタイミングで、各チャネルがリフレッシュを行うようにPLD12は、自分自身が2チャネルのDDR2−SDRAM13−1、13−2の各チャネルに対してリフレッシュコマンドを発行する。なお、1回のリフレッシュは、7.8usを2等分した3.9usの間の任意のタイミングで、127ns×1回のリフレッシュを行えばよい。7.8usを2等分した3.9usは一例であり、分割割合等は複数チャネルのDDR2−SDRAMのリフレッシュ可能期間が重ならない限り種々のものが適用可能である。
2チャネルのDDR2−SDRAM13−1、13−2がリフレッシュをしているか否かを判定する機能について、PLD12は、自分自身が2チャネルのDDR2−SDRAM13−1、13−2の各チャネルに対して、リフレッシュのタイミングが重ならないようにリフレッシュコマンドを発行するため、リフレッシュの開始タイミングは自分自身で把握しており、また、1回のリフレッシュに必要な時間は、上記の127nsと分かっているので、加算により算定しリフレッシュの終了時間も把握できるので、2チャネルのDDR2−SDRAM13−1、13−2についてリフレッシュしているか否かを判断可能である。
CPU・VDP11やPC14からのリード要求があった場合は、図2の「Read」の枠の(7.8usを2等分した3.9us)タイミング(リフレッシュ中でないことを保証)にある、2チャネルのDDR2−SDRAM13−1、13−2のいずれかのチャネルからリードする。
また、2チャネルのDDR2−SDRAM13−1、13−2をミラーリングさせる機能について、PLD12は、PC14からCPU15を経由して、ライトデータを受け取ると、2チャネルのDDR2−SDRAM13−1、13−2の各チャネルに受け取ったライトデータを書き込む(ミラーリング)が、ライトする場合の必要時間制限はないので、例えば図2の「Read」の枠のタイミングで行えばよい。
The function of the PLD 12 will be described in more detail. In particular, a function for controlling the refresh of the 2-channel DDR2-SDRAMs 13-1 and 13-2 so as not to overlap, and a function for determining whether or not the 2-channel DDR2-SDRAMs 13-1 and 13-2 are refreshing. The function of mirroring the 2-channel DDR2-SDRAMs 13-1 and 13-2 will be described.
As an example of the refresh specification, the refresh specification based on the data sheet of EBE21UE8ACUA is shown in FIG. Referring to FIG.
(1) Refresh cycles: 8192 cycles / 64 ms (same as (2))
(2) Refresh rate: 7.8 us (that is, each channel needs to be refreshed once every 7.8 us)
(3) Auto refresh command cycle (tRFC): 127 ns (ie, the time required for one refresh is 127 ns)
Therefore, the ratio of time required for refresh is 127 ns / 7.8 us × 100% = 1.6%, and the remaining 98.4% of time can be read.
Regarding the function for controlling the refresh of the two-channel DDR2-SDRAMs 13-1 and 13-2 so as not to overlap, the “Refresh” frame in FIG. 2 (3.9 us divided 7.8 us into two: refreshable period) is Since the two channels DDR2-SDRAMs 13-1 and 13-2 are set so as not to overlap each other, the PLD 12 itself is set to 2 so that each channel refreshes at the timing of the “Refresh” frame in FIG. A refresh command is issued to each channel of the channel DDR2-SDRAMs 13-1 and 13-2. Note that one refresh may be performed 127 ns × 1 at an arbitrary timing between 3.9 us obtained by dividing 7.8 us into two equal parts. 3.9us obtained by dividing 7.8us into two is an example, and various division ratios can be applied as long as the refreshable periods of the DDR2-SDRAMs of a plurality of channels do not overlap.
With respect to the function of determining whether or not the 2-channel DDR2-SDRAMs 13-1 and 13-2 are refreshing, the PLD 12 itself applies to each channel of the 2-channel DDR2-SDRAMs 13-1 and 13-2. Since the refresh command is issued so that the refresh timing does not overlap, the refresh start timing is grasped by itself, and the time required for one refresh is 127 ns as described above. Since the calculation is performed by addition and the refresh end time can be grasped, it is possible to determine whether or not the two-channel DDR2-SDRAMs 13-1 and 13-2 are refreshed.
When there is a read request from the CPU / VDP 11 or the PC 14, the timing is “2” in the “Read” frame in FIG. 2 (3.9 us divided 7.8 us into two) (guaranteed that refresh is not in progress). Read from either channel DDR2-SDRAM 13-1, 13-2.
Further, regarding the function of mirroring the 2-channel DDR2-SDRAMs 13-1 and 13-2, when the PLD 12 receives write data from the PC 14 via the CPU 15, the PLD 12 receives the write data of the 2-channel DDR2-SDRAMs 13-1 and 13-2. Writing the received write data to each channel (mirroring) can be performed at the timing of the “Read” frame in FIG. 2, for example, because there is no time limit for writing.

CPU・VDP11〜PLD12〜DDR2−SDRAM13−1、13−2
図1に示すような構成において、リード要求の場合、CPU・VDP11等からのチップセレクト(CS)・アドレス(AD)・リード(RD)等の命令は、CPU・VDP11から接続相手がフラッシュROMであるように見せる必要があるため、上記のフラッシュROMインターフェースと同一のインターフェースであるSRAMインターフェースにより行われ、PLD12によりDDR2−SDRAMインターフェースに変更され、PLD12から2チャネルのDDR2−SDRAM13−1、13−2のうちリフレッシュしていない方のDDR2−SDRAMに送られ、リードを行う。なお、2チャネルのDDR2−SDRAM13−1、13−2がいずれもリフレッシュしていない場合は、いずれか一方に送られ、リードを行うことであってよい。
そして、PLD12からチップセレクト(CS)・アドレス(AD)・リード(RD)等の命令を送られたDDR2−SDRAMに格納されるアプリケーション等のデータは、当該DDR2−SDRAMからDDR2−SDRAMインターフェースにより送られ、PLD12によりSRAMインターフェースに変更され、データバス(DT)を経由してCPU・VDP11に送られリードの実施が完了する。
CPU VDP11 to PLD12 to DDR2-SDRAM 13-1, 13-2
In the configuration shown in FIG. 1, in the case of a read request, commands such as chip select (CS), address (AD), and read (RD) from the CPU / VDP 11 are connected to the flash ROM from the CPU / VDP 11. Therefore, it is performed by the SRAM interface which is the same interface as the above flash ROM interface, and is changed to the DDR2-SDRAM interface by the PLD 12, and the two-channel DDR2-SDRAMs 13-1 and 13-2 are changed from the PLD 12. The data is sent to the DDR2-SDRAM that has not been refreshed and is read. If neither of the two-channel DDR2-SDRAMs 13-1 and 13-2 is refreshing, it may be sent to one of them and read.
Data such as applications stored in the DDR2-SDRAM to which commands such as chip select (CS), address (AD), and read (RD) are sent from the PLD 12 is sent from the DDR2-SDRAM through the DDR2-SDRAM interface. The PLD 12 changes to the SRAM interface and is sent to the CPU / VDP 11 via the data bus (DT) to complete the reading.

PC14〜CPU15〜PLD12〜DDR2−SDRAM13−1、13−2
一方、図1に示すような構成において、デバッグ等の作業を行うPC14等はUSB等を経由して、USBインターフェース等からSRAMインターフェースへ変換する機能を有する所定のCPU15を介してチップセレクト(CS)・アドレス(AD)・リード(RD)・ライト(WR)等の命令を送る。この命令はPLD12によりDDR2−SDRAMインターフェースに変更され、ライト要求の場合、2チャネルのDDR2−SDRAM13−1、13−2にそれぞれ同じデータがライトされ、一方リード要求の場合、PLD12から2チャネルのDDR2−SDRAM13−1、13−2のうちリフレッシュしていない方のDDR2−SDRAMに送られ、リードを行う。なお、2チャネルのDDR2−SDRAM13−1、13−2がいずれもリフレッシュしていない場合は、いずれか一方に送られ、リードを行うことであってよい。
そして、PLD12からチップセレクト(CS)・アドレス(AD)・リード(RD)等の命令を送られたDDR2−SDRAMに格納されるアプリケーション等のデータは、DDR2−SDRAMからDDR2−SDRAMインターフェースにより送られ、PLD12によりSRAMインターフェースに変更され、データバス(DT)を経由して所定のCPU15に送られ、さらに所定のCPU15によりUSBインターフェースに変更され、USBを経由してPC14に送られ、リードの実施が完了する。
PC14-CPU15-PLD12-DDR2-SDRAM 13-1, 13-2
On the other hand, in the configuration as shown in FIG. 1, the PC 14 or the like that performs work such as debugging performs chip select (CS) via a predetermined CPU 15 having a function of converting from the USB interface or the like to the SRAM interface via the USB or the like. Send instructions such as address (AD), read (RD), and write (WR). This instruction is changed by the PLD 12 to the DDR2-SDRAM interface, and in the case of a write request, the same data is written to the 2-channel DDR2-SDRAMs 13-1 and 13-2, respectively, whereas in the case of a read request, the 2-channel DDR2 from the PLD 12 -The data is sent to the DDR2-SDRAM which is not refreshed out of the SDRAMs 13-1 and 13-2 and read. If neither of the two-channel DDR2-SDRAMs 13-1 and 13-2 is refreshing, it may be sent to one of them and read.
Data such as applications stored in the DDR2-SDRAM to which commands such as chip select (CS), address (AD), and read (RD) are sent from the PLD 12 is sent from the DDR2-SDRAM through the DDR2-SDRAM interface. The PLD 12 changes the SRAM interface, sends it to a predetermined CPU 15 via a data bus (DT), and further changes the USB interface to a predetermined CPU 15 and sends it to the PC 14 via the USB. Complete.

最終的にデバッグ等が済んだアプリケーション等は、PC14等からROMライタにより図6に示すような構成におけるフラッシュROM23に格納される。   The application or the like that has been finally debugged is stored in the flash ROM 23 having the configuration shown in FIG. 6 by the ROM writer from the PC 14 or the like.

なお、CPU・VDP11からのランダムリード要求で、2チャネルのDDR2−SDRAM13−1、13−2のうちリフレッシュしていない方のDDR2−SDRAMから1ページ分全てリードしてPLD12内のバッファにバッファリングしておく。そして、CPU・VDP11からのページリード要求では、先のランダムリード要求でリードしてバッファリングしておいたデータをPLD12のバッファからリードし、CPU・VDP11に出力することであってよい。
DDR2−SDRAMのランダムアクセスの速度、66.6nsで、実質的に1ページ分(8ワード:16bit)のデータをリード可能だからである。
In addition, in response to a random read request from the CPU / VDP 11, one page is read from the unrefreshed DDR2-SDRAM among the 2-channel DDR2-SDRAMs 13-1 and 13-2 and buffered in the buffer in the PLD 12 Keep it. In the page read request from the CPU / VDP 11, data read and buffered by the previous random read request may be read from the buffer of the PLD 12 and output to the CPU / VDP 11.
This is because data of one page (8 words: 16 bits) can be read substantially at a random access speed of DDR2-SDRAM of 66.6 ns.

以下、本実施の形態のフラッシュROMエミュレータの処理動作を示す図3〜4のシーケンス図を参照して詳細に説明する。   A detailed description will be given below with reference to the sequence diagrams of FIGS. 3 to 4 showing the processing operation of the flash ROM emulator of the present embodiment.

図3は、図1に示すような構成において、CPU・VDP11〜PLD12〜DDR2−SDRAM13−1、13−2のリード要求の場合のシーケンス図である。   FIG. 3 is a sequence diagram in the case of a read request from the CPU / VDP 11 to PLD 12 to DDR2-SDRAM 13-1 and 13-2 in the configuration shown in FIG.

図3を参照すると、まず、CPU・VDP11等からチップセレクト(CS)・アドレス(AD)・リード(RD)等の命令がPLD12に送られる(S201)。なお、CPU・VDP11から接続相手がフラッシュROMであるように見せる必要があるため、上記のフラッシュROMインターフェースと同一のインターフェースであるSRAMインターフェースにより行われる。
そして、チップセレクト(CS)・アドレス(AD)・リード(RD)等の命令はPLD12によりDDR2−SDRAMインターフェースに変更される(S202)。
PLD12は、上述のとおり、2チャネルのDDR2−SDRAM13−1、13−2を同時にリフレッシュしないよう、すなわちリフレッシュのタイミングが重ならないように、PLD12は各チャネルを交互にリフレッシュするように制御する機能を有しているので、2チャネルのDDR2−SDRAM13−1、13−2のうちリフレッシュしていない方のDDR2−SDRAMを判定し(S203)、PLD12から2チャネルのDDR2−SDRAM13−1、13−2のうちリフレッシュしていない方のDDR2−SDRAM(図3中ではDDR2−SDRAM13−1とする)にDDR2−SDRAMインターフェースに変更されたチップセレクト(CS)・アドレス(AD)・リード(RD)等の命令が送られ、リードを行う(S204、S205)。なお、2チャネルのDDR2−SDRAM13−1、13−2がいずれもリフレッシュしていない場合は、いずれか一方に送られ、リードを行うことであってよい。
さらに、PLD12からDDR2−SDRAMインターフェースに変更されたチップセレクト(CS)・アドレス(AD)・リード(RD)等の命令を送られたDDR2−SDRAMに格納されるアプリケーション等のデータは、当該DDR2−SDRAMからDDR2−SDRAMインターフェースによりPLD12に送られ(S206)、PLD12によりSRAMインターフェースに変更され(S207)、データバス(DT)を経由してCPU・VDP11に送られ(S208)、リードの実施が完了する。
Referring to FIG. 3, first, a command such as chip select (CS), address (AD), read (RD), etc. is sent from the CPU / VDP 11 or the like to the PLD 12 (S201). Since the CPU / VDP 11 needs to show that the connection partner is a flash ROM, the SRAM interface is the same interface as the above flash ROM interface.
Then, commands such as chip select (CS), address (AD), and read (RD) are changed to the DDR2-SDRAM interface by the PLD 12 (S202).
As described above, the PLD 12 has a function of controlling the two channels of the DDR2-SDRAMs 13-1 and 13-2 to be refreshed alternately so that the refresh timings are not overlapped so that the refresh timing is not overlapped. Therefore, the DDR2-SDRAM that is not refreshed among the two-channel DDR2-SDRAMs 13-1 and 13-2 is determined (S203), and the two-channel DDR2-SDRAMs 13-1 and 13-2 are determined from the PLD 12. Of the unrefreshed DDR2-SDRAM (referred to as DDR2-SDRAM 13-1 in FIG. 3), the chip select (CS), address (AD), read (RD), etc. changed to the DDR2-SDRAM interface An instruction is sent and a lead is taken (S204, S205). If neither of the two-channel DDR2-SDRAMs 13-1 and 13-2 is refreshing, it may be sent to one of them and read.
Furthermore, data such as applications stored in the DDR2-SDRAM to which commands such as chip select (CS), address (AD), and read (RD) changed from the PLD 12 to the DDR2-SDRAM interface are sent. The data is sent from the SDRAM to the PLD 12 via the DDR2-SDRAM interface (S206), changed to the SRAM interface by the PLD 12 (S207), sent to the CPU / VDP 11 via the data bus (DT) (S208), and the reading is completed. To do.

図4は、図1に示すような構成において、PC14〜CPU15〜PLD12〜DDR2−SDRAM13−1、13−2のリード要求の場合のシーケンス図である。   FIG. 4 is a sequence diagram in the case of a read request of the PC 14 to CPU 15 to PLD 12 to DDR2-SDRAM 13-1, 13-2 in the configuration as shown in FIG.

図4を参照すると、まず、デバッグ等の作業を行うPC14等からUSB等を経由して、チップセレクト(CS)・アドレス(AD)・リード(RD)等の命令が所定のCPU15に送られる(S301)。
そして、チップセレクト(CS)・アドレス(AD)・リード(RD)等の命令は所定のCPU15によりUSBインターフェース等からSRAMインターフェースへ変換される(S302)。
所定のCPU15からSRAMインターフェースへ変換されたチップセレクト(CS)・アドレス(AD)・リード(RD)等の命令がPLD12に送られる(S303)。
そして、チップセレクト(CS)・アドレス(AD)・リード(RD)等の命令はPLD12によりDDR2−SDRAMインターフェースに変更される(S304)。
PLD12は、上述のとおり、2チャネルのDDR2−SDRAM13−1、13−2を同時にリフレッシュしないよう、すなわちリフレッシュのタイミングが重ならないように、PLD12は各チャネルを交互にリフレッシュするように制御する機能を有しているので、2チャネルのDDR2−SDRAM13−1、13−2のうちリフレッシュしていない方のDDR2−SDRAMを判定し(S305)、PLD12から2チャネルのDDR2−SDRAM13−1、13−2のうちリフレッシュしていない方のDDR2−SDRAM(図4中ではDDR2−SDRAM13−1とする)にDDR2−SDRAMインターフェースに変更されたチップセレクト(CS)・アドレス(AD)・リード(RD)等の命令が送られ、リードを行う(S306、S307)。なお、2チャネルのDDR2−SDRAM13−1、13−2がいずれもリフレッシュしていない場合は、いずれか一方に送られ、リードを行うことであってよい。
さらに、PLD12からDDR2−SDRAMインターフェースに変更されたチップセレクト(CS)・アドレス(AD)・リード(RD)等の命令を送られたDDR2−SDRAMに格納されるアプリケーション等のデータは、当該DDR2−SDRAMからDDR2−SDRAMインターフェースによりPLD12に送られ(S308)、PLD12によりSRAMインターフェースに変更され(S309)、データバス(DT)を経由して所定のCPU15に送られ(S310)、所定のCPU15によりUSBインターフェースに変更され(S311)、USBを経由してPC14等に送られ(S312)、リードの実施が完了する。
Referring to FIG. 4, first, a command such as chip select (CS), address (AD), and read (RD) is sent to a predetermined CPU 15 from a PC 14 or the like that performs debugging or the like via USB or the like (see FIG. 4). S301).
Then, instructions such as chip select (CS), address (AD), and read (RD) are converted from a USB interface or the like to an SRAM interface by a predetermined CPU 15 (S302).
A command such as chip select (CS), address (AD), and read (RD) converted from the predetermined CPU 15 to the SRAM interface is sent to the PLD 12 (S303).
Then, commands such as chip select (CS), address (AD), and read (RD) are changed to the DDR2-SDRAM interface by the PLD 12 (S304).
As described above, the PLD 12 has a function of controlling the two channels of the DDR2-SDRAMs 13-1 and 13-2 to be refreshed alternately so that the refresh timings are not overlapped so that the refresh timing is not overlapped. Therefore, the DDR2-SDRAM that is not refreshed among the 2-channel DDR2-SDRAMs 13-1 and 13-2 is determined (S305), and the 2-channel DDR2-SDRAMs 13-1 and 13-2 from the PLD 12 are determined. Of the unrefreshed DDR2-SDRAM (referred to as DDR2-SDRAM 13-1 in FIG. 4), the chip select (CS), address (AD), read (RD), etc. changed to the DDR2-SDRAM interface An instruction is sent and a lead is taken (S306, S307). If neither of the two-channel DDR2-SDRAMs 13-1 and 13-2 is refreshing, it may be sent to one of them and read.
Furthermore, data such as applications stored in the DDR2-SDRAM to which commands such as chip select (CS), address (AD), and read (RD) changed from the PLD 12 to the DDR2-SDRAM interface are sent. The data is sent from the SDRAM to the PLD 12 by the DDR2-SDRAM interface (S308), changed to the SRAM interface by the PLD 12 (S309), sent to the predetermined CPU 15 via the data bus (DT) (S310), and the USB by the predetermined CPU 15. The interface is changed (S311) and sent to the PC 14 or the like via the USB (S312), and the reading is completed.

図5は、図1に示すような構成において、PC14〜CPU15〜PLD12〜DDR2−SDRAM13−1、13−2のライト要求の場合のシーケンス図である。   FIG. 5 is a sequence diagram in the case of a write request from the PC 14 to the CPU 15 to the PLD 12 to the DDR2-SDRAMs 13-1 and 13-2 in the configuration shown in FIG.

図5を参照すると、まず、デバッグ等の作業を行うPC14等からUSB等を経由して、チップセレクト(CS)・アドレス(AD)・ライト(WR)等の命令が所定のCPU15に送られる(S401)。
そして、チップセレクト(CS)・アドレス(AD)・ライト(WR)等の命令は所定のCPU15によりUSBインターフェース等からSRAMインターフェースへ変換される(S402)。
所定のCPU15からSRAMインターフェースへ変換されたチップセレクト(CS)・アドレス(AD)・ライト(WR)等の命令がPLD12に送られる(S403)。
そして、チップセレクト(CS)・アドレス(AD)・ライト(WR)等の命令はPLD12によりDDR2−SDRAMインターフェースに変更される(S404)。
PLD12は、上述のとおり、2チャネルのDDR2−SDRAM13−1、13−2を同時にリフレッシュしないよう、すなわちリフレッシュのタイミングが重ならないように、PLD12は各チャネルを交互にリフレッシュするように制御する機能を有しているので、2チャネルのDDR2−SDRAM13−1、13−2のいずれかがリフレッシュしているか判定し(S405)、いずれかがリフレッシュしている場合には、リフレッシュが終了してから、PLD12は、2チャネルのDDR2−SDRAM13−1、13−2にそれぞれDDR2−SDRAMインターフェースに変更されたチップセレクト(CS)・アドレス(AD)・ライト(WR)等の命令を送り、同一のデータの書き込みを行いライトを実施する(S406、S407)。なお、2チャネルのDDR2−SDRAM13−1、13−2のいずれかがリフレッシュ中であってもライトは要求されるアクセス速度・タイミングに余裕があるのでリフレッシュが終了してからライトを実施すればよい。
Referring to FIG. 5, first, a command such as chip select (CS), address (AD), write (WR), etc. is sent to a predetermined CPU 15 from a PC 14 or the like that performs debugging or the like via USB or the like ( S401).
Then, commands such as chip select (CS), address (AD), and write (WR) are converted from the USB interface or the like to the SRAM interface by the predetermined CPU 15 (S402).
A command such as chip select (CS), address (AD), and write (WR) converted from the predetermined CPU 15 to the SRAM interface is sent to the PLD 12 (S403).
Then, commands such as chip select (CS), address (AD), and write (WR) are changed to the DDR2-SDRAM interface by the PLD 12 (S404).
As described above, the PLD 12 has a function of controlling the two channels of the DDR2-SDRAMs 13-1 and 13-2 to be refreshed alternately so that the refresh timings are not overlapped so that the refresh timing is not overlapped. Therefore, it is determined whether any of the two-channel DDR2-SDRAMs 13-1 and 13-2 is refreshed (S405). The PLD 12 sends commands such as chip select (CS), address (AD), and write (WR), which have been changed to the DDR2-SDRAM interface, to the 2-channel DDR2-SDRAMs 13-1 and 13-2, respectively. Writing is performed and writing is performed (S406, 407). Even if one of the two-channel DDR2-SDRAMs 13-1 and 13-2 is being refreshed, the write has a margin in the required access speed and timing. .

上記の本実施の形態によれば、フラッシュROMのアクセス速度(要求されるアクセス速度)である、ランダムアクセス:96ns、ページアクセス:15nsに対応可能であり、また転送速度も従来:273秒/16Gbitから132秒/16Gbitへ短縮される。   According to the above embodiment, the flash ROM access speed (required access speed), that is, random access: 96 ns, page access: 15 ns can be supported, and the transfer speed is conventionally 273 seconds / 16 Gbit. To 132 seconds / 16Gbit.

なお、上述する各実施の形態は、本発明の好適な実施の形態であり、本発明の要旨を逸脱しない範囲内において種々変更実施が可能である。例えば、本フラッシュROMエミュレータの機能を実現するためのプログラムを各装置に読込ませて実行することにより各装置の機能を実現する処理を行ってもよい。さらに、そのプログラムは、コンピュータ読み取り可能な記録媒体であるCD−ROMまたは光磁気ディスクなどを介して、または伝送媒体であるインターネット、電話回線などを介して伝送波により他のコンピュータシステムに伝送されてもよい。また、各装置の機能が他の装置によりまとめて実現されたり、追加の装置により機能が分散されて実現される形態も本発明の範囲内である。   Each of the above-described embodiments is a preferred embodiment of the present invention, and various modifications can be made without departing from the scope of the present invention. For example, a process for realizing the function of each device may be performed by causing each device to read and execute a program for realizing the function of the flash ROM emulator. Further, the program is transmitted to another computer system by a transmission wave via a computer-readable recording medium such as a CD-ROM or a magneto-optical disk, or via a transmission medium such as the Internet or a telephone line. Also good. In addition, it is also within the scope of the present invention that the functions of each device are realized by other devices collectively or the functions are distributed by additional devices.

11 CPU・VDP
12 PLD
13−1、13−2 DDR2−SDRAM
14 PC
15 CPU
11 CPU / VDP
12 PLD
13-1, 13-2 DDR2-SDRAM
14 PC
15 CPU

Claims (10)

ミラーリングされている複数のDRAMを備え、
プロセッサおよび外部装置からのリード要求に対して前記複数のDRAMのうちリフレッシュをしていないものからデータを読み出すことを特徴とするフラッシュROMエミュレータ。
A plurality of mirrored DRAMs,
A flash ROM emulator, wherein data is read from an unrefreshed DRAM among the plurality of DRAMs in response to a read request from a processor and an external device.
前記外部装置からのライト要求に対して前記複数のDRAMに同一のデータを書き込むことで前記ミラーリングがなされることを特徴とする請求項1記載のフラッシュROMエミュレータ。   2. The flash ROM emulator according to claim 1, wherein the mirroring is performed by writing the same data into the plurality of DRAMs in response to a write request from the external device. さらに中継装置を備え、
前記中継装置は、前記複数のDRAMのリフレッシュが重ならないように制御する手段と、前記複数のDRAMがリフレッシュをしているか否かを判定する手段と、前記複数のDRAMをミラーリングさせる手段と、信号を変換して前記プロセッサおよび前記外部装置と前記複数のDRAMとのインターフェースを制御する手段とを有することを特徴とする請求項1または2記載のフラッシュROMエミュレータ。
It also has a relay device,
The relay device includes means for controlling refresh of the plurality of DRAMs so as not to overlap, means for determining whether or not the plurality of DRAMs are refreshed, means for mirroring the plurality of DRAMs, 3. A flash ROM emulator according to claim 1, further comprising means for controlling an interface between the processor and the external device and the plurality of DRAMs.
前記複数のDRAMのリフレッシュが重ならないように制御する手段は、前記DRAMのリフレッシュが必要な一サイクル期間を、期間中は任意のタイミングで自中継装置が前記DRAMに対してリフレッシュコマンドを発行することができるリフレッシュ可能期間とそれ以外に分け、前記複数のDRAMの前記リフレッシュ可能期間が重ならないように制御し、
前記複数のDRAMがリフレッシュをしているか否かを判定する手段は、前記リフレッシュコマンドを発行したタイミングと、所定の1回のリフレッシュに必要な時間とに基づいてリフレッシュの終了時間を算定して判定し、
前記複数のDRAMをミラーリングさせる手段は、前記外部装置からのライト要求に対して前記複数のDRAMに、それぞれのDRAMが前記リフレッシュ可能期間でないタイミングで、同一のデータを書き込むことを特徴とする請求項3記載のフラッシュROMエミュレータ。
The means for controlling the refresh of the plurality of DRAMs so as not to overlap each other is that the self-relay device issues a refresh command to the DRAM at any timing during one cycle period in which the DRAM needs to be refreshed. The refreshable period is divided into other periods and the refreshable periods of the plurality of DRAMs are controlled so as not to overlap,
The means for determining whether or not the plurality of DRAMs are refreshing is determined by calculating a refresh end time based on a timing at which the refresh command is issued and a time required for a predetermined refresh. And
The means for mirroring the plurality of DRAMs writes the same data to the plurality of DRAMs at a timing when each DRAM is not in the refreshable period in response to a write request from the external device. 3. The flash ROM emulator according to 3.
信号を変換して前記外部装置と前記中継装置とのインターフェースを制御する他のプロセッサを備えることを特徴とする請求項1から4のいずれか1項に記載のフラッシュROMエミュレータ。   5. The flash ROM emulator according to claim 1, further comprising another processor that converts a signal to control an interface between the external device and the relay device. 6. 複数のDRAMをミラーリングするステップと、
プロセッサおよび外部装置からのリード要求に対して前記複数のDRAMのうちリフレッシュをしていないものからデータを読み出すステップとを有することを特徴とするデータ制御方法。
Mirroring a plurality of DRAMs;
And a step of reading data from a plurality of DRAMs that are not refreshed in response to a read request from a processor and an external device.
前記ミラーリングするステップにおいて、前記外部装置からのライト要求に対して前記複数のDRAMに同一のデータを書き込むことを特徴とする請求項6記載のデータ制御方法。   7. The data control method according to claim 6, wherein in the mirroring step, the same data is written to the plurality of DRAMs in response to a write request from the external device. 中継装置が、前記複数のDRAMをミラーリングさせ、
前記中継装置が、前記複数のDRAMのリフレッシュが重ならないように制御するステップと、
前記中継装置が、前記複数のDRAMがリフレッシュをしているか否かを判定し、前記プロセッサおよび前記外部装置からのリード要求に対して前記複数のDRAMのうちリフレッシュをしていないものからデータを読み出させるステップと、
前記中継装置が、信号を変換して前記プロセッサおよび前記外部装置と前記複数のDRAMとのインターフェースを制御するステップとを有することを特徴とする請求項6または7記載のデータ制御方法。
A relay device mirrors the plurality of DRAMs;
The relay device controlling the refresh of the plurality of DRAMs so as not to overlap; and
The relay device determines whether or not the plurality of DRAMs are refreshed, and reads data from the plurality of DRAMs that are not refreshed in response to a read request from the processor and the external device. Step to be issued,
8. The data control method according to claim 6, further comprising the step of the relay device converting a signal to control an interface between the processor and the external device and the plurality of DRAMs.
前記複数のDRAMのリフレッシュが重ならないように制御するステップにおいて、前記DRAMのリフレッシュが必要な一サイクル期間を、期間中は任意のタイミングで自中継装置が前記DRAMに対してリフレッシュコマンドを発行することができるリフレッシュ可能期間とそれ以外に分け、前記複数のDRAMの前記リフレッシュ可能期間が重ならないように制御し、
前記複数のDRAMがリフレッシュをしているか否かを判定するステップにおいて、前記リフレッシュコマンドを発行したタイミングと、所定の1回のリフレッシュに必要な時間とに基づいてリフレッシュの終了時間を算定して判定し、
前記複数のDRAMをミラーリングさせるステップにおいて、前記外部装置からのライト要求に対して前記複数のDRAMに、それぞれのDRAMが前記リフレッシュ可能期間でないタイミングで、同一のデータを書き込むことを特徴とする請求項8記載のデータ制御方法。
In the step of controlling the refresh of the plurality of DRAMs so as not to overlap, the relay apparatus issues a refresh command to the DRAM at any timing during one cycle period in which the DRAM needs to be refreshed. The refreshable period is divided into other periods and the refreshable periods of the plurality of DRAMs are controlled so as not to overlap,
In the step of determining whether or not the plurality of DRAMs are refreshing, a determination is made by calculating a refresh end time based on a timing at which the refresh command is issued and a time required for a predetermined refresh. And
The step of mirroring the plurality of DRAMs writes the same data to the plurality of DRAMs at a timing when each DRAM is not in the refreshable period in response to a write request from the external device. 9. The data control method according to 8.
他のプロセッサが、信号を変換して前記外部装置と前記中継装置とのインターフェースを制御するステップを有することを特徴とする請求項6から9のいずれか1項に記載のデータ制御方法。   10. The data control method according to claim 6, further comprising: a step of converting a signal to control an interface between the external device and the relay device. 10.
JP2010160755A 2010-07-15 2010-07-15 Flash ROM emulator and data control method Active JP5676169B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010160755A JP5676169B2 (en) 2010-07-15 2010-07-15 Flash ROM emulator and data control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010160755A JP5676169B2 (en) 2010-07-15 2010-07-15 Flash ROM emulator and data control method

Publications (2)

Publication Number Publication Date
JP2012022754A true JP2012022754A (en) 2012-02-02
JP5676169B2 JP5676169B2 (en) 2015-02-25

Family

ID=45776902

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010160755A Active JP5676169B2 (en) 2010-07-15 2010-07-15 Flash ROM emulator and data control method

Country Status (1)

Country Link
JP (1) JP5676169B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015079293A (en) * 2013-10-15 2015-04-23 Necプラットフォームズ株式会社 Memory control device, memory control method, and information processing device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6257194A (en) * 1985-09-05 1987-03-12 Mitsubishi Electric Corp Duplex memory device
JPH11282712A (en) * 1998-03-31 1999-10-15 Sanyo Electric Co Ltd Flash memory emulation device and debug system using the same
JP2001093277A (en) * 1999-09-22 2001-04-06 Fujitsu Ltd Semiconductor integrated circuit and its control method
JP2003297082A (en) * 2002-04-01 2003-10-17 Hitachi Ltd Semiconductor memory device and its control method
JP2010200989A (en) * 2009-03-04 2010-09-16 Kyoraku Sangyo Kk Game machine evaluation device and method for manufacturing game machine

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6257194A (en) * 1985-09-05 1987-03-12 Mitsubishi Electric Corp Duplex memory device
JPH11282712A (en) * 1998-03-31 1999-10-15 Sanyo Electric Co Ltd Flash memory emulation device and debug system using the same
JP2001093277A (en) * 1999-09-22 2001-04-06 Fujitsu Ltd Semiconductor integrated circuit and its control method
JP2003297082A (en) * 2002-04-01 2003-10-17 Hitachi Ltd Semiconductor memory device and its control method
JP2010200989A (en) * 2009-03-04 2010-09-16 Kyoraku Sangyo Kk Game machine evaluation device and method for manufacturing game machine

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015079293A (en) * 2013-10-15 2015-04-23 Necプラットフォームズ株式会社 Memory control device, memory control method, and information processing device

Also Published As

Publication number Publication date
JP5676169B2 (en) 2015-02-25

Similar Documents

Publication Publication Date Title
JP6123017B2 (en) Apparatus and method for variable latency memory operation
JP5228472B2 (en) Semiconductor memory and system
TW201407610A (en) Method of operating PSRAM and related memory device
KR20160122483A (en) Memory system, memory module and operation method of the same
WO2011113667A1 (en) Managing memory refreshes
TW202324404A (en) Memory controller and memory system including the same
US7894290B2 (en) Method and apparatus for performing internal hidden refreshes while latching read/write commands, address and data information for later operation
JP4275033B2 (en) Semiconductor memory device, test circuit and method
JP2007066490A (en) Semiconductor memory device
JP5676169B2 (en) Flash ROM emulator and data control method
US20060256639A1 (en) Semiconductor memory device and memory system
KR101861647B1 (en) Memory system and refresh control method thereof
JP2005339624A (en) Semiconductor storage device and method for controlling the same
JPWO2007116439A1 (en) Semiconductor memory and memory system
US10318208B2 (en) Memory apparatus for executing multiple memory operations by one command and operating method thereof
JP7420472B2 (en) Page size aware scheduling method and non-transitory computer-readable storage medium
KR101191942B1 (en) Semiconductor memory device and command input method of the semiconductor memory device
JP2004342223A (en) Semiconductor memory device and electronic equipment
JP2005196952A (en) Dynamic semiconductor memory device and power saving mode operating method of this device
JP2004342219A (en) Semiconductor memory device and electronic equipment
TWI691959B (en) Memory storage device and operation method thereof
JP2004342222A (en) Semiconductor memory device and electronic equipment
JP5429335B2 (en) Semiconductor memory and system
WO2017156747A1 (en) Memory access method and computer system
JP5200914B2 (en) Semiconductor memory and system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130614

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130903

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130910

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20131021

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140325

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140507

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20141111

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20141119

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20141209

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20141225

R150 Certificate of patent or registration of utility model

Ref document number: 5676169

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250