Forum Discussion
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
New 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
Occasional 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
- zhenruan
New Contributor
Hi David,
For a10 device how do you write and read to the DDR4 from within the system console? I don't think you can control the traffic in this way. The TG module controls the data pattern and customer can't control the TG module. You can change the TEST_DURATION mode for the TG as the guide below:
To do the recalibration, please create Memory Interface Connection first.
After that run the recalibration:
Please refer to the link below for more information on the operation for the Driver Margining:
Regards,
Aaron
- WZ2
Frequent 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