<?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: lpc2000 internal EEPROM in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/lpc2000-internal-EEPROM/m-p/541069#M7262</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by m2babaey on Wed Jul 03 04:18:06 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: TheFallGuy&lt;/STRONG&gt;&lt;BR /&gt;1. No.&lt;BR /&gt;2. Are you serious? For reading, flash is just memory, so just read it!&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So could you please tell me how?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;for example I have an unsigned char variable called myVar and I want to put the value in address 0x00079FFD of flash into it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;how can I do that?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;could you please write a single or a few lines of C code that does this task?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance. I'm a bit confused&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 01:47:45 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-16T01:47:45Z</dc:date>
    <item>
      <title>lpc2000 internal EEPROM</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/lpc2000-internal-EEPROM/m-p/541065#M7258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by m2babaey on Mon Jul 01 21:41:04 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; I searched the net to find out how I can write into lpc2000 internal EEPROM&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; I found some for other devices but nothing for lpc2000, I even doubt if lpc2000 has internal EEPROM!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; Can anyone help me figure out how I can read and write to internal EEPROM of lpc2388 if it has any such memory?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:47:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/lpc2000-internal-EEPROM/m-p/541065#M7258</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:47:42Z</dc:date>
    </item>
    <item>
      <title>Re: lpc2000 internal EEPROM</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/lpc2000-internal-EEPROM/m-p/541066#M7259</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 Mon Jul 01 23:54:57 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;AFAIK, that part does not have an internal EEPROM. Maybe that is why you can't find any information on how to use it...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:47:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/lpc2000-internal-EEPROM/m-p/541066#M7259</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:47:43Z</dc:date>
    </item>
    <item>
      <title>Re: lpc2000 internal EEPROM</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/lpc2000-internal-EEPROM/m-p/541067#M7260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by m2babaey on Wed Jul 03 02:36:53 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Yeah, it seems I have to use IAP to store my variables in flash&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I just have 2 questions&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Do I have to disable PLL before I enter IAP code&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. From user manual and other examples I understood how to write from RAM to Flash, but how can I read back from Flash to RAM? Somewhere was suggesting to use XDATA banking to read from flash and store it in RAM, but I couldn't understood how XDATA banking works and whther there is an easier solution for reading from FLASH&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:47:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/lpc2000-internal-EEPROM/m-p/541067#M7260</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:47:43Z</dc:date>
    </item>
    <item>
      <title>Re: lpc2000 internal EEPROM</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/lpc2000-internal-EEPROM/m-p/541068#M7261</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 Jul 03 04:05:53 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;1. No.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Are you serious? For reading, flash is just memory, so just read it!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:47:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/lpc2000-internal-EEPROM/m-p/541068#M7261</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:47:44Z</dc:date>
    </item>
    <item>
      <title>Re: lpc2000 internal EEPROM</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/lpc2000-internal-EEPROM/m-p/541069#M7262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by m2babaey on Wed Jul 03 04:18:06 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: TheFallGuy&lt;/STRONG&gt;&lt;BR /&gt;1. No.&lt;BR /&gt;2. Are you serious? For reading, flash is just memory, so just read it!&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So could you please tell me how?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;for example I have an unsigned char variable called myVar and I want to put the value in address 0x00079FFD of flash into it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;how can I do that?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;could you please write a single or a few lines of C code that does this task?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance. I'm a bit confused&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:47:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/lpc2000-internal-EEPROM/m-p/541069#M7262</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:47:45Z</dc:date>
    </item>
    <item>
      <title>Re: lpc2000 internal EEPROM</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/lpc2000-internal-EEPROM/m-p/541070#M7263</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 Jul 03 05:36:42 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: m2babaey&lt;/STRONG&gt;&lt;BR /&gt;So could you please tell me how?&lt;BR /&gt;for example I have an unsigned char variable called myVar and I want to put the value in address 0x00079FFD of flash into it?&lt;BR /&gt;how can I do that?&lt;BR /&gt;could you please write a single or a few lines of C code that does this task?&lt;BR /&gt;Thanks in advance. I'm a bit confused&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;
memcpy(&amp;amp;myVar, 0x79ffd, sizeof(myVar)) ;
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;SPAN&gt;How difficult is that?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:47:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/lpc2000-internal-EEPROM/m-p/541070#M7263</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:47:45Z</dc:date>
    </item>
    <item>
      <title>Re: lpc2000 internal EEPROM</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/lpc2000-internal-EEPROM/m-p/541071#M7264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by m2babaey on Wed Jul 03 08:36:50 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I didn't knew memcpy works for copying from flash to SRAM&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can I ask one more question?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to store some variables to the battery backed up SRAM. I know the address range for battery SRAM, so I have to tell the compiler to store my variable in an address for that address range&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I searched the net and concluded that I have to make a scratter file to specify where my different variables should be stored&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am studying linker documentation to find out how to make the scratter file, but they seem somehow confusing too, isn't there a simpler solution to store in battery SRAM?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:47:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/lpc2000-internal-EEPROM/m-p/541071#M7264</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:47:46Z</dc:date>
    </item>
  </channel>
</rss>

