<?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のトピックRe: DFlash EEprom emulation in MC9S12P128</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/DFlash-EEprom-emulation-in-MC9S12P128/m-p/174802#M6083</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So, is this code I've presented before proper? Maybe I've doing wrong something else, but I don't know what at all.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Michal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Jul 2012 18:37:08 GMT</pubDate>
    <dc:creator>Mishup</dc:creator>
    <dc:date>2012-07-17T18:37:08Z</dc:date>
    <item>
      <title>DFlash EEprom emulation in MC9S12P128</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/DFlash-EEprom-emulation-in-MC9S12P128/m-p/174800#M6081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi once again,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've been trying to set up eeprom emulation using AN4483 and a code which is connected with this AN. There are some configuration defines, but I'm not sure what to write here.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;#define BusClock 15000&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Bus clock in kHz, default is 8 MHz using the internal reference */#define GlobalOffset 0x00004000l&amp;nbsp; /* Global address 'offset' to DFlash */#define DFStart 0x4400&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Start address of first DFlash Sector to use for EEE */#define DFEnd&amp;nbsp;&amp;nbsp; 0x47ff&amp;nbsp;&amp;nbsp;&amp;nbsp; /* End address of last DFlash Sector to use for EEE */#define DFSize&amp;nbsp; ((DFEnd - DFStart) + 1)&amp;nbsp; /* size of the DFlash (in bytes) used for EEE */#define DFSectorSize 256&amp;nbsp;&amp;nbsp; /* DFlash sector size */#define DFNumSectors (DFSize / DFSectorSize) /* Total number of DFlash sectors being used for EEE (must be a minimum of 3) */#define DFMaxSectorNum (DFNumSectors - 1) /* last sector number (index) */#define EEERAMStart 0x5301&amp;nbsp;&amp;nbsp; /* EEE RAM buffer start address */#define EEERAMEnd&amp;nbsp;&amp;nbsp; 0x5400&amp;nbsp;&amp;nbsp; /* EEE RAM buffer end address */&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;Should&amp;nbsp;&lt;/SPAN&gt;&amp;nbsp;DFStart and DFEnd indicate local or global address of DFlash sector? What about EEERAM? At last I also don't know what GlobalOffest means. Could someone explain it to me?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Michal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2020 09:23:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/DFlash-EEprom-emulation-in-MC9S12P128/m-p/174800#M6081</guid>
      <dc:creator>Mishup</dc:creator>
      <dc:date>2020-10-29T09:23:29Z</dc:date>
    </item>
    <item>
      <title>Re: DFlash EEprom emulation in MC9S12P128</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/DFlash-EEprom-emulation-in-MC9S12P128/m-p/174801#M6082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are 2 types of memories one is the normal p flash and another is d flash&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dfstart and df end should be given as local address while writing to dflash address use only the local address like 4400 etc..,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Offset address is the global address which is passed on your driver automatically and it is same for whole .., program&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;EERAM is another area of dflash that s all no significance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2012 01:26:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/DFlash-EEprom-emulation-in-MC9S12P128/m-p/174801#M6082</guid>
      <dc:creator>satyendramarina</dc:creator>
      <dc:date>2012-07-12T01:26:43Z</dc:date>
    </item>
    <item>
      <title>Re: DFlash EEprom emulation in MC9S12P128</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/DFlash-EEprom-emulation-in-MC9S12P128/m-p/174802#M6083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So, is this code I've presented before proper? Maybe I've doing wrong something else, but I don't know what at all.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Michal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jul 2012 18:37:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/DFlash-EEprom-emulation-in-MC9S12P128/m-p/174802#M6083</guid>
      <dc:creator>Mishup</dc:creator>
      <dc:date>2012-07-17T18:37:08Z</dc:date>
    </item>
    <item>
      <title>Re: DFlash EEprom emulation in MC9S12P128</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/DFlash-EEprom-emulation-in-MC9S12P128/m-p/174803#M6084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use the values provided in the unchanged zip file provided as a starting point.&amp;nbsp; They are also descibed in the app note itself.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;These imply that the values are interpreted as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BusClock S12P bus clock frequency in kHz&lt;BR /&gt;EEERAMStart EEE RAM buffer start address&lt;BR /&gt;EEERAMEnd EEE RAM buffer end address&lt;BR /&gt;DFStart Start address of first DFlash Sector to use for EEE&lt;BR /&gt;DFEnd End address of last DFlash Sector to use for EEE&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note - EEERAMstart is a &lt;STRONG&gt;RAM&lt;/STRONG&gt; buffer address - you appear to be placing this in flash.&lt;/P&gt;&lt;P&gt;These are all local addresses not global.&lt;/P&gt;&lt;P&gt;The other values you are using also appear wrong.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The values given in the Zip files would seem correct for a P128 so why not try those first and then modify (carefully)?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;bye&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2012 06:39:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/DFlash-EEprom-emulation-in-MC9S12P128/m-p/174803#M6084</guid>
      <dc:creator>pgo</dc:creator>
      <dc:date>2012-07-18T06:39:54Z</dc:date>
    </item>
  </channel>
</rss>

