<?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: MCF51QM - EEEPROM programming in ColdFire/68K Microcontrollers and Processors</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF51QM-EEEPROM-programming/m-p/609033#M12992</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tom,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I already solved my problem. It was due to FEPROT register was programmed so it was disabling to porgram EEEPROM memory. After seting the FEPROT = 0xFF it is working fine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Feb 2017 09:37:00 GMT</pubDate>
    <dc:creator>guide19</dc:creator>
    <dc:date>2017-02-08T09:37:00Z</dc:date>
    <item>
      <title>MCF51QM - EEEPROM programming</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF51QM-EEEPROM-programming/m-p/609031#M12990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to program the EEEPROM on the MCF51QM128. I already partitioned the FlexNVM with parameters:&lt;/P&gt;&lt;P&gt;EEPROM Data Set Size 0x38&lt;/P&gt;&lt;P&gt;FlexNVM Partition Code&amp;nbsp; 0x02&lt;/P&gt;&lt;P&gt;I read back the DataIFR and it is OK.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I would like to program EEPROM memory, but I am not sure if I do it correctly.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As far as I understand, to write to the EEEPROM the EEERDY bit must be set. After partitioning, it is set to "1".&lt;/P&gt;&lt;P&gt;I have checked the FCNFG register the EEERDY = 1.&lt;/P&gt;&lt;P&gt;And all I have to do is to write data to FlexRAM memory. So I write via BDM for example 0x00 value to address 0x280000.&lt;/P&gt;&lt;P&gt;Then should I wait until EEERDY bit is set to 1 again. But this is not happening.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I am not sure if my procedure is correct. What address should be used to write to the EEEPROM/FlexRAM?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anybody have any example of writing the EEEPROM with specific values?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Jozef&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2017 10:00:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF51QM-EEEPROM-programming/m-p/609031#M12990</guid>
      <dc:creator>guide19</dc:creator>
      <dc:date>2017-02-07T10:00:01Z</dc:date>
    </item>
    <item>
      <title>Re: MCF51QM - EEEPROM programming</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF51QM-EEEPROM-programming/m-p/609032#M12991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's a very complicated module in that chip!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd suggest you search for App Notes and Software.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The MCF51QM128 page doesn't reference any app notes for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Searching NXP for "flexram" brings up quite a lot of hits for older products with this technology, and with docmentation, App Notes and Software. I found this which might be worth reading, and the associated software might be useful as a reference too:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://cache.nxp.com/assets/documents/data/en/application-notes/AN4689.pdf?fsrch=1&amp;amp;sr=7&amp;amp;pageNum=1"&gt;http://cache.nxp.com/assets/documents/data/en/application-notes/AN4689.pdf?fsrch=1&amp;amp;sr=7&amp;amp;pageNum=1&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Search for AN4689 and AN5074, and then try to find the associated software.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Feb 2017 02:19:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF51QM-EEEPROM-programming/m-p/609032#M12991</guid>
      <dc:creator>TomE</dc:creator>
      <dc:date>2017-02-08T02:19:46Z</dc:date>
    </item>
    <item>
      <title>Re: MCF51QM - EEEPROM programming</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF51QM-EEEPROM-programming/m-p/609033#M12992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tom,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I already solved my problem. It was due to FEPROT register was programmed so it was disabling to porgram EEEPROM memory. After seting the FEPROT = 0xFF it is working fine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Feb 2017 09:37:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF51QM-EEEPROM-programming/m-p/609033#M12992</guid>
      <dc:creator>guide19</dc:creator>
      <dc:date>2017-02-08T09:37:00Z</dc:date>
    </item>
  </channel>
</rss>

