Closed zhbeiluo closed 2 years ago
Hi @zhbeiluo,
can you first increase frequency to at least 125MHz? If not helping, the issue could be related to constraints or electrical settings. First be sure to have the INTERNAL_VREF constraints applied to the DRAM banks in your platform file (ex: https://github.com/litex-hub/litex-boards/blob/master/litex_boards/platforms/xilinx_zcu104.py#L121-L123) If you share your target/platform, I could do some checks.
You can also use ddr4_mr_gen tool to modify the electrical settings. Just run the script with the right parameters, copy/paste the commands in the BIOS and do a sdram_cal
followed by asdram_test
.
@enjoy-digital thanks!
After adding INTERNAL_VREF
constraints, it worked.
Great!
Hi there,
I'm using litedram on Xilinx Zynq UltraScale+ device. My memory cannot work correctly, and I have no clue why this happens. From the output, I find that memread errors always happen in the second byte (e.g., 0x74_df_8545 vs. 0x74_dd_8545). Have anyone ever seen this? Following is my minicom output.
I am wondering if there are some debugs methods to debug this problem. Thanks in advance.