<?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>8-bit MicrocontrollersのトピックRe: How can I record and read a value in the MC68HC908JL3CDW ROM when the resident routines do not work?</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/How-can-I-record-and-read-a-value-in-the-MC68HC908JL3CDW-ROM/m-p/616815#M22217</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you looked at this application note?&amp;nbsp;&amp;nbsp; It is mostly concerned with using the ROM monitor resident routines.&amp;nbsp; But, the information has some application to requirements if you are to be writing your own code.&amp;nbsp;&amp;nbsp; As you may know, one cannot be executing code out of the flash program space at the same time as any erase or program operation is ongoing to the flash program address space.&amp;nbsp;&amp;nbsp; So, you must write a routine to perform the erase operation or the program operation in your code, copy that routine to unused RAM space, and jump execution to that routine.&amp;nbsp;&amp;nbsp; After it has finished you can go back to your flash code.&amp;nbsp; You must take care to not erase your own code from flash!&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.nxp.com/assets/documents/data/en/application-notes/AN1831.pdf"&gt;http://www.nxp.com/assets/documents/data/en/application-notes/AN1831.pdf&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Apr 2017 21:28:23 GMT</pubDate>
    <dc:creator>mfugere</dc:creator>
    <dc:date>2017-04-18T21:28:23Z</dc:date>
    <item>
      <title>How can I record and read a value in the MC68HC908JL3CDW ROM when the resident routines do not work?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/How-can-I-record-and-read-a-value-in-the-MC68HC908JL3CDW-ROM/m-p/616814#M22216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;I have a program in C and inside the routine "Void Main" I need to write and then read a value in ROM, then I update this value to save again in ROM.&lt;/SPAN&gt; &lt;SPAN class=""&gt;This value can not be lost in case of power failure.&lt;/SPAN&gt; &lt;SPAN&gt;Resident routines did not work.&lt;/SPAN&gt; &lt;SPAN class=""&gt;Does anyone have any routine about this?&lt;/SPAN&gt; &lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Apr 2017 12:17:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/How-can-I-record-and-read-a-value-in-the-MC68HC908JL3CDW-ROM/m-p/616814#M22216</guid>
      <dc:creator>luissilva</dc:creator>
      <dc:date>2017-04-17T12:17:25Z</dc:date>
    </item>
    <item>
      <title>Re: How can I record and read a value in the MC68HC908JL3CDW ROM when the resident routines do not work?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/How-can-I-record-and-read-a-value-in-the-MC68HC908JL3CDW-ROM/m-p/616815#M22217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you looked at this application note?&amp;nbsp;&amp;nbsp; It is mostly concerned with using the ROM monitor resident routines.&amp;nbsp; But, the information has some application to requirements if you are to be writing your own code.&amp;nbsp;&amp;nbsp; As you may know, one cannot be executing code out of the flash program space at the same time as any erase or program operation is ongoing to the flash program address space.&amp;nbsp;&amp;nbsp; So, you must write a routine to perform the erase operation or the program operation in your code, copy that routine to unused RAM space, and jump execution to that routine.&amp;nbsp;&amp;nbsp; After it has finished you can go back to your flash code.&amp;nbsp; You must take care to not erase your own code from flash!&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.nxp.com/assets/documents/data/en/application-notes/AN1831.pdf"&gt;http://www.nxp.com/assets/documents/data/en/application-notes/AN1831.pdf&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Apr 2017 21:28:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/How-can-I-record-and-read-a-value-in-the-MC68HC908JL3CDW-ROM/m-p/616815#M22217</guid>
      <dc:creator>mfugere</dc:creator>
      <dc:date>2017-04-18T21:28:23Z</dc:date>
    </item>
  </channel>
</rss>

