2014-07-04 04:58 AM
2015-06-03 06:31 AM
Clarification of original symptoms
This is not a refresh problem. This immediate readback of a write like Michel's test below gives the expected value for 'number2' even with the SDRAM device physically removed from the board! It took me ages to find that out. In my case the software turned out to be correct but the RAM device wasn't soldered down properly. Michel's test://We declarate a variable test as a float in the SDRAM
__attribute__((section(''.sdram_data''))) float test; //Just some numbers float number1 = 12.5, number2; int main(void) { test = number1; number2 = test; }