On our custom iMX6 ULL design the DDR calibration fails while the DDR stress test 3.0.0 is running without any problems (964 iterations so for) also when the DRAM frequency is set to 450MHz.
Board configuration:
iMX6 ULL
DDR3L: MT41K128M16JT-125:K
DDR Stress Test (3.0.0)
results from DDR Stress Test tool:
Start write leveling calibration...
running Write level HW calibration
MPWLHWERR register read out for factory diagnostics:
MPWLHWERR PHY0 = 0x00000000
HW WL cal status: no suitable delay value found for byte 0
HW WL cal status: no suitable delay value found for byte 1
Write leveling calibration completed but failed, the following results were found:
MMDC_MPWLDECTRL0 ch0 (0x021b080c) = 0x001F001F
Write DQS delay result:
Write DQS0 delay: 31/256 CK
Write DQS1 delay: 31/256 CK
Error: failed during write leveling calibration
Hi,
I encountered the same issue (write leveling failed but stress test works) and traced the root cause to pin swapping between the IMX6UL(L) and DDR3 on the data bus. Write leveling calibration relies on the LSB of each byte to correspond between the two devices. There's a note on this in the hardware implementation notes and (less obvious) in the reference manual.
V3.0.0 performs write leveling calibration and halts when there's an error.
V2.6.0 (obtained through FAE) performs write leveling calibration and happily continues on error with MPWLDECTRL0 set to 0x001F001F
Hi Sir,
i.MX6ULL DRAM clock is run 396MHz.
You can set 396MHZ in DDR stress tool.
Hi,
I tried calibration both at 400 and 396Mhz but still failing.
I also tried version 2.6.0 of the ddr_stress_tester tool and with this version the Write level HW calibration passes (and also the remaining calibration)
no problems are seen when running the memory test of the ddr_stress_tester (without doing the calibration)
Hello,
as stated above, there seems to be an issue with version 3.0.0 of the calibration tool. Therefore I would like to try 2.6.0. But that version is nowhere to be found on NXP's website. So if somebody could dive into their catacombs and relocate that old version, it would be much appreciated!
Thanks,
Maarten