Mscale ddr tool test fail with config file from i.MX config tool

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Mscale ddr tool test fail with config file from i.MX config tool

789 次查看
jiangyaqiang
Contributor IV

HI :

I got a problem with DDR test on imx8mm 4G lpddr.

When I use i.MX config tool do the stress test , the test pass, but it will failed with the config file lpddr4_config.ds generate by "i.MX config tool" when using in "Mscale ddr tool" . 

One more information:  when config the "setpoints" to 1, "Mscale ddr tool" will also pass the test.

it failed when config the "setpoints" to 3.

I attached the test result and config files for reference.

 

Any help will be appreciated .

Thanks.

标签 (1)
0 项奖励
回复
11 回复数

733 次查看
hongting_dong
NXP Employee
NXP Employee

Hi @jiangyaqiang , @JorgeCas 

Please do this setting in ds file and capture whole log in MSCALE_DDR_Tool.exe

ddrparam setTrainInfo 0x04

 

And I want to make sure one thing. You just replace from 2GB to 4GB on one same board OR make a new design for 4GB DRAM size.

Is there any error if run more test loop on Config Tool?

Best Regards

0 项奖励
回复

719 次查看
jiangyaqiang
Contributor IV

HI  hongting_dong:

 

Thanks for help.

It just replace from 2GB to 4GB on one same board .

Run more test loop on Config Tool, there two difference result:

1. when I click "start" button , it will pass .

2. when chose  "Run forever" , it will fail at round two.

I attached the log for reference. 

0 项奖励
回复

704 次查看
hongting_dong
NXP Employee
NXP Employee

Hi @jiangyaqiang 

Generally speaking, 2GB replacement to 4GB is not required to change ODT, DRV.
But I remember you said you need to change these parameters to pass TRAINING?
Have you tried multiple boards? Will you meet same error?
Can you double check that the layout meets some limitation in HDG like Table 21. i.MX 8M Mini LPDDR4-3000 routing recommendations LPDDR4-3000, Table 22. LPDDR4 delay matching example (CA/CTL signals)
I see from the training log that the latency is rather long.
Is it possible to reduce DDR clock like 1GHz to test?

Best Regards

0 项奖励
回复

655 次查看
jiangyaqiang
Contributor IV

Hi  Hongting_dong:

 

After more test, I found the the it will pass the test when using mscale_ddr_tool_v2.10 , it will fail at all other version of "Mscale ddr tool"(fail at 1500M, but pass at 1300M).

One more question: does the ddr test tool will change the arm/soc core voltage ? my board have no PMIC an the VDD_ARM VDD_SOC VDD_DRAM VDD_DRAM_PLL_0P8 are fixed to 0.9v.

0 项奖励
回复

604 次查看
hongting_dong
NXP Employee
NXP Employee

Hi @jiangyaqiang 

The version has been updated a lot and V2.1 passing doesn't mean anything.
With your testing, I suspect there is a issue in the signal quality.
Please try a signal integrity test, note the results of the tDIVW Margin and vDIVW Margin tests, they will show the eye diagram , which can detect if the signal is good enough during reads and writes.
Since you didn't do the PISI emulation test, the modification about the ODT DRV VREF will be a bit complicated.
I suggest you try this modification, ATxImpedance, TxImpedance, MR11.CAODT, MR11.DQODT, MR12, MR14, related to write, try to modify to find the right value.
ODTImpedance, MR3.PDDS, PhyVref related to read, try to modify to find the right value

Best Regards

0 项奖励
回复

486 次查看
jiangyaqiang
Contributor IV

HI Hongting_dong:

 

Sorry, but how to do DDR "signal integrity test" ? 

 

 

Best Regards.

0 项奖励
回复

483 次查看
JorgeCas
NXP TechSupport
NXP TechSupport

Hello,

You could use specialized equipment to measure the signal integrity. Also, you could use vTSA for reference in Config Tools for i.MX to determine margins of DDR .

Best regards.

0 项奖励
回复

635 次查看
JorgeCas
NXP TechSupport
NXP TechSupport

Hello,

Yes, the script has a PMIC initialization in the beginning of the DDR script, if you are using EVK's PMIC or DC/DC power supply for DDR part, there is no need to define it in the script.

Best regards.

0 项奖励
回复

695 次查看
jiangyaqiang
Contributor IV

Hi hongting_dong:

 

I have tested two board , result it the same.

We have double check the layout, it meets the requirement.

And I tried 1066M , it passed the test.

jiangyaqiang_1-1718705307775.jpeg

 

 

0 项奖励
回复

748 次查看
JorgeCas
NXP TechSupport
NXP TechSupport

Hello,

Let me check if I understood correctly.

You passes DDR stress test with i.MX Config Tools for i.MX. Then, you loaded the .ds file generated in i.MX Config Tools for i.MX as the DDR script in MSCALE_DDR_Tool (causing the test fail), right?

Best regards.

0 项奖励
回复

718 次查看
jiangyaqiang
Contributor IV

HI JorgeCas:

 

   Yes , you are correct.

0 项奖励
回复