<?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 How can I boot to LPC55 to BOOT ROM from firmware code?  Previous method doesn't work in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-can-I-boot-to-LPC55-to-BOOT-ROM-from-firmware-code-Previous/m-p/1078635#M41491</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to get the LPC55 to enter the bootloader from application code.&amp;nbsp; I previously tried &lt;A _jive_internal="true" href="https://community.nxp.com/thread/508697"&gt;this solution&lt;/A&gt; which edits the `BOOTERRORCOUNTER` of the AOREG1 register.&amp;nbsp; This solution did work on my LPCXpresso55S69, but it does not work on my custom PCB with new LPC55 chips.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the LPCXpresso (device revision marked "1"), it works and boots to BOOT ROM just fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On custom PCB (chip revision marked "1B"), it just boots the application again.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In both cases I confirmed that BOOT ROM works/boots after mass erasing the flash.&amp;nbsp; I also figured out I could erase the first flash page from application code and reset, which results in BOOT ROM booting, but this is problematic since now the application needs to be reprogrammed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would there be a difference between chip revisions in how the boot rom handles `BOOTERRORCOUNTER` in AOREG1 register?&amp;nbsp; How else can I boot the BOOT ROM from application code (without erasing application)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 26 Apr 2020 23:54:16 GMT</pubDate>
    <dc:creator>cp1</dc:creator>
    <dc:date>2020-04-26T23:54:16Z</dc:date>
    <item>
      <title>How can I boot to LPC55 to BOOT ROM from firmware code?  Previous method doesn't work</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-can-I-boot-to-LPC55-to-BOOT-ROM-from-firmware-code-Previous/m-p/1078635#M41491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to get the LPC55 to enter the bootloader from application code.&amp;nbsp; I previously tried &lt;A _jive_internal="true" href="https://community.nxp.com/thread/508697"&gt;this solution&lt;/A&gt; which edits the `BOOTERRORCOUNTER` of the AOREG1 register.&amp;nbsp; This solution did work on my LPCXpresso55S69, but it does not work on my custom PCB with new LPC55 chips.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the LPCXpresso (device revision marked "1"), it works and boots to BOOT ROM just fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On custom PCB (chip revision marked "1B"), it just boots the application again.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In both cases I confirmed that BOOT ROM works/boots after mass erasing the flash.&amp;nbsp; I also figured out I could erase the first flash page from application code and reset, which results in BOOT ROM booting, but this is problematic since now the application needs to be reprogrammed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would there be a difference between chip revisions in how the boot rom handles `BOOTERRORCOUNTER` in AOREG1 register?&amp;nbsp; How else can I boot the BOOT ROM from application code (without erasing application)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Apr 2020 23:54:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-can-I-boot-to-LPC55-to-BOOT-ROM-from-firmware-code-Previous/m-p/1078635#M41491</guid>
      <dc:creator>cp1</dc:creator>
      <dc:date>2020-04-26T23:54:16Z</dc:date>
    </item>
    <item>
      <title>Re: How can I boot to LPC55 to BOOT ROM from firmware code?  Previous method doesn't work</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-can-I-boot-to-LPC55-to-BOOT-ROM-from-firmware-code-Previous/m-p/1078636#M41492</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/cp@solokeys.com"&gt;cp@solokeys.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm glad to help, but I will require additional time to provide my feedback.&lt;/P&gt;&lt;P&gt;Please, stay tuned to my following reply.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards, Diego.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2020 04:41:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-can-I-boot-to-LPC55-to-BOOT-ROM-from-firmware-code-Previous/m-p/1078636#M41492</guid>
      <dc:creator>diego_charles</dc:creator>
      <dc:date>2020-04-29T04:41:04Z</dc:date>
    </item>
    <item>
      <title>Re: How can I boot to LPC55 to BOOT ROM from firmware code?  Previous method doesn't work</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-can-I-boot-to-LPC55-to-BOOT-ROM-from-firmware-code-Previous/m-p/1078637#M41493</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/cp@solokeys.com"&gt;cp@solokeys.com&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Using the LPC55s69 rev 1B,&lt;/P&gt;&lt;P&gt;I´ve been checking the following code&amp;nbsp; to&amp;nbsp; run the bootloader from application using UART as interface.&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;#define BOOTLOADER_TREE_LOCATION (0x1301fe00)&lt;BR /&gt;bootloader_tree_t *romApiTree = (bootloader_tree_t *)BOOTLOADER_TREE_LOCATION;&lt;BR /&gt;uint32_t arg = 0xEB120000;&lt;SPAN style="color: #008000;"&gt; //0xEB: represents Enter Boot; 0x12: represents enter ISPmode by UART only&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;void runBootloader(void *arg)&lt;BR /&gt;{&lt;BR /&gt;romApiTree-&amp;gt; runBootloader(arg);&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...&lt;SPAN style="color: #008000;"&gt;. bootloader Tree structure can be found driver&amp;nbsp; fsl_iap.c &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000;"&gt;Code obtained from LPC55 user manual 9.3.4 runBootloader API&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;You could try this on your own, &lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I'll look forward validating this method for the revision.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards, Diego.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 May 2020 01:02:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-can-I-boot-to-LPC55-to-BOOT-ROM-from-firmware-code-Previous/m-p/1078637#M41493</guid>
      <dc:creator>diego_charles</dc:creator>
      <dc:date>2020-05-01T01:02:39Z</dc:date>
    </item>
    <item>
      <title>Re: How can I boot to LPC55 to BOOT ROM from firmware code?  Previous method doesn't work</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-can-I-boot-to-LPC55-to-BOOT-ROM-from-firmware-code-Previous/m-p/1078638#M41494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Diego,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for your reply.&amp;nbsp; Turns out I was using the October manual release which missed this information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried this solution, and unfortunately it doesn't work.&amp;nbsp; All it does is trigger a reboot and start the application normally again.&amp;nbsp; I've found a number of problems, and confirmed via disassembly that "runBootloader" only does a soft reset, and nothing else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The "0x1301fe00" in the RM points to zero-valued memory on device, so it is probably incorrect.&amp;nbsp; The address used in the 2.7.1 SDK "0x130010f0" for the BOOTLOADER_TREE_LOCATION seems right (see flashiap1/drivers/fsl_iap.c). (also this 0x130010f0 is referenced elsewhere in the RM).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using the 0x130010f0 address for the BOOTLOADER_TREE_LOCATION location, it points to the following data, which I've readout.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Screen Shot 2020-05-04 at 1.06.10 PM.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/105352iDCBAC42A95AB1BC5/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2020-05-04 at 1.06.10 PM.png" alt="Screen Shot 2020-05-04 at 1.06.10 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;It seems to match to the "bootloader_tree_t" type correctly since I can see the version numbers and copyright string.&amp;nbsp; So "runBootloader" resides at address 0x13014939.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looking at the disassembled code for the function at 0x13014939 though, it's a bit disappointing.&amp;nbsp; It takes no function parameters, and all it does is a normal system reset (using the ARM SCB module mapped at 0xe000ed04).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Screen Shot 2020-05-04 at 1.12.09 PM.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/105362i6D2D2729A4A4523E/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2020-05-04 at 1.12.09 PM.png" alt="Screen Shot 2020-05-04 at 1.12.09 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Basically, it just writes 0x5fa0004 to SCB-&amp;gt;AIRCR, and then goes into a infinite loop, which is exactly how an ARM soft reset is done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How else can I enter the bootloader?&amp;nbsp; Or what is the correct address for "runBootloader" if there is one?&amp;nbsp; This is all on the same 1B chip, and I've verified that bootloader mode works after mass-erase.&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2020 17:19:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-can-I-boot-to-LPC55-to-BOOT-ROM-from-firmware-code-Previous/m-p/1078638#M41494</guid>
      <dc:creator>cp1</dc:creator>
      <dc:date>2020-05-04T17:19:13Z</dc:date>
    </item>
    <item>
      <title>Re: How can I boot to LPC55 to BOOT ROM from firmware code?  Previous method doesn't work</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-can-I-boot-to-LPC55-to-BOOT-ROM-from-firmware-code-Previous/m-p/1078639#M41495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, Conor&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm checking this with the application team.&lt;/P&gt;&lt;P&gt;I will update you when I get the information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards, Diego&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2020 23:44:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-can-I-boot-to-LPC55-to-BOOT-ROM-from-firmware-code-Previous/m-p/1078639#M41495</guid>
      <dc:creator>diego_charles</dc:creator>
      <dc:date>2020-05-06T23:44:44Z</dc:date>
    </item>
    <item>
      <title>Re: How can I boot to LPC55 to BOOT ROM from firmware code?  Previous method doesn't work</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-can-I-boot-to-LPC55-to-BOOT-ROM-from-firmware-code-Previous/m-p/1078640#M41496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Conor&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have results, but&amp;nbsp; I'm just waiting for confirmation.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'll keep you updated.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Diego.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 May 2020 22:49:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-can-I-boot-to-LPC55-to-BOOT-ROM-from-firmware-code-Previous/m-p/1078640#M41496</guid>
      <dc:creator>diego_charles</dc:creator>
      <dc:date>2020-05-11T22:49:52Z</dc:date>
    </item>
    <item>
      <title>Re: How can I boot to LPC55 to BOOT ROM from firmware code?  Previous method doesn't work</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-can-I-boot-to-LPC55-to-BOOT-ROM-from-firmware-code-Previous/m-p/1078641#M41497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi , Conor&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For the &lt;STRONG&gt;LPC55S69 rev 1B&lt;/STRONG&gt; there is no recommended way to reinvoke the bootloader from application code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The&amp;nbsp; section 9.3.4 runBootloader API, that I proposed before,&amp;nbsp;&amp;nbsp; was removed from&amp;nbsp; User manual&amp;nbsp; version 2.0 ( from 04 May 2020) due to incompatibility with the MCU.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry for the all the&amp;nbsp; inconvenience that this may generated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards, Diego.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2020 21:26:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-can-I-boot-to-LPC55-to-BOOT-ROM-from-firmware-code-Previous/m-p/1078641#M41497</guid>
      <dc:creator>diego_charles</dc:creator>
      <dc:date>2020-05-15T21:26:12Z</dc:date>
    </item>
    <item>
      <title>Re: How can I boot to LPC55 to BOOT ROM from firmware code?  Previous method doesn't work</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-can-I-boot-to-LPC55-to-BOOT-ROM-from-firmware-code-Previous/m-p/1078642#M41498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Charles,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply.&amp;nbsp; The signed update mechanism is one of the core features my company is interested in the LPC55S69.&amp;nbsp; It's pretty strange if there's no way to update an existing application.&amp;nbsp; Can you check if the application team can provide a new &lt;STRONG&gt;1B&lt;/STRONG&gt; bootrom function that can be called to invoke the bootloader?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Conor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 May 2020 17:13:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-can-I-boot-to-LPC55-to-BOOT-ROM-from-firmware-code-Previous/m-p/1078642#M41498</guid>
      <dc:creator>cp1</dc:creator>
      <dc:date>2020-05-16T17:13:38Z</dc:date>
    </item>
    <item>
      <title>Re: How can I boot to LPC55 to BOOT ROM from firmware code?  Previous method doesn't work</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-can-I-boot-to-LPC55-to-BOOT-ROM-from-firmware-code-Previous/m-p/1078643#M41499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Connor, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is possible to invoque the bootloloader from application code. However there is no recommended&amp;nbsp; workaround at the moment to use the rom bootloader API on rev 1B of the LPC55S69.&amp;nbsp;&amp;nbsp; I'm waiting for confirmation from the applications team to see if is possible&amp;nbsp; to provide a similiar function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards, Diego.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2020 22:28:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-can-I-boot-to-LPC55-to-BOOT-ROM-from-firmware-code-Previous/m-p/1078643#M41499</guid>
      <dc:creator>diego_charles</dc:creator>
      <dc:date>2020-05-19T22:28:36Z</dc:date>
    </item>
    <item>
      <title>Re: How can I boot to LPC55 to BOOT ROM from firmware code?  Previous method doesn't work</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-can-I-boot-to-LPC55-to-BOOT-ROM-from-firmware-code-Previous/m-p/1078644#M41500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you!&amp;nbsp; Also, if you can provide any other way to invoke the bootrom from application code, that would be great.&amp;nbsp; It doesn't need to use the bootrom API.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 May 2020 16:05:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-can-I-boot-to-LPC55-to-BOOT-ROM-from-firmware-code-Previous/m-p/1078644#M41500</guid>
      <dc:creator>cp1</dc:creator>
      <dc:date>2020-05-22T16:05:28Z</dc:date>
    </item>
    <item>
      <title>Re: How can I boot to LPC55 to BOOT ROM from firmware code?  Previous method doesn't work</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-can-I-boot-to-LPC55-to-BOOT-ROM-from-firmware-code-Previous/m-p/1078645#M41501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Conor, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just wanted to provide you an update!&lt;/P&gt;&lt;P&gt;As soon&amp;nbsp; I get information I will let you know. Please, stay tuned for my following reply during the week.&lt;/P&gt;&lt;P&gt;Thank you for your&amp;nbsp; patience!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Diego.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2020 03:56:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-can-I-boot-to-LPC55-to-BOOT-ROM-from-firmware-code-Previous/m-p/1078645#M41501</guid>
      <dc:creator>diego_charles</dc:creator>
      <dc:date>2020-05-26T03:56:34Z</dc:date>
    </item>
    <item>
      <title>Re: How can I boot to LPC55 to BOOT ROM from firmware code?  Previous method doesn't work</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-can-I-boot-to-LPC55-to-BOOT-ROM-from-firmware-code-Previous/m-p/1078646#M41502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Connor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;At the moment, there are no plans to provide a&amp;nbsp;&amp;nbsp;function to&lt;STRONG&gt; re-invoke&lt;/STRONG&gt; the&amp;nbsp; ROM bootloader from&amp;nbsp; &lt;STRONG&gt;firmware code&lt;/STRONG&gt;&amp;nbsp;in&amp;nbsp; the LPC55S69 &lt;STRONG&gt;rev 1B&lt;/STRONG&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for any inconvenience this may generated.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Diego.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2020 18:35:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-can-I-boot-to-LPC55-to-BOOT-ROM-from-firmware-code-Previous/m-p/1078646#M41502</guid>
      <dc:creator>diego_charles</dc:creator>
      <dc:date>2020-06-01T18:35:42Z</dc:date>
    </item>
    <item>
      <title>Re: How can I boot to LPC55 to BOOT ROM from firmware code?  Previous method doesn't work</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-can-I-boot-to-LPC55-to-BOOT-ROM-from-firmware-code-Previous/m-p/1237079#M44054</link>
      <description>&lt;P&gt;Hi Charles,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi hope you've been well.&amp;nbsp; I'm resurfacing this to check to see if there's been any update or changes on how to re-invoke the ROM bootloader from firmware code?&amp;nbsp;&lt;/P&gt;&lt;P&gt;My team is still just relying on erasing the flash and rebooting, and we're realizing this could risk issues with out customers.&lt;/P&gt;&lt;P&gt;Conor&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2021 06:44:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-can-I-boot-to-LPC55-to-BOOT-ROM-from-firmware-code-Previous/m-p/1237079#M44054</guid>
      <dc:creator>cp1</dc:creator>
      <dc:date>2021-02-26T06:44:54Z</dc:date>
    </item>
    <item>
      <title>Re: How can I boot to LPC55 to BOOT ROM from firmware code?  Previous method doesn't work</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-can-I-boot-to-LPC55-to-BOOT-ROM-from-firmware-code-Previous/m-p/1237500#M44078</link>
      <description>&lt;P&gt;Actually I just solved this.&lt;/P&gt;&lt;P&gt;The trick is to set the INVERT attribute for Pio0_5 (ISP pin), and then jump to the bootrom without any soft reset.&amp;nbsp; The bootrom will think the ISP pin is asserted when it's not.&lt;/P&gt;&lt;P&gt;To do this safely, I used the following steps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;1. Reset all peripherals &amp;amp; disconnect all interrupts (like in a soft reset)&lt;BR /&gt;2. Enable Iocon and set the INVERT attribute for Pio0_5 (ISP pin).&lt;BR /&gt;3. Jump to bootrom, which will think ISP pin is asserted.&lt;/P&gt;&lt;P&gt;Basically just repeat everything in a soft reset, but setting the INVERT attribute right before jumping.&lt;/P&gt;&lt;P&gt;My implementation is here: &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;/P&gt;</description>
      <pubDate>Sat, 27 Feb 2021 05:21:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-can-I-boot-to-LPC55-to-BOOT-ROM-from-firmware-code-Previous/m-p/1237500#M44078</guid>
      <dc:creator>cp1</dc:creator>
      <dc:date>2021-02-27T05:21:11Z</dc:date>
    </item>
    <item>
      <title>Re: How can I boot to LPC55 to BOOT ROM from firmware code?  Previous method doesn't work</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-can-I-boot-to-LPC55-to-BOOT-ROM-from-firmware-code-Previous/m-p/1241666#M44177</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;thank you for sharing your solution. I have the same problem and i solved this with external hardware but your idea is more professional.&lt;/P&gt;&lt;P&gt;I inverted the pin, and set the clock to default (i read in an other thread) but the controller get stucked in an hardfault error.&lt;/P&gt;&lt;P&gt;Do you have a code snippet to jump to boot rom in MCUXpresso c-code?&lt;/P&gt;&lt;P&gt;I tried two codes i found in this forum with no success:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;void (*runBootloader)(void);

void run_bootloader(void)
{
uint32_t runBootloaderAddress;

// Read the entry point from bootloader's vector table
runBootloaderAddress = *(uint32_t*)(0x03000000);
runBootloader = (void (*) (void))runBootloaderAddress;
runBootloader();
}&lt;/LI-CODE&gt;&lt;P&gt;and this one nearly the same:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;void boot_loader_start( void ) __attribute__ ((noreturn));

/* Function Pointer returning void, passed void pointer: */
void (*_boot_loader_start)( void * arg );

void boot_loader_start( void )
{
/* Read the function address from the ROM API tree: */
uint32_t const _boot_loader_start_address = **(uint32_t **)(0x03000000);

/* Turn address in to a function pointer: */
_boot_loader_start = (void (*)(void * arg))_boot_loader_start_address;
_boot_loader_start( NULL ); /* Call the function. Will not return from here */
for(;;) /* Pacify the compiler about returning from a no return function */
;
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Mar 2021 09:45:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-can-I-boot-to-LPC55-to-BOOT-ROM-from-firmware-code-Previous/m-p/1241666#M44177</guid>
      <dc:creator>TwoBias</dc:creator>
      <dc:date>2021-03-08T09:45:21Z</dc:date>
    </item>
    <item>
      <title>Re: How can I boot to LPC55 to BOOT ROM from firmware code?  Previous method doesn't work</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-can-I-boot-to-LPC55-to-BOOT-ROM-from-firmware-code-Previous/m-p/1570341#M51027</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I did a lot of tests with your solutions, here is my conclusion:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;runbootloader() does not work for Rev-ID 1B&lt;/LI&gt;&lt;LI&gt;Chips with Rev-ID 1B and production date older than 2021 do not support entering ISP boot from application&lt;/LI&gt;&lt;LI&gt;For Chips with Rev-ID 1B and production date 2021 onward there is the following workaround according to Errata sheet LPC55S2x/LPC552x Rev. 2.2 Chapter 5.1:&lt;BR /&gt;PMC-&amp;gt;AOREG1 |=(0X0A &amp;lt;&amp;lt;16);&lt;BR /&gt;NVIC_SystemReset();&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I have also checked with NXP support as my chip has a production date of 2019 (Rev-ID 1B). I have no choice but to make the PIO0_5 accessible.&lt;BR /&gt;Because I do not have a chip with production date 2021 onward I could not test the workaround.&lt;/P&gt;&lt;P&gt;Regards, Reto&lt;/P&gt;</description>
      <pubDate>Thu, 15 Dec 2022 09:41:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-can-I-boot-to-LPC55-to-BOOT-ROM-from-firmware-code-Previous/m-p/1570341#M51027</guid>
      <dc:creator>R3t0</dc:creator>
      <dc:date>2022-12-15T09:41:03Z</dc:date>
    </item>
  </channel>
</rss>

