<?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>LPCXpresso IDE中的主题 Re: Flash Read and Write,HOWTO???</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/Flash-Read-and-Write-HOWTO/m-p/537492#M5582</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by karthik.s on Wed Jun 30 04:48:20 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks renan and coderedsupport.I will look into those resources.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 21:49:40 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T21:49:40Z</dc:date>
    <item>
      <title>Flash Read and Write,HOWTO???</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Flash-Read-and-Write-HOWTO/m-p/537489#M5579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by karthik.s on Wed Jun 30 03:31:19 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I am programming LPC1114 microcontroller for my project.I would like to know how to write data to flash memory and read it back from it.I have gone through the user manual UM10398(Chapter# 17) but could not get an idea on how to proceed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[B]Scenario:[/B]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have interfaced the microcontroller with an network interface card using SPI.What i am supposed to do is to write the data from the NIC card into the flash memory and then read it from there immediately after resetting the microcontroller device.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kindly point me in the right direction.&lt;/SPAN&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-338166"&gt;1100500_license.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:49:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Flash-Read-and-Write-HOWTO/m-p/537489#M5579</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:49:38Z</dc:date>
    </item>
    <item>
      <title>Re: Flash Read and Write,HOWTO???</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Flash-Read-and-Write-HOWTO/m-p/537490#M5580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by CodeRedSupport on Wed Jun 30 03:57:12 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;There are quite a few previous forum threads on writing to flash. Try googling for "iap site:knowledgebase.nxp.com" or similar to find them.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;CodeRedSupport.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:49:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Flash-Read-and-Write-HOWTO/m-p/537490#M5580</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:49:39Z</dc:date>
    </item>
    <item>
      <title>Re: Flash Read and Write,HOWTO???</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Flash-Read-and-Write-HOWTO/m-p/537491#M5581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by renan on Wed Jun 30 04:20:52 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;karts&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To read from flash, just use pointers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This is a good tutorial: &lt;/SPAN&gt;&lt;A href="http://" rel="nofollow noopener noreferrer" target="_blank"&gt;http://publications.gbdirect.co.uk/c_book/chapter5/&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;If you already know, ignore.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is an example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;
#define READ_FLASH(object, adr) (*((object volatile *) (adr)))
// use it this way.
int *FlashPointer = (int *)0x40200;
int number;
number = READ_FLASH(int, FlashPointer);
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To write flash use IAP, as CodeRedSupport said there is a lot of good info here. And google is your friend.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Renan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:49:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Flash-Read-and-Write-HOWTO/m-p/537491#M5581</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:49:39Z</dc:date>
    </item>
    <item>
      <title>Re: Flash Read and Write,HOWTO???</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Flash-Read-and-Write-HOWTO/m-p/537492#M5582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by karthik.s on Wed Jun 30 04:48:20 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks renan and coderedsupport.I will look into those resources.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:49:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Flash-Read-and-Write-HOWTO/m-p/537492#M5582</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:49:40Z</dc:date>
    </item>
    <item>
      <title>Re: Flash Read and Write,HOWTO???</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Flash-Read-and-Write-HOWTO/m-p/537493#M5583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by karthik.s on Wed Jun 30 05:08:50 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks Renan and CodeRedSupport.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;.Can you tell me more from the perspective of LPC1114 device.I am unable to find iap_entry function declarations/prototypes anywhere.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:49:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Flash-Read-and-Write-HOWTO/m-p/537493#M5583</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:49:41Z</dc:date>
    </item>
    <item>
      <title>Re: Flash Read and Write,HOWTO???</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Flash-Read-and-Write-HOWTO/m-p/537494#M5584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by domen on Wed Jun 30 23:10:08 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;You know, there's this fine document called lpc111x user's manual.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And it's on the first page when you google for lpc1114! The wonders of technology!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Seriously though, I can't imaging doing any work without that document. Get it, skim it, study the parts relevant to what you're doing.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:49:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Flash-Read-and-Write-HOWTO/m-p/537494#M5584</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:49:41Z</dc:date>
    </item>
  </channel>
</rss>

