<?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のトピックRe: iMX7D reset issues</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/iMX7D-reset-issues/m-p/718699#M111665</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It sounds like you have run into the same problem we saw (although we were using the PF3001).&lt;/P&gt;&lt;P&gt;Basically, we discovered that external circuitry is needed with the iMX7 to ensure reliable reset/watchdog.&amp;nbsp; They pointed us at the same errata, but after we had developed a external work-around, so we never tried the options listed in the errata.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/450056"&gt;How to enable watchdog on iMX7&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Mar 2018 18:52:57 GMT</pubDate>
    <dc:creator>wad1</dc:creator>
    <dc:date>2018-03-01T18:52:57Z</dc:date>
    <item>
      <title>iMX7D reset issues</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX7D-reset-issues/m-p/718698#M111664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have an iMX7D rev1.3 (part number MCIMX7D5EVM10SD) with DDR3L, PMIC is a PF3000 (MC34PF3000A1). U-Boot version is v2016.05. We are experiencing a very inconsistent reset behavior, different from device to device. Test case is "reset" from the u-boot prompt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Some devices reset fine every time (u_boot_working_reset.txt)&lt;/LI&gt;&lt;LI&gt;Some devices hang on reset after printing "resetting ..." (u_boot_hanging_reset.txt)&lt;/LI&gt;&lt;LI&gt;On one device the first reset always works, but it will eventually hang on the second, third or fourth reset.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is an &lt;A href="https://www.nxp.com/docs/en/errata/IMX7D_2N09P.pdf" rel="nofollow noopener noreferrer" target="_blank"&gt;errata (e10574) &lt;/A&gt;with three alternative options to reset the SoC.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Option: &lt;EM&gt;"Hardware implementation of power-on-reset (POR) Use the pin muxing capability to route the desired WDOG_B signal to an external signal. That external signal must then be connected at the board level to an active-low power-on control (PWRON) of the PMIC."&lt;BR /&gt;&lt;/EM&gt;Unfortunately we cannot use this option at this point, we have to find a software solution.&lt;/LI&gt;&lt;LI&gt;Option: &lt;EM&gt;"Use SRC_A7RCR0[A7_CORE_POR_RESET0] to reset the ARM A7."&lt;BR /&gt;&lt;/EM&gt;We implemented this option with a u-boot patch (resetmodes.patch) in drivers/watchdog/imx_watchdog.c, reset_cpu.&lt;BR /&gt;&lt;PRE&gt;#define SRC_A7RCR0&amp;nbsp;&amp;nbsp; &amp;nbsp;0x004
#define CORE_POR_RESET0&amp;nbsp;&amp;nbsp; &amp;nbsp;(1 &amp;lt;&amp;lt; 0)
&amp;nbsp;&amp;nbsp; &amp;nbsp;printf("errata option 2\n");
&amp;nbsp;&amp;nbsp; &amp;nbsp;setbits_le32((SRC_BASE_ADDR + SRC_A7RCR0), CORE_POR_RESET0);&lt;/PRE&gt;&lt;P&gt;This option fails on all devices, system hangs after "resetting ..."&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;Option: &lt;EM&gt;"Use the SNVS LPCR register to turn off the system power"&lt;/EM&gt;&lt;PRE&gt;#define SNVS_LPCR&amp;nbsp;&amp;nbsp; &amp;nbsp;0x38
#define LPCR_DUMP_EN&amp;nbsp;&amp;nbsp; &amp;nbsp;(1 &amp;lt;&amp;lt; 5)
#define LPCR_TOP&amp;nbsp;&amp;nbsp; &amp;nbsp;(1 &amp;lt;&amp;lt; 6)
&amp;nbsp;&amp;nbsp; &amp;nbsp;printf("errata option 3\n");
&amp;nbsp;&amp;nbsp; &amp;nbsp;setbits_le32((SNVS_BASE_ADDR + SNVS_LPCR), LPCR_DUMP_EN);
&amp;nbsp;&amp;nbsp; &amp;nbsp;setbits_le32((SNVS_BASE_ADDR + SNVS_LPCR), LPCR_TOP);&lt;/PRE&gt;This does not reset the chip.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help to get a consistent SoC reset is very much appreciated. Why don't the reset options work as described in the errata?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Update: &lt;/STRONG&gt;Does SNVS_PMIC_ON_REQ have to be connected to the PMIC PWRON pin for Option 3 to work correctly? This is not the case in our layout.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2018 09:31:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX7D-reset-issues/m-p/718698#M111664</guid>
      <dc:creator>raimarsandner</dc:creator>
      <dc:date>2018-03-01T09:31:40Z</dc:date>
    </item>
    <item>
      <title>Re: iMX7D reset issues</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX7D-reset-issues/m-p/718699#M111665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It sounds like you have run into the same problem we saw (although we were using the PF3001).&lt;/P&gt;&lt;P&gt;Basically, we discovered that external circuitry is needed with the iMX7 to ensure reliable reset/watchdog.&amp;nbsp; They pointed us at the same errata, but after we had developed a external work-around, so we never tried the options listed in the errata.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/450056"&gt;How to enable watchdog on iMX7&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2018 18:52:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX7D-reset-issues/m-p/718699#M111665</guid>
      <dc:creator>wad1</dc:creator>
      <dc:date>2018-03-01T18:52:57Z</dc:date>
    </item>
    <item>
      <title>Re: iMX7D reset issues</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX7D-reset-issues/m-p/718700#M111666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raimar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes,&amp;nbsp;PMIC_ON_REQ have to be connected to the PMIC PWRON as it is done on i.MX7D Sabre SD board&lt;/P&gt;&lt;P&gt;Schematics (2)&lt;BR /&gt;Design files for i.MX 7Dual (REV D) &lt;BR /&gt;Design files, including hardware schematics, Gerbers, and OrCAD files for i.MX 7Dual (REV D)&lt;BR /&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.nxp.com%2Fproducts%2Fmicrocontrollers-and-processors%2Farm-processors%2Fi.mx-applications-processors%2Fi.mx-7-processors%2Fi.mx-7dual-processors-heterogeneous-processing-with-dual-arm-cortex-a7-cores-and-cortex-m4-core%3Ai.MX7D%3Ffpsp%3D1%26tab%3DDesign_Tools_Tab" rel="nofollow" target="_blank"&gt;http://www.nxp.com/products/microcontrollers-and-processors/arm-processors/i.mx-applications-processors/i.mx-7-processors/i.mx-7dual-processors-heterogeneous-processing-with-dual-arm-cortex-a7-cores-and-cortex-m4-core:i.MX7D?fpsp=1&amp;amp;tab=Design_Tools_Tab&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Also seems Option 3 implements patch described on&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-97660"&gt;Q&amp;amp;amp;A: How is mx6 PMIC_ON_REQ under SW control?&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Reason is that soft reset (WARM, like wdog_rst_b) does not reset chip test logic &lt;BR /&gt;(sjc, iomuxc, dap) and just puts sdram in self_refresh.&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, 01 Mar 2018 23:13:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX7D-reset-issues/m-p/718700#M111666</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2018-03-01T23:13:00Z</dc:date>
    </item>
    <item>
      <title>Re: iMX7D reset issues</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX7D-reset-issues/m-p/718701#M111667</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;thanks for the reply. We have the PMIC PWRON hard-wired to VSNVS by a 100k pull-up. We need a software solution until a hardware redesign (which takes considerable time) can fix this situation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So it seems option 1 and option 3 are not available to us due to our current board layout. A few questions remain:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;How about option 2? Our implementation just hangs after setting &lt;EM&gt;SRC_A7RCR0[A7_CORE_POR_RESET0]&lt;/EM&gt;, is there a chance to make this work?&lt;/LI&gt;&lt;LI&gt;Can we use the I2C interface of the PMIC to trigger a reset? Any hack is welcome if it does the job of resetting the PMIC (e.g. fault mode, programmatically invert PWRON bit, whatever it takes). I did not find anything in the reference manual, but who knows...&lt;/LI&gt;&lt;LI&gt;What can be the reason that some devices reset without problems and others do not?&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2018 09:31:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX7D-reset-issues/m-p/718701#M111667</guid>
      <dc:creator>raimarsandner</dc:creator>
      <dc:date>2018-03-02T09:31:04Z</dc:date>
    </item>
    <item>
      <title>Re: iMX7D reset issues</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX7D-reset-issues/m-p/718702#M111668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raimar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for option2 you can debug, for example check if reset is present on ddr3.&lt;/P&gt;&lt;P&gt;However performing only processor internal por (with A7_CORE_POR_RESET0) may be insufficient, as for&lt;/P&gt;&lt;P&gt;example on i.MX7D Sabre SD schematic external POR resets not only processor&lt;/P&gt;&lt;P&gt;but also external power supply 3V3 PERI, so resetting whole board: processor + all peripheral chips.&lt;/P&gt;&lt;P&gt;I am afraid there is no way for I2C interface of the PMIC to trigger a reset.&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, 02 Mar 2018 11:46:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX7D-reset-issues/m-p/718702#M111668</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2018-03-02T11:46:55Z</dc:date>
    </item>
  </channel>
</rss>

