Other Parts Discussed in Thread: OMAP-L137
I have a custom OMAP-L137 board. Using exactly the same EMIFB SDRAM connections as in the EVMOMAP board, the memory doesn't seem to work correctly. I'm running a modified version of the SDRAM test found in %INSTALL_DIR%\boards\evmomapl137_v1\dsp\tests\sdram. I made tests for different data element sizes. 32-bit and 16-bit write/read works well but 8-bit data doesn't. Single stepping the function shows that a write to 0xC000 0000 goes into 0xC000 0001 but is read from the correct address. This goes on all the time so that byte write order is 1-0-3-2-5-4-7-6 etc. (this isn't a big endian interpretation issue).
Moreover, the data isn't what the program is trying to write. What could cause this kind of a problem? The same app works correctly on EVMOMAP and, as I said, writing 16 or 32 bits at a time works fine. Can this be an EMIFB timing configuration problem or something like that?
BR, Harri