misstake with my DDR3 calibration

cancel
Showing results for 
Search instead for 
Did you mean: 

misstake with my DDR3 calibration

530 Views
zhangzhiyong1
Contributor III

Today,I test my on board DDR3 with DDR_Stress_tools_V1.0.3 and DDR_Stress_tools_V2.7.0.My board used MT41K128M16JT-125K,The SCH please see the SCH.PDF.now I used the DDR tools, created inc file .named MYBOARD.inc

 192135_192135.pngpastedImage_1.png

Then I used it in DDR_Stress_tools_V2.7.0

192136_192136.pngpastedImage_1.png

calibration result is on picture  then I put the value in MYBOARD.inc, calibration it again

several timesand used the initial MYBOARD.incseveral times.

The rusults is all different.  

in every times,After test,I put the all  the  value I got in Flash_header.S .it no work even got worse ,some result can`t standup kernel.

then  I used DDR_Stress_tools_V1.0.3 ,The phenomenon is same.

MY Stress test used MX6Q_SabreSD_DDR3_register_programming_aid_v1.5.inc can do well

It debug print says "Stress test successful"

Is my calibration wrong ???If I wrong please tell me how to calibration it

My English is poor 

thank you

Original Attachment has been moved to: ddr_calibration_20170820-16'50'34.log.zip

Original Attachment has been moved to: ddr_calibration_20170820-16'46'42.log.zip

Labels (2)
0 Kudos
3 Replies

314 Views
igorpadykov
NXP TechSupport
NXP TechSupport

Hi zhangzhiyong

please set MR1=4, description of usage of ddr tool can be found in presentation on

DES-N1936 i.MX 6UltraLite DDR Tools Overview and Hardware Design Considerations.pdf 

for calibration explanation please check last comment on thread

Write Leveling register WL_SW_RESx 

various ddr test errors are described on

Freescale i.MX6 DRAM Port Application Guide-DDR3 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

315 Views
zhangzhiyong1
Contributor III

HI,It`s 

MMDC registers updated from calibration

Write leveling calibration
MMDC_MPWLDECTRL0 ch0 (0x021b080c) = 0x0029002B
MMDC_MPWLDECTRL1 ch0 (0x021b0810) = 0x0034002D
MMDC_MPWLDECTRL0 ch1 (0x021b480c) = 0x000B0027
MMDC_MPWLDECTRL1 ch1 (0x021b4810) = 0x0014001B

Read DQS Gating calibration
MPDGCTRL0 PHY0 (0x021b083c) = 0x03480358
MPDGCTRL1 PHY0 (0x021b0840) = 0x033C0340
MPDGCTRL0 PHY1 (0x021b483c) = 0x03480348
MPDGCTRL1 PHY1 (0x021b4840) = 0x03300310

Read calibration
MPRDDLCTL PHY0 (0x021b0848) = 0x3A343238
MPRDDLCTL PHY1 (0x021b4848) = 0x38342E3C

Write calibration
MPWRDLCTL PHY0 (0x021b0850) = 0x4A443C38
MPWRDLCTL PHY1 (0x021b4850) = 0x4E44483E
the result is all upload to the Flash_header.S

If I upload More or less 

thank you

0 Kudos

315 Views
zhangzhiyong1
Contributor III

Hi ,igorpadykov,How i can get it?

thank you

pastedImage_1.png

0 Kudos