<?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: LPC1850 - soft reset - SPIFI Boot - KEIL UV5 RTX in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1850-soft-reset-SPIFI-Boot-KEIL-UV5-RTX/m-p/795388#M31970</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Scott Hudis,&lt;BR /&gt;I've illustrated the way to boot from the QSPI flash after resetting in the previous reply, and the 3.18 RESET.2 shows a workaround to software reset, in my opinion, it definitely can implement your purpose.&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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>Fri, 22 Jun 2018 02:31:34 GMT</pubDate>
    <dc:creator>jeremyzhou</dc:creator>
    <dc:date>2018-06-22T02:31:34Z</dc:date>
    <item>
      <title>LPC1850 - soft reset - SPIFI Boot - KEIL UV5 RTX</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1850-soft-reset-SPIFI-Boot-KEIL-UV5-RTX/m-p/795385#M31967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My system is a LPC1850&amp;nbsp;with IDE&amp;nbsp;KEIL UV5 RTX and I boot from SPIFI.&amp;nbsp; That being said I am trying to do a soft reboot.&amp;nbsp; My hardware is set and I do not have an external&amp;nbsp;pull-up P2-7.&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; *(volatile unsigned int *)0x40043100 = 0x10400000; //memmap with boot ROM address&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; *(volatile unsigned int *)0x40053100 =(1&amp;lt;&amp;lt;0); // Core reset&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I suspect since I don't have a pull up on P2-7 this will not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do I need to update the OTP?&amp;nbsp; If so, I cant seem to find a function in the Keil IDE.&amp;nbsp; I sure could use your help!&amp;nbsp; Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Update:&lt;/P&gt;&lt;P&gt;I updated the OTP to boot SPIFI and it did not correct the problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2018 15:34:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1850-soft-reset-SPIFI-Boot-KEIL-UV5-RTX/m-p/795385#M31967</guid>
      <dc:creator>scotthudis</dc:creator>
      <dc:date>2018-06-19T15:34:46Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1850 - soft reset - SPIFI Boot - KEIL UV5 RTX</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1850-soft-reset-SPIFI-Boot-KEIL-UV5-RTX/m-p/795386#M31968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Scott Hudis,&lt;BR /&gt;Thank you for your interest in NXP Semiconductor products and &lt;BR /&gt;the opportunity to serve you.&lt;BR /&gt;The Fig 11 demonstrates the boot process for parts without flash and according to the Fig 11, BOOT_SRC bits and boot pins both can force MCU to enter related ISP mode.&lt;BR /&gt;About generating a software reset, please call NVIC_SystemReset() instead of &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; *(volatile unsigned int *)0x40043100 = 0x10400000; //memmap with boot ROM address&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; *(volatile unsigned int *)0x40053100 =(1&amp;lt;&amp;lt;0); // Core reset&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Fig1.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/62243i4B7B75A9D4F458EE/image-size/large?v=v2&amp;amp;px=999" role="button" title="Fig1.jpg" alt="Fig1.jpg" /&gt;&lt;/span&gt;&lt;BR /&gt;Hope it helps.&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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, 21 Jun 2018 06:15:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1850-soft-reset-SPIFI-Boot-KEIL-UV5-RTX/m-p/795386#M31968</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2018-06-21T06:15:18Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1850 - soft reset - SPIFI Boot - KEIL UV5 RTX</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1850-soft-reset-SPIFI-Boot-KEIL-UV5-RTX/m-p/795387#M31969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The call to NVIC_SystemReset() brings no joy and according to the Errata it should not work.&amp;nbsp; I think the only way to get&amp;nbsp;Core Reset&amp;nbsp;to work is to pull P2.7 high which means a hardware change I am trying to avoid.&amp;nbsp; Does anyone have a work around?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Errata Resetp2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/62284iC7EAE10AF25C89E4/image-size/large?v=v2&amp;amp;px=999" role="button" title="Errata Resetp2.png" alt="Errata Resetp2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2018 16:02:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1850-soft-reset-SPIFI-Boot-KEIL-UV5-RTX/m-p/795387#M31969</guid>
      <dc:creator>scotthudis</dc:creator>
      <dc:date>2018-06-21T16:02:35Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1850 - soft reset - SPIFI Boot - KEIL UV5 RTX</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1850-soft-reset-SPIFI-Boot-KEIL-UV5-RTX/m-p/795388#M31970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Scott Hudis,&lt;BR /&gt;I've illustrated the way to boot from the QSPI flash after resetting in the previous reply, and the 3.18 RESET.2 shows a workaround to software reset, in my opinion, it definitely can implement your purpose.&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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>Fri, 22 Jun 2018 02:31:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1850-soft-reset-SPIFI-Boot-KEIL-UV5-RTX/m-p/795388#M31970</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2018-06-22T02:31:34Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1850 - soft reset - SPIFI Boot - KEIL UV5 RTX</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1850-soft-reset-SPIFI-Boot-KEIL-UV5-RTX/m-p/795389#M31971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jeremy,&amp;nbsp; I did try what you suggested a few different ways without success and then noted the errata that indicated that what was suggested&amp;nbsp;will not&amp;nbsp;work.&amp;nbsp; It is precisely what I am doing a Soft Reset.&amp;nbsp; Besides, in the table suggested, if the ISP is not pulled high the soft boot gets stuck in ISP mode (USART0) (see box below).&amp;nbsp; With P2-7 pulled high the 2 lines &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; *(volatile unsigned int *)0x40043100 = 0x10400000;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; *(volatile unsigned int *)0x40053100 =(1&amp;lt;&amp;lt;0);&lt;/P&gt;&lt;P&gt;work great.&amp;nbsp; I assure you "NVIC_SystemReset()" does not work even with P2-7 pulled high.&amp;nbsp; I have tried it multiple times with LPC1850.&amp;nbsp; What am I misunderstanding?&amp;nbsp; Is there a workaround?&amp;nbsp; Am I looking at the wrong bits of figure 11?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ISP low.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/62348iE966EFE0EF1617E3/image-size/large?v=v2&amp;amp;px=999" role="button" title="ISP low.png" alt="ISP low.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Scott&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jun 2018 13:56:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1850-soft-reset-SPIFI-Boot-KEIL-UV5-RTX/m-p/795389#M31971</guid>
      <dc:creator>scotthudis</dc:creator>
      <dc:date>2018-06-22T13:56:57Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1850 - soft reset - SPIFI Boot - KEIL UV5 RTX</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1850-soft-reset-SPIFI-Boot-KEIL-UV5-RTX/m-p/795390#M31972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Scott Hudis,&lt;BR /&gt;According to 3.18 RESET.2 in errata, the following codes is the workaround to software reset, and your understand is correct.&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;*(volatile unsigned int *)0x40043100 = 0x10400000; &lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;*(volatile unsigned int *)0x40053100 =(1&amp;lt;&amp;lt;0);&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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>Mon, 25 Jun 2018 02:37:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1850-soft-reset-SPIFI-Boot-KEIL-UV5-RTX/m-p/795390#M31972</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2018-06-25T02:37:58Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1850 - soft reset - SPIFI Boot - KEIL UV5 RTX</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1850-soft-reset-SPIFI-Boot-KEIL-UV5-RTX/m-p/795391#M31973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there an ISP pin workaround?&amp;nbsp; Is there anyway to do a soft reset without pulling up the ISP pin?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2018 14:22:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1850-soft-reset-SPIFI-Boot-KEIL-UV5-RTX/m-p/795391#M31973</guid>
      <dc:creator>scotthudis</dc:creator>
      <dc:date>2018-06-25T14:22:27Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1850 - soft reset - SPIFI Boot - KEIL UV5 RTX</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1850-soft-reset-SPIFI-Boot-KEIL-UV5-RTX/m-p/795392#M31974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Scott Hudis,&lt;BR /&gt;1） Is there an ISP pin workaround?&amp;nbsp; Is there anyway to do a soft reset without pulling up the ISP pin? &lt;BR /&gt;-- I'm afraid that these's no way to do that.&lt;BR /&gt;Hope this is clear.&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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>Tue, 26 Jun 2018 02:45:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1850-soft-reset-SPIFI-Boot-KEIL-UV5-RTX/m-p/795392#M31974</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2018-06-26T02:45:33Z</dc:date>
    </item>
  </channel>
</rss>

