Forum Discussion
Altera_Forum
Honored Contributor
19 years agoYour first test (stw, ldw) tests your data cache, not SDRAM, so you should probably ignore it. Your second test tests SDRAM. I'm not a hardware engineer, but I'd try stwio, wait a few clocks, then ldwio, and see what happens. Succeed or fail, there's still probably an issue with your SDRAM.
I haven't tried this, but it may be possible for the data cache to "cache" empty address space. So, you could be using the wrong address.