<?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のトピックLPC2648 IAP</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC2648-IAP/m-p/715934#M28924</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Working on dumping a bin file read from a USB drive into the LPC2648 flash. IAP erase and write functions are working and data is properly getting written in the Flash with following configurations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// Clock&lt;BR /&gt; CCLKCFG = 0x05;&lt;/P&gt;&lt;P&gt;// Disable PLL&lt;BR /&gt; PLLCON = 0x00; &lt;BR /&gt; PLLFEED = 0xAA; // Feed Sequence Part #1&lt;BR /&gt; PLLFEED = 0x55; // Feed Sequence Part #2&lt;/P&gt;&lt;P&gt;// User flash mode&lt;BR /&gt; MEMMAP = 0x01; // User Flash Mode&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But after the flash update is done, I have to soft reset the&amp;nbsp; controller since the PLL has been disabled for flash writing and no other peripherals are working post this. Moreover, with this approach, I need to copy whole file data from the USB drive to a global buffer, which will work until the file data is not too much and we don't out of RAM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to have a design like we can read data from USB drive in multiple reads and write into the flash in multiple writes which will give advantage of not going out of RAM. But with the current configuration, this cycle of reading a chunk of data from USB and writing into the flash is not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to achieve this?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Nov 2017 12:30:06 GMT</pubDate>
    <dc:creator>utsavkumar</dc:creator>
    <dc:date>2017-11-17T12:30:06Z</dc:date>
    <item>
      <title>LPC2648 IAP</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC2648-IAP/m-p/715934#M28924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Working on dumping a bin file read from a USB drive into the LPC2648 flash. IAP erase and write functions are working and data is properly getting written in the Flash with following configurations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// Clock&lt;BR /&gt; CCLKCFG = 0x05;&lt;/P&gt;&lt;P&gt;// Disable PLL&lt;BR /&gt; PLLCON = 0x00; &lt;BR /&gt; PLLFEED = 0xAA; // Feed Sequence Part #1&lt;BR /&gt; PLLFEED = 0x55; // Feed Sequence Part #2&lt;/P&gt;&lt;P&gt;// User flash mode&lt;BR /&gt; MEMMAP = 0x01; // User Flash Mode&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But after the flash update is done, I have to soft reset the&amp;nbsp; controller since the PLL has been disabled for flash writing and no other peripherals are working post this. Moreover, with this approach, I need to copy whole file data from the USB drive to a global buffer, which will work until the file data is not too much and we don't out of RAM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to have a design like we can read data from USB drive in multiple reads and write into the flash in multiple writes which will give advantage of not going out of RAM. But with the current configuration, this cycle of reading a chunk of data from USB and writing into the flash is not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to achieve this?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Nov 2017 12:30:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC2648-IAP/m-p/715934#M28924</guid>
      <dc:creator>utsavkumar</dc:creator>
      <dc:date>2017-11-17T12:30:06Z</dc:date>
    </item>
    <item>
      <title>Re: LPC2648 IAP</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC2648-IAP/m-p/715935#M28925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kumar,&lt;/P&gt;&lt;P&gt;You could take a look at the following links, that provide information regarding IAP implementation:&lt;/P&gt;&lt;P&gt;&lt;A href="https://os.mbed.com/users/okano/notebook/iap-in-application-programming-internal-flash-eras/"&gt;https://os.mbed.com/users/okano/notebook/iap-in-application-programming-internal-flash-eras/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.keil.com/forum/17860/iap-flash-programming-put-program-to-ram/"&gt;http://www.keil.com/forum/17860/iap-flash-programming-put-program-to-ram/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/thread/430530"&gt;https://community.nxp.com/thread/430530&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this will be useful for you.&lt;/P&gt;&lt;P&gt;Best regards!&lt;/P&gt;&lt;P&gt;/Carlos&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Nov 2017 23:56:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC2648-IAP/m-p/715935#M28925</guid>
      <dc:creator>CarlosCasillas</dc:creator>
      <dc:date>2017-11-22T23:56:58Z</dc:date>
    </item>
  </channel>
</rss>

