Forum Discussion
Altera_Forum
Honored Contributor
14 years agouncontrolled SDRAM content change
Hi, I use a code which checks external SDRAM () by writing 0xAAAA and 0x5555 patterns. But the code always return an error code! When I check step by step SDRAM content with NIOSII IDE I can ...
Altera_Forum
Honored Contributor
14 years agothe random values could come from data cache flushes. As you are writing with IOWR, if for some reason those addresses were cached, when flushing the cache the old values are written back to memory.
Did you try using pointers instead of IOWR? That way you will access the memory through the data cache.