iMX6 Solo DDR3 byte address troubleshoot

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

iMX6 Solo DDR3 byte address troubleshoot

ソリューションへジャンプ
1,345件の閲覧回数
andreaskarlsson
Contributor III

Hi,

I've a question regarding an iMX6Solo issue, we've used the DDR3 Script Aid XLS to create a basic configuration(no stress test calibration run). We've used the result and converted to Lauterbach CMM syntax, so far so good. But when the iMX is reset and started with the resulting values we get a weird phenomenon, Byte[1] gets written at address +8 for some reason.

Example

Data.Set 0x10000000 %Long 0xFFFFFFFF results in ,

0x10000000 = 0xFF00FFFF

<snippet>

0x10000008 = 0x00FF0000

The DDR3 is connected:

CPU                                Micron2Gb         Micron2Gb

A[0:15]  <->                     A[0:15]<->      A[0:15]

D[0-7 swapped] <->          D[0-7]

D[8-15 swapped]<->         D[8-15]

D[16-23 swapped]<->                             D[0-7]

D[24-31swapped]<->                             D[8-15]

However we didn't connect the byte(s) low bits,so write levelling will not function, but I would expect the DDR3 Script Aid XLS to generate a valid configuration regardless if write levelling can be used or not?

Attached is the Script Aid input.

regards

Andreas

ラベル(2)
タグ(1)
0 件の賞賛
1 解決策
1,039件の閲覧回数
andreaskarlsson
Contributor III

We got it to work, basically

1. The values DDR3 Script Aid didn't work AS IS, it was required to run DQS Gate,Read and Write calibration.

元の投稿で解決策を見る

0 件の賞賛
3 返答(返信)
1,039件の閲覧回数
Yuri
NXP Employee
NXP Employee

  Please look at some hints below

1.

  Please double check the schematic regarding DDR signal connections.

2.

  Please check PCB design regarding DDR signals, using Chapter 3 (i.MX 6 Series
Layout Recommendations) of the “Hardware Development Guide for i.MX 6Quad,
6Dual, 6DualLite, 6Solo Families …”


http://cache.freescale.com/files/32bit/doc/user_guide/IMX6DQ6SDLHDG.pdf

In particular, please use to Excel page named “MX6 DRAM Bus Length Check” in
“HW Design Checking List for i.Mx6”, linked below.

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


Have a great day,
Yuri

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

0 件の賞賛
1,039件の閲覧回数
andreaskarlsson
Contributor III

Thank you for answer, we'll look into above pointers.

One question though: If DDR3 Script Aid input values is correct, will the output configuration run if it is used without modification? At the moment we're unable to run the stress test due to using UART5.

regards

Andreas

0 件の賞賛
1,040件の閲覧回数
andreaskarlsson
Contributor III

We got it to work, basically

1. The values DDR3 Script Aid didn't work AS IS, it was required to run DQS Gate,Read and Write calibration.

0 件の賞賛