<?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: LPC1225/321 flash programming problem in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1225-321-flash-programming-problem/m-p/525991#M8624</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by jgorsk on Sun Mar 24 09:51:32 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Problem solved. Flash programming and erasing started working when I disabled interrupts.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;BTW, information in table 287 in UM10441 suggests that not all the sectors contain the same number of pages. According to the table sectors 16-19 contain 5.5 pages each. Someone at NXP may want to check this.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 16:59:41 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T16:59:41Z</dc:date>
    <item>
      <title>LPC1225/321 flash programming problem</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1225-321-flash-programming-problem/m-p/525990#M8623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by jgorsk on Fri Mar 22 05:57:47 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to do to do some flash programming/erasing on the LPC1225/321.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I follow the example from:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Flpcware.com%2Fcontent%2Fforum%2Flpc1225-iap-erase-sector-and-page-erase-returns-busy" rel="nofollow" target="_blank"&gt;http://lpcware.com/content/forum/lpc1225-iap-erase-sector-and-page-erase-returns-busy&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;published by Daniel Widyanto.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to erase and write to sector 16 (starting at address 0x0001 0000)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;'iap_prepare_sector' function seems to be working but whenever I want to erase&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;sector 16 or program flash 'iap_erase_sector' and 'iap_copy_ram_to_flash' functions&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;stop responding.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;'iap_copy_ram_to_flash' function is writing something to the selected location&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;in flash but not exactly what I wanted. 'iap_erase_sector' erases the written 4 bytes&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;but never returns control either.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Last 32 bytes of RAM are excluded from use by linker.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;System clock is 24MHz and is properly detected by 'iap_init' function.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What can cause this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 16:59:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1225-321-flash-programming-problem/m-p/525990#M8623</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T16:59:40Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1225/321 flash programming problem</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1225-321-flash-programming-problem/m-p/525991#M8624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by jgorsk on Sun Mar 24 09:51:32 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Problem solved. Flash programming and erasing started working when I disabled interrupts.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;BTW, information in table 287 in UM10441 suggests that not all the sectors contain the same number of pages. According to the table sectors 16-19 contain 5.5 pages each. Someone at NXP may want to check this.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 16:59:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1225-321-flash-programming-problem/m-p/525991#M8624</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T16:59:41Z</dc:date>
    </item>
  </channel>
</rss>

