<?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>S12 / MagniV MicrocontrollersのトピックRe: memory copy failed?</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/memory-copy-failed/m-p/901535#M16459</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Diana;&lt;/P&gt;&lt;P&gt;thanks for your reply.&lt;/P&gt;&lt;P&gt;1.your reply was about making the func "CallFnCmdInRam()"run in ram, and&amp;nbsp;I know this.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;2.&lt;/SPAN&gt;put those flash related funcs into ram by&lt;/SPAN&gt;&amp;nbsp;modifing the prm file like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/61756i74DFD1EEDE74B796/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;in the map file :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/61458i4BC343AA87583E8A/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;the flash funcs are in ram(0x10000) address.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 May 2019 00:51:40 GMT</pubDate>
    <dc:creator>mikijt</dc:creator>
    <dc:date>2019-05-07T00:51:40Z</dc:date>
    <item>
      <title>memory copy failed?</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/memory-copy-failed/m-p/901533#M16457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;i have put all flash related funcs into ram,as show in map below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/80441iA6063F9C32A5C0FC/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;then i found the fun IFsh1_SetByteFlash didn't copy&amp;nbsp;completely correct:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/80535i5F916F664AD7165D/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How could it be?&lt;SPAN style="background-color: #ffffff; color: #333333; "&gt;i need you help!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 May 2019 05:16:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/memory-copy-failed/m-p/901533#M16457</guid>
      <dc:creator>mikijt</dc:creator>
      <dc:date>2019-05-06T05:16:08Z</dc:date>
    </item>
    <item>
      <title>Re: memory copy failed?</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/memory-copy-failed/m-p/901534#M16458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure how you placed the function into the RAM. However, it is not needed to do manually because the Processor Expert has properties for it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/80846i015A4994A1E0DAF4/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps.&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Diana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 May 2019 12:18:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/memory-copy-failed/m-p/901534#M16458</guid>
      <dc:creator>dianabatrlova</dc:creator>
      <dc:date>2019-05-06T12:18:27Z</dc:date>
    </item>
    <item>
      <title>Re: memory copy failed?</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/memory-copy-failed/m-p/901535#M16459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Diana;&lt;/P&gt;&lt;P&gt;thanks for your reply.&lt;/P&gt;&lt;P&gt;1.your reply was about making the func "CallFnCmdInRam()"run in ram, and&amp;nbsp;I know this.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;2.&lt;/SPAN&gt;put those flash related funcs into ram by&lt;/SPAN&gt;&amp;nbsp;modifing the prm file like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/61756i74DFD1EEDE74B796/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;in the map file :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/61458i4BC343AA87583E8A/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;the flash funcs are in ram(0x10000) address.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 May 2019 00:51:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/memory-copy-failed/m-p/901535#M16459</guid>
      <dc:creator>mikijt</dc:creator>
      <dc:date>2019-05-07T00:51:40Z</dc:date>
    </item>
    <item>
      <title>Re: memory copy failed?</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/memory-copy-failed/m-p/901536#M16460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure why you need to place all IFsh1_... functions into RAM when IFsh_EraseFlash and IFsh_SetByteFlash&amp;nbsp;call the&amp;nbsp;CallFnCmdInRam(). So, the launch of each command is executed from RAM.&lt;/P&gt;&lt;P&gt;Or do you have any other reason for placing the IFsh1_... functions into the RAM?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Diana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 May 2019 11:23:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/memory-copy-failed/m-p/901536#M16460</guid>
      <dc:creator>dianabatrlova</dc:creator>
      <dc:date>2019-05-07T11:23:46Z</dc:date>
    </item>
  </channel>
</rss>

