<?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: How to write secondary bootloader in MCUXpresso(LPC1768)??  in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-write-secondary-bootloader-in-MCUXpresso-LPC1768/m-p/1086931#M41710</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/message/630746"&gt;https://community.nxp.com/message/630746&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Apr 2020 21:21:17 GMT</pubDate>
    <dc:creator>converse</dc:creator>
    <dc:date>2020-04-28T21:21:17Z</dc:date>
    <item>
      <title>How to write secondary bootloader in MCUXpresso(LPC1768)??</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-write-secondary-bootloader-in-MCUXpresso-LPC1768/m-p/1086928#M41707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;First of all thanks you for your immediate helpful support.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working on FOTA(firmware update over the air).&lt;/P&gt;&lt;P&gt;I am using MCUxpresso tool id and lpc1768 MCU.&lt;/P&gt;&lt;P&gt;As a example i have Led_1 blinking code in MCU and i want to write Led_2 blinking code in the place of Led_1 code.&lt;/P&gt;&lt;P&gt;I have few concerns.&lt;/P&gt;&lt;P&gt;1)Failed to write internal flash (sector 0 to 15) by using IAP command. Sector preparing commands return error number 9.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2)When i received data(Led_2 blinking code) by UART and write in internal flash in any address(Sector16 to 20) and also updated&amp;nbsp; FIRMWARE_UPDATE_FLAG and then erase Led_1 code by iap cmd and then write Led_2 code in the address of Led_1 code.&lt;/P&gt;&lt;P&gt;When i erase Led_1 code so code execution is stopped.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3)But i want execute code from ram when i deleted Led_1 code from internal flash.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4) How can i write secondary bootloader for resloving these problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If u have any other better idea than secondary bootloader to resolve my concern so please suggest me?&lt;/P&gt;&lt;P&gt;If u have any demo code so please provide me link?&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Apr 2020 19:18:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-write-secondary-bootloader-in-MCUXpresso-LPC1768/m-p/1086928#M41707</guid>
      <dc:creator>md712538</dc:creator>
      <dc:date>2020-04-27T19:18:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to write secondary bootloader in MCUXpresso(LPC1768)??</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-write-secondary-bootloader-in-MCUXpresso-LPC1768/m-p/1086929#M41708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Search for AN10866 - application note for boot loader for LPC1700&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Apr 2020 21:55:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-write-secondary-bootloader-in-MCUXpresso-LPC1768/m-p/1086929#M41708</guid>
      <dc:creator>converse</dc:creator>
      <dc:date>2020-04-27T21:55:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to write secondary bootloader in MCUXpresso(LPC1768)??</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-write-secondary-bootloader-in-MCUXpresso-LPC1768/m-p/1086930#M41709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This documents helpful for keil user but i am using MCU xpresso tool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I alreday successfully initialize IAP cmd and all cmd working fine.&lt;/P&gt;&lt;P&gt;But problem is this how can i over write my code after receiving update&lt;/P&gt;&lt;P&gt;code by UART?&lt;/P&gt;&lt;P&gt;If i shoot IAP erase cmd to erasing old code that time my code execution is&lt;/P&gt;&lt;P&gt;stop because my code is erased.&lt;/P&gt;&lt;P&gt;I hope u understand my problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2020 15:56:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-write-secondary-bootloader-in-MCUXpresso-LPC1768/m-p/1086930#M41709</guid>
      <dc:creator>md712538</dc:creator>
      <dc:date>2020-04-28T15:56:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to write secondary bootloader in MCUXpresso(LPC1768)??</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-write-secondary-bootloader-in-MCUXpresso-LPC1768/m-p/1086931#M41710</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/message/630746"&gt;https://community.nxp.com/message/630746&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2020 21:21:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-write-secondary-bootloader-in-MCUXpresso-LPC1768/m-p/1086931#M41710</guid>
      <dc:creator>converse</dc:creator>
      <dc:date>2020-04-28T21:21:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to write secondary bootloader in MCUXpresso(LPC1768)??</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-write-secondary-bootloader-in-MCUXpresso-LPC1768/m-p/1086932#M41711</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/md712538@gmail.com"&gt;md712538@gmail.com&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As&amp;nbsp;above&amp;nbsp;suggested, you require a custom bootloader to flash the new firmware as addressed.&lt;/P&gt;&lt;P&gt;I request you to go thought the below&amp;nbsp; link for your reference. It is custom SPI bootloader implemented through sd card.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/triffid/LPC17xx-DFU-Bootloader" title="https://github.com/triffid/LPC17xx-DFU-Bootloader"&gt;GitHub - triffid/LPC17xx-DFU-Bootloader: DFU Bootloader for LPC17xx family&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You require to download new firmware to the sd card via uart 4G connectivity. Once the new bin file saved inside the sd card, the system reset action need to be done.&lt;/P&gt;&lt;P&gt;After the reset, the custom boot will look over to dump the code as addressed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jul 2020 05:45:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-write-secondary-bootloader-in-MCUXpresso-LPC1768/m-p/1086932#M41711</guid>
      <dc:creator>ramanamadishett</dc:creator>
      <dc:date>2020-07-23T05:45:00Z</dc:date>
    </item>
  </channel>
</rss>

