<?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: external flash resident custom bootloader for LPC54S018</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/external-flash-resident-custom-bootloader-for-LPC54S018/m-p/1517653#M50071</link>
    <description>&lt;P&gt;1) "&lt;SPAN&gt;can i flash two different binaies at two different-2 location in external flash of LPC54S018"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;-&amp;gt;&amp;gt; YES.&lt;/P&gt;
&lt;P&gt;2) "inside the MCUXpresso ide, it flashes the binary always at 0x10000000 only but i want to flash at some other location&lt;/P&gt;
&lt;P&gt;how can i do that??"&lt;/P&gt;
&lt;P&gt;-&amp;gt;&amp;gt; Change from memory setting as below, detail you can refer to &amp;lt;mcuxpresso IDE user guide&amp;gt;.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Alice_Yang_0-1662459831262.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/192640i89DF0463B1ABB24D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Alice_Yang_0-1662459831262.png" alt="Alice_Yang_0-1662459831262.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;3) About secondary bootloader code, you can refer to flashloader project under SDK.&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 06 Sep 2022 10:26:17 GMT</pubDate>
    <dc:creator>Alice_Yang</dc:creator>
    <dc:date>2022-09-06T10:26:17Z</dc:date>
    <item>
      <title>external flash resident custom bootloader for LPC54S018</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/external-flash-resident-custom-bootloader-for-LPC54S018/m-p/1514532#M50002</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Currently i'm using LPC54S018 flashless MCU for writing a custom bootloader which shall be residing&lt;/P&gt;&lt;P&gt;inside the external SPI/QSPI flash memory and bootloader then will be used to upgrade the application&lt;/P&gt;&lt;P&gt;which also be residing in external flash memory.&lt;/P&gt;&lt;P&gt;I'm new to LPC series controller that's why unable to map the external flash and Ram memory mapping with Linker file.&lt;/P&gt;&lt;P&gt;can somebody help me&amp;nbsp; and also why SDK is not covering this part.&amp;nbsp;&lt;BR /&gt;Only RAM flashloader is available. how can i use RAM flashloader for above problem.&lt;BR /&gt;i means (custom bootloader + Application binary) both i want inside external flash memory.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ritesh&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Aug 2022 09:30:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/external-flash-resident-custom-bootloader-for-LPC54S018/m-p/1514532#M50002</guid>
      <dc:creator>ritesh_singh</dc:creator>
      <dc:date>2022-08-31T09:30:16Z</dc:date>
    </item>
    <item>
      <title>Re: external flash resident custom bootloader for LPC54S018</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/external-flash-resident-custom-bootloader-for-LPC54S018/m-p/1515353#M50021</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;A id="link_6" class="lia-link-navigation lia-page-link lia-user-name-link" href="https://community.nxp.com/t5/user/viewprofilepage/user-id/205761" target="_self" aria-label="View Profile of ritesh_singh"&gt;&lt;SPAN class=""&gt;ritesh_singh,&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;You can use RAM flashloder program custom bootloader to external flash first, then use the customer bootloader update your application image.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;There is a thread about how to use flashloader:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;&lt;A href="https://community.nxp.com/t5/LPC-Microcontrollers-Knowledge/Use-blhost-to-program-erase-LPC54-S-0xx-flash/ta-p/1105629" target="_blank"&gt;https://community.nxp.com/t5/LPC-Microcontrollers-Knowledge/Use-blhost-to-program-erase-LPC54-S-0xx-flash/ta-p/1105629&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;BR&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;Alice&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Sep 2022 07:37:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/external-flash-resident-custom-bootloader-for-LPC54S018/m-p/1515353#M50021</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2022-09-01T07:37:47Z</dc:date>
    </item>
    <item>
      <title>Re: external flash resident custom bootloader for LPC54S018</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/external-flash-resident-custom-bootloader-for-LPC54S018/m-p/1515549#M50023</link>
      <description>&lt;P&gt;thanks Alice for quick response!&lt;/P&gt;&lt;P&gt;but i want to develop secondary bootloader which will reside in external flash(SPIFI) and loads the application binary inside the same flash at&lt;/P&gt;&lt;P&gt;some other location and both should be executed in sequence!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;after reset-&amp;gt; Bootrom bootloader-&amp;gt; secondary bootloader(@0x00000000) -&amp;gt; application binary(0x10100000)&lt;/P&gt;&lt;P&gt;just wanna understand both XIP and plain load image concept working.&lt;BR /&gt;how to program both binary at two different location using Jlink segger on board SWD&lt;BR /&gt;&lt;BR /&gt;because whenever i program any binary vector table is placed at 0x000000&amp;nbsp;&lt;BR /&gt;and i'm unable to jump to application&amp;nbsp;@0x10100000&lt;BR /&gt;&lt;BR /&gt;do i need to copy app.bin using spifi flash driver&amp;nbsp; at some other location inside bootloader code before jump_to_application call??&lt;BR /&gt;&lt;BR /&gt;just wanted to test two hello world program: one as bootloader&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;and another as Application inside the flash&lt;BR /&gt;and want both code to be executed??&lt;BR /&gt;&lt;BR /&gt;can you provide code snippet for both including linker file?&lt;BR /&gt;just wanna understand how and where msp, pc is being set for both code.&lt;BR /&gt;&lt;BR /&gt;thanks in advance!&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ritesh&lt;BR /&gt;personal email: riteshsingh.ece@gmail.com&lt;/P&gt;</description>
      <pubDate>Thu, 01 Sep 2022 11:11:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/external-flash-resident-custom-bootloader-for-LPC54S018/m-p/1515549#M50023</guid>
      <dc:creator>ritesh_singh</dc:creator>
      <dc:date>2022-09-01T11:11:27Z</dc:date>
    </item>
    <item>
      <title>Re: external flash resident custom bootloader for LPC54S018</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/external-flash-resident-custom-bootloader-for-LPC54S018/m-p/1516569#M50040</link>
      <description>&lt;P&gt;Hi Alice,&lt;BR /&gt;can i flash two different binaies at two different-2 location in external flash of LPC54S018 for testing whether it&lt;/P&gt;&lt;P&gt;is working correctly or not.&lt;BR /&gt;because i could se every time i'm programming the binary from any location using segger jlink swd debugger or even from GUI tool&lt;/P&gt;&lt;P&gt;inside the MCUXpresso ide, it flashes the binary always at 0x10000000 only but i want to flash at some other location&lt;/P&gt;&lt;P&gt;how can i do that??&lt;BR /&gt;&lt;BR /&gt;any help would be appreciated!&lt;/P&gt;</description>
      <pubDate>Sun, 04 Sep 2022 05:27:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/external-flash-resident-custom-bootloader-for-LPC54S018/m-p/1516569#M50040</guid>
      <dc:creator>ritesh_singh</dc:creator>
      <dc:date>2022-09-04T05:27:20Z</dc:date>
    </item>
    <item>
      <title>Re: external flash resident custom bootloader for LPC54S018</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/external-flash-resident-custom-bootloader-for-LPC54S018/m-p/1517653#M50071</link>
      <description>&lt;P&gt;1) "&lt;SPAN&gt;can i flash two different binaies at two different-2 location in external flash of LPC54S018"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;-&amp;gt;&amp;gt; YES.&lt;/P&gt;
&lt;P&gt;2) "inside the MCUXpresso ide, it flashes the binary always at 0x10000000 only but i want to flash at some other location&lt;/P&gt;
&lt;P&gt;how can i do that??"&lt;/P&gt;
&lt;P&gt;-&amp;gt;&amp;gt; Change from memory setting as below, detail you can refer to &amp;lt;mcuxpresso IDE user guide&amp;gt;.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Alice_Yang_0-1662459831262.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/192640i89DF0463B1ABB24D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Alice_Yang_0-1662459831262.png" alt="Alice_Yang_0-1662459831262.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;3) About secondary bootloader code, you can refer to flashloader project under SDK.&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2022 10:26:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/external-flash-resident-custom-bootloader-for-LPC54S018/m-p/1517653#M50071</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2022-09-06T10:26:17Z</dc:date>
    </item>
    <item>
      <title>Re: external flash resident custom bootloader for LPC54S018</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/external-flash-resident-custom-bootloader-for-LPC54S018/m-p/1517700#M50074</link>
      <description>&lt;P&gt;Alice,&lt;BR /&gt;my controller is flashless..(doen't have internal flash)&lt;BR /&gt;i'm able to change load addresses in MCU setting in MCUXpresso ide and it is reflecting in&amp;nbsp;linker file as well as in .map also.&lt;BR /&gt;but when load the program into device through jlink swd debugger either via inbuilt ide debug method&amp;nbsp;or via Flash GUI tool in MCUXpresso ide&lt;BR /&gt;it shows programming Bank 0&amp;nbsp;@0x10000000 always...becuase it takes all the external SPIFI flash 128Mb&amp;nbsp;as one bank only...&lt;BR /&gt;also it show it is erasing 128KB(2 sectors) but loaded program doesn't execute..&lt;BR /&gt;Even external flash has all the method to erase sector, block and chip through different command.&lt;BR /&gt;&lt;BR /&gt;is it MCUXpresso ide limitation or device's bootrom bootloader is playing something.???&lt;BR /&gt;&lt;BR /&gt;i'm stucked..&lt;BR /&gt;&lt;BR /&gt;why this is not able to execute at two different memory location even a blinky program.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2022 11:39:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/external-flash-resident-custom-bootloader-for-LPC54S018/m-p/1517700#M50074</guid>
      <dc:creator>ritesh_singh</dc:creator>
      <dc:date>2022-09-06T11:39:01Z</dc:date>
    </item>
    <item>
      <title>Re: external flash resident custom bootloader for LPC54S018</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/external-flash-resident-custom-bootloader-for-LPC54S018/m-p/1518427#M50086</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;As i understand, in your project, the application image is programed by your secondary bootloader,&lt;/P&gt;
&lt;P&gt;so you can use IDE download secondary bootloader from 0x10000000, then use it download application iamge.&lt;/P&gt;
&lt;P&gt;If you want to just program image, you can try to use blhost I mentioned before, while it can not run, because it not start from 0x10000000.&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Sep 2022 10:06:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/external-flash-resident-custom-bootloader-for-LPC54S018/m-p/1518427#M50086</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2022-09-07T10:06:13Z</dc:date>
    </item>
    <item>
      <title>Re: external flash resident custom bootloader for LPC54S018</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/external-flash-resident-custom-bootloader-for-LPC54S018/m-p/1598197#M51622</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;seems we experience the same problem (my own thread is at &lt;A href="https://community.nxp.com/t5/LPC-Microcontrollers/lpc54s018-lpc5418-jump-from-custom-boot-to-firmware/m-p/1595314" target="_blank"&gt;https://community.nxp.com/t5/LPC-Microcontrollers/lpc54s018-lpc5418-jump-from-custom-boot-to-firmware/m-p/1595314&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I still don't have any solution to our common problem.&lt;/P&gt;&lt;P&gt;But I hope someone could give us some good links.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Mon, 13 Feb 2023 13:19:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/external-flash-resident-custom-bootloader-for-LPC54S018/m-p/1598197#M51622</guid>
      <dc:creator>ppardo</dc:creator>
      <dc:date>2023-02-13T13:19:09Z</dc:date>
    </item>
  </channel>
</rss>

