AnsweredAssumed Answered

i.MAX6 Quad Processor Based Custom Hardware Design.

Question asked by Peter Amond on Mar 26, 2017
Latest reply on Mar 27, 2017 by Yuri Muhin

Dear All,


I have developed i.MAX6 processor based custom hardware design and for that I have used Alliance AS4C256M16D3A-12BCN RAM (Data Sheet for RAM ) I could flash the Boot ROM of the processor from uboot by using USB OTG interface and now I'm stuck at DDR MEMORY CALIBRATION.


1. In order to bringing up a custom hardware I think first we should do the DDR memory calibration and include the read and write level calibrations to uboot. Is this correct ? Do we have any thing to do before this ?


2. So when I'm running the DDR calibration using ddr_stress_tester_v2.60  software it shows "ERROR FOUND, we can't get suitable value !!!! dram test fails for all values.. " 


DDR Stress Test (2.6.0)
Build: Nov 18 2016, 23:40:32
NXP Semiconductors.

Chip ID
CHIP ID = i.MX6 Dual/Quad (0x63)
Internal Revision = TO1.2

Boot Configuration
SRC_SBMR1(0x020d8004) = 0x00000000
SRC_SBMR2(0x020d801c) = 0x21000001

ARM Clock set to 1GHz

DDR configuration
BOOT_CFG3[5-4]: 0x00, Single DDR channel.
DDR type is DDR3
Data width: 64, bank num: 8
Row size: 15, col size: 10
Chip select CSD0 is used
Density per chip select: 2048MB

Current Temperature: 51

DDR Freq: 528 MHz

Start write leveling calibration...
running Write level HW calibration
Write leveling calibration completed, update the following registers in your initialization script
MMDC_MPWLDECTRL0 ch0 (0x021b080c) = 0x001F001F
MMDC_MPWLDECTRL1 ch0 (0x021b0810) = 0x001F001F
MMDC_MPWLDECTRL0 ch1 (0x021b480c) = 0x001F001F
MMDC_MPWLDECTRL1 ch1 (0x021b4810) = 0x001F001F
Write DQS delay result:
Write DQS0 delay: 31/256 CK
Write DQS1 delay: 31/256 CK
Write DQS2 delay: 31/256 CK
Write DQS3 delay: 31/256 CK
Write DQS4 delay: 31/256 CK
Write DQS5 delay: 31/256 CK
Write DQS6 delay: 31/256 CK
Write DQS7 delay: 31/256 CK


Starting DQS gating calibration
. HC_DEL=0x00000000 result[00]=0x11111111
. HC_DEL=0x00000001 result[01]=0x11111111
. HC_DEL=0x00000002 result[02]=0x11111111
. HC_DEL=0x00000003 result[03]=0x11111111
. HC_DEL=0x00000004 result[04]=0x11111111
. HC_DEL=0x00000005 result[05]=0x11111111
. HC_DEL=0x00000006 result[06]=0x11111111
. HC_DEL=0x00000007 result[07]=0x11111111
. HC_DEL=0x00000008 result[08]=0x11111111
. HC_DEL=0x00000009 result[09]=0x11111111
. HC_DEL=0x0000000A result[0A]=0x11111111
. HC_DEL=0x0000000B result[0B]=0x11111111
. HC_DEL=0x0000000C result[0C]=0x11111111
. HC_DEL=0x0000000D result[0D]=0x11111111
ERROR FOUND, we can't get suitable value !!!!
dram test fails for all values.


So it may be bad PCB layout or incorrect Script. But I did the script editing according to the RAM Data sheet. This is the changed excel sheet. Can you find any mistake in this according to the given RAM DATA SHEET ? If the problem is with the BAD PCB layout how I can confirm it whether BAD PCB or incorrect script ?


#Oliver Chen#igorpadykov#Wang Lin,

I must be thankful to you all if you can help me on this matter.