Carlos, I see that you are writing and reading using addr32_write_uint16() and addr32_read_uint16(). Are these custom functions? Have you tried to view the SDRAM memory space using the memory browser in CCS? Are you able to modify contents through the browser? Can you confirm that your SDRAM_CR settings are correct in the register? I noticed that you are not setting the BIT_11_9_LOCK bit when writing the register value. This is not a significant point here since you are using the default value for CL, but it would be good to verify. You can also try to slow down the SDRAM timings and/or reduce SYSCLK to see if the behavior changes. If so, there is likely a timing sensitivity. -Tommy
↧