<?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: Flash Programming question on MC9S08AC16</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Flash-Programming-question-on-MC9S08AC16/m-p/181139#M13153</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;You are not looking hard enough then.&lt;/P&gt;&lt;P&gt;most (all?) S08 do not have any resident flashing routines.&lt;/P&gt;&lt;P&gt;You cannot programme and execute from the same flash array.&lt;/P&gt;&lt;P&gt;This usually means running from RAM while flashing/erasing or running from the other array on some large memory devices.&lt;/P&gt;&lt;P&gt;There is literally 100's of posts here on this.&lt;/P&gt;&lt;P&gt;FLASH as EEPROM is a good search term.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.freescale.com/message/35354#35354" title="https://community.freescale.com/message/35354#35354"&gt;https://community.freescale.com/message/35354#35354&lt;/A&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Feb 2011 04:59:40 GMT</pubDate>
    <dc:creator>peg</dc:creator>
    <dc:date>2011-02-03T04:59:40Z</dc:date>
    <item>
      <title>Flash Programming question on MC9S08AC16</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Flash-Programming-question-on-MC9S08AC16/m-p/181138#M13152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I am starting a new project using the MC9S08AC16.&amp;nbsp; I need to use the FLASH to store data that is occasionally updated.&amp;nbsp; I upgraded from using an MC68HC908JL8 which had&amp;nbsp;Freescale ROM resident routines for handling flash since you could not program FLASH and execute from it at the same time.&amp;nbsp; This new chip does not seem to have the same limitation on the FLASH.&amp;nbsp; Is this True?&amp;nbsp; I cannot find anywhere in the reference manuals any mention of ROM resident routines or the inability to Program FLASH while executing from FLASH.&amp;nbsp; Can anyone verify this?&amp;nbsp; Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Feb 2011 01:19:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Flash-Programming-question-on-MC9S08AC16/m-p/181138#M13152</guid>
      <dc:creator>Spookydude</dc:creator>
      <dc:date>2011-02-03T01:19:42Z</dc:date>
    </item>
    <item>
      <title>Re: Flash Programming question on MC9S08AC16</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Flash-Programming-question-on-MC9S08AC16/m-p/181139#M13153</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;You are not looking hard enough then.&lt;/P&gt;&lt;P&gt;most (all?) S08 do not have any resident flashing routines.&lt;/P&gt;&lt;P&gt;You cannot programme and execute from the same flash array.&lt;/P&gt;&lt;P&gt;This usually means running from RAM while flashing/erasing or running from the other array on some large memory devices.&lt;/P&gt;&lt;P&gt;There is literally 100's of posts here on this.&lt;/P&gt;&lt;P&gt;FLASH as EEPROM is a good search term.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.freescale.com/message/35354#35354" title="https://community.freescale.com/message/35354#35354"&gt;https://community.freescale.com/message/35354#35354&lt;/A&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Feb 2011 04:59:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Flash-Programming-question-on-MC9S08AC16/m-p/181139#M13153</guid>
      <dc:creator>peg</dc:creator>
      <dc:date>2011-02-03T04:59:40Z</dc:date>
    </item>
    <item>
      <title>Re: Flash Programming question on MC9S08AC16</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Flash-Programming-question-on-MC9S08AC16/m-p/181140#M13154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well that sux!&amp;nbsp; the 908 was easy to work with, this S08 is making me jump through hoops and I have a tight deadline approaching.&amp;nbsp; No ROM resident programs and a reference manual that leaves a lot to be desired.&amp;nbsp; :-(&amp;nbsp;&amp;nbsp;&amp;nbsp; Thanks for the help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Feb 2011 05:24:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Flash-Programming-question-on-MC9S08AC16/m-p/181140#M13154</guid>
      <dc:creator>Spookydude</dc:creator>
      <dc:date>2011-02-03T05:24:18Z</dc:date>
    </item>
    <item>
      <title>Re: Flash Programming question on MC9S08AC16</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Flash-Programming-question-on-MC9S08AC16/m-p/181141#M13155</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;You will notice that the datasheet does contain detailed flow diagrams for each of the flash operations.&amp;nbsp; However, only a portion of the code needs to execute from RAM, i.e. from when the flash command is activated by clearing the FCBEF bit, to when it completes, and the FCCF flag becomes set.&amp;nbsp; This is the period when the flash array will be inaccessible.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One of two methods may be used to handle the small amount of RAM-based code -&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Push the code onto the stack, and execute from there, or alternatively&lt;/LI&gt;&lt;LI&gt;Transfer the code to a fixed block of RAM.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;The attached code demonstrates the second method, which does also require some alteration to the PRM file for the project.&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>Fri, 04 Feb 2011 07:03:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Flash-Programming-question-on-MC9S08AC16/m-p/181141#M13155</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2011-02-04T07:03:15Z</dc:date>
    </item>
  </channel>
</rss>

