iMX6 ULL Error: failed during write leveling calibration

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

iMX6 ULL Error: failed during write leveling calibration

2,121件の閲覧回数
jeroenvanandel
Contributor I

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

 

0 件の賞賛
返信
6 返答(返信)

106件の閲覧回数
maarten_zanders
Contributor I

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

 

0 件の賞賛
返信

2,118件の閲覧回数
Danube
Contributor IV

Hi Sir,

 

i.MX6ULL DRAM clock is run 396MHz.

You can set 396MHZ in DDR stress tool.

 

0 件の賞賛
返信

2,105件の閲覧回数
jeroenvanandel
Contributor I

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) 

 

0 件の賞賛
返信

377件の閲覧回数
mzanders_mind
Contributor I
Can someone please share version 2.6.0 of the ddr_stress_tester tool? I'm running into exactly the same issue on a ULL design where I need to rerun memory calibration.
Thanks!
0 件の賞賛
返信

361件の閲覧回数
Danube
Contributor IV
0 件の賞賛
返信

353件の閲覧回数
mzanders_mind
Contributor I

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

0 件の賞賛
返信