<?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: Writing to flash LPC1768 in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/Writing-to-flash-LPC1768/m-p/588038#M27935</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by SrWalterR on Thu Nov 03 08:40:58 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;What is a fly snake?&amp;nbsp; The basic functionality is the same in both IDE's as IAP is in the boot loader.&amp;nbsp; But mbed has some functions in their IAP.h that allow simple calls (that may be subjective as I am used to using them) to use flash that I have used before.&amp;nbsp; I am stealing/writing a couple of them that I use so I can have them for my other programs.&amp;nbsp; In the end, it will all be pretty much the same - just a matter of how much work it takes to get there...&amp;nbsp; Thanks for the link!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 22:49:17 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T22:49:17Z</dc:date>
    <item>
      <title>Writing to flash LPC1768</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Writing-to-flash-LPC1768/m-p/588031#M27928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by SrWalterR on Wed Nov 02 10:40:43 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I am new at this and moving over from mbed. I am interested in some examples of erasing/writing/reading to flash on a LPC1768.&amp;nbsp; With the IAP from mbed this was simple, is there something similar in Expresso?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:49:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Writing-to-flash-LPC1768/m-p/588031#M27928</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:49:12Z</dc:date>
    </item>
    <item>
      <title>Re: Writing to flash LPC1768</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Writing-to-flash-LPC1768/m-p/588032#M27929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by hzrnbgy on Wed Nov 02 12:50:14 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;the mbed has a built in stand alone flash memory next to the LPC1768 which makes it easy to write to "flash"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Im not sure if you can write to flash directly from your LPC1768 application to your LPCs flash/code memory space&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:49:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Writing-to-flash-LPC1768/m-p/588032#M27929</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:49:13Z</dc:date>
    </item>
    <item>
      <title>Re: Writing to flash LPC1768</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Writing-to-flash-LPC1768/m-p/588033#M27930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by SrWalterR on Wed Nov 02 13:21:13 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Wow, now I am really confused.&amp;nbsp; I know the data sheet says you can use flash and it is a very convienent way to store calibration and other data.&amp;nbsp; I may be forced back to mbed.:mad:&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:49:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Writing-to-flash-LPC1768/m-p/588033#M27930</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:49:14Z</dc:date>
    </item>
    <item>
      <title>Re: Writing to flash LPC1768</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Writing-to-flash-LPC1768/m-p/588034#M27931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by TheFallGuy on Wed Nov 02 13:58:06 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;You *can* write to the internal flash. It is known as IAP and is described in the User Manual. There are also many posting here about it - just search for IAP [Note - use the Sticky thread at the top of the forum for searching and not the forum search, which requires a minimum of 4 characters!]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:49:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Writing-to-flash-LPC1768/m-p/588034#M27931</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:49:14Z</dc:date>
    </item>
    <item>
      <title>Re: Writing to flash LPC1768</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Writing-to-flash-LPC1768/m-p/588035#M27932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by SrWalterR on Wed Nov 02 15:06:58 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;A href="http://http://knowledgebase.nxp.com/member.php?u=4709"&gt;[COLOR=#5174a3]hzrnbgy[/COLOR]&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp; I have just spent the better part of the day researching the best way to implement a flash write/read on an LPC1768 using the LPCExpresso IDE.&amp;nbsp; Unlike with mbed, it seems you are pretty much on your own. If you read AN1008.pdf it gives some good information and I am starting from there. Have a great day.:)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:49:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Writing-to-flash-LPC1768/m-p/588035#M27932</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:49:15Z</dc:date>
    </item>
    <item>
      <title>Re: Writing to flash LPC1768</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Writing-to-flash-LPC1768/m-p/588036#M27933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by SrWalterR on Wed Nov 02 18:47:43 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;To allocate space for the IAP commands&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://"&gt;http://support.code-red-tech.com/CodeRedWiki/ReserveIAPRam&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;Another very useful ap note&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AN11071&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:49:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Writing-to-flash-LPC1768/m-p/588036#M27933</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:49:15Z</dc:date>
    </item>
    <item>
      <title>Re: Writing to flash LPC1768</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Writing-to-flash-LPC1768/m-p/588037#M27934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by FlySnake on Thu Nov 03 00:09:08 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: SrWalterR&lt;/STRONG&gt;&lt;BR /&gt;&lt;A href="http://http://knowledgebase.nxp.com/member.php?u=4709"&gt;[COLOR=#5174a3]hzrnbgy[/COLOR]&lt;/A&gt;&amp;nbsp; I have just spent the better part of the day researching the best way to implement a flash write/read on an LPC1768 using the LPCExpresso IDE.&amp;nbsp; Unlike with mbed, it seems you are pretty much on your own. If you read AN1008.pdf it gives some good information and I am starting from there. Have a great day.:)&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there any difference between mbed and lpcxpresso regards to IAP? As far as I know this is pure internal functionality not dependent of peripheral.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I used this example for mbed &lt;/SPAN&gt;&lt;A href="http://"&gt;http://mbed.org/users/okano/programs/IAP_internal_flash_write/5ypjo&lt;/A&gt;&lt;SPAN&gt; as a start point of developing app in lpcxpresso&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:49:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Writing-to-flash-LPC1768/m-p/588037#M27934</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:49:16Z</dc:date>
    </item>
    <item>
      <title>Re: Writing to flash LPC1768</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Writing-to-flash-LPC1768/m-p/588038#M27935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by SrWalterR on Thu Nov 03 08:40:58 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;What is a fly snake?&amp;nbsp; The basic functionality is the same in both IDE's as IAP is in the boot loader.&amp;nbsp; But mbed has some functions in their IAP.h that allow simple calls (that may be subjective as I am used to using them) to use flash that I have used before.&amp;nbsp; I am stealing/writing a couple of them that I use so I can have them for my other programs.&amp;nbsp; In the end, it will all be pretty much the same - just a matter of how much work it takes to get there...&amp;nbsp; Thanks for the link!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:49:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Writing-to-flash-LPC1768/m-p/588038#M27935</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:49:17Z</dc:date>
    </item>
    <item>
      <title>Re: Writing to flash LPC1768</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Writing-to-flash-LPC1768/m-p/588039#M27936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by SrWalterR on Thu Nov 03 09:10:05 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hey Snake, the link you sent turns out to be the IAP.h file I am used to using, have you rewriten it for Expresso? It seems LPCExpresso does not like the [SIZE=2]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[U]class IAP { public: ....[/U]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[SIZE=3]structure.[/SIZE]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[/SIZE][SIZE=2][/SIZE]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:49:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Writing-to-flash-LPC1768/m-p/588039#M27936</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:49:17Z</dc:date>
    </item>
    <item>
      <title>Re: Writing to flash LPC1768</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Writing-to-flash-LPC1768/m-p/588040#M27937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by TheFallGuy on Thu Nov 03 09:15:11 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;That is C++ and not C. LPCXpresso does not support C++&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:49:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Writing-to-flash-LPC1768/m-p/588040#M27937</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:49:18Z</dc:date>
    </item>
    <item>
      <title>Re: Writing to flash LPC1768</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Writing-to-flash-LPC1768/m-p/588041#M27938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by SrWalterR on Thu Nov 03 09:28:50 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks FallGuy, I am aware of the C Vs. C++ issue. Hence the question concerning a re-write...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:49:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Writing-to-flash-LPC1768/m-p/588041#M27938</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:49:18Z</dc:date>
    </item>
    <item>
      <title>Re: Writing to flash LPC1768</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Writing-to-flash-LPC1768/m-p/588042#M27939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by whitecoe on Thu Nov 03 09:37:07 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Might be worth looking at the RDB1768 usb bootloader example supplied with LPCXpresso. This contains a whole bunch of IAP related code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;HTH!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:49:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Writing-to-flash-LPC1768/m-p/588042#M27939</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:49:19Z</dc:date>
    </item>
    <item>
      <title>Re: Writing to flash LPC1768</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Writing-to-flash-LPC1768/m-p/588043#M27940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by FlySnake on Thu Nov 03 10:19:33 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;This is almost the same code in C. Works in LPCXpresso + LPC1768&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:49:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Writing-to-flash-LPC1768/m-p/588043#M27940</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:49:19Z</dc:date>
    </item>
  </channel>
</rss>

