<?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>Kinetis MicrocontrollersのトピックCopy code from FLASH to RAM and running in RAM</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Copy-code-from-FLASH-to-RAM-and-running-in-RAM/m-p/334818#M15926</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The compiler is IAR 7.10, MCU type is Kinetis V31.&lt;/P&gt;&lt;P&gt;If the code is written by myself, we can use the following two ways to accomplish.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.using keyword "__ramfunc" before the return type in the function protype.&lt;/P&gt;&lt;P&gt;__ramfunc void func(void);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.located the function in section ".textrw"&lt;/P&gt;&lt;P&gt;void func(void) @".textrw"&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But for FSL's motor control library, how to copy these functions to RAM? thanks!&lt;/P&gt;&lt;P&gt;For example, ACLIB_PMSMBemfObsrvDQ() and ACLIB_TrackObsrv() in CM4_ACLIB_F16.a&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 18 Oct 2014 13:04:50 GMT</pubDate>
    <dc:creator>larryyang</dc:creator>
    <dc:date>2014-10-18T13:04:50Z</dc:date>
    <item>
      <title>Copy code from FLASH to RAM and running in RAM</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Copy-code-from-FLASH-to-RAM-and-running-in-RAM/m-p/334818#M15926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The compiler is IAR 7.10, MCU type is Kinetis V31.&lt;/P&gt;&lt;P&gt;If the code is written by myself, we can use the following two ways to accomplish.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.using keyword "__ramfunc" before the return type in the function protype.&lt;/P&gt;&lt;P&gt;__ramfunc void func(void);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.located the function in section ".textrw"&lt;/P&gt;&lt;P&gt;void func(void) @".textrw"&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But for FSL's motor control library, how to copy these functions to RAM? thanks!&lt;/P&gt;&lt;P&gt;For example, ACLIB_PMSMBemfObsrvDQ() and ACLIB_TrackObsrv() in CM4_ACLIB_F16.a&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Oct 2014 13:04:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Copy-code-from-FLASH-to-RAM-and-running-in-RAM/m-p/334818#M15926</guid>
      <dc:creator>larryyang</dc:creator>
      <dc:date>2014-10-18T13:04:50Z</dc:date>
    </item>
  </channel>
</rss>

