This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

memory window shows correct / false value

Hi,

I hope someone of you could help me. Using the AT91SAM9261 controller I've a few problems with the micron sdram 48LC8M16A2.

I wrote a little programm to test the sdram

unsigned char *var = (unsigned char *)0x20000000;

//in the main function
for(i=0;i<256;i++)
{
  *var=i;
  var++;
}

Unfortunately there are some errors.

(e.g. at adress 0x20000022 instead of 0x22 is there 0x02)
(e.g. at adress 0x20000026 instead of 0x26 is there 0x06)
(e.g. at adress 0x20000030 instead of 0x2E is there 0x0E)
(e.g. at adress 0x20000036 instead of 0x36 is there 0x16)
(e.g. at adress 0x20000040 instead of 0x3A is there 0x1A)

I check the values with the memory window, starting from 0x20000000. -> I get all theses errors.

But when I start a second window in the memory window with the start adr 0x20000036 (e.g.) I get the correct value at this position (not the false one)... How could that be possible?

best regards
Gerhard

0