I am attempting to set up a custom board with a AM3358 processor and MT41J128M16-15E ddr3
We have been attempting to modify the AM3358_Starterkit.gel file for inital DDR3 testing.
We have used the provided spread sheets to calculate our ratio seed values and our sdram timing values. Though I am now questioning whether they are correct.
Using JTAG debugging we have found EDMA tests reveal a pattern like so:
Failed@0x80000800 Expected=0xAAAAAAAA Read=0xAAAA0000
CortxA8: GEL Output:
Failed@0x80000804 Expected=0xAAAAAAAB Read=0xAAABAAAA
CortxA8: GEL Output:
Failed@0x80000808 Expected=0xAAAAAAAC Read=0xAAACAAAA
CortxA8: GEL Output:
Failed@0x8000080C Expected=0xAAAAAAAD Read=0xAAADAAAA
CortxA8: GEL Output:
Failed@0x80000810 Expected=0xAAAAAAAE Read=0xAAAEAAAA
CortxA8: GEL Output:
Failed@0x80000814 Expected=0xAAAAAAAF Read=0xAAAFAAAA
CortxA8: GEL Output:
Failed@0x80000818 Expected=0xAAAAAAB0 Read=0xAAB0AAAA
CortxA8: GEL Output:
Failed@0x8000081C Expected=0xAAAAAAB1 Read=0xAAB1AAAA
CortxA8: GEL Output:
Failed@0x80000820 Expected=0xAAAAAAB2 Read=0xAAB2AAAA
CortxA8: GEL Output:
Failed@0x80000824 Expected=0xAAAAAAB3 Read=0xAAB3AAAA
CortxA8: GEL Output:
Failed@0x80000828 Expected=0xAAAAAAB4 Read=0xAAB4AAAA
CortxA8: GEL Output:
Failed@0x8000082C Expected=0xAAAAAAB5 Read=0xAAB5AAAA
CortxA8: GEL Output:
Failed@0x80000830 Expected=0xAAAAAAB6 Read=0xAAB6AAAA
CortxA8: GEL Output:
Failed@0x80000834 Expected=0xAAAAAAB7 Read=0xAAB7AAAA
It appears to me that the data words being read out of ram are out of sync with the processor. I'm guessing that one of my timing parameters is off.
Any suggestions on where I should be looking?