<?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: LPC11 - interrupts during IAP in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11-interrupts-during-IAP/m-p/531824#M10312</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by nerd herd on Wed Jul 29 07:34:00 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi push2eject,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I will review this and talk to the documentation team about making this less ambiguous. Thank you for your feedback.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 19:31:42 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T19:31:42Z</dc:date>
    <item>
      <title>LPC11 - interrupts during IAP</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11-interrupts-during-IAP/m-p/531823#M10311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by push2eject on Tue Jul 28 18:42:39 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;A heads up: It seems interrupts must be disabled for &lt;/SPAN&gt;&lt;I&gt;all&lt;/I&gt;&lt;SPAN&gt; IAP calls, not just erase/write calls.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;From the LPC11C14 user manual (my highlight):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;I&gt;20.4.7 Interrupts during IAP&lt;BR /&gt;The on-chip flash memory is not accessible during erase/write operations. When the user&lt;BR /&gt;application code starts executing the interrupt vectors from the user flash area are active.&lt;BR /&gt;The user should either disable interrupts, or ensure that user interrupt vectors are active in&lt;BR /&gt;RAM and that the interrupt handlers reside in RAM, before making a [color=#f00]flash erase/write IAP&lt;BR /&gt;call.[/color] The IAP code does not use or disable interrupts.&lt;/I&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I took this to mean I only had to disable interrupts when performing an erase or write comman. However, I found that the PC was occasionally jumping to 0xfffffffe unless I also disabled interrupts during "Prepare Sectors For Write Operation" and "Compare" IAP calls as well. Took some while to figure this out, as it was a very intermittent fault.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#NotObviousToMe&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:31:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11-interrupts-during-IAP/m-p/531823#M10311</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:31:41Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11 - interrupts during IAP</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11-interrupts-during-IAP/m-p/531824#M10312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by nerd herd on Wed Jul 29 07:34:00 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi push2eject,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I will review this and talk to the documentation team about making this less ambiguous. Thank you for your feedback.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:31:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11-interrupts-during-IAP/m-p/531824#M10312</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:31:42Z</dc:date>
    </item>
  </channel>
</rss>

