<?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: LPC1343 Problem write to Flash with IAP command in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1343-Problem-write-to-Flash-with-IAP-command/m-p/541917#M7614</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by tungsys on Thu May 05 19:46:01 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;anybody can give me some advices on this problem ? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;thank you very much !&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 21:58:39 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T21:58:39Z</dc:date>
    <item>
      <title>LPC1343 Problem write to Flash with IAP command</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1343-Problem-write-to-Flash-with-IAP-command/m-p/541916#M7613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by tungsys on Sun May 01 11:43:41 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In order to write to flash with IAP command, do i need to follow these steps: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Prepare - Erase - Prepare - Write&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can i just Prepare - Write without Erase step ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I look into the user manual but they did not mention the step how to write to Flash.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My actual problem is i have 2 arrays 128 bytes need to write into 1 block in flash at difference time. So if i write arrays1 first then i write array2, the data in array1 will be gone because i follow the 1st step, need to erase every time write. Can i write to flash without erase command ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:58:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1343-Problem-write-to-Flash-with-IAP-command/m-p/541916#M7613</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:58:38Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1343 Problem write to Flash with IAP command</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1343-Problem-write-to-Flash-with-IAP-command/m-p/541917#M7614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by tungsys on Thu May 05 19:46:01 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;anybody can give me some advices on this problem ? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;thank you very much !&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:58:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1343-Problem-write-to-Flash-with-IAP-command/m-p/541917#M7614</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:58:39Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1343 Problem write to Flash with IAP command</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1343-Problem-write-to-Flash-with-IAP-command/m-p/541918#M7615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by george079 on Thu May 05 21:27:35 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi tungsys,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To change bit 0 to bit 1 in flash, there is only "ERASE" could do that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And in LPC1343, Erasing memory is on a per-sector basis .( says in &lt;/SPAN&gt;&lt;A href="http://http://ics.nxp.com/support/documents/microcontrollers/zip/an11008.zip"&gt;AN11008&lt;/A&gt;&lt;SPAN&gt; )&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So you always your another array after you ERASE ,unless using different sector in flash. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also AN11008 is a good reference for use FLASH as EEPROM.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;george&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: tungsys&lt;/STRONG&gt;&lt;BR /&gt;Hi all,&lt;BR /&gt;&lt;BR /&gt;In order to write to flash with IAP command, do i need to follow these steps: &lt;BR /&gt;&lt;BR /&gt;Prepare - Erase - Prepare - Write&lt;BR /&gt;&lt;BR /&gt;Can i just Prepare - Write without Erase step ?&lt;BR /&gt;&lt;BR /&gt;I look into the user manual but they did not mention the step how to write to Flash.&lt;BR /&gt;&lt;BR /&gt;My actual problem is i have 2 arrays 128 bytes need to write into 1 block in flash at difference time. So if i write arrays1 first then i write array2, the data in array1 will be gone because i follow the 1st step, need to erase every time write. Can i write to flash without erase command ?&lt;/SPAN&gt;&lt;HR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:58:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1343-Problem-write-to-Flash-with-IAP-command/m-p/541918#M7615</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:58:40Z</dc:date>
    </item>
  </channel>
</rss>

