Content originally posted in LPCWare by dbtayl on Sat Nov 01 07:21:42 MST 2014
I should note that I really don't know what I'm talking about- I've never tried to use an external RAM module with a micro before, so I'm just throwing things out based on what I see in the datasheet.
My thoughts (see above if any of them are really dumb):
-You're observing the write-recovery period when trying to write to the RAM?
-The RAM specifies 200/166/143 MHz operation. I assume you're going slower than that. Is that a problem? Or that's just the max frequency, so anything under that is OK (probably the latter, but hey)?
-It looks like the RAS strobe has a higher latency than other timings- is that accounted for? Seems like it might jibe with the "64 bytes" part of your problem.
-Have you tried writing to a DIFFERENT 64-byte area of memory? Does that work OK?
-Can you re-write and re-read the same 64 bytes (eg, write 0x333333..., read it back, write 0x555555.... to the same location, read it back)?
-Are you sending the RAM commends to set the parameters you assume (and/or they match the defaults)? Things like burst length, CAS latency, etc.?
Hope something there helps! If it's not some stupid little mistake, I don't know if I can help any more than that- you'll need somebody that knows what they're doing.