Hi JWW,
I'm always fighting against my cache problem. I found something strange which explains why the cache does not work with my SDRAM.
I checked the SDRAM burst length (8) and the timings as well. All is ok and works perfectly wihtout the cache.
I have to 16bits SDRAM which form a 32bits data bus.
Here is the sequence causing my troubles:
The cache is enabled (write through) and I perform a read/write access (32bits, value 0x01020304) to the first SDRAM address (0x00000000). The readback value is ok.
Now I write an other value (0x05060708) to the second 32bits address (0x00000004). If i read back the value, I get 0x01020304 ????
Do you have an idea ?
Thanks in advance
Best regards,
Nicolas