<?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: QD4 EEPROM Emulation in 8-bit Microcontrollers</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/QD4-EEPROM-Emulation/m-p/157229#M9145</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Celso and Bigmac&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you both for your interest in my problem.Much appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As usual Bigmac is the 'Man of Miracles' &lt;IMG alt=":smileyvery-happy:" class="emoticon emoticon-smileyvery-happy" id="smileyvery-happy" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-very-happy.gif" title="Smiley Very Happy" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have only seen the code that Bigmac's talking about.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will implement it soon.Only editing prm file will do with Bigmac's code?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Although I have been able to run my existing code with a little modification to&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;my prm file and i don't have any overwriting now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks and regards..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Mar 2009 14:49:48 GMT</pubDate>
    <dc:creator>abicash</dc:creator>
    <dc:date>2009-03-02T14:49:48Z</dc:date>
    <item>
      <title>QD4 EEPROM Emulation</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/QD4-EEPROM-Emulation/m-p/157224#M9140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I am trying to write some 70 bytes &amp;nbsp;into the flash of QD4 during run time.&lt;/P&gt;&lt;P&gt;I have 256 bytes of RAM, most of it is allocated. Although can spare a good amount for stack.&lt;/P&gt;&lt;P&gt;What do you think is the chance of achieving this in such kind of setup?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I understand that Flash erase and Write functions have to be copied in RAM and run from there.&lt;/P&gt;&lt;P&gt;Further I am intending to compare this block of data (written as a constant in Flash) &amp;nbsp;with actual data&amp;nbsp;arriving in RAM.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to know the feasibilty for this with 256 bytes on hand.&lt;/P&gt;&lt;P&gt;I really dont have any other choice than QD4,so can't use other devices.&lt;/P&gt;&lt;P&gt;Please provide some comments/pointers/anything as usual.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks and regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Feb 2009 15:23:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/QD4-EEPROM-Emulation/m-p/157224#M9140</guid>
      <dc:creator>abicash</dc:creator>
      <dc:date>2009-02-27T15:23:50Z</dc:date>
    </item>
    <item>
      <title>Re: QD4 EEPROM Emulation</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/QD4-EEPROM-Emulation/m-p/157225#M9141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Abicash,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I remember that DoOnStack has a small footprint and maybe it suits your application.&lt;/P&gt;&lt;P&gt;If you cannot find the updated version I can send you a 4-yr old QG8 implementation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Celso&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Feb 2009 21:20:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/QD4-EEPROM-Emulation/m-p/157225#M9141</guid>
      <dc:creator>celsoken</dc:creator>
      <dc:date>2009-02-27T21:20:14Z</dc:date>
    </item>
    <item>
      <title>Re: QD4 EEPROM Emulation</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/QD4-EEPROM-Emulation/m-p/157226#M9142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello celsoken&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for reading and replying .Much appreciated &lt;IMG alt=":smileyhappy:" class="emoticon emoticon-smileyhappy" id="smileyhappy" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-happy.gif" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes I found the things...And I wrote the code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I am finding a problem of stack and the data overwriting themselves.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have to sacrifice around 50 bytes for Flash writing and erasing.Is your code in RAM lesser than this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If it is then I would love to see the code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks and regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Feb 2009 21:27:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/QD4-EEPROM-Emulation/m-p/157226#M9142</guid>
      <dc:creator>abicash</dc:creator>
      <dc:date>2009-02-27T21:27:58Z</dc:date>
    </item>
    <item>
      <title>Re: QD4 EEPROM Emulation</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/QD4-EEPROM-Emulation/m-p/157227#M9143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The following recent thread may be of interest -&lt;/P&gt;&lt;P&gt;&lt;A href="http://forums.freescale.com/freescale/board/message?board.id=8BITCOMM&amp;amp;thread.id=13469" target="_blank"&gt;http://forums.freescale.com/freescale/board/message?board.id=8BITCOMM&amp;amp;thread.id=13469&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The RAM requirement is 10 bytes for the RAM resident function.&amp;nbsp; The code shown is for QG8, but could be adapted for QD4.&amp;nbsp; The RAM function is copied from flash, starting at the bottom of the stack, with the stack pointer&amp;nbsp; initialised to the top of RAM.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mac&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Feb 2009 01:26:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/QD4-EEPROM-Emulation/m-p/157227#M9143</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2009-02-28T01:26:07Z</dc:date>
    </item>
    <item>
      <title>Re: QD4 EEPROM Emulation</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/QD4-EEPROM-Emulation/m-p/157228#M9144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Abicash,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry but I just saw your message, sometimes my email server deletes non-spam msgs.&lt;/P&gt;&lt;P&gt;I am not sure about the footprint, but it could come close to your 50 bytes, anyway it is far beyond 10-bytes Mac´s solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Celso&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Mar 2009 02:35:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/QD4-EEPROM-Emulation/m-p/157228#M9144</guid>
      <dc:creator>celsoken</dc:creator>
      <dc:date>2009-03-01T02:35:21Z</dc:date>
    </item>
    <item>
      <title>Re: QD4 EEPROM Emulation</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/QD4-EEPROM-Emulation/m-p/157229#M9145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Celso and Bigmac&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you both for your interest in my problem.Much appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As usual Bigmac is the 'Man of Miracles' &lt;IMG alt=":smileyvery-happy:" class="emoticon emoticon-smileyvery-happy" id="smileyvery-happy" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-very-happy.gif" title="Smiley Very Happy" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have only seen the code that Bigmac's talking about.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will implement it soon.Only editing prm file will do with Bigmac's code?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Although I have been able to run my existing code with a little modification to&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;my prm file and i don't have any overwriting now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks and regards..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Mar 2009 14:49:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/QD4-EEPROM-Emulation/m-p/157229#M9145</guid>
      <dc:creator>abicash</dc:creator>
      <dc:date>2009-03-02T14:49:48Z</dc:date>
    </item>
  </channel>
</rss>

