<?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: SBL doesn't jump into the application by pressing the reset button in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/SBL-doesn-t-jump-into-the-application-by-pressing-the-reset/m-p/1390050#M47444</link>
    <description>&lt;P&gt;Some toolchains provide a _NOINIT section (or similar) for values/variables which are not initialized during startup. Such a boot flag must reside there.&lt;/P&gt;&lt;P&gt;After power-up, RAM cells can contain random values. For our BL, we are using "safe" values for such variables, which consists of an array of 2 values. The first index contains the normal value, the second the binary negated value (e.g. 00/FF, 55/AA). This way, you can catch at least some corruptions, and add some additional safety.&lt;/P&gt;</description>
    <pubDate>Tue, 21 Dec 2021 09:16:56 GMT</pubDate>
    <dc:creator>frank_m</dc:creator>
    <dc:date>2021-12-21T09:16:56Z</dc:date>
    <item>
      <title>SBL doesn't jump into the application by pressing the reset button</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SBL-doesn-t-jump-into-the-application-by-pressing-the-reset/m-p/1386108#M47369</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am using a Secondary bootloader in LPC804. I have flashed an example bootloader as well as the example app. I am able to jump into the application by firing the '&lt;STRONG&gt;b&lt;/STRONG&gt;' command only. if I press the reset button then it stays in the bootloader even if the IRQ line doesn't low but it should jump into the app.&lt;BR /&gt;I am using this as a reference:&amp;nbsp;&lt;A href="https://www.nxp.com/docs/en/application-note/AN12373.pdf" target="_blank" rel="noopener"&gt;https://www.nxp.com/docs/en/application-note/AN12373.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We debugged the issue is with the&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;pushAppFlag&amp;nbsp;&lt;/STRONG&gt;&lt;SPAN&gt;variable shown below in function. we observed that the value is other than 0x44 and it is not consistent.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;static uint8_t isbootFromReset(void)&lt;BR /&gt;{&lt;BR /&gt;/* Was loader booted from app (1) or from FLASH on reset (0x44)? */&lt;BR /&gt;if((uint8_t)*&lt;STRONG&gt;pushAppFlag&lt;/STRONG&gt; == 0x44){&lt;BR /&gt;return 1;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;return 0;&lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Tue, 14 Dec 2021 06:28:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SBL-doesn-t-jump-into-the-application-by-pressing-the-reset/m-p/1386108#M47369</guid>
      <dc:creator>Bhavin_Dhulkotiya</dc:creator>
      <dc:date>2021-12-14T06:28:34Z</dc:date>
    </item>
    <item>
      <title>Re: SBL doesn't jump into the application by pressing the reset button</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SBL-doesn-t-jump-into-the-application-by-pressing-the-reset/m-p/1386434#M47374</link>
      <description>&lt;P&gt;I did not work with your MCU variant specifically.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;gt; We debugged the issue is with the&amp;nbsp;pushAppFlag&amp;nbsp;variable shown below in function. we observed that the value is other than 0x44 and it is not consistent.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;How does your bootloader initialize memory ?&lt;/P&gt;&lt;P&gt;Did you take care that the location(s) of this variable is not initialized in the second-stage BL startup ?&lt;/P&gt;</description>
      <pubDate>Tue, 14 Dec 2021 12:29:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SBL-doesn-t-jump-into-the-application-by-pressing-the-reset/m-p/1386434#M47374</guid>
      <dc:creator>frank_m</dc:creator>
      <dc:date>2021-12-14T12:29:45Z</dc:date>
    </item>
    <item>
      <title>Re: SBL doesn't jump into the application by pressing the reset button</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SBL-doesn-t-jump-into-the-application-by-pressing-the-reset/m-p/1389253#M47421</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;A id="link_12" class="lia-link-navigation lia-page-link lia-user-name-link" href="https://community.nxp.com/t5/user/viewprofilepage/user-id/186362" target="_self" aria-label="View Profile of bhavind"&gt;&lt;SPAN class=""&gt;bhavind&lt;/SPAN&gt;&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;How about your this issue now?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What the value is about&amp;nbsp; "&lt;STRONG&gt;pushAppFlag"?&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;</description>
      <pubDate>Mon, 20 Dec 2021 04:43:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SBL-doesn-t-jump-into-the-application-by-pressing-the-reset/m-p/1389253#M47421</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2021-12-20T04:43:12Z</dc:date>
    </item>
    <item>
      <title>Re: SBL doesn't jump into the application by pressing the reset button</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SBL-doesn-t-jump-into-the-application-by-pressing-the-reset/m-p/1390037#M47442</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/27788"&gt;@Alice_Yang&lt;/a&gt;&amp;nbsp;, &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/137574"&gt;@frank_m&lt;/a&gt;&amp;nbsp;,&amp;nbsp;Thanks.&lt;/P&gt;&lt;P&gt;It is required to set the 0x44 value. This issue is fixed in the provided updated Keil_startup.s file.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Dec 2021 09:06:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SBL-doesn-t-jump-into-the-application-by-pressing-the-reset/m-p/1390037#M47442</guid>
      <dc:creator>Bhavin_Dhulkotiya</dc:creator>
      <dc:date>2021-12-21T09:06:44Z</dc:date>
    </item>
    <item>
      <title>Re: SBL doesn't jump into the application by pressing the reset button</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SBL-doesn-t-jump-into-the-application-by-pressing-the-reset/m-p/1390050#M47444</link>
      <description>&lt;P&gt;Some toolchains provide a _NOINIT section (or similar) for values/variables which are not initialized during startup. Such a boot flag must reside there.&lt;/P&gt;&lt;P&gt;After power-up, RAM cells can contain random values. For our BL, we are using "safe" values for such variables, which consists of an array of 2 values. The first index contains the normal value, the second the binary negated value (e.g. 00/FF, 55/AA). This way, you can catch at least some corruptions, and add some additional safety.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Dec 2021 09:16:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SBL-doesn-t-jump-into-the-application-by-pressing-the-reset/m-p/1390050#M47444</guid>
      <dc:creator>frank_m</dc:creator>
      <dc:date>2021-12-21T09:16:56Z</dc:date>
    </item>
  </channel>
</rss>

