<?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: In-Application Programming lpc1788 in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/In-Application-Programming-lpc1788/m-p/1093231#M41881</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A quick google search will find you source code for a Hex file decoder. A look in LPCOpen for LPC177x/8x will provide you with source code for IAP programming. I'll leave you to do your job and work out how to stitch the two together!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 27 Jun 2020 13:08:46 GMT</pubDate>
    <dc:creator>converse</dc:creator>
    <dc:date>2020-06-27T13:08:46Z</dc:date>
    <item>
      <title>In-Application Programming lpc1788</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/In-Application-Programming-lpc1788/m-p/1093230#M41880</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;&lt;/P&gt;&lt;P&gt;I'm working on IAP using USB for lpc1788.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My task is to write Hex file generated by keil into internal flash of lpc1788 from USB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So my question is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) At which location of flash memory should I write Hex file ? How many bytes to write ?&lt;/P&gt;&lt;P&gt;There are start address and end address of flash memory must be define in code.&lt;/P&gt;&lt;P&gt;How to decide these ?&lt;/P&gt;&lt;P&gt;&amp;lt;code&amp;gt;&lt;/P&gt;&lt;P&gt;/** The area will be erase and program */&lt;BR /&gt;#define FLASH_PROG_AREA_START 0x8000&lt;BR /&gt;#define FLASH_PROG_AREA_SIZE 0x1000&lt;/P&gt;&lt;P&gt;&amp;lt;/code&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Is these above address information taken from&amp;nbsp;Hex file ?&lt;/P&gt;&lt;P&gt;eg.&amp;nbsp;:&amp;nbsp;:10 &lt;STRONG&gt;0010&lt;/STRONG&gt; 00 CD010000CF010000D101000000000000 70&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Address : &lt;EM&gt;0x0010&amp;nbsp;flash address ?&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) Is it possible to write some portion of code mean to say want to store some code in my flash permanently like for USB so it can recognise USB any time ? Just update the other code using Hex file stored in USB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Share example that would be grateful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jun 2020 09:46:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/In-Application-Programming-lpc1788/m-p/1093230#M41880</guid>
      <dc:creator>rameshlalji9595</dc:creator>
      <dc:date>2020-06-26T09:46:33Z</dc:date>
    </item>
    <item>
      <title>Re: In-Application Programming lpc1788</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/In-Application-Programming-lpc1788/m-p/1093231#M41881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A quick google search will find you source code for a Hex file decoder. A look in LPCOpen for LPC177x/8x will provide you with source code for IAP programming. I'll leave you to do your job and work out how to stitch the two together!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Jun 2020 13:08:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/In-Application-Programming-lpc1788/m-p/1093231#M41881</guid>
      <dc:creator>converse</dc:creator>
      <dc:date>2020-06-27T13:08:46Z</dc:date>
    </item>
  </channel>
</rss>

