I am using Micron SDRAM "MT48LC8M16A2P" with Cirrus Logic EP9307 microprocessor. I am using a RTOS on the system, as well. The SDRAM refresh rate is being set to "5us" in the processor register, against 15.625 us specified by the datasheet. I do not have a low power mode, and hence no self-refresh commands are sent to the SDRAM.
Observation: -> I could observe bit rots in random sections of the SDRAM cells, when I start multi-tasking. Out of nowhere I go to a data-abort after about 10 mins of runtime. -> I could observe known sections of the data memory getting changed. -> I was able to avoid this issue by adding a refresh cyclic task, which touches each SDRAM rows and hence an explicit refresh is generated. -> However,I could still observe bit rots in the memory cells, as soon as I connect the emulator to debug the code. -> There is no issue seen with normal read and write operation to the SDRAM.
Questions: -> Just wanted to clear my suspicion, if this could be a refresh issue or has anyone faced a similar situation ? -> I have only done a one-time configuration of the internal SDRAM controller of the EP9307 microprocessor. Is there any configuration that needs to be updated at runtime ?
Thanks in advance.
-Gaurav