Read and Write to DRAM

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

Read and Write to DRAM

676件の閲覧回数
mariyapradeep
Contributor II

Hi,
I am working on wandboard imx6 dual, I was able to write and read a value to a ram location 0x12000000 using md and mw commands. But once the board was reboot via software the value resets and gets back to the initial value. Why it happens so,is it the actual behavior? Also I would like to know where dram initialization takes place.

Thanks in advance.

0 件の賞賛
返信
2 返答(返信)

554件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

ddr initialized in dcd header in uboot/board/freescale/mx6sabresd/mx6q_4x_mt41j128.cfg

or similar locations on other boards.

Also it may be useful to check schematic as on some boards reset is performed as

whole board reset when pmic shortly switch off/on (for MMPF0100 using PWRON).

~igor

0 件の賞賛
返信

554件の閲覧回数
RossMcLuckie
NXP Employee
NXP Employee

Hi,

If the software reboot, generates a hardware reset, via the POR pin, which is likely, then the DRAM controller will be reset and re-initialised and the behaviour you are describing would be expected.

DRAM initialisation is not fixed and up to the user, but the most common, and likely, initialisation is done through the DCD filed at boot time, see the boot chapter in the reference manual for more details -

i.MX 6Dual Processors|Advanced 3D Graphics|NXP 

For more specifics on the wandboard you could try their site and forums -

Wandboard - NXP i.MX6 ARM Cortex-A9 Community Development Board - BLOG 

Regards

Ross

0 件の賞賛
返信