LPDDR2 Script aid for imx6sl 512 MB dram

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

LPDDR2 Script aid for imx6sl 512 MB dram

2,514 次查看
sujay1
Contributor V

I'm trying to run a ddr calibration test for an imx6slevk board with 512 MB lpddr2 Dram.

I found a script aid in this link: i.MX6SL LPDDR2 Script Aid  however in the comments below, it is mentioned that this scripts is not compatible for 512 Mb Ram.

I tried going through the reference manual and looked at each of the registers mentioned in the .inc file but none of them mention the size.

Can anyone tell me what changes I need to make in the script for 512 MB ram?

I tried booting the board after making changes in the imximage.cfg file but the board doesn't flash beyond u-boot.

These were the logs:

U-Boot 2017.03-imx_v2017.03_4.9.88_2.0.0_ga+gb76bb1b (Sep 26 2019 - 11:25:23 +0530)

CPU: Freescale i.MX6SL rev1.2 996 MHz (running at 792 MHz)
CPU: Commercial temperature grade (0C to 95C) at 43C
Reset cause: POR
Model: Freescale i.MX6 SoloLite EVK Board
Board: MX6SLEVK
DRAM:

Even the DRAM size isn't printing now.

标签 (3)
0 项奖励
回复
3 回复数

2,326 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Sujay

>Can anyone tell me what changes I need to make in the script for 512 MB ram?

in script enter number of rows and columns according to lpddr2 datasheet.

Use latest ddr test:

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

For ddr test usage one can look at presentation

DES-N1936 i.MX 6UltraLite DDR Tools Overview and Hardware Design Considerations 

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

0 项奖励
回复

2,326 次查看
sujay1
Contributor V

Hi Igor

I used latest stress tester and also entered rows and columns as per datasheet.

But still same issue persists, am I missing anything in u-boot source?

0 项奖励
回复

2,326 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Sujay

one can debug it, adding for example gpio toggle in uboot sources.

Check for example function dram_init():

mx6slevk.c\mx6slevk\freescale\board - uboot-imx - i.MX U-Boot 

BTW what is exact memory size 512 MB or 512 Mb, they are both mentioned in post.

Best regards
igor

0 项奖励
回复