how to configure LPDDR on i.MX257

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

how to configure LPDDR on i.MX257

2,076 次查看
SANDR
Contributor III

Hi,

I really think that it is difficult to configure LPDDR on i.MX257,because I have done this for a couple od days and didn't succeed yet.

I can't find some examples or instructions.I modified the memoryInit code according to the mddrMx25 in the /ATK source code/gui_application/platform/MemoryInit.h,but it doesn't work.So,I wish that someone could give me some clues or tips.

Thanks very much.

Best regards,

SANDR

10 回复数

1,879 次查看
igorpadykov
NXP Employee
NXP Employee

Hi SANDR

please look at attached files.

Before ATK modifications it is recommended to run

memory test with jtag and verify that settings are correct.

Best regards

igor

0 项奖励
回复

1,879 次查看
SANDR
Contributor III

Dear igor

what is the attached files?I just can write 1 bytes to 0x80000000.

Best regards.

SANDR

0 项奖励
回复

1,879 次查看
igorpadykov
NXP Employee
NXP Employee

Hi SANDR

it is example of mDDR init file and

explanation how to find parameters for new mDDR.

~igor

0 项奖励
回复

1,879 次查看
SANDR
Contributor III

Hi igor,

There is something that I don't understand in the init file.How or what to decide the address and value  of the operation "dummy write only address matter"?

For example, LOAD MODE REGISTER command,we can set the ESDCTL0 as" 0xB8001000 0xb2100000 32",then is the two dummy write cycle .But why is the address 0x80000003 and the value 0xda?

Best regards,

SANDR

0 项奖励
回复

1,879 次查看
Yuri
NXP Employee
NXP Employee

In script command

memory write32 0x80000033 0xda

the value 0x33 in low address bits is used to setup the DRAM mode register,
the value 0xda does not matter.

~Yuri.

1,879 次查看
kingliu
Contributor II

发送自HTC手机

0 项奖励
回复

1,879 次查看
igorpadykov
NXP Employee
NXP Employee

Hi SANDR

please check sect.24.5.4.2 SDR SDRAM Load Mode Register  IMX25RM

~igor

1,879 次查看
SANDR
Contributor III

Dear igor

Where is the attached file?

Best regards

~SANDR

0 项奖励
回复

1,879 次查看
igorpadykov
NXP Employee
NXP Employee
0 项奖励
回复

1,879 次查看
SANDR
Contributor III

Thank you very much!

Best regards

SANDR

0 项奖励
回复