AnsweredAssumed Answered

DDR calibration on Imx6

Question asked by DHANUNJAY KATTA on Dec 20, 2015
Latest reply on Jan 12, 2016 by DHANUNJAY KATTA

Dear Team,

 

I wanted to test DDR calibration on imx6. Testing only for Write leveling, DQS, Read/write leveling.

 

DDR start address s 0X10000000 DDR size 2GB.

in this DDR3 allocations :

cached ram size is : DDR base addr + 2GB - 1MB

uncached ram is : last 1MB

pagetable is placed at end of the cached ram.

 

when running  the DDR calibration tests, I got the following error.

 

=============================STARTING DDR CALIBRATION=============================

Start write leveling calibration

Write leveling calibration completed

MMDC_MPWLDECTRL0 ch0 after write level cal: 0x002C001F

MMDC_MPWLDECTRL1 ch0 after write level cal: 0x002C002A

MMDC_MPWLDECTRL0 ch1 after write level cal: 0x00240033

MMDC_MPWLDECTRL1 ch1 after write level cal: 0x0016002A

Starting DQS gating calibration...

**Memory did not transfer correctly, DDRtest_SSN_memcpy2 failed

...

 

We are using 64-bit DDR3 memory, here we observe that CSD0_base_address and some other variable content is lost/overwriting with some garbage value. while executing the tests.

 

Can you please suggest the problem solution.

Outcomes