Other Parts Discussed in Thread: DRA71
Posting on behalf of my customer:
We need to reopen a thread from 2018 about HW leveling using DRA71 (EMIF1) + 2 * memory DDR3 IM4G16D3FABG-125I @ 666 [MHz].
Summarizing, we found an issue when enabling hw leveling. SPL gets stuck after mem alloc. Using SW leveling goes OK, but some boards has memory errors (some bits toggles to 1 and others to 0 randomly) maybe because they are outside operation performance range, that's the reason why we need to try enabling hw leveling.
Read DQS Gate and Read data eye training are failing. This was done calculating HW leveling and then copying SW leveling calculated values to regs corresponding only to Write leveling. Specifically found failed Data Macro 0 and DM3 at Read DQS Gate Training and failed DM1, DM2, and DM3 Read data eye training.
Regs calculated using EMIF tool by HW leveling are:
EMIF_EXT_PHY_CONTROL_2: 0x70000e7
EMIF_EXT_PHY_CONTROL_3: 0x7000080
EMIF_EXT_PHY_CONTROL_4: 0x700007d
EMIF_EXT_PHY_CONTROL_5: 0x70000fb
EMIF_EXT_PHY_CONTROL_6: 0x7000082
EMIF_EXT_PHY_CONTROL_7: 0x7f
EMIF_EXT_PHY_CONTROL_8: 0x4a
EMIF_EXT_PHY_CONTROL_9: 0x4a
EMIF_EXT_PHY_CONTROL_10: 0x1f
EMIF_EXT_PHY_CONTROL_11: 0x7f
EMIF_EXT_PHY_CONTROL_12: 0x4d004e
EMIF_EXT_PHY_CONTROL_13: 0x11005f
EMIF_EXT_PHY_CONTROL_14: 0x2190070
EMIF_EXT_PHY_CONTROL_15: 0x86006b
EMIF_EXT_PHY_CONTROL_16: 0x6b0080
EMIF_EXT_PHY_CONTROL_17: 0x2d002e
EMIF_EXT_PHY_CONTROL_18: 0x3f1003f
EMIF_EXT_PHY_CONTROL_19: 0x1f90050
EMIF_EXT_PHY_CONTROL_20: 0x66004b
EMIF_EXT_PHY_CONTROL_21: 0x4b0060
Any help would be much appreciated and please let me know if you need more information.