<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>LPC2378 - writing to FLASH with IAP crashes</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/30871/lpc2378---writing-to-flash-with-iap-crashes</link><description> 
I&amp;#39;ve written and read from Flash with an LPC2148 without
issues. 
I went to put this code into the LPC2378 and it locks up every time I
try to do anything. 

 
unsigned char vals[256];
.
.
.
erase (10); //erase sector 10
program (0x18000, vals, sizeof</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: LPC2378 - writing to FLASH with IAP crashes</title><link>https://community.arm.com/thread/93071?ContentTypeID=1</link><pubDate>Sun, 13 Oct 2013 03:41:43 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:dfe53b3a-4e3e-4989-8713-43369aefe3a1</guid><dc:creator>ImPer Westermark</dc:creator><description>&lt;p&gt;&lt;p&gt;
I think it&amp;#39;s even limited to the first internal memory region.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LPC2378 - writing to FLASH with IAP crashes</title><link>https://community.arm.com/thread/62338?ContentTypeID=1</link><pubDate>Sun, 13 Oct 2013 00:26:57 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:db23895a-8b88-43fa-bd9d-6e5fb12467ee</guid><dc:creator>Stephen Isidore</dc:creator><description>&lt;p&gt;&lt;p&gt;
the buffer vals have to be set in LPC2000 internal memory&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>