<?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 using a part of HC08 ROM as EEPROM in 8-bit Microcontrollers</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/using-a-part-of-HC08-ROM-as-EEPROM/m-p/219667#M19129</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello guys,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to use a part of HC08 ROM area as EEPROM ? it needs me on hc908LJ12 core which doesnt have EEPROM.&lt;/P&gt;&lt;P&gt;if there is a way pls post it in C if possible.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;sunay.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Aug 2010 04:46:33 GMT</pubDate>
    <dc:creator>sunay</dc:creator>
    <dc:date>2010-08-26T04:46:33Z</dc:date>
    <item>
      <title>using a part of HC08 ROM as EEPROM</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/using-a-part-of-HC08-ROM-as-EEPROM/m-p/219667#M19129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello guys,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to use a part of HC08 ROM area as EEPROM ? it needs me on hc908LJ12 core which doesnt have EEPROM.&lt;/P&gt;&lt;P&gt;if there is a way pls post it in C if possible.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;sunay.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Aug 2010 04:46:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/using-a-part-of-HC08-ROM-as-EEPROM/m-p/219667#M19129</guid>
      <dc:creator>sunay</dc:creator>
      <dc:date>2010-08-26T04:46:33Z</dc:date>
    </item>
    <item>
      <title>Re: using a part of HC08 ROM as EEPROM</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/using-a-part-of-HC08-ROM-as-EEPROM/m-p/219668#M19130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello sunay, and welcome to the forum.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The device datasheet contains the details for the use of the&amp;nbsp;Monitor ROM routines, that you will need to make use of for EEPROM emulation within flash, for the storage of non-volatile data from within your code.&amp;nbsp; Application note AN2874 also contains similar information.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For NV data that is infrequently changed, the subroutines ERARNGE and PRGRNGE would generally be used,&amp;nbsp;However, I notice that this particular device also provides the ROM routines EE_WRITE and EE_READ, with which I am not familar.&amp;nbsp; A recent thread discusses a similar issue for a different device from the same family.&lt;/P&gt;&lt;P&gt;&lt;A __default_attr="68542" class="jive_macro jive_macro_thread default_title" href="https://community.freescale.com/thread/68542" jivemacro="thread" title="https://community.freescale.com/thread/68542"&gt;https://community.freescale.com/thread/68542&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To provide C coded funtions to erase a flash sector, and to program individual bytes within a sector,&amp;nbsp;it will probably be simpler make use of inline assembly code within each function, to setup and call the ROM resident routines.&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;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Aug 2010 13:45:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/using-a-part-of-HC08-ROM-as-EEPROM/m-p/219668#M19130</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2010-08-26T13:45:29Z</dc:date>
    </item>
    <item>
      <title>Re: using a part of HC08 ROM as EEPROM</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/using-a-part-of-HC08-ROM-as-EEPROM/m-p/219669#M19131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you mac.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Aug 2010 15:49:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/using-a-part-of-HC08-ROM-as-EEPROM/m-p/219669#M19131</guid>
      <dc:creator>sunay</dc:creator>
      <dc:date>2010-08-26T15:49:39Z</dc:date>
    </item>
  </channel>
</rss>

