Forum Discussion

David32's avatar
David32
Icon for Occasional Contributor rankOccasional Contributor
1 year ago

EMIF Toolkit

Hi,

I have compiled a test design (archive is attached) in order to use the EMIF Toolkit on our external DDR4.

The commands:

Initialize Connections

Link Project to Device

seem to complete without error.

However, when I continue to "Create Memory Interface Connection" (see photo) I am getting an error message "could not establish a connection".

An additional error message appears before that "Calibration was not detected ....".

The project archive and log file is attached.

Any help will be much appreciated.

David

7 Replies

  • zhenruan's avatar
    zhenruan
    Icon for New Contributor rankNew Contributor

    Hi David,

    Please check the "emif_0_status_local_cal_fail" and "emif_0_status_local_cal_success" with signaltap. If none of them toggles please check the ddr4 reference clock. Make sure it becomes stable before the FPGA configuration done.

    Regards,

    Aaron

    • David32's avatar
      David32
      Icon for Occasional Contributor rankOccasional Contributor

      Hi Aaron,

      The DDR4 reference clock was not stable when FPGA entered user mode.

      I have fixed this and now the "Create Memory Interface Connection" within EMIF Toolkit does complete OK.

      However - there are some remaining issues withe the toolkit and the DDR4 interface.

      1.

      I have tested W/R to the DDR4 from within the system console.

      Up to a certain address (0xF000) the memory seems to work OK - although the number of runs was very small.

      From 0xF000 the DDR4 is always reading 0x0.

      2.

      Any action that I try to perform within the toolkit, such as recalibration, or margining, etc, leads to an endless loop within the tool - where I am told to WAIT.

      Any help on solving the above two issues would be greatly appreciated.

      David

  • WZ2's avatar
    WZ2
    Icon for Frequent Contributor rankFrequent Contributor

    Hi there,

    I wanted to check if you have any further questions or concerns. If not, I will go ahead and mark this issue as resolved.

    Additionally, we would greatly appreciate it if you could take a moment to fill out our survey. Your feedback is valuable to us and helps us improve our support quality.

    Thank you for your time and cooperation.

    Best regards,

    WZ