ddr3 initialization

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

ddr3 initialization

1,059 Views
saida
Contributor II

Hi I.MX6  community

i am facing  following problems

1. The PMIC is giving more problems , many of IC's in a lot are not working properly some of them giving 0.8 volts output only.

2. i am debugging with arm ds5, suppose in u-boot case, when i am trying to run a u-boot bin file from DDR3 it is hanging randomly.(output on hyper terminal)

    in my board i am using mt41k256x16 ddr chip(2GB), i have sabresd board (1GB ram) ddr3 script file which is uing for my board.

    is this script works for my board ? if not can any one send the script file for mt41k256x16ha ddr3 chip which is used in sabre ai board.

    i am suspecting ddr init is the problem because one standalone uart application running from iram is working perfectly, when from ddr its not .

3.on sabresd board i want to run httpd server application which i found from sdk.its not working

  i connected the board directly to pc using rj45 cable.  than i made changes to source file http_main.c

     a)  ip address changed to 172.22.20.61 (my pc ip is 172.22.20.11)

     b)  i disabled obtaining of ip using dhcp and auto.

     C) i selected static ip routine

finally compiled and booting from sd card (i went through readme file)

than for testing i am browsing from mozilla firefox web browser with http://172.22.20.61 but its not working

is any wrong in my procedure or code ?

plz any one can help  to up my board

thanks and regards

Saida

Labels (1)
0 Kudos
9 Replies

700 Views
igorpadykov
NXP Employee
NXP Employee

HI saida

this script may not work for your board even with the same ddrs, due to diffrencies

in board material and layout. Recommended to run ddr test

i.MX6/7 DDR Stress Test Tool V2.30

then modify script with calibration settings found from ddr test.

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

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

-----------------------------------------------------------------------------------------------------------------------

0 Kudos

700 Views
saida
Contributor II

Hi

igorpady

thanks for you reply

i think the calibration data from ddr stress test is the reference for script file,board.cfg and mt41k256x16.cfg files.

what about other two problems

thanks and regards

saida

0 Kudos

700 Views
igorpadykov
NXP Employee
NXP Employee

you described many problems, which

"what about other two problems" are you refering ?

~igor

0 Kudos

700 Views
saida
Contributor II

hi

yes 2 and 3

my ddr calibration is failed with ddr_stress_test_toolv2.30( error: ddr calibration failed)

through u-boot i am downloading file ddr_test_u-boot_jatag_mx6dl.bin to address 0x00907000 iram and running from it

i went through community posts, some of them mentioned that tool compatability issues

my cpu if dual lite

ddr: mt41k256m16

what could be the problem ?

thanks and regards

Saida

0 Kudos

700 Views
igorpadykov
NXP Employee
NXP Employee

what do you mean by "error: ddr calibration failed" ,

exactly what "calibration": DQS gating calibration, read, write ?

~igor

0 Kudos

700 Views
saida
Contributor II

DQS gating calibration failed

0 Kudos

700 Views
igorpadykov
NXP Employee
NXP Employee

you can ignore it, if all other tests passed.

0 Kudos

700 Views
saida
Contributor II

hi

no even stress test also failed

error is "written and read data are not matched address failed"

0 Kudos

700 Views
igorpadykov
NXP Employee
NXP Employee

please check this specific bit (signal line) with oscilloscope

and try to change its drive strength (can be done both from i.MX6 and

ddr side).

0 Kudos