how to configure LPDDR on i.MX257

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

how to configure LPDDR on i.MX257

2,077 Views
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 Replies

1,880 Views
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 Kudos
Reply

1,880 Views
SANDR
Contributor III

Dear igor

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

Best regards.

SANDR

0 Kudos
Reply

1,880 Views
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 Kudos
Reply

1,880 Views
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 Kudos
Reply

1,880 Views
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,880 Views
kingliu
Contributor II

发送自HTC手机

0 Kudos
Reply

1,880 Views
igorpadykov
NXP Employee
NXP Employee

Hi SANDR

please check sect.24.5.4.2 SDR SDRAM Load Mode Register  IMX25RM

~igor

1,880 Views
SANDR
Contributor III

Dear igor

Where is the attached file?

Best regards

~SANDR

0 Kudos
Reply

1,880 Views
SANDR
Contributor III

Thank you very much!

Best regards

SANDR

0 Kudos
Reply