By default in PSDK 02.00.00.00, the read-write levelling of EMIF Controller is done by processor itself i.e. DDR hardware levelling feature is used. When we tried to use the same feature, i.e.DDR hardware levelling, on our custom board based on AM5728, the board hangs after a reboot (warm reset) using SPI Flash as a permanent boot-device (i.e. MLO and U-boot flashed on SPI flash). But the same board, up on cold reset reads the binaries from SPI Flash and boots fine.
During warm reset when the issue happens, on further debugging, it is found that the data present on DDR changes after some time, i.e. the data written to DDR after the DDR clocks have been re-initialised is not same when read back after a while. Is there any issue with DDR hardware levelling feature on AM5728 processor?
I have also seen the Errata of AM5728 (Link) and see that there are two below mentioned issues w.r.t Warm reset. Are these issues also relate to DDR hardware levelling issue?
i727: Refresh Rate Issue after Warm Reset
i729: DDR Access Hang after Warm Reset
Regards,
Abhiroop Boggavarapu