Forum Discussion
Altera_Forum
Honored Contributor
18 years agoSDRAM in DE1
Hello All, I have a small problem with sdram on my DE1. I use quartus 7.2sp2, NIOS and SDRAM controller from SOPC builder. I’ve cloned the basic design and SDRAM setting from Terasic̵...
Altera_Forum
Honored Contributor
17 years ago --- Quote Start --- It is possible that it is also a printf issue, but in general it is timing issue. Because when I program DMA to retrieve data from sdram then readed data was crap. However, DMA write to sdram is ok. (I used DMA in word transfer mode.) Alexander. --- Quote End --- In that case, printf() is one of the two contributors to this error. printf() should not be used for printing data from the memories etc. You can use file read/write for this purpose. "Altera Host-Based File System" is a good utility for this purpose. That said, the cause of your current error appears to stem up from incorrect specification of Read/Write cycles of the memory. I conclude this as you wrote DMA write to SDRAM is fine (though I would like to know how did you ascertain this). Try varying the cycles and reading the memory then.