<?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 to copy a subroutine  from FLASH to RAM</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/how-to-copy-a-subroutine-from-FLASH-to-RAM/m-p/148241#M7660</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank u for your link,i will go to read it&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Sep 2010 10:20:13 GMT</pubDate>
    <dc:creator>CASEYKEVIN</dc:creator>
    <dc:date>2010-09-20T10:20:13Z</dc:date>
    <item>
      <title>how to copy a subroutine  from FLASH to RAM</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/how-to-copy-a-subroutine-from-FLASH-to-RAM/m-p/148238#M7657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am new to Freescale MCU,HCS08&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in my application, i need to reprogram some flash area to update my parameters, my upate subroutine&amp;nbsp; locate in FLASH&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i shoud copy the update subroutine from&amp;nbsp;FLASH to RAM, and re-program&amp;nbsp; flash&amp;nbsp;, right?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if it is right ,how to how to copy a subroutine&amp;nbsp; from FLASH to RAM?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;any guys here know how to do it, plz tell me, thanks a aot&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Sep 2010 17:07:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/how-to-copy-a-subroutine-from-FLASH-to-RAM/m-p/148238#M7657</guid>
      <dc:creator>CASEYKEVIN</dc:creator>
      <dc:date>2010-09-18T17:07:45Z</dc:date>
    </item>
    <item>
      <title>Re: how to copy a subroutine  from FLASH to RAM</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/how-to-copy-a-subroutine-from-FLASH-to-RAM/m-p/148239#M7658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello caseykevin,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Welcome to the fora!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Take a look &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;P&gt;The key is the doonstack subroutine&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Sep 2010 20:15:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/how-to-copy-a-subroutine-from-FLASH-to-RAM/m-p/148239#M7658</guid>
      <dc:creator>peg</dc:creator>
      <dc:date>2010-09-18T20:15:34Z</dc:date>
    </item>
    <item>
      <title>Re: how to copy a subroutine  from FLASH to RAM</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/how-to-copy-a-subroutine-from-FLASH-to-RAM/m-p/148240#M7659</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;There are two different methods of using RAM for the programming of non-volatile data.&amp;nbsp; One method uses the stack, as Peg has referenced.&amp;nbsp; The second method uses a fixed block of RAM,&amp;nbsp;often placed at the bottom of the stack.&amp;nbsp; In this case the temporary block size can be as little as 20 bytes.&amp;nbsp; I recall that the code required for this method has also been previously placed on this forum - see if you can find it using the forum search.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You do not say whether you are coding in assembly or C.&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>Sun, 19 Sep 2010 22:42:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/how-to-copy-a-subroutine-from-FLASH-to-RAM/m-p/148240#M7659</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2010-09-19T22:42:02Z</dc:date>
    </item>
    <item>
      <title>Re: how to copy a subroutine  from FLASH to RAM</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/how-to-copy-a-subroutine-from-FLASH-to-RAM/m-p/148241#M7660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank u for your link,i will go to read it&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Sep 2010 10:20:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/how-to-copy-a-subroutine-from-FLASH-to-RAM/m-p/148241#M7660</guid>
      <dc:creator>CASEYKEVIN</dc:creator>
      <dc:date>2010-09-20T10:20:13Z</dc:date>
    </item>
    <item>
      <title>Re: how to copy a subroutine  from FLASH to RAM</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/how-to-copy-a-subroutine-from-FLASH-to-RAM/m-p/148242#M7661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,mac&lt;/P&gt;&lt;P&gt;i am coding in C langeuage, do i need to use assembly to do it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Sep 2010 10:21:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/how-to-copy-a-subroutine-from-FLASH-to-RAM/m-p/148242#M7661</guid>
      <dc:creator>CASEYKEVIN</dc:creator>
      <dc:date>2010-09-20T10:21:35Z</dc:date>
    </item>
  </channel>
</rss>

