KKomp
New Contributor
7 years agoDDR3 setup
Hello,
I can't configure the HPS DDR3 memory on a custom board with the Cyclone V SoC. The memory is IS43TR16512A-125KBLI. The preloader stops in the rw_mgr_mem_calibrate_read_test_patterns function with the following error:
SEQ.C: test_load_patterns(0,ALL) => (170 == 255) => 0
SEQ.C: Guaranteed read test failed: g=0 p=0 d=12
this means that after
IOWR_32DIRECT (RW_MGR_RUN_SINGLE_GROUP, ((group*RW_MGR_MEM_VIRTUAL_GROUPS_PER_READ_DQS+vg) << 2), __RW_MGR_GUARANTEED_READ);
the
IORD_32DIRECT(BASE_RW_MGR, 0)
returns alternating sequence of ones and zeros instead of all zeros.
What can be the cause? How should I debug the problem?
Best regards.