Altera_Forum
Honored Contributor
19 years agoSDRAM problem
Hi,
I have got a Cyclone dev kit (EP1C20) and i'm trying to get a design working that uses SDRAM to store some data. If I write the data and read it back it is valid but if there is a delay between the write and read then the data is no longer valid (has reset). It is as though the SDRAM isn't refreshing correctly (although it's the first time I have used SDRAM so it could be anything as far as I know!) and after a short time the data is lost. I am using a NIOS II CPU and the MT48LC4M32B2 SDRAM chip that is on the dev kit. The controller is the SDRAM controller in SOPC builder and uses the presets for the MT.. chip. I think I have the pins connected up according to the Nios Development Board Refernce Manual. Is there anything else that I should be doing? I am a bit of a novice! Thanks to anybody that is able to help!!