IMX6 Solo custom board bringup

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

IMX6 Solo custom board bringup

Jump to solution
923 Views
anjojohn
Contributor IV

Hi All,

We are trying to bring-up our custom board based on IMX6 Solo with Micron MT41K128M16 DDR3 (Total 512MB, two chips, 32 bit bus, in 1600Mhz operation). After several try uploading u-boot.imx with imx-usb loader we are getting data mismatch (./imx-loader -d -v u-boot.imx)

!!!!mismatch
00000000: 402000d1 17800000 00000000 00000000  177ff420 177ff400 00000000 00000000
177ff400: 000000d1 00000000 40200000 17800000  00000020 00000000 177ff400 177ff400
          v v      vvv      ^ ^      ^^^       vvvvvv   vvvvvv   ^^^^^^   ^^^^^^   
00000020: 177ff000 00002000 00000000 405802d2  045402cc 74070e02 00000c00 54070e02
177ff420: 00000000 00000000 177ff000 000020d2  000000cc 40580202 04540200 74070e02

As we can see data is not read back in correct order. We have done DDR3 data line swapping for better routing. Is there need of any register change needed in imx6 mmdc registers ? We have done DDR configuration with help of IMX6 DDR3 script Aid.  Do we need to do any additional changes for data line swapping

Below is the schematics

Selection_125.png

0 Kudos
1 Solution
643 Views
igorpadykov
NXP Employee
NXP Employee

Hi anjo

no additional software changes are needed for bit swapping. Had you tried

ddr test, please find updated calibration coefficients and update image with them

https://community.freescale.com/docs/DOC-105652 

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

View solution in original post

0 Kudos
2 Replies
643 Views
anjojohn
Contributor IV

Hi Igorpadykov,

Thank You for the quick reply. using the stress-test tool we are able to make changes for the dcd values for the DDR configuration and Boots Up.

With Regards

Anjo John

0 Kudos
644 Views
igorpadykov
NXP Employee
NXP Employee

Hi anjo

no additional software changes are needed for bit swapping. Had you tried

ddr test, please find updated calibration coefficients and update image with them

https://community.freescale.com/docs/DOC-105652 

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

0 Kudos