<?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: Erase/Write operation using IAP commands is not working in the same bank</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Erase-Write-operation-using-IAP-commands-is-not-working-in-the/m-p/611441#M23886</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" data-content-finding="Community" data-userid="288035" data-username="ponalagappan" href="https://community.nxp.com/people/ponalagappan"&gt;pon alagappan,&lt;/A&gt;&lt;/P&gt;&lt;P&gt;To provide the fastest possible support I want to point you to a similar question which has been answered on our NXP community.&lt;/P&gt;&lt;P&gt;Please refer to &lt;A href="https://community.nxp.com/thread/389110"&gt;Relocating code from FLASH to RAM&lt;/A&gt;&amp;nbsp; to view the details.&lt;BR /&gt;Have a great day,&lt;BR /&gt;Ping&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Dec 2016 02:38:19 GMT</pubDate>
    <dc:creator>jeremyzhou</dc:creator>
    <dc:date>2016-12-14T02:38:19Z</dc:date>
    <item>
      <title>Erase/Write operation using IAP commands is not working in the same bank</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Erase-Write-operation-using-IAP-commands-is-not-working-in-the/m-p/611440#M23885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to erase/write flash bank A sectors 9-14 of lpc18xx. My code resides inside sector 0-8. For using IAP commands in the below link is suggested to run IAP functions from RAM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/419862" rel="nofollow noopener noreferrer" target="_blank"&gt;IAP write problem - using the same memory bank for bootloader and application&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not getting, how to use attributes to run these functions from RAM. I tried with&amp;nbsp;&lt;/P&gt;&lt;PRE style="color: #51626f; border: 0px;"&gt;__attribute__((section("RAM_func")))&lt;/PRE&gt;&lt;P&gt;but it is not working, i am missing something. i am not getting the correct steps?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone explain the steps. any link of example codes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Nov 2016 13:47:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Erase-Write-operation-using-IAP-commands-is-not-working-in-the/m-p/611440#M23885</guid>
      <dc:creator>ponalagappan</dc:creator>
      <dc:date>2016-11-21T13:47:21Z</dc:date>
    </item>
    <item>
      <title>Re: Erase/Write operation using IAP commands is not working in the same bank</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Erase-Write-operation-using-IAP-commands-is-not-working-in-the/m-p/611441#M23886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" data-content-finding="Community" data-userid="288035" data-username="ponalagappan" href="https://community.nxp.com/people/ponalagappan"&gt;pon alagappan,&lt;/A&gt;&lt;/P&gt;&lt;P&gt;To provide the fastest possible support I want to point you to a similar question which has been answered on our NXP community.&lt;/P&gt;&lt;P&gt;Please refer to &lt;A href="https://community.nxp.com/thread/389110"&gt;Relocating code from FLASH to RAM&lt;/A&gt;&amp;nbsp; to view the details.&lt;BR /&gt;Have a great day,&lt;BR /&gt;Ping&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2016 02:38:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Erase-Write-operation-using-IAP-commands-is-not-working-in-the/m-p/611441#M23886</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2016-12-14T02:38:19Z</dc:date>
    </item>
    <item>
      <title>Re: Erase/Write operation using IAP commands is not working in the same bank</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Erase-Write-operation-using-IAP-commands-is-not-working-in-the/m-p/611442#M23887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based on the same link you provided, did you disabled all your interrupt (as the handler is in the same Flash Bank than the one you try to perform IAP action on)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'--------------'&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;I only had to prevent the firmware to be interrupted by the SysTick, because the IRQ handler is in flash. &lt;/SPAN&gt;&lt;/P&gt;&lt;HR /&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN&gt;That's the culprit!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;No need to move the calling functions to RAM. IAP code is in ROM, which already avoids a conflict with flash.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;'-------------'&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Dec 2016 10:20:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Erase-Write-operation-using-IAP-commands-is-not-working-in-the/m-p/611442#M23887</guid>
      <dc:creator>tdo</dc:creator>
      <dc:date>2016-12-16T10:20:36Z</dc:date>
    </item>
  </channel>
</rss>

