<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: DDR3 configuration for imx6q processor in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/DDR3-configuration-for-imx6q-processor/m-p/764555#M118798</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sanket&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;what about other memory tests, had they passed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Jan 2018 23:22:37 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2018-01-05T23:22:37Z</dc:date>
    <item>
      <title>DDR3 configuration for imx6q processor</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DDR3-configuration-for-imx6q-processor/m-p/764552#M118795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are working on imx6q processor, our custom board have one DDR3 of 512MB. So i have configured DDR for imx6q processor from I.MX6DQSDL DDR3 Script Aid V0.10.xlsx. When i load the u-boot with configured DDR on our custom board, u-boot image will not flash properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;iMX6Q: MCIMX6Q6AVT08AD&lt;/P&gt;&lt;P&gt;DDR3: MT41K256M16TW-107 AAT:P&lt;/P&gt;&lt;P&gt;DDR type is DDR3&amp;nbsp; &amp;nbsp;&lt;BR /&gt;Data width: 16, bank num: 8 &amp;nbsp;&lt;BR /&gt;Row size: 15, col size: 10 &amp;nbsp;&lt;BR /&gt;Chip select CSD0 is used&amp;nbsp; &amp;nbsp;&lt;BR /&gt;Density per chip select: 512MB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are generation DDR3 configuration from "I.MX6DQSDL DDR3 Script Aid V0.10.xlsx" file and using "DDR_Stress_Tester_V1.0.2" tool we are configuring and calibrating the DDR3 on custom board.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any register value mismatch for DQS?&lt;/P&gt;&lt;P&gt;Is there any sequence we are missing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So please give me some solution for the same.&lt;/P&gt;&lt;P&gt;Configuration file are present in attachments.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOG:&lt;/P&gt;&lt;P&gt;============================================ &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DDR Stress Test (2.6.0)&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Build: Aug&amp;nbsp; 1 2017, 17:33:25 &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NXP Semiconductors. &amp;nbsp;&lt;BR /&gt;============================================ &amp;nbsp;&lt;BR /&gt;&amp;nbsp; &lt;BR /&gt;============================================ &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Chip ID &amp;nbsp;&lt;BR /&gt;CHIP ID = i.MX6 Dual/Quad (0x63) &amp;nbsp;&lt;BR /&gt;Internal Revision = TO1.5 &amp;nbsp;&lt;BR /&gt;============================================ &amp;nbsp;&lt;BR /&gt;&amp;nbsp; &lt;BR /&gt;============================================ &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Boot Configuration &amp;nbsp;&lt;BR /&gt;SRC_SBMR1(0x020d8004) = 0x00005878 &amp;nbsp;&lt;BR /&gt;SRC_SBMR2(0x020d801c) = 0x3a000001 &amp;nbsp;&lt;BR /&gt;============================================ &amp;nbsp;&lt;BR /&gt;&amp;nbsp; &lt;BR /&gt;ARM Clock set to 800MHz &amp;nbsp;&lt;BR /&gt;&amp;nbsp; &lt;BR /&gt;============================================ &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DDR configuration &amp;nbsp;&lt;BR /&gt;BOOT_CFG3[5-4]: 0x00, Single DDR channel. &amp;nbsp;&lt;BR /&gt;DDR type is DDR3&amp;nbsp; &amp;nbsp;&lt;BR /&gt;Data width: 16, bank num: 8 &amp;nbsp;&lt;BR /&gt;Row size: 15, col size: 10 &amp;nbsp;&lt;BR /&gt;Chip select CSD0 is used&amp;nbsp; &amp;nbsp;&lt;BR /&gt;Density per chip select: 512MB&amp;nbsp; &amp;nbsp;&lt;BR /&gt;============================================ &amp;nbsp;&lt;BR /&gt;&amp;nbsp; &lt;BR /&gt;Current Temperature: 31 &amp;nbsp;&lt;BR /&gt;============================================ &amp;nbsp;&lt;BR /&gt;&amp;nbsp; &lt;BR /&gt;DDR Freq: 396 MHz&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp; &lt;BR /&gt;ddr_mr1=0x00000004 &amp;nbsp;&lt;BR /&gt;Start write leveling calibration... &amp;nbsp;&lt;BR /&gt;running Write level HW calibration &amp;nbsp;&lt;BR /&gt;Write leveling calibration completed, update the following registers in your initialization script &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MMDC_MPWLDECTRL0 ch0 (0x021b080c) = 0x001F001F &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MMDC_MPWLDECTRL1 ch0 (0x021b0810) = 0x001F001F &amp;nbsp;&lt;BR /&gt;Write DQS delay result: &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Write DQS0 delay: 31/256 CK &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Write DQS1 delay: 31/256 CK &amp;nbsp;&lt;BR /&gt;&amp;nbsp; &lt;BR /&gt;Starting DQS gating calibration &amp;nbsp;&lt;BR /&gt;. HC_DEL=0x00000000&amp;nbsp;&amp;nbsp; &amp;nbsp;result[00]=0x00000011 &amp;nbsp;&lt;BR /&gt;. HC_DEL=0x00000001&amp;nbsp;&amp;nbsp; &amp;nbsp;result[01]=0x00000011 &amp;nbsp;&lt;BR /&gt;. HC_DEL=0x00000002&amp;nbsp;&amp;nbsp; &amp;nbsp;result[02]=0x00000011 &amp;nbsp;&lt;BR /&gt;. HC_DEL=0x00000003&amp;nbsp;&amp;nbsp; &amp;nbsp;result[03]=0x00000011 &amp;nbsp;&lt;BR /&gt;. HC_DEL=0x00000004&amp;nbsp;&amp;nbsp; &amp;nbsp;result[04]=0x00000011 &amp;nbsp;&lt;BR /&gt;. HC_DEL=0x00000005&amp;nbsp;&amp;nbsp; &amp;nbsp;result[05]=0x00000011 &amp;nbsp;&lt;BR /&gt;. HC_DEL=0x00000006&amp;nbsp;&amp;nbsp; &amp;nbsp;result[06]=0x00000011 &amp;nbsp;&lt;BR /&gt;. HC_DEL=0x00000007&amp;nbsp;&amp;nbsp; &amp;nbsp;result[07]=0x00000011 &amp;nbsp;&lt;BR /&gt;. HC_DEL=0x00000008&amp;nbsp;&amp;nbsp; &amp;nbsp;result[08]=0x00000011 &amp;nbsp;&lt;BR /&gt;. HC_DEL=0x00000009&amp;nbsp;&amp;nbsp; &amp;nbsp;result[09]=0x00000011 &amp;nbsp;&lt;BR /&gt;. HC_DEL=0x0000000A&amp;nbsp;&amp;nbsp; &amp;nbsp;result[0A]=0x00000011 &amp;nbsp;&lt;BR /&gt;. HC_DEL=0x0000000B&amp;nbsp;&amp;nbsp; &amp;nbsp;result[0B]=0x00000011 &amp;nbsp;&lt;BR /&gt;. HC_DEL=0x0000000C&amp;nbsp;&amp;nbsp; &amp;nbsp;result[0C]=0x00000011 &amp;nbsp;&lt;BR /&gt;. HC_DEL=0x0000000D&amp;nbsp;&amp;nbsp; &amp;nbsp;result[0D]=0x00000011 &amp;nbsp;&lt;BR /&gt;ERROR FOUND, we can't get suitable value !!!! &amp;nbsp;&lt;BR /&gt;dram test fails for all values.&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp; &lt;BR /&gt;Error: failed during ddr calibration&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;Sanket&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jan 2018 12:44:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DDR3-configuration-for-imx6q-processor/m-p/764552#M118795</guid>
      <dc:creator>sanketparekh</dc:creator>
      <dc:date>2018-01-04T12:44:31Z</dc:date>
    </item>
    <item>
      <title>Re: DDR3 configuration for imx6q processor</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DDR3-configuration-for-imx6q-processor/m-p/764553#M118796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sanket&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what about other memory tests, had they passed, as&lt;/P&gt;&lt;P&gt;"DQS gating calibration" errors are no fatal and board still may work well.&lt;/P&gt;&lt;P&gt;DDR tester errors are described in i.MX6 DRAM Port Application Guide-DDR3 on&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-101708"&gt;Freescale i.MX6 DRAM Port Application Guide-DDR3&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and these errors may be caused board noise and not implementing layout rules&lt;/P&gt;&lt;P&gt;described in sect.3.5 DDR routing rules i.MX6 System Development User’s Guide&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.nxp.com/docs/en/user-guide/IMX6DQ6SDLHDG.pdf"&gt;https://www.nxp.com/docs/en/user-guide/IMX6DQ6SDLHDG.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jan 2018 23:24:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DDR3-configuration-for-imx6q-processor/m-p/764553#M118796</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2018-01-04T23:24:29Z</dc:date>
    </item>
    <item>
      <title>Re: DDR3 configuration for imx6q processor</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DDR3-configuration-for-imx6q-processor/m-p/764554#M118797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Igor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We&amp;nbsp;have verified all the&amp;nbsp;design guidelines&amp;nbsp;shown in the iMX6Q hardware design guide and it is as per recommendations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached three files for your review as below:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Schematic showing 16-bit interface&amp;nbsp;&lt;SPAN&gt;between 512MB Automotive grade DDR3L memory and iMX6Q&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;DDR3&amp;nbsp;script file for DDR configuration:&amp;nbsp; I.MX6DQSDL DDR3 Script Aid V0.10, used&amp;nbsp;to generate DDR configuration for our board. Can you confirm we are using correct version?&lt;/LI&gt;&lt;LI&gt;Our custom board DDR memory ( &lt;SPAN class=""&gt;MT41K256M16TW-107 AAT:P)&amp;nbsp;&lt;/SPAN&gt;link:&amp;nbsp;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.micron.com/~/media/documents/products/data-sheet/dram/ddr3/4gb_automotive_ddr3l.pdf" title="https://www.micron.com/~/media/documents/products/data-sheet/dram/ddr3/4gb_automotive_ddr3l.pdf"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;https://www.micron.com/~/media/documents/products/data-sheet/dram/ddr3/4gb_automotive_ddr3l.pdf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you generate the DDR configuration from above details? This way we can verify if we are doing any mistake in configuration&amp;nbsp;file generation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are&amp;nbsp;performing following&amp;nbsp;steps for DDR bring-up:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Generate basic list of parameters from DDR configuration script excel (It is written in the script that it is required to run DDR stress tester first to get the correct DCD settings)&lt;/LI&gt;&lt;LI&gt;Calibrate it with DDR stress tester tool over windows and doing DCD settings and it should be passed successfully&lt;/LI&gt;&lt;LI&gt;Integrate the above parameters in the *.cfg file and load the DCD along with the u-boot.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After performing above steps too we are not successfully completed DDR calibration and U-boot loading.&lt;/P&gt;&lt;P&gt;Greatly appreciate your earliest response.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ritesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2018 15:33:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DDR3-configuration-for-imx6q-processor/m-p/764554#M118797</guid>
      <dc:creator>riteshpatel</dc:creator>
      <dc:date>2018-01-05T15:33:44Z</dc:date>
    </item>
    <item>
      <title>Re: DDR3 configuration for imx6q processor</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DDR3-configuration-for-imx6q-processor/m-p/764555#M118798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sanket&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;what about other memory tests, had they passed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2018 23:22:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DDR3-configuration-for-imx6q-processor/m-p/764555#M118798</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2018-01-05T23:22:37Z</dc:date>
    </item>
    <item>
      <title>Re: DDR3 configuration for imx6q processor</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DDR3-configuration-for-imx6q-processor/m-p/764556#M118799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Hi Igor,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Please check attached logs for below two tests.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f;"&gt;1) We have checked "stress test"&amp;nbsp; we are getting error as attached in the logs.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f;"&gt;2) We have checked by writing single DDR memory&amp;nbsp;0x10000000 with&amp;nbsp;0x50505050 and read back the same, it is giving same results.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f;"&gt;We do have certain questions for DDR related modifications&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="background-color: #ffffff; : ; color: #51626f;"&gt;1) As you suggested&amp;nbsp;the "DQS errors" to be no fatal at the bring-up time, we have started configuring the DCDs in the u-boot and we are using following configuration settings for our "MT41K256M16TW-107" DDR.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="background-color: #ffffff; : ; color: #51626f;"&gt;(NOTE: We have taken reference of below settings from 2x256mx16.cfg and modified the&amp;nbsp;MDASP and&amp;nbsp;MDCTL registers.)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f;"&gt;&lt;SPAN&gt;Can you please confirm whether the done settings are correct or not and let us know the modification required ?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;====================================================================&lt;/P&gt;&lt;P&gt;DATA 4, MX6_MMDC_P0_MDPDC, 0x0002002D&lt;BR /&gt;DATA 4, MX6_MMDC_P0_MDSCR, 0x00008000&lt;BR /&gt;DATA 4, MX6_MMDC_P0_MDCFG0, 0x696C5323&lt;BR /&gt;DATA 4, MX6_MMDC_P0_MDCFG1, 0xB66E8D63&lt;BR /&gt;DATA 4, MX6_MMDC_P0_MDCFG2, 0x01FF00DB&lt;BR /&gt;DATA 4, MX6_MMDC_P0_MDRWD, 0x000026D2&lt;BR /&gt;DATA 4, MX6_MMDC_P0_MDOR, 0x006C1023&lt;BR /&gt;DATA 4, MX6_MMDC_P0_MDOTC, 0x00333030&lt;BR /&gt;DATA 4, MX6_MMDC_P0_MDPDC, 0x0002556D&lt;BR /&gt;DATA 4, MX6_MMDC_P0_MDASP, 0x00000017&lt;BR /&gt;DATA 4, MX6_MMDC_P0_MDCTL, 0x84180000&lt;BR /&gt;DATA 4, MX6_MMDC_P0_MDSCR, 0x04008032&lt;BR /&gt;DATA 4, MX6_MMDC_P0_MDSCR, 0x00008033&lt;BR /&gt;DATA 4, MX6_MMDC_P0_MDSCR, 0x00048031&lt;BR /&gt;DATA 4, MX6_MMDC_P0_MDSCR, 0x13208030&lt;BR /&gt;DATA 4, MX6_MMDC_P0_MDSCR, 0x04008040&lt;BR /&gt;DATA 4, MX6_MMDC_P0_MPZQHWCTRL, 0xA1390003&lt;BR /&gt;DATA 4, MX6_MMDC_P1_MPZQHWCTRL, 0xA1390003&lt;BR /&gt;DATA 4, MX6_MMDC_P0_MDREF, 0x00007800&lt;BR /&gt;DATA 4, MX6_MMDC_P0_MPODTCTRL, 0x00022227&lt;BR /&gt;DATA 4, MX6_MMDC_P1_MPODTCTRL, 0x00022227&lt;BR /&gt;DATA 4, MX6_MMDC_P0_MPDGCTRL0, 0x42350231&lt;BR /&gt;DATA 4, MX6_MMDC_P0_MPDGCTRL1, 0x021A0218&lt;BR /&gt;DATA 4, MX6_MMDC_P1_MPDGCTRL0, 0x42350231&lt;BR /&gt;DATA 4, MX6_MMDC_P1_MPDGCTRL1, 0x021A0218&lt;BR /&gt;DATA 4, MX6_MMDC_P0_MPRDDLCTL, 0x4B4B4E49&lt;BR /&gt;DATA 4, MX6_MMDC_P1_MPRDDLCTL, 0x4B4B4E49&lt;BR /&gt;DATA 4, MX6_MMDC_P0_MPWRDLCTL, 0x3F3F3035&lt;BR /&gt;DATA 4, MX6_MMDC_P1_MPWRDLCTL, 0x3F3F3035&lt;BR /&gt;DATA 4, MX6_MMDC_P0_MPWLDECTRL0, 0x0040003C&lt;BR /&gt;DATA 4, MX6_MMDC_P0_MPWLDECTRL1, 0x0032003E&lt;BR /&gt;DATA 4, MX6_MMDC_P1_MPWLDECTRL0, 0x0040003C&lt;BR /&gt;DATA 4, MX6_MMDC_P1_MPWLDECTRL1, 0x0032003E&lt;BR /&gt;DATA 4, MX6_MMDC_P0_MPMUR0, 0x00000800&lt;BR /&gt;DATA 4, MX6_MMDC_P1_MPMUR0, 0x00000800&lt;BR /&gt;DATA 4, MX6_MMDC_P0_MDSCR, 0x00000000&lt;BR /&gt;DATA 4, MX6_MMDC_P0_MAPSR, 0x00011006&lt;/P&gt;&lt;P&gt;====================================================================&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2) We have also tried to use the same settings given by above excel and generated the .cfg file, however it was not working and board flashing is failing.&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;3) Is there any other modifications required in the u-boot code to get the u-boot code?&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;4) From the layout front we have checked the checklist that you have provided.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5) For flashing of the devices, we are using imx_usb binary, the flashing is successful however there is no activity on serial console. Debugging further we&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;found that with the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;"imx_usb -d -v" option, the verification of the DDR written data is getting failed due to which there no console prints on serial and for this we are assuming that there is some issues with u-boot or DCD configurations for DDR. Can you please let us know what may go wrong in the above configuration file ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Greatly appreciate your earliest response&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="border: 0px; font-size: 14px;"&gt;Thanks,&lt;/P&gt;&lt;P style="border: 0px; font-size: 14px;"&gt;Ritesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Jan 2018 09:47:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DDR3-configuration-for-imx6q-processor/m-p/764556#M118799</guid>
      <dc:creator>riteshpatel</dc:creator>
      <dc:date>2018-01-06T09:47:12Z</dc:date>
    </item>
    <item>
      <title>Re: DDR3 configuration for imx6q processor</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DDR3-configuration-for-imx6q-processor/m-p/764557#M118800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Other tests log file&lt;/P&gt;&lt;P&gt;============================================&lt;BR /&gt; DDR Stress Test (2.6.0) &lt;BR /&gt; Build: Aug 1 2017, 17:33:25&lt;BR /&gt; NXP Semiconductors.&lt;BR /&gt;============================================&lt;/P&gt;&lt;P&gt;============================================&lt;BR /&gt; Chip ID&lt;BR /&gt;CHIP ID = i.MX6 Dual/Quad (0x63)&lt;BR /&gt;Internal Revision = TO1.5&lt;BR /&gt;============================================&lt;/P&gt;&lt;P&gt;============================================&lt;BR /&gt; Boot Configuration&lt;BR /&gt;SRC_SBMR1(0x020d8004) = 0x00005878&lt;BR /&gt;SRC_SBMR2(0x020d801c) = 0x3a000001&lt;BR /&gt;============================================&lt;/P&gt;&lt;P&gt;ARM Clock set to 800MHz&lt;/P&gt;&lt;P&gt;============================================&lt;BR /&gt; DDR configuration&lt;BR /&gt;BOOT_CFG3[5-4]: 0x00, Single DDR channel.&lt;BR /&gt;DDR type is DDR3 &lt;BR /&gt;Data width: 16, bank num: 8&lt;BR /&gt;Row size: 15, col size: 10&lt;BR /&gt;Chip select CSD0 is used &lt;BR /&gt;Density per chip select: 512MB &lt;BR /&gt;============================================&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;DDR Stress Test Iteration 1&lt;BR /&gt;Current Temperature: 42&lt;BR /&gt;============================================&lt;/P&gt;&lt;P&gt;DDR Freq: 297 MHz&lt;BR /&gt;t0.1: data is addr test&lt;BR /&gt;Address of failure(step2): 0x10000000&lt;BR /&gt;Data was: 0xffffffff&lt;BR /&gt;But pattern should match address &lt;BR /&gt;Error: failed to run stress test!!!&lt;/P&gt;&lt;P&gt;addr=0x10000000,data=0x50505050&lt;/P&gt;&lt;P&gt;Success to write address 0x10000000&lt;/P&gt;&lt;P&gt;0x0 0x4 0x8 0xC&lt;BR /&gt; ----------------------------------------------------------------------------------------------------------------&lt;BR /&gt;0x10000000: 0x50505050 &lt;BR /&gt;memory read is done&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Jan 2018 09:51:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DDR3-configuration-for-imx6q-processor/m-p/764557#M118800</guid>
      <dc:creator>riteshpatel</dc:creator>
      <dc:date>2018-01-06T09:51:13Z</dc:date>
    </item>
    <item>
      <title>Re: DDR3 configuration for imx6q processor</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DDR3-configuration-for-imx6q-processor/m-p/764558#M118801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ritesh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if there no any tests passed fine (note write leveling calibration passes even ddr interface is not&lt;BR /&gt;working at all), it may mean that ddr interface is not working. Please check hardware using&lt;BR /&gt;i.MX6 System Development User’s Guide &lt;BR /&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fwww.nxp.com%2Fdocs%2Fen%2Fuser-guide%2FIMX6DQ6SDLHDG.pdf" rel="nofollow" target="_blank"&gt;https://www.nxp.com/docs/en/user-guide/IMX6DQ6SDLHDG.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding DQS gating calibration, one can try to set WALAT=1 in MMDCx_MDMISC register.&lt;BR /&gt;Also suggest to check signals with oscilloscope: place a probe on DQ0 and DQ8 to &lt;BR /&gt;see if either trace goes high during the DQS gating calibration.&lt;BR /&gt;Check to see that RESET_B is going high, if SDCKE0 is going high.&lt;BR /&gt;Place a probe on SDCLK_0 and/or SDCLK_0_B and make sure you see &lt;BR /&gt;a clock signal on both.&lt;BR /&gt;As this ddr is similar to i.MX6Q Sabre SD memory (MT41K128M16JT) one can&lt;BR /&gt;start with its cfg file (just adusting row, bus width settings) on &lt;BR /&gt;uboot/freescale/mx6sabresd/mx6q_4x_mt41j128.cfg:&lt;BR /&gt;&lt;A class="link-titled" href="http://git.freescale.com/git/cgit.cgi/imx/uboot-imx.git/tree/board/freescale/mx6sabresd/mx6q_4x_mt41j128.cfg?h=imx_v2016.03_4.1.15_2.0.0_ga&amp;amp;id=rel_imx_4.1.15_2.1.0_ga" title="http://git.freescale.com/git/cgit.cgi/imx/uboot-imx.git/tree/board/freescale/mx6sabresd/mx6q_4x_mt41j128.cfg?h=imx_v2016.03_4.1.15_2.0.0_ga&amp;amp;id=rel_imx_4.1.15_2.1.0_ga"&gt;uboot-imx.git - Freescale i.MX u-boot Tree&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Jan 2018 22:51:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DDR3-configuration-for-imx6q-processor/m-p/764558#M118801</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2018-01-07T22:51:22Z</dc:date>
    </item>
    <item>
      <title>Re: DDR3 configuration for imx6q processor</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DDR3-configuration-for-imx6q-processor/m-p/764559#M118802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-family: arial, helvetica, sans-serif; font-size: 15px;"&gt;Hi Igor,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-family: arial, helvetica, sans-serif;"&gt;Thank you for the reply.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-family: arial, helvetica, sans-serif;"&gt;We have checked with&amp;nbsp;&amp;nbsp;WALAT=1, and checked&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;RESET_B,&amp;nbsp;SDCKE0 and&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;SDCLK_0_B which is constant low. We have also checked that there is no ground shorting on the pins.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #000000; font-family: arial, helvetica, sans-serif;"&gt;We have also checked&amp;nbsp;DRAM_RESET, DRAM_CLK0,&amp;nbsp;SDCKE0&amp;nbsp; that pins are also low on our board at the time of flashing as well as doing the DDR related tests.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="background-color: #ffffff; color: #000000; font-family: arial, helvetica, sans-serif;"&gt;We have checke&lt;SPAN style="font-size: 15px;"&gt;d&amp;nbsp;DDR_VREF = 0.75V, and 1.5V voltage is proper.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="background-color: #ffffff; color: #000000; font-family: arial, helvetica, sans-serif;"&gt;For configuration file as per your suggestion we have modified the configuration file.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #000000; font-family: arial, helvetica, sans-serif;"&gt;Can you please help us to&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN style="background-color: #ffffff; color: #000000; font-family: arial, helvetica, sans-serif;"&gt;Please review the DCD configuration file "MT41K256M16TW-107.cfg" .&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="background-color: #ffffff; color: #000000; font-family: arial, helvetica, sans-serif;"&gt;Can you please provide more debug points on hardware front?&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="background-color: #ffffff; color: #000000; font-family: arial, helvetica, sans-serif;"&gt;Is it possible to debug this issue with JTAG to know the memory written in the DDR as well as to check whether the processor bootrom is stuck somewhere or not? (We have checked on the J-Link that imx6q is supported by it.)&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #000000; font-family: arial, helvetica, sans-serif;"&gt;Greatly appreciate your support and further steps in debugging this.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #000000; font-family: arial, helvetica, sans-serif;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #000000; font-family: arial, helvetica, sans-serif;"&gt;Ritesh.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jan 2018 15:54:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DDR3-configuration-for-imx6q-processor/m-p/764559#M118802</guid>
      <dc:creator>riteshpatel</dc:creator>
      <dc:date>2018-01-08T15:54:06Z</dc:date>
    </item>
    <item>
      <title>Re: DDR3 configuration for imx6q processor</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DDR3-configuration-for-imx6q-processor/m-p/764560#M118803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN style="background-color: #ffffff; color: #000000; font-family: arial, helvetica, sans-serif;"&gt;Ritesh&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;most probably hardware is not working, please refer to&lt;/P&gt;&lt;P&gt;i.MX6 System Development User’s Guide for checking board hardware&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.nxp.com/docs/en/user-guide/IMX6DQ6SDLHDG.pdf"&gt;https://www.nxp.com/docs/en/user-guide/IMX6DQ6SDLHDG.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jan 2018 00:23:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DDR3-configuration-for-imx6q-processor/m-p/764560#M118803</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2018-01-09T00:23:35Z</dc:date>
    </item>
    <item>
      <title>Re: DDR3 configuration for imx6q processor</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DDR3-configuration-for-imx6q-processor/m-p/764561#M118804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Igor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have already verified that schematics and layout related recommendations/rules mentioned in this document.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Is it possible due to wrong DCD configuration this pins are low?&lt;/P&gt;&lt;P&gt;2) Please provide inputs for next debug approaches.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ritesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jan 2018 01:22:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DDR3-configuration-for-imx6q-processor/m-p/764561#M118804</guid>
      <dc:creator>riteshpatel</dc:creator>
      <dc:date>2018-01-09T01:22:45Z</dc:date>
    </item>
    <item>
      <title>Re: DDR3 configuration for imx6q processor</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DDR3-configuration-for-imx6q-processor/m-p/764562#M118805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ritesh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. you can start with default dcd configuration provided in nxp bsps&lt;/P&gt;&lt;P&gt;(just adusting row, bus width settings), it should work.&lt;/P&gt;&lt;P&gt;uboot/freescale/mx6sabresd/mx6q_4x_mt41j128.cfg:&lt;BR /&gt;&lt;A data-content-finding="Community" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fgit.freescale.com%2Fgit%2Fcgit.cgi%2Fimx%2Fuboot-imx.git%2Ftree%2Fboard%2Ffreescale%2Fmx6sabresd%2Fmx6q_4x_mt41j128.cfg%3Fh%3Dimx_v2016.03_4.1.15_2.0.0_ga%26id%3Drel_imx_4.1.15_2.1.0_ga" rel="nofollow" target="_blank"&gt;uboot-imx.git - Freescale i.MX u-boot Tree&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. please try baremetal sdk test with jtag (..src/tests/ddr_test.c), perform read/write some memory location,&lt;/P&gt;&lt;P&gt;check signals with oscilloscope&lt;/P&gt;&lt;P&gt;Github SDK&lt;BR /&gt;&lt;A href="https://github.com/backenklee/swp-report/tree/master/iMX6_Platform_SDK"&gt;https://github.com/backenklee/swp-report/tree/master/iMX6_Platform_SDK&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jan 2018 07:27:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DDR3-configuration-for-imx6q-processor/m-p/764562#M118805</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2018-01-09T07:27:01Z</dc:date>
    </item>
    <item>
      <title>Re: DDR3 configuration for imx6q processor</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DDR3-configuration-for-imx6q-processor/m-p/764563#M118806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Igor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for the extended support.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We found that NVCC_LVDS supply was not connected to power rail &amp;amp; NVCC_LVDS gives power to the DDR IO drivers.&lt;/P&gt;&lt;P&gt;Now we are getting the proper signal on Reset, CKE &amp;amp; Clock lines.&lt;/P&gt;&lt;P&gt;We also run DDR calibration on&amp;nbsp;DDR test utility successfully.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, we are not getting u-boot prompt. Looks like now there is some issue in&amp;nbsp;the u-boot (or may be DCD issue).&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) We have checked the UART port configuration in u-boot. What are the other changes required to get the prompt?&lt;/P&gt;&lt;P&gt;2) We have found that there is SoC silicon revision number change, what are the patches we need to apply for this? (We are using Nitrogen6x which is having 1.2 however our custom board has 1.3)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;3) We are using attached .cfg file which is generated from attached excel.&lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ritesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jan 2018 15:58:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DDR3-configuration-for-imx6q-processor/m-p/764563#M118806</guid>
      <dc:creator>riteshpatel</dc:creator>
      <dc:date>2018-01-09T15:58:58Z</dc:date>
    </item>
    <item>
      <title>Re: DDR3 configuration for imx6q processor</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DDR3-configuration-for-imx6q-processor/m-p/764564#M118807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Igor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for your quick support.&lt;/P&gt;&lt;P&gt;We got U-boot prompt on UART console after changing the UART pin muxing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ritesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jan 2018 15:03:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DDR3-configuration-for-imx6q-processor/m-p/764564#M118807</guid>
      <dc:creator>riteshpatel</dc:creator>
      <dc:date>2018-01-10T15:03:07Z</dc:date>
    </item>
  </channel>
</rss>

