<?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>i.MX ProcessorsのトピックHang up when write MMDC-&amp;gt;MDSCR in write leveling function.</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Hang-up-when-write-MMDC-gt-MDSCR-in-write-leveling-function/m-p/953110#M142438</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I try to do write leveling in Plugin Image of u-boot for imx6qp Android BSP N7.1.2_2.0.0-ga.&lt;/P&gt;&lt;P&gt;So make assembler macro "mx6_write_level_calibration" based on the "int mmdc_do_write_level_calibration()"&lt;/P&gt;&lt;P&gt;in the&amp;nbsp;arch/arm/cpu/armv7/mx6.&lt;/P&gt;&lt;P&gt;And call it from arch/arm/include/asm/arch-mx6/mx6_plugin.S&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;plugin_loop:&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;nop&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;b plugin_loop&amp;nbsp; &amp;nbsp; /* to connect debug session */&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;nop&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;imx6_ddr_setting&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;imx6_clock_gating&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;imx6_qos_setting&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;mx6_write_level_calibration&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P&gt;In Write leveling sequence, after write mmcd0-&amp;gt;mdscr register to configure the external DDR device to enter&lt;/P&gt;&lt;P&gt;write-leveling&amp;nbsp;mode&amp;nbsp;through Load Mode Register command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;/* writel(0x00808231, &amp;amp;mmdc0-&amp;gt;mdscr); */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i.MX6QP will hang-up and JTAG debug session is stopping.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To send Load Mode Register command, do I need some other setting?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Ishii.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Aug 2019 13:59:47 GMT</pubDate>
    <dc:creator>takayuki_ishii</dc:creator>
    <dc:date>2019-08-21T13:59:47Z</dc:date>
    <item>
      <title>Hang up when write MMDC-&gt;MDSCR in write leveling function.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Hang-up-when-write-MMDC-gt-MDSCR-in-write-leveling-function/m-p/953110#M142438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I try to do write leveling in Plugin Image of u-boot for imx6qp Android BSP N7.1.2_2.0.0-ga.&lt;/P&gt;&lt;P&gt;So make assembler macro "mx6_write_level_calibration" based on the "int mmdc_do_write_level_calibration()"&lt;/P&gt;&lt;P&gt;in the&amp;nbsp;arch/arm/cpu/armv7/mx6.&lt;/P&gt;&lt;P&gt;And call it from arch/arm/include/asm/arch-mx6/mx6_plugin.S&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;plugin_loop:&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;nop&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;b plugin_loop&amp;nbsp; &amp;nbsp; /* to connect debug session */&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;nop&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;imx6_ddr_setting&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;imx6_clock_gating&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;imx6_qos_setting&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;mx6_write_level_calibration&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P&gt;In Write leveling sequence, after write mmcd0-&amp;gt;mdscr register to configure the external DDR device to enter&lt;/P&gt;&lt;P&gt;write-leveling&amp;nbsp;mode&amp;nbsp;through Load Mode Register command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;/* writel(0x00808231, &amp;amp;mmdc0-&amp;gt;mdscr); */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i.MX6QP will hang-up and JTAG debug session is stopping.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To send Load Mode Register command, do I need some other setting?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Ishii.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Aug 2019 13:59:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Hang-up-when-write-MMDC-gt-MDSCR-in-write-leveling-function/m-p/953110#M142438</guid>
      <dc:creator>takayuki_ishii</dc:creator>
      <dc:date>2019-08-21T13:59:47Z</dc:date>
    </item>
    <item>
      <title>Re: Hang up when write MMDC-&gt;MDSCR in write leveling function.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Hang-up-when-write-MMDC-gt-MDSCR-in-write-leveling-function/m-p/953111#M142439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Takayuki Ishii,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are calibrating your board I would recommend using the DDR Stress Tool:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-105652"&gt;https://community.nxp.com/docs/DOC-105652&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps!&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Aug 2019 20:23:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Hang-up-when-write-MMDC-gt-MDSCR-in-write-leveling-function/m-p/953111#M142439</guid>
      <dc:creator>gusarambula</dc:creator>
      <dc:date>2019-08-29T20:23:03Z</dc:date>
    </item>
  </channel>
</rss>

