<?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: LS1046ARDB DDR initialization error with Target Initialization File in Layerscape</title>
    <link>https://community.nxp.com/t5/Layerscape/LS1046ARDB-DDR-initialization-error-with-Target-Initialization/m-p/1285965#M8129</link>
    <description>&lt;P&gt;&lt;SPAN&gt;It seems that there is DDR controller initialization problem on your target board.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please use the latest CodeWarrior for ARMV8&amp;nbsp;CW4NET v2020.06, please download the installation file from&amp;nbsp;&lt;A href="https://drive.google.com/file/d/1Kjq1nLYrtIfWAHYrup5Cf-TTEJI9iWiu/view?usp=sharing," target="_blank"&gt;https://drive.google.com/file/d/1Kjq1nLYrtIfWAHYrup5Cf-TTEJI9iWiu/view?usp=sharing ,&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please download the patch release from&amp;nbsp;&lt;A href="https://drive.google.com/file/d/1g4FbibmVuEWQdEhCuaOqMUvs6_xQzzYC/view?usp=sharing," target="_blank"&gt;https://drive.google.com/file/d/1g4FbibmVuEWQdEhCuaOqMUvs6_xQzzYC/view?usp=sharing,&lt;/A&gt;&amp;nbsp;install the patch release from Help-&amp;gt;Install New Software-&amp;gt;Add-&amp;gt;Archive.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please check whether&amp;nbsp; UDIMM 18ASF1G72AZ-2G3B1 is integrated on your target board.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 02 Jun 2021 08:05:48 GMT</pubDate>
    <dc:creator>yipingwang</dc:creator>
    <dc:date>2021-06-02T08:05:48Z</dc:date>
    <item>
      <title>LS1046ARDB DDR initialization error with Target Initialization File</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1046ARDB-DDR-initialization-error-with-Target-Initialization/m-p/1285535#M8126</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I am starting to use LS1046RDB. Most of CodeWarrior functionalities work well but I get the following error message when connecting with the LS1046A_RDB Target Connection.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AngelMorales_0-1622563278095.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/146010i54C026C4ED5C69C0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AngelMorales_0-1622563278095.png" alt="AngelMorales_0-1622563278095.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I believe that the whole DDR configuration is performed with the Target Initialzation File, but I may be missing something.&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jun 2021 16:02:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1046ARDB-DDR-initialization-error-with-Target-Initialization/m-p/1285535#M8126</guid>
      <dc:creator>AngelMorales</dc:creator>
      <dc:date>2021-06-01T16:02:45Z</dc:date>
    </item>
    <item>
      <title>Re: LS1046ARDB DDR initialization error with Target Initialization File</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1046ARDB-DDR-initialization-error-with-Target-Initialization/m-p/1285965#M8129</link>
      <description>&lt;P&gt;&lt;SPAN&gt;It seems that there is DDR controller initialization problem on your target board.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please use the latest CodeWarrior for ARMV8&amp;nbsp;CW4NET v2020.06, please download the installation file from&amp;nbsp;&lt;A href="https://drive.google.com/file/d/1Kjq1nLYrtIfWAHYrup5Cf-TTEJI9iWiu/view?usp=sharing," target="_blank"&gt;https://drive.google.com/file/d/1Kjq1nLYrtIfWAHYrup5Cf-TTEJI9iWiu/view?usp=sharing ,&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please download the patch release from&amp;nbsp;&lt;A href="https://drive.google.com/file/d/1g4FbibmVuEWQdEhCuaOqMUvs6_xQzzYC/view?usp=sharing," target="_blank"&gt;https://drive.google.com/file/d/1g4FbibmVuEWQdEhCuaOqMUvs6_xQzzYC/view?usp=sharing,&lt;/A&gt;&amp;nbsp;install the patch release from Help-&amp;gt;Install New Software-&amp;gt;Add-&amp;gt;Archive.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please check whether&amp;nbsp; UDIMM 18ASF1G72AZ-2G3B1 is integrated on your target board.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jun 2021 08:05:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1046ARDB-DDR-initialization-error-with-Target-Initialization/m-p/1285965#M8129</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2021-06-02T08:05:48Z</dc:date>
    </item>
    <item>
      <title>Re: LS1046ARDB DDR initialization error with Target Initialization File</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1046ARDB-DDR-initialization-error-with-Target-Initialization/m-p/1286125#M8131</link>
      <description>&lt;P&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;I had already installed the program and patch you mentioned. However, the UDIMM is different from the one you mentioned: it is MTA18ADF2G72AZ-2G6E1ZG. Should the configuration commands change?&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jun 2021 13:15:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1046ARDB-DDR-initialization-error-with-Target-Initialization/m-p/1286125#M8131</guid>
      <dc:creator>AngelMorales</dc:creator>
      <dc:date>2021-06-02T13:15:25Z</dc:date>
    </item>
    <item>
      <title>Re: LS1046ARDB DDR initialization error with Target Initialization File</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1046ARDB-DDR-initialization-error-with-Target-Initialization/m-p/1286585#M8132</link>
      <description>&lt;P&gt;&lt;SPAN&gt;DDR controller configuration parameters should be changed.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;In Target Connections panel, please double click "LS1046A_RDB(1)", the click "Target Initialization File" panel, you need to modify "DDR Initialization" section in this fie.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Do you have u-boot running on the target board?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If yes, you could create a QCVS DDRC project, and select "From Target" Configuration mode in DDR configuration panel. After create the project, please refer to DDR controller configuration parameters in ddrCtrl_1.py under Generated_Code to modify&amp;nbsp; "Target Initialization File".&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If there is no u-boot running on the target board, you could apply the attached patch to packages/firmware/atf/, then build SD firmware with command "flex-builder -i mkfw -m&amp;nbsp; ls1046ardb -b sd" in LSDK 20.12 build environment and deploy it to SD card to boot the target board.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jun 2021 06:27:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1046ARDB-DDR-initialization-error-with-Target-Initialization/m-p/1286585#M8132</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2021-06-03T06:27:15Z</dc:date>
    </item>
    <item>
      <title>Re: LS1046ARDB DDR initialization error with Target Initialization File</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1046ARDB-DDR-initialization-error-with-Target-Initialization/m-p/1286624#M8133</link>
      <description>&lt;P&gt;Hi again&amp;nbsp;&lt;A href="https://community.nxp.com/t5/user/viewprofilepage/user-id/52411" target="_self"&gt;&lt;SPAN class=""&gt;yipingwang&lt;/SPAN&gt;&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Thank you for all the help.&lt;/P&gt;&lt;P&gt;I am trying to use&amp;nbsp;&lt;SPAN&gt;ddrCtrl_1.py generated by QCVS as you suggested. I have copied its contents into my Target Initialization File. However, a new problem has arised: the new initialization does not exit the while loop in&amp;nbsp;A009803_Erratum(). I am copying its contents below:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;def A009803_Erratum():&lt;BR /&gt;DDR_BASE = 0x01080000&lt;/P&gt;&lt;P&gt;# 1. Configure the DDR registers as normal with parity enabled&lt;BR /&gt;CCSR_BE_M(0x01080114, 0x00401070 | 0x00000020)&lt;/P&gt;&lt;P&gt;# 2. Set ERR_DISABLE[APED]&lt;BR /&gt;CCSR_BE_M(0x01080E44, 0x00 | 0x00000100)&lt;/P&gt;&lt;P&gt;# 3. Set DDR_SDRAM_CFG[MEM_EN]&lt;BR /&gt;CCSR_BE_M(0x01080110, 0x65200000 | 0x80000000)&lt;/P&gt;&lt;P&gt;# 4. Poll for DEBUG_2[30] to be set&lt;BR /&gt;while True:&lt;BR /&gt;&amp;nbsp; &amp;nbsp;time.sleep(0.2)&lt;BR /&gt;&amp;nbsp; &amp;nbsp;debug_2_value = CCSR_BE_D(DDR_BASE + 0xF04)&lt;BR /&gt;&amp;nbsp; &amp;nbsp;if debug_2_value &amp;amp; 0x2 != 0:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; break&lt;/P&gt;&lt;P&gt;# 5. Clear ERR_DIS[APED]. Parity checking is now enabled&lt;BR /&gt;CCSR_BE_M(0x01080E44, 0x00 &amp;amp; (0xFFFFFFFF ^ 0x00000100))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I understand that it is waiting for a certain value at register 0x1080F04.&amp;nbsp;&lt;SPAN&gt;I have checked with UART writes at that point an the value is kept at 0x2100.&lt;/SPAN&gt; I have also looked into LS146ARM but that address is not described in the manual. Should I skip that while loop?&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jun 2021 07:45:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1046ARDB-DDR-initialization-error-with-Target-Initialization/m-p/1286624#M8133</guid>
      <dc:creator>AngelMorales</dc:creator>
      <dc:date>2021-06-03T07:45:41Z</dc:date>
    </item>
    <item>
      <title>Re: LS1046ARDB DDR initialization error with Target Initialization File</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1046ARDB-DDR-initialization-error-with-Target-Initialization/m-p/1286646#M8134</link>
      <description>&lt;P&gt;In the original CW initialization file, I didn't find&amp;nbsp;&lt;SPAN&gt;A009803_Erratum was applied, please ignore it&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jun 2021 08:14:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1046ARDB-DDR-initialization-error-with-Target-Initialization/m-p/1286646#M8134</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2021-06-03T08:14:42Z</dc:date>
    </item>
    <item>
      <title>Re: LS1046ARDB DDR initialization error with Target Initialization File</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1046ARDB-DDR-initialization-error-with-Target-Initialization/m-p/1288409#M8163</link>
      <description>&lt;P&gt;Hi again yipingwang,&lt;/P&gt;&lt;P&gt;It seems I made some mistake when gerating the Python code after reading the configuration from the target. I have done this again and it worked.&lt;/P&gt;&lt;P&gt;Thank you for your help!&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jun 2021 15:23:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1046ARDB-DDR-initialization-error-with-Target-Initialization/m-p/1288409#M8163</guid>
      <dc:creator>AngelMorales</dc:creator>
      <dc:date>2021-06-07T15:23:29Z</dc:date>
    </item>
  </channel>
</rss>

