DDR Config tool gave invalid value

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

DDR Config tool gave invalid value

Jump to solution
1,420 Views
davidpatton
Contributor III

This is in relation to a custom board, patterned after the Sabre board, with an iMX6SX; I used the DDR stress test tool v2.7, to get the config values for my DDR; I then ran the stress test and it passed, I assume it used the config values it gave during the config. However, if I modify imximage.cfg in u-boot with these values, the board will not boot. So I went through the values and the registers in the reference manual and determined that the value for MMDC_MPDGCTRL0 (0x021B083C) is the problem. So I set that one value back to the default and now the board boots. This gives me little confidence in the other values given; they work, but are they optimal? Is there something we did incorrectly in the setup?

I am attaching several things:

ddr_calibration_20171113-10'54'40.log: this is the output of the DDR calibration in the Stress Test Tool

MX6SX_SDB_DDR3_256MB_16bit_x2_Rev1.inc: this is the setup script used by the DDR Stress Test tool, derived from the setup aid

imximage_old.cfg: this is the cfg file with the default values that will boot the board

imximage_new.cfg: this is the cfg file with all of the changes from the DDR Stress Test tool script and the output of the config; this will not allow the target to boot, unless I change MMDC_MPDGCTRL0 (0x021B083C) back to the default value, then it will boot

I.MX6SX_DDR3_Script_Aid_V0.01.xlsx: this is the setup aid I downloaded from NXP and filled in the values

Can anyone please help steer me to the correct path? Why did I get a value that will not allow the board to boot? Thanks...

Labels (1)
1 Solution
1,293 Views
igorpadykov
NXP Employee
NXP Employee

Hi David

seems there is misprint when editing imximage.cfg :

ddr tool log  suggested value : MPDGCTRL0 = 0x01300124
while in imximage_new.cfg.zip :
/*   Read DQS Gating calibration*/
DATA 4 0x021b083c 0x13000124

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

View solution in original post

2 Replies
1,294 Views
igorpadykov
NXP Employee
NXP Employee

Hi David

seems there is misprint when editing imximage.cfg :

ddr tool log  suggested value : MPDGCTRL0 = 0x01300124
while in imximage_new.cfg.zip :
/*   Read DQS Gating calibration*/
DATA 4 0x021b083c 0x13000124

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

1,293 Views
davidpatton
Contributor III

Wow! Much thanks!

0 Kudos
Reply