Forum Discussion
Altera_Forum
Honored Contributor
16 years agoThis behavior is not unexpected. There are two reasons I can think of:
1 - The DDR2 controller requires a certain amount of time to initialize the DDR2 memory. It is not expected that the SDRAM's contents remain valid during this time (because the ram is not being refreshed). 2 - Wouldn't the calibration sequence used by the altmemphy core wipe out any data that previously existed in the first several words of the RAM (something like 32 or 64)? This would trash your code. What you could try doing is bringing out the user controlled refresh signal from the DDR2 core and assert that instead of the global reset. Most systems reload the RAM with code (usually with a bootloader and flash) after a reset. I assume for some good reason, yours does not. Jake