<?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>S12 / MagniV MicrocontrollersのトピックHow to write and read the EEPROM</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/How-to-write-and-read-the-EEPROM/m-p/202587#M8212</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,guys&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm wondering how to write and read the EEPROM of MC9S12DG128.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've found many articales about the EEPROM,but they only talk about how to write it,nearly no read&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;operation,can it be read?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Jul 2009 12:57:11 GMT</pubDate>
    <dc:creator>syf</dc:creator>
    <dc:date>2009-07-27T12:57:11Z</dc:date>
    <item>
      <title>How to write and read the EEPROM</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/How-to-write-and-read-the-EEPROM/m-p/202587#M8212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,guys&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm wondering how to write and read the EEPROM of MC9S12DG128.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've found many articales about the EEPROM,but they only talk about how to write it,nearly no read&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;operation,can it be read?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jul 2009 12:57:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/How-to-write-and-read-the-EEPROM/m-p/202587#M8212</guid>
      <dc:creator>syf</dc:creator>
      <dc:date>2009-07-27T12:57:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to write and read the EEPROM</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/How-to-write-and-read-the-EEPROM/m-p/202588#M8213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Syf,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can directly ready the EEPROM memory location as shown below&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff"&gt;void read_eeprom(void)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff"&gt;{&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; unsigned int eepromData;&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; eepromData = *(unsigned int*)(0x800);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff"&gt;}&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in which "0x800" is the EEPROM memory location from where you want to read the data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Check the attached file, for the example of writing EEPROM memory&lt;/P&gt;&lt;DIV class="message-edit-history"&gt;&lt;SPAN class="edit-author"&gt;Message Edited by nandu on&lt;/SPAN&gt; &lt;SPAN class="local-date"&gt;2009-07-28&lt;/SPAN&gt; &lt;SPAN class="local-time"&gt;05:30 AM&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jul 2009 07:00:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/How-to-write-and-read-the-EEPROM/m-p/202588#M8213</guid>
      <dc:creator>nandu</dc:creator>
      <dc:date>2009-07-28T07:00:02Z</dc:date>
    </item>
  </channel>
</rss>

