<?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: IMXRT1172 boot time around 2 seconds in i.MX RT Crossover MCUs</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1172-boot-time-around-2-seconds/m-p/1773573#M27978</link>
    <description>&lt;P&gt;Hi Amit,&lt;/P&gt;
&lt;P&gt;One small check at our end, Can you try adding this function on the ResetISR rather than on the Main, Because generally perform a Flash to SDRAM copy of the data region whose timings can vary on every project.&lt;/P&gt;
&lt;P&gt;We have a weak implementation of the SystemHook function available on all of our workspace, Which can be used for our trials here.&lt;/P&gt;
&lt;P&gt;Below snap-shot for further reference.&amp;nbsp;&lt;/P&gt;
&lt;DIV style="background-color: #ffffff; padding: 0px 0px 0px 2px;"&gt;
&lt;DIV style="color: #000000; background-color: #ffffff; font-family: 'Consolas'; font-size: 10pt; white-space: nowrap;"&gt;
&lt;P&gt;&lt;SPAN&gt;/* ----------------------------------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt; -- SystemInitHook()&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt; ---------------------------------------------------------------------------- */&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;__attribute__&lt;/SPAN&gt;&lt;SPAN&gt; ((weak)) &lt;/SPAN&gt;&lt;SPAN&gt;void&lt;/SPAN&gt; &lt;SPAN&gt;SystemInitHook&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;SPAN&gt;void&lt;/SPAN&gt;&lt;SPAN&gt;) {&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;/* Void implementation of the weak function. */&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;Do help check and let me know for any further information required.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;With Regards,&lt;/P&gt;
&lt;P&gt;Nikhil Ullal&lt;/P&gt;</description>
    <pubDate>Wed, 13 Dec 2023 05:11:46 GMT</pubDate>
    <dc:creator>nxf42461</dc:creator>
    <dc:date>2023-12-13T05:11:46Z</dc:date>
    <item>
      <title>IMXRT1172 boot time around 2 seconds</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1172-boot-time-around-2-seconds/m-p/1728848#M26964</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We are using IMXRT1172 microcontroller with XIP and External SDRAM. In our application design we have an External Watchdog which needs to be kicked within 1.2 Secs to prevent a reset signal.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The issue we are facing is the IMXRT is taking too long of time i.e. 2 secs to start execution from main, where the first action to be done in main is to initialize the watchdog refresh GPIO and send a signal transition, but on measuring the signal over DSO it is observed that the first edge of low to high appears after 2 secs of the power up signal. Below is the abstract of the main init code;&lt;/P&gt;&lt;P&gt;int main(void)&lt;BR /&gt;{&lt;BR /&gt;&lt;BR /&gt;Initialize_wdtRst();&lt;BR /&gt;GPIO_PinWrite(GPIO3,31,1);&amp;nbsp; //WDT Refresh GPIO [The time to reach here is 2 secs]&lt;BR /&gt;&lt;BR /&gt;/* Init board hardware. */&lt;BR /&gt;BOARD_ConfigMPU();&lt;BR /&gt;GPIO_PinWrite(GPIO3,31,0);&amp;nbsp;//WDT Refresh GPIO&lt;BR /&gt;BOARD_InitPins();&lt;BR /&gt;&lt;BR /&gt;GPIO_PinWrite(GPIO3,31,1);&amp;nbsp;//WDT Refresh GPIO&lt;BR /&gt;&lt;BR /&gt;BOARD_BootClockRUN();&lt;BR /&gt;BOARD_InitDebugConsole();&lt;BR /&gt;&lt;BR /&gt;while(1)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;//Some Code&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;}&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Similarly, I have tried to test the littlefs code for reset timing, it was observed to be 20ms.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Any help to understand why the timing difference between the two codes on the same hardware??&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Amit K&lt;/P&gt;</description>
      <pubDate>Mon, 25 Sep 2023 10:24:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1172-boot-time-around-2-seconds/m-p/1728848#M26964</guid>
      <dc:creator>kotalamit</dc:creator>
      <dc:date>2023-09-25T10:24:29Z</dc:date>
    </item>
    <item>
      <title>Re: IMXRT1172 boot time around 2 seconds</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1172-boot-time-around-2-seconds/m-p/1729098#M26973</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/207613"&gt;@kotalamit&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope you are doing great!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you let me know what it is inside the&amp;nbsp;Initialize_wdtRst() function? Is there any code looping in a while, waiting for any flag or value to be set?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are you using an external reset IC? Generally, this IC is used to de-assert the reset signal after all the power rails have booted. For example, in our RT1060 EVK, the reset monitoring chip de-asserts the reset_b line after 200 mS, on a POR reset, which is enougth time for all the rails to be booted.&lt;/P&gt;
&lt;P&gt;Anyway,&amp;nbsp; for trouble shooting this : I recommend measuring how much time does it takes the reset pin to be de-asserted, even if you are not using this reset IC. Measure against the first rail booted, I think it is VDD_SNVS_IN . Please share your results.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;All the best,&lt;/P&gt;
&lt;P&gt;Diego&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Sep 2023 18:39:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1172-boot-time-around-2-seconds/m-p/1729098#M26973</guid>
      <dc:creator>diego_charles</dc:creator>
      <dc:date>2023-09-25T18:39:19Z</dc:date>
    </item>
    <item>
      <title>Re: IMXRT1172 boot time around 2 seconds</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1172-boot-time-around-2-seconds/m-p/1729496#M26982</link>
      <description>&lt;P&gt;Hi Diego,&lt;/P&gt;&lt;P&gt;Thanks for the prompt reply, as requested following below is the function definition&lt;BR /&gt;&lt;BR /&gt;/*&lt;BR /&gt;* Configure the WDT RST Gpio On Boot Up&lt;BR /&gt;*/&lt;BR /&gt;void Initialize_wdtRst(void)&lt;BR /&gt;{&lt;BR /&gt;/* GPIO configuration of WDT_RST on GPIO_AD_32 (pin K16) */&lt;BR /&gt;gpio_pin_config_t WDT_RST_config = {&lt;BR /&gt;.direction = kGPIO_DigitalOutput,&lt;BR /&gt;.outputLogic = 0U,&lt;BR /&gt;.interruptMode = kGPIO_NoIntmode&lt;BR /&gt;};&lt;BR /&gt;/* Initialize GPIO functionality on GPIO_AD_32 (pin K16) */&lt;BR /&gt;GPIO_PinInit(GPIO3, 31U, &amp;amp;WDT_RST_config);&lt;BR /&gt;&lt;BR /&gt;IOMUXC_SetPinMux(&lt;BR /&gt;IOMUXC_GPIO_AD_32_GPIO_MUX3_IO31, /* GPIO_AD_32 is configured as GPIO_MUX3_IO31 */&lt;BR /&gt;0U);&lt;BR /&gt;&lt;BR /&gt;IOMUXC_SetPinConfig(&lt;BR /&gt;IOMUXC_GPIO_AD_32_GPIO_MUX3_IO31, /* GPIO_AD_32 PAD functional properties : */&lt;BR /&gt;0x0EU); /* Slew Rate Field: Slow Slew Rate&lt;BR /&gt;Drive Strength Field: high drive strength&lt;BR /&gt;Pull / Keep Select Field: Pull Enable&lt;BR /&gt;Pull Up / Down Config. Field: Weak pull up&lt;BR /&gt;Open Drain Field: Disabled&lt;BR /&gt;Domain write protection: Both cores are allowed&lt;BR /&gt;Domain write protection lock: Neither of DWP bits is locked */&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;Following below is the signal where CH1(Yellow) is the&amp;nbsp;VDD_SNVS_IN and CH2(Green) is the RST signal.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CH 1(Yellow) =&amp;gt; VDD_SNVS_IN and CH2 (Green) =&amp;gt; uC RST" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/242693i00E9D989A3F489AD/image-size/large?v=v2&amp;amp;px=999" role="button" title="CH1-VDD_SNVS_IN CH2-RESET.png" alt="CH 1(Yellow) =&amp;gt; VDD_SNVS_IN and CH2 (Green) =&amp;gt; uC RST" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;CH 1(Yellow) =&amp;gt; VDD_SNVS_IN and CH2 (Green) =&amp;gt; uC RST&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Additonally below is the signal showing the WDT Refresh Signal Latency vs WDT power up time. CH1(Yellow) =&amp;gt; WDT Refresh Pin and CH2 (Green) =&amp;gt; WDT VDD&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CH1-WDI_IN CH2-3V3.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/242694i48A1EB67D808D958/image-size/large?v=v2&amp;amp;px=999" role="button" title="CH1-WDI_IN CH2-3V3.png" alt="CH1-WDI_IN CH2-3V3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Appreciate you inputs.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;/P&gt;&lt;P&gt;Amit Kotal&lt;/P&gt;</description>
      <pubDate>Tue, 26 Sep 2023 07:30:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1172-boot-time-around-2-seconds/m-p/1729496#M26982</guid>
      <dc:creator>kotalamit</dc:creator>
      <dc:date>2023-09-26T07:30:38Z</dc:date>
    </item>
    <item>
      <title>Re: IMXRT1172 boot time around 2 seconds</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1172-boot-time-around-2-seconds/m-p/1731899#M27029</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/89833"&gt;@diego_charles&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Following up to know if you have any further inputs based on the last shared information.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amit Kotal&lt;/P&gt;</description>
      <pubDate>Fri, 29 Sep 2023 09:20:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1172-boot-time-around-2-seconds/m-p/1731899#M27029</guid>
      <dc:creator>kotalamit</dc:creator>
      <dc:date>2023-09-29T09:20:10Z</dc:date>
    </item>
    <item>
      <title>Re: IMXRT1172 boot time around 2 seconds</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1172-boot-time-around-2-seconds/m-p/1732937#M27062</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/207613"&gt;@kotalamit&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for the detailed reply!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I see that the reset_b&amp;nbsp; is released&amp;nbsp; in the order of tens of milliseconds. I got more points to check:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Can you measure the reset_b against the last power rail being booted?&lt;/LI&gt;
&lt;LI&gt;If you assert reset_b the boot is again of two seconds, or this appears after a power cycle?&lt;/LI&gt;
&lt;LI&gt;Do you have any RT internal watchdog being set, debug probe attached, specific fuse settings,&amp;nbsp; secondary bootloader, or secure boot settings? If this a sensitive question, feel free to reply in the internal ticket as explained below.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Lastly,I want to take a look at your schematic, I created a internal ticket for this, if you could share over that portal it could be good. Please check you email inbox for that case.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;All the best,&lt;/P&gt;
&lt;P&gt;Diego&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Oct 2023 07:44:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1172-boot-time-around-2-seconds/m-p/1732937#M27062</guid>
      <dc:creator>diego_charles</dc:creator>
      <dc:date>2023-10-03T07:44:44Z</dc:date>
    </item>
    <item>
      <title>Re: IMXRT1172 boot time around 2 seconds</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1172-boot-time-around-2-seconds/m-p/1734172#M27112</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/89833"&gt;@diego_charles&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;Following below are the answers to your queries;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Can you measure the reset_b against the last power rail being booted?&lt;BR /&gt;&lt;OL&gt;&lt;LI&gt;A. The reset timing remains the same as 1.5 Secs approx.&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;LI&gt;If you assert reset_b the boot is again of two seconds, or this appears after a power cycle?&lt;OL&gt;&lt;LI&gt;A. If we physically assert the reset_b, still the timing delay is 1.5 secs.&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;LI&gt;Do you have any RT internal watchdog being set, debug probe attached, specific fuse settings,&amp;nbsp; secondary bootloader, or secure boot settings? If this a sensitive question, feel free to reply in the internal ticket as explained below.&lt;OL&gt;&lt;LI&gt;A. We are not using Internal watchdog, no probe attached, no fuse setting other than default factory, no secondary bootloader or secure boot settings.&amp;nbsp;&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;I have also added the appropriate reply for the the internal ticket.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Amit Kotal&lt;/P&gt;</description>
      <pubDate>Thu, 05 Oct 2023 10:20:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1172-boot-time-around-2-seconds/m-p/1734172#M27112</guid>
      <dc:creator>kotalamit</dc:creator>
      <dc:date>2023-10-05T10:20:13Z</dc:date>
    </item>
    <item>
      <title>Re: IMXRT1172 boot time around 2 seconds</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1172-boot-time-around-2-seconds/m-p/1734400#M27118</link>
      <description>&lt;P&gt;Thanks for your response&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/207613"&gt;@kotalamit&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Lets continue the follow up of this issue&amp;nbsp; with the ticket!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;All the best,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Diego&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Oct 2023 18:37:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1172-boot-time-around-2-seconds/m-p/1734400#M27118</guid>
      <dc:creator>diego_charles</dc:creator>
      <dc:date>2023-10-05T18:37:44Z</dc:date>
    </item>
    <item>
      <title>Re: IMXRT1172 boot time around 2 seconds</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1172-boot-time-around-2-seconds/m-p/1773573#M27978</link>
      <description>&lt;P&gt;Hi Amit,&lt;/P&gt;
&lt;P&gt;One small check at our end, Can you try adding this function on the ResetISR rather than on the Main, Because generally perform a Flash to SDRAM copy of the data region whose timings can vary on every project.&lt;/P&gt;
&lt;P&gt;We have a weak implementation of the SystemHook function available on all of our workspace, Which can be used for our trials here.&lt;/P&gt;
&lt;P&gt;Below snap-shot for further reference.&amp;nbsp;&lt;/P&gt;
&lt;DIV style="background-color: #ffffff; padding: 0px 0px 0px 2px;"&gt;
&lt;DIV style="color: #000000; background-color: #ffffff; font-family: 'Consolas'; font-size: 10pt; white-space: nowrap;"&gt;
&lt;P&gt;&lt;SPAN&gt;/* ----------------------------------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt; -- SystemInitHook()&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt; ---------------------------------------------------------------------------- */&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;__attribute__&lt;/SPAN&gt;&lt;SPAN&gt; ((weak)) &lt;/SPAN&gt;&lt;SPAN&gt;void&lt;/SPAN&gt; &lt;SPAN&gt;SystemInitHook&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;SPAN&gt;void&lt;/SPAN&gt;&lt;SPAN&gt;) {&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;/* Void implementation of the weak function. */&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;Do help check and let me know for any further information required.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;With Regards,&lt;/P&gt;
&lt;P&gt;Nikhil Ullal&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2023 05:11:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1172-boot-time-around-2-seconds/m-p/1773573#M27978</guid>
      <dc:creator>nxf42461</dc:creator>
      <dc:date>2023-12-13T05:11:46Z</dc:date>
    </item>
  </channel>
</rss>

