<?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 LPC1768 Bootloader in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1768-Bootloader/m-p/767701#M30876</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;I am working on developing a LPC1768 bootloader to load an application from address 0x5000 using IAP.&lt;/P&gt;&lt;P&gt;I understand that these are the steps to be followed for IAP :&lt;/P&gt;&lt;P&gt;--Chip_IAP_PreSectorForReadWrite&lt;/P&gt;&lt;P&gt;--Chip_IAP_EraseSector&lt;/P&gt;&lt;P&gt;--Chip_IAP_PreSectorForReadWrite&lt;/P&gt;&lt;P&gt;--Chip_IAP_CopyRamToFlash&lt;/P&gt;&lt;P&gt;However, I seem to be confused on how we load the binary to that particular location in Flash i.e. 0x5000.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Chip_IAP_CopyRamToFlash copies the binary to that address in the Flash, but how do we specify the RAM address where the application.bin is residing in order to be copied to 0x5000 ?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Also, I am using LPCExpresso IDE, so is setting the Flash address in the MCU Settings enough for specifying the load address from the application side??&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards,&lt;BR /&gt;Shyam.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Mar 2018 04:05:13 GMT</pubDate>
    <dc:creator>shyamshankar</dc:creator>
    <dc:date>2018-03-19T04:05:13Z</dc:date>
    <item>
      <title>LPC1768 Bootloader</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1768-Bootloader/m-p/767701#M30876</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;I am working on developing a LPC1768 bootloader to load an application from address 0x5000 using IAP.&lt;/P&gt;&lt;P&gt;I understand that these are the steps to be followed for IAP :&lt;/P&gt;&lt;P&gt;--Chip_IAP_PreSectorForReadWrite&lt;/P&gt;&lt;P&gt;--Chip_IAP_EraseSector&lt;/P&gt;&lt;P&gt;--Chip_IAP_PreSectorForReadWrite&lt;/P&gt;&lt;P&gt;--Chip_IAP_CopyRamToFlash&lt;/P&gt;&lt;P&gt;However, I seem to be confused on how we load the binary to that particular location in Flash i.e. 0x5000.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Chip_IAP_CopyRamToFlash copies the binary to that address in the Flash, but how do we specify the RAM address where the application.bin is residing in order to be copied to 0x5000 ?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Also, I am using LPCExpresso IDE, so is setting the Flash address in the MCU Settings enough for specifying the load address from the application side??&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards,&lt;BR /&gt;Shyam.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2018 04:05:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1768-Bootloader/m-p/767701#M30876</guid>
      <dc:creator>shyamshankar</dc:creator>
      <dc:date>2018-03-19T04:05:13Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1768 Bootloader</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1768-Bootloader/m-p/767702#M30877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV style="font-size: 14px;"&gt;&lt;SPAN&gt;Hi&amp;nbsp;&lt;/SPAN&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/people/shyamshankar"&gt;&lt;SPAN&gt;Shyam Shankar&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="font-size: 14px;"&gt;&lt;SPAN&gt;Thank you for your interest in NXP Semiconductor products and&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="font-size: 14px;"&gt;&lt;SPAN&gt;the opportunity to serve you.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="font-size: 14px;"&gt;&lt;SPAN&gt;To loading the application code successful, 1024 or 512 bytes are copied to a array which locates at specific address in the RAM every time, then using the Copy RAM to Flash command to implement the program operation.&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="font-size: 14px;"&gt;&lt;SPAN&gt;After several cycles, the loading work will complete.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="font-size: 14px;"&gt;&lt;DIV style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;Have a great day,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;TIC&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV style="font-size: 14px;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="font-size: 14px;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2018 02:26:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1768-Bootloader/m-p/767702#M30877</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2018-03-21T02:26:10Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1768 Bootloader</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1768-Bootloader/m-p/767703#M30878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi jeremy,&lt;/P&gt;&lt;P&gt;Thank you for the reply.&lt;/P&gt;&lt;P&gt;Could you please tell me, if I were to use IAP to load an application to flash via bootloader, how would I transfer the application Binary?? Would using a serial terminal like Teraterm be enough to send the binary via UART ?? If I were to do so, how would we know how many bytes to receive from the binary, is there an end of binary command to be detected ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;After several cycles, the loading work will complete."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;So if my Application binary were of size, say around 15Kb, I would have to use several calls to&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;CopyRAMtoFlash(). Is that right??&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Shyam.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2018 03:40:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1768-Bootloader/m-p/767703#M30878</guid>
      <dc:creator>shyamshankar</dc:creator>
      <dc:date>2018-03-21T03:40:13Z</dc:date>
    </item>
  </channel>
</rss>

