<?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: MC9RS08KA8 how to write a data to the flash memory while the code is running</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9RS08KA8-how-to-write-a-data-to-the-flash-memory-while-the/m-p/173617#M11893</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi,&lt;/DIV&gt;&lt;DIV&gt;If you want to program the Flash EPROM of an 9RS08 while the code is running, there are two major obstacles to overcome:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;1) As the program that programs the Flash EPROM cannot execute in the same area as the Flash EPROM, the code must be moved out to the RAM and executed there.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;2) The 9RS08 does not have a built in high voltage generator that is used when erasing/programming the Flash EPROMs. So the 12 V Vpp must be generated outside the MCU and connected to the /RESET pin.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;So I would rather use, eg the 9S08QD device instead of a 9RS08.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Regards,&lt;/DIV&gt;&lt;DIV&gt;Ake&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Jul 2008 14:24:45 GMT</pubDate>
    <dc:creator>Ake</dc:creator>
    <dc:date>2008-07-18T14:24:45Z</dc:date>
    <item>
      <title>MC9RS08KA8 how to write a data to the flash memory while the code is running</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9RS08KA8-how-to-write-a-data-to-the-flash-memory-while-the/m-p/173616#M11892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;My program is running in the setup mode at the beginning and gather some trimpot values. Then save them as settings. When you turn the trimpot, the program goes into run mode. There is no problem here. But after power down the settings disappear. I want the circuit to run with the previous setings. So i must write the values in the flash memory. But i couldnt understand how to write to flash memory. Is it mandatory to apply 12V to Vpp?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I use C and code warrior v6.2.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you please help me?&lt;/SPAN&gt;&lt;BR /&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2008 19:34:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9RS08KA8-how-to-write-a-data-to-the-flash-memory-while-the/m-p/173616#M11892</guid>
      <dc:creator>sentenced</dc:creator>
      <dc:date>2008-07-17T19:34:16Z</dc:date>
    </item>
    <item>
      <title>Re: MC9RS08KA8 how to write a data to the flash memory while the code is running</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9RS08KA8-how-to-write-a-data-to-the-flash-memory-while-the/m-p/173617#M11893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi,&lt;/DIV&gt;&lt;DIV&gt;If you want to program the Flash EPROM of an 9RS08 while the code is running, there are two major obstacles to overcome:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;1) As the program that programs the Flash EPROM cannot execute in the same area as the Flash EPROM, the code must be moved out to the RAM and executed there.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;2) The 9RS08 does not have a built in high voltage generator that is used when erasing/programming the Flash EPROMs. So the 12 V Vpp must be generated outside the MCU and connected to the /RESET pin.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;So I would rather use, eg the 9S08QD device instead of a 9RS08.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Regards,&lt;/DIV&gt;&lt;DIV&gt;Ake&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jul 2008 14:24:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9RS08KA8-how-to-write-a-data-to-the-flash-memory-while-the/m-p/173617#M11893</guid>
      <dc:creator>Ake</dc:creator>
      <dc:date>2008-07-18T14:24:45Z</dc:date>
    </item>
  </channel>
</rss>

