<?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: mc9rs08ka8 in 8-bit Microcontrollers</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/mc9rs08ka8/m-p/174442#M12045</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This topic gets discussed a lot in this forum. Use the search box at the upper right and try search phrases such as "flash programming" or "program flash" to display conversations on this subject. Also, when you do ask a question, please specify the part that you are using, as the programming techniques can vary.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;---Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Jun 2012 19:23:55 GMT</pubDate>
    <dc:creator>J2MEJediMaster</dc:creator>
    <dc:date>2012-06-22T19:23:55Z</dc:date>
    <item>
      <title>mc9rs08ka8</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/mc9rs08ka8/m-p/174441#M12044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Am relatively new to the freescale devices and would like some advice. I would like to store some data in the Flash area (constant values) and am a little confused on how to do it. How would i store data in the flash area ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Much appreciated&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jun 2012 18:47:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/mc9rs08ka8/m-p/174441#M12044</guid>
      <dc:creator>Kaibigan</dc:creator>
      <dc:date>2012-06-22T18:47:17Z</dc:date>
    </item>
    <item>
      <title>Re: mc9rs08ka8</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/mc9rs08ka8/m-p/174442#M12045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This topic gets discussed a lot in this forum. Use the search box at the upper right and try search phrases such as "flash programming" or "program flash" to display conversations on this subject. Also, when you do ask a question, please specify the part that you are using, as the programming techniques can vary.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;---Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jun 2012 19:23:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/mc9rs08ka8/m-p/174442#M12045</guid>
      <dc:creator>J2MEJediMaster</dc:creator>
      <dc:date>2012-06-22T19:23:55Z</dc:date>
    </item>
    <item>
      <title>Re: mc9rs08ka8</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/mc9rs08ka8/m-p/174443#M12046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, and welcome to the forum.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The programming of non-volatile parameters from within the user code is not really practical for MC9RS08 devices.&amp;nbsp; To do so would require the&amp;nbsp;switching of an external programming voltage.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A portion of the programming code then needs to be run from RAM.&amp;nbsp; This code is relatively complex, and&amp;nbsp;must generate&amp;nbsp;critical timing intervals.&amp;nbsp; The incorrect timing may permanently damage the flash memory.&amp;nbsp; In addition, the programming of non-volatile parameters could be done only once because the only erase process available is a mass erase (which would also erase your code).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To do what you require, the use of a suitable MC9S08 device would be a far better choice.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;The programming voltage is internally generated.&lt;/LI&gt;&lt;LI&gt;Some RAM based code is still required, but this is somewhat simpler, and does not require the generation of critical timing intervals.&lt;/LI&gt;&lt;LI&gt;A page erase process is available, allowing the non-volatile parameters to be changed.&lt;/LI&gt;&lt;/OL&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>Sat, 23 Jun 2012 02:17:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/mc9rs08ka8/m-p/174443#M12046</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2012-06-23T02:17:50Z</dc:date>
    </item>
    <item>
      <title>Re: mc9rs08ka8</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/mc9rs08ka8/m-p/174444#M12047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;BigMac,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Not exactly what i was trying to do, i want to store some data in the flash area at compile time and then read them during program execution via a flash pointer, what i am struggling with is how to tell the compiler to store values in the flash area ie. config paramters for a radio device, i don't want to use ram space for what are constant values.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The device i am using is MC9RS08KA8.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2012 16:37:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/mc9rs08ka8/m-p/174444#M12047</guid>
      <dc:creator>Kaibigan</dc:creator>
      <dc:date>2012-06-25T16:37:08Z</dc:date>
    </item>
    <item>
      <title>Re: mc9rs08ka8</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/mc9rs08ka8/m-p/174445#M12048</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;Assuming you are coding in C, simply define the variable&amp;nbsp;name&amp;nbsp;as constant, and specifiy a value for the variable.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;const byte cvar1 = 10;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;const word cvar2 = 1000;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Of course, more complex data types such as arrays and structures, are also possible.&amp;nbsp; Another possibility, where the parameter of a function is a byte pointer to&amp;nbsp;a string, the following string data is implicitly constant:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;LCD_send( "MAIN MENU");&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;I always like to then verify that the variable has been placed in flash memory, by examining the project map file.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Regarda,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Mac&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2012 21:22:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/mc9rs08ka8/m-p/174445#M12048</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2012-06-25T21:22:15Z</dc:date>
    </item>
  </channel>
</rss>

