<?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>LayerscapeのトピックRe: LX2160ARDB DDR memory access after DDR init</title>
    <link>https://community.nxp.com/t5/Layerscape/LX2160ARDB-DDR-memory-access-after-DDR-init/m-p/1516750#M11116</link>
    <description>&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;What exactly does Init_DDR_PHY do?&lt;/P&gt;&lt;P&gt;I'm trying to figure out if it accesses some device registers like TZ and DDRC does&lt;/P&gt;&lt;P&gt;But I guess that DDR PHY loads some kind of firmware?&lt;/P&gt;&lt;P&gt;Why I'm asking is because I'm trying to write a init script for Trace32, so I need to understand all the parts of the process in order to get it to work&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Mon, 05 Sep 2022 06:02:27 GMT</pubDate>
    <dc:creator>userland</dc:creator>
    <dc:date>2022-09-05T06:02:27Z</dc:date>
    <item>
      <title>LX2160ARDB DDR memory access after DDR init</title>
      <link>https://community.nxp.com/t5/Layerscape/LX2160ARDB-DDR-memory-access-after-DDR-init/m-p/1514654#M11099</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;After manually initialized the DDR controllers via JTAG I'm trying to access the DDR memory area but it always fails&lt;/P&gt;&lt;P&gt;From what I understand the regions has to be mapped using Trust Zone Address Space Controller, so I've tried doing what u-boot from lsdk2012 did, but I still cannot access the memory region.&lt;/P&gt;&lt;P&gt;A rough step by step how I do it is:&lt;/P&gt;&lt;P&gt;Initialize DDR controller 1 &amp;amp; 2 -&amp;gt; Turn of TZC gatekeeper for each controller -&amp;gt; Apply memory region info -&amp;gt;&amp;nbsp; set action register -&amp;gt; enable TZC gatekeeper&lt;/P&gt;&lt;P&gt;But the CPU still resets when I try to access the memory region (0x80000000)&lt;/P&gt;</description>
      <pubDate>Wed, 31 Aug 2022 13:14:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LX2160ARDB-DDR-memory-access-after-DDR-init/m-p/1514654#M11099</guid>
      <dc:creator>userland</dc:creator>
      <dc:date>2022-08-31T13:14:58Z</dc:date>
    </item>
    <item>
      <title>Re: LX2160ARDB DDR memory access after DDR init</title>
      <link>https://community.nxp.com/t5/Layerscape/LX2160ARDB-DDR-memory-access-after-DDR-init/m-p/1515403#M11104</link>
      <description>&lt;P&gt;Please refer to the attached CodeWarrior initialization file.&lt;/P&gt;
&lt;P&gt;Please refer to the following procedure.&lt;/P&gt;
&lt;P&gt;1.&amp;nbsp; Init_TZASC()&lt;/P&gt;
&lt;P&gt;2.&amp;nbsp;Init_DDR_PHY(DDR_freq)&lt;/P&gt;
&lt;P&gt;3.&amp;nbsp;Init_DDRC(DDR_freq)&lt;/P&gt;</description>
      <pubDate>Thu, 01 Sep 2022 08:32:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LX2160ARDB-DDR-memory-access-after-DDR-init/m-p/1515403#M11104</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2022-09-01T08:32:43Z</dc:date>
    </item>
    <item>
      <title>Re: LX2160ARDB DDR memory access after DDR init</title>
      <link>https://community.nxp.com/t5/Layerscape/LX2160ARDB-DDR-memory-access-after-DDR-init/m-p/1516750#M11116</link>
      <description>&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;What exactly does Init_DDR_PHY do?&lt;/P&gt;&lt;P&gt;I'm trying to figure out if it accesses some device registers like TZ and DDRC does&lt;/P&gt;&lt;P&gt;But I guess that DDR PHY loads some kind of firmware?&lt;/P&gt;&lt;P&gt;Why I'm asking is because I'm trying to write a init script for Trace32, so I need to understand all the parts of the process in order to get it to work&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 05 Sep 2022 06:02:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LX2160ARDB-DDR-memory-access-after-DDR-init/m-p/1516750#M11116</guid>
      <dc:creator>userland</dc:creator>
      <dc:date>2022-09-05T06:02:27Z</dc:date>
    </item>
    <item>
      <title>Re: LX2160ARDB DDR memory access after DDR init</title>
      <link>https://community.nxp.com/t5/Layerscape/LX2160ARDB-DDR-memory-access-after-DDR-init/m-p/1519697#M11136</link>
      <description>&lt;P&gt;Please refer to "class CwPhy(object)" in the attached file.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;# Operations&lt;BR /&gt;_OPERATIONS = {&lt;BR /&gt;'init' : OP_INIT_CONFIG,&lt;BR /&gt;'load-firmware' : OP_LOAD_FIRMWARE,&lt;BR /&gt;'exec-firmware' : OP_EXEC_FIRMWARE,&lt;BR /&gt;'read-message-block' : OP_READ_MESSAGE_BLOCK,&lt;BR /&gt;'load-pie' : OP_LOAD_PIE,&lt;BR /&gt;'run-diag' : OP_RUN_DIAG&lt;BR /&gt;}&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;DDR PHY loads&amp;nbsp;DDR PHY FW at offset 0x00800000 of QSPI flash.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Sep 2022 03:35:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LX2160ARDB-DDR-memory-access-after-DDR-init/m-p/1519697#M11136</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2022-09-09T03:35:20Z</dc:date>
    </item>
  </channel>
</rss>

