<?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>LPC MicrocontrollersのトピックRe: Configure LPC55 to enter/re-invoke ROM Bootloader from application code</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Configure-LPC55-to-enter-re-invoke-ROM-Bootloader-from/m-p/966993#M38307</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/jonathanmccarron" rel="nofollow noopener noreferrer" target="_blank"&gt;jonathanmccarron&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I ask the application team about this and they mention there's an easier way to set this.&lt;/P&gt;&lt;P&gt;If you write the following register, it will be set to boot from the ROM:&lt;/P&gt;&lt;PRE class="language-c line-numbers"&gt;&lt;CODE&gt;PMC&lt;SPAN class="operator token"&gt;-&amp;gt;&lt;/SPAN&gt;AOREG1 &lt;SPAN class="operator token"&gt;|&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0x0A&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;lt;&amp;lt;&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;16&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;//Set to boot from ROM&lt;/SPAN&gt;
&lt;SPAN class="token function"&gt;NVIC_SystemReset&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;          &lt;SPAN class="comment token"&gt;//Reset&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Alexis Andalon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Aug 2019 23:04:28 GMT</pubDate>
    <dc:creator>Alexis_A</dc:creator>
    <dc:date>2019-08-05T23:04:28Z</dc:date>
    <item>
      <title>Configure LPC55 to enter/re-invoke ROM Bootloader from application code</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Configure-LPC55-to-enter-re-invoke-ROM-Bootloader-from/m-p/966990#M38304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to give an example how to invoke the ROM Bootloader from code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I dont have the option to use ISP0 pin on hardware to enter Bootloader after resetting device.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do the&amp;nbsp;CMPA.DCFG_CC_SOCU_PIN and CMPA.DCFG_CC_SOCU_DFLT registers need programmed to do this and if so give example of value to send. Can you tell me how to do it with blhost cmds.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jul 2019 11:37:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Configure-LPC55-to-enter-re-invoke-ROM-Bootloader-from/m-p/966990#M38304</guid>
      <dc:creator>jonathanmccarro</dc:creator>
      <dc:date>2019-07-25T11:37:58Z</dc:date>
    </item>
    <item>
      <title>Re: Configure LPC55 to enter/re-invoke ROM Bootloader from application code</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Configure-LPC55-to-enter-re-invoke-ROM-Bootloader-from/m-p/966991#M38305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/jonathanmccarron" rel="nofollow noopener noreferrer" target="_blank"&gt;jonathanmccarron&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the SDK from the LPC55s6x there's an example of how to use the IAP function, if you check the fsl_iap.c you will see the next define:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="language-c line-numbers"&gt;&lt;CODE&gt;&lt;SPAN class="property macro token"&gt;#define BOOTLOADER_API_TREE_POINTER ((bootloader_tree_t *)ROM_API_TREE)&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;This define will provide you&amp;nbsp;a user application access to APIs exported by the bootloader.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you check the bootloader_tree_t type, you will see a function called runBootloader.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Alexis Andalon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jul 2019 00:44:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Configure-LPC55-to-enter-re-invoke-ROM-Bootloader-from/m-p/966991#M38305</guid>
      <dc:creator>Alexis_A</dc:creator>
      <dc:date>2019-07-30T00:44:45Z</dc:date>
    </item>
    <item>
      <title>Re: Configure LPC55 to enter/re-invoke ROM Bootloader from application code</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Configure-LPC55-to-enter-re-invoke-ROM-Bootloader-from/m-p/966992#M38306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Alexis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the reply.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have a small example how I can use this? I just want to call say from within user application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does the device reset itself when called with this API or do I have to do software reset etc?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jul 2019 15:31:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Configure-LPC55-to-enter-re-invoke-ROM-Bootloader-from/m-p/966992#M38306</guid>
      <dc:creator>jonathanmccarro</dc:creator>
      <dc:date>2019-07-30T15:31:34Z</dc:date>
    </item>
    <item>
      <title>Re: Configure LPC55 to enter/re-invoke ROM Bootloader from application code</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Configure-LPC55-to-enter-re-invoke-ROM-Bootloader-from/m-p/966993#M38307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/jonathanmccarron" rel="nofollow noopener noreferrer" target="_blank"&gt;jonathanmccarron&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I ask the application team about this and they mention there's an easier way to set this.&lt;/P&gt;&lt;P&gt;If you write the following register, it will be set to boot from the ROM:&lt;/P&gt;&lt;PRE class="language-c line-numbers"&gt;&lt;CODE&gt;PMC&lt;SPAN class="operator token"&gt;-&amp;gt;&lt;/SPAN&gt;AOREG1 &lt;SPAN class="operator token"&gt;|&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0x0A&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;lt;&amp;lt;&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;16&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;//Set to boot from ROM&lt;/SPAN&gt;
&lt;SPAN class="token function"&gt;NVIC_SystemReset&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;          &lt;SPAN class="comment token"&gt;//Reset&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Alexis Andalon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Aug 2019 23:04:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Configure-LPC55-to-enter-re-invoke-ROM-Bootloader-from/m-p/966993#M38307</guid>
      <dc:creator>Alexis_A</dc:creator>
      <dc:date>2019-08-05T23:04:28Z</dc:date>
    </item>
    <item>
      <title>Re: Configure LPC55 to enter/re-invoke ROM Bootloader from application code</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Configure-LPC55-to-enter-re-invoke-ROM-Bootloader-from/m-p/1800741#M55325</link>
      <description>&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;trying this on lpc55s69-evk and the device restarts, but it doesn't stay in rom boot - it continues to boot the application.&lt;/P&gt;&lt;P&gt;what may be the cause for this?&lt;/P&gt;&lt;P&gt;thanks, jacob&lt;/P&gt;</description>
      <pubDate>Fri, 02 Feb 2024 09:25:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Configure-LPC55-to-enter-re-invoke-ROM-Bootloader-from/m-p/1800741#M55325</guid>
      <dc:creator>tejacob</dc:creator>
      <dc:date>2024-02-02T09:25:54Z</dc:date>
    </item>
    <item>
      <title>Re: Configure LPC55 to enter/re-invoke ROM Bootloader from application code</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Configure-LPC55-to-enter-re-invoke-ROM-Bootloader-from/m-p/1800757#M55326</link>
      <description>i've also tried the `runBootloader` way, as well as this hack: &lt;A href="https://github.com/lpc55/lpc55-hal/pull/51/files" target="_blank"&gt;https://github.com/lpc55/lpc55-hal/pull/51/files&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;all of them behave the same.</description>
      <pubDate>Fri, 02 Feb 2024 09:47:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Configure-LPC55-to-enter-re-invoke-ROM-Bootloader-from/m-p/1800757#M55326</guid>
      <dc:creator>tejacob</dc:creator>
      <dc:date>2024-02-02T09:47:39Z</dc:date>
    </item>
  </channel>
</rss>

