<?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: IMX6Q SD3 boot problem in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/IMX6Q-SD3-boot-problem/m-p/247458#M21847</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could you clarify how does your system booted? Are you using EBOOT and NK or just NK without EBOOT?&lt;/P&gt;&lt;P&gt;Any debug messages?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dmitriy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Mar 2014 20:10:02 GMT</pubDate>
    <dc:creator>dmitriyaleksand</dc:creator>
    <dc:date>2014-03-14T20:10:02Z</dc:date>
    <item>
      <title>IMX6Q SD3 boot problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6Q-SD3-boot-problem/m-p/247455#M21844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-themecolor: dark2;"&gt;We have a custom IMX6Q board with 2GB of DDR3.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-themecolor: dark2;"&gt;We boot from SD3 (4-bits) with BOOT_CFG[7:0] = 0100 0000; and BOOT_CFG2[7:0]= 0011 0000.&amp;nbsp; BSP is based on Adeneo&lt;/SPAN&gt; &lt;SPAN style="color: #1f497d; font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-themecolor: dark2;"&gt;WEC7 BSP v1.7 (we have different IOMUX pinouts)- we haven’t made the 1GB-&amp;gt; 2GB ddr3 changes yet.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-themecolor: dark2;"&gt;Problem:&amp;nbsp; Our board doesn’t boot up consistently from SD3 (a micro-high capacity/4GB)- if we reset it (POR_B=0) repeatedly, it may or may not boot up.&amp;nbsp;&amp;nbsp; The likelihood of failure varies from board-to-board (some rarely fail and other do so ~50% of the time). &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-themecolor: dark2;"&gt;When it doesn’t boot, the SD3 clock is 50 MHz and there’s brief activity on the CMD/data lines before it stops. &lt;BR /&gt;In this state, we can still run the DDR stress test (USB serial) so the IMX6Q is still functional.&amp;nbsp; (We’ve run the DDR stress test for hours w/o failing.)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-themecolor: dark2;"&gt;When the board boots up , we can connect with JTAG (Lauterbach).&amp;nbsp; But we can’t connect with JTAG when SD3 fails (USB serial download also won’t work).&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-themecolor: dark2;"&gt;When the board boots and JTAG connects, SRC_SBMR1= 0x 40 00 30 40. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-themecolor: dark2;"&gt;ERR006282 seems N/A because the boot problem is too frequent.&amp;nbsp; ERR004536 also seems N/A because we’re using SD (512 byte block size).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-themecolor: dark2;"&gt;SD3 signal integrity is good and all SD3 traces are &amp;lt; 1 inch long.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-themecolor: dark2;"&gt;POR_B looks fine (get same results with a rise-time &amp;lt; 5ns and with a very slow-rise time like Sabre).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-themecolor: dark2;"&gt;IMX6Q version: MCIMX6Q5EYM10AC&lt;/SPAN&gt;&lt;EM&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-themecolor: dark2;"&gt;PMIC version: PMPF0100F0AEP&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-themecolor: dark2;"&gt;PMIC voltages look good. Note:&amp;nbsp; we’re using the new –A version (not fully tested since they were samples).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-themecolor: dark2;"&gt;Anyone have any ideas?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-themecolor: dark2;"&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jan 2014 15:45:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6Q-SD3-boot-problem/m-p/247455#M21844</guid>
      <dc:creator>rkim</dc:creator>
      <dc:date>2014-01-21T15:45:44Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6Q SD3 boot problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6Q-SD3-boot-problem/m-p/247456#M21845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You said likely hood of failure varies from board to board.&amp;nbsp; Have you taken the SD card from a "Bad" board and put it in a "Good" board to see if the issue follows the SD card?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you put something very very early in your bootloader (like where DDR settings get loaded/CDC registers) that toggles an LED or GPIO so you can tell if it got to that point in the code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You probably do want to get the correct values in for your DDR config soon and run the DDR calibration.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jan 2014 16:10:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6Q-SD3-boot-problem/m-p/247456#M21845</guid>
      <dc:creator>Chris1z</dc:creator>
      <dc:date>2014-01-21T16:10:29Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6Q SD3 boot problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6Q-SD3-boot-problem/m-p/247457#M21846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, we've moved the SD card from board-to-board but the SD card doesn't matter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We also modified the BSP by leaving all pins unconfigured except for SD3 and one GPIO that turns on a LED- the LED is turned on first thing.&amp;nbsp; But we're not reaching that point when it doesn't boot.&amp;nbsp; It's also possible this isn't a HW problem and something is wrong with the BSP image (SD cards should be fine since this happens with multiple cards).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jan 2014 16:27:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6Q-SD3-boot-problem/m-p/247457#M21846</guid>
      <dc:creator>rkim</dc:creator>
      <dc:date>2014-01-21T16:27:06Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6Q SD3 boot problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6Q-SD3-boot-problem/m-p/247458#M21847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could you clarify how does your system booted? Are you using EBOOT and NK or just NK without EBOOT?&lt;/P&gt;&lt;P&gt;Any debug messages?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dmitriy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2014 20:10:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6Q-SD3-boot-problem/m-p/247458#M21847</guid>
      <dc:creator>dmitriyaleksand</dc:creator>
      <dc:date>2014-03-14T20:10:02Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6Q SD3 boot problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6Q-SD3-boot-problem/m-p/247459#M21848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dmitriy,&lt;/P&gt;&lt;P&gt;We're using EBOOT and NK.&amp;nbsp; When the SD boot fails, we don't get any serial output and our debug board LED (driven by a GPIO) doesn't light up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At this point, I doubt the problem is related to the SD interface itself or the reset (POR_B).&amp;nbsp; We also looked into our 24 MHz crystal because the Vybrid link below seems like the same problem (but it turns out the IMX6Q's oscillator does not get reset by POR_B). &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-bidi-font-family: 'Times New Roman'; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #1f497d; font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-bidi-font-family: 'Times New Roman'; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/message/351984#351984"&gt;https://community.freescale.com/message/351984#351984&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-bidi-font-family: 'Times New Roman'; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;One strange thing we found is there's brief activity on I2C3 (only thing on I2C3 is the IMX6Q master and the PMIC slave) without a SD card.&amp;nbsp; With a SD card, there's no activity on I2C3.&amp;nbsp; So now we're looking into our PMIC- also, we have the &lt;SPAN style="font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-bidi-font-family: 'Times New Roman'; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;PMPF0100NPEP PMIC, not the newer -A version as stated above.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-bidi-font-family: 'Times New Roman'; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;Thanks,&lt;BR /&gt;Rich&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Mar 2014 12:57:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6Q-SD3-boot-problem/m-p/247459#M21848</guid>
      <dc:creator>rkim</dc:creator>
      <dc:date>2014-03-17T12:57:47Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6Q SD3 boot problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6Q-SD3-boot-problem/m-p/247460#M21849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rich,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;probably DDR stress test uses USB Recovery mode and that is why it always works. EBOOT initialization is quite different: it has a plugin which is executed at startup, check ivt_init.s file. There you can find low level initialization including DDR memory and clocks. First of all I would recommend to decide whether this problem is related to hardware or software. You can change ivt_init.s so it would access GPIO ports as early as possible (before DDR initialization). Don't forget to add "while(1);" stubs just after accessing debug LED, something like:&lt;/P&gt;&lt;P&gt;loop&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; b loop&lt;/P&gt;&lt;P&gt;This will prevent SoC resetting due following incorrect execution. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dmitriy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2014 19:38:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6Q-SD3-boot-problem/m-p/247460#M21849</guid>
      <dc:creator>dmitriyaleksand</dc:creator>
      <dc:date>2014-03-18T19:38:43Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6Q SD3 boot problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6Q-SD3-boot-problem/m-p/247461#M21850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This project was put on hold for over a year but recently became active again- and this problem was finally resolved.&amp;nbsp;&amp;nbsp; The local NXP FAEs determined the DDR3 settings (borrowed from Sabre) were marginal for our layout.&amp;nbsp; With new values in the IVT file, all boards boot reliably now from the SD card (at least at room temperature).&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: the BSP DDR3 values (in IVT) are different from NXP's DDR3 stress test.&amp;nbsp; But neither values were really ideal for our layout.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jan 2016 16:45:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6Q-SD3-boot-problem/m-p/247461#M21850</guid>
      <dc:creator>rkim</dc:creator>
      <dc:date>2016-01-08T16:45:59Z</dc:date>
    </item>
  </channel>
</rss>

