<?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>MPC5xxx中的主题 Re: MPC5744p overlay RAM</title>
    <link>https://community.nxp.com/t5/MPC5xxx/MPC5744p-overlay-RAM/m-p/614247#M5124</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's a good point! I didn't notice this note in RM. Thanks for sharing. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lukas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Sep 2016 12:53:05 GMT</pubDate>
    <dc:creator>lukaszadrapa</dc:creator>
    <dc:date>2016-09-14T12:53:05Z</dc:date>
    <item>
      <title>MPC5744p overlay RAM</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5744p-overlay-RAM/m-p/614242#M5119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Which part of SRAM can be used for overlay on MPC5744p? Addresses 0x40000000 -- 0x4005FFFF are not reserved, are those okay to use?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Ivan Mandić&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Sep 2016 11:41:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5744p-overlay-RAM/m-p/614242#M5119</guid>
      <dc:creator>ivanmandic</dc:creator>
      <dc:date>2016-09-13T11:41:00Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5744p overlay RAM</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5744p-overlay-RAM/m-p/614243#M5120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;this is copied from reference manual:&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/5048i33487CA3664A55A5/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;That means you can use any address within RAM implemented on this device (0x40000000 -- 0x4005FFFF).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lukas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Sep 2016 14:21:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5744p-overlay-RAM/m-p/614243#M5120</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2016-09-13T14:21:01Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5744p overlay RAM</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5744p-overlay-RAM/m-p/614244#M5121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Lukas,&lt;/P&gt;&lt;P&gt;Thanks for the quick response. Now I'm trying to use the overlay with the function below. To my understanding it should copy the part of flash i chose to the location in SRAM i also defined, but nothing gets copied.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void Overlay(void)&amp;nbsp; &lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PFLASH.PFCRD[0].Word0.B.LSTARTADDR = (Mirror_Small_Flash_Memory_Block_0_BEGIN&amp;gt;&amp;gt;4);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PFLASH.PFCRD[0].Word1.B.PSTARTADDR = (0x40010000&amp;gt;&amp;gt;4);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PFLASH.PFCRD[0].Word2.B.CRDSize = B64;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PFLASH.PFCR1.B.RWSC = 0b0101; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PFLASH.PFCR1.B.APC = 0b010;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; C55FMC.MCR.B.PGM = 1;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; *(unsigned int *)Small_Flash_Memory_Block_0_BEGIN = 0xffffffff;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; C55FMC.MCR.B.PGM = 0;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PFLASH.PFCRDE.B.CRD0EN = 1;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PFLASH.PFCRCR.B.GRMEN = 1;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;Mirror_Small_Flash_Memory_Block_0_BEGIN is defined as 0x08F98000, and Small_Flash_Memory_Block_0_BEGIN as 0x00F98000. B64 is&amp;nbsp;0b00110 just for testing a small transfer. Is there something additional i need to do or change in order for this to work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Ivan Mandić&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2016 07:46:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5744p-overlay-RAM/m-p/614244#M5121</guid>
      <dc:creator>ivanmandic</dc:creator>
      <dc:date>2016-09-14T07:46:05Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5744p overlay RAM</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5744p-overlay-RAM/m-p/614245#M5122</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 did quick test in debugger:&lt;/P&gt;&lt;P&gt;I configured descriptor 0 to overlay 32 bytes of flash at address 0x08F98000 by RAM at 0x40010000. When I enable the descriptor, I can see the RAM content at flash address:&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/5093i90864CE3A5F3D040/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;If I disable the overlay, I can see original content (all 0xFF) at 0x08F98000:&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/5141i00D202BE9013C083/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;&lt;/P&gt;&lt;P&gt;Please check my configuration.&lt;/P&gt;&lt;P&gt;By the way, this piece of code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;C55FMC.MCR.B.PGM = 1;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; *(unsigned int *)Small_Flash_Memory_Block_0_BEGIN = 0xffffffff;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; C55FMC.MCR.B.PGM = 0;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;... doesn't make sense. When you enable the overlay, it does not copy any data. It just re-map the RAM, so you see the RAM at flash addresses. If you want to see the flash again at the same addresses, you have to disable the overlay.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lukas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2016 10:17:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5744p-overlay-RAM/m-p/614245#M5122</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2016-09-14T10:17:14Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5744p overlay RAM</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5744p-overlay-RAM/m-p/614246#M5123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello again,&lt;/P&gt;&lt;P&gt;I looked at your configuration and saw that i haven't set M0EN as&amp;nbsp; '1'. That basically fixed my problem. The part of the code that doesn't make sense is used for safety measurement if there will be the use of line read buffer.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Capture.JPG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/5053i2D5A5DF4B920B571/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help again.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Ivan Mandić&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2016 12:47:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5744p-overlay-RAM/m-p/614246#M5123</guid>
      <dc:creator>ivanmandic</dc:creator>
      <dc:date>2016-09-14T12:47:23Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5744p overlay RAM</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5744p-overlay-RAM/m-p/614247#M5124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's a good point! I didn't notice this note in RM. Thanks for sharing. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lukas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2016 12:53:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5744p-overlay-RAM/m-p/614247#M5124</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2016-09-14T12:53:05Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5744p overlay RAM</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5744p-overlay-RAM/m-p/614248#M5125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello ,when i use this code ,it seems working fine,but after reset the flash value is still 0xffffff,how could this happen?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jan 2018 05:13:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5744p-overlay-RAM/m-p/614248#M5125</guid>
      <dc:creator>zhouhuiying</dc:creator>
      <dc:date>2018-01-17T05:13:20Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5744p overlay RAM</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5744p-overlay-RAM/m-p/614249#M5126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i use 0x4000000 as the overlay SRAM. when i change the RAM value. the corresponding flash &amp;nbsp; follows. but after Reset. flash backs to 0xffffffff&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jan 2018 07:13:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5744p-overlay-RAM/m-p/614249#M5126</guid>
      <dc:creator>zhouhuiying</dc:creator>
      <dc:date>2018-01-17T07:13:21Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5744p overlay RAM</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5744p-overlay-RAM/m-p/614250#M5127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lukas,&lt;/P&gt;&lt;P&gt;I too have the same use case and I just followed your step, but not successful. but my target is&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;MPC5777M Microcontroller.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;When I try to set the PFCRD0_WORD0 &amp;amp; &lt;SPAN&gt;PFCRD0_WORD&lt;/SPAN&gt;1 there is &amp;gt;&amp;gt; 4-bit shifting is happening, but I couldn't able to see this behavior in your screenshot.&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/92495i8CB668E20D82A2C6/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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Nov 2019 17:56:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5744p-overlay-RAM/m-p/614250#M5127</guid>
      <dc:creator>dhanesh_pandian</dc:creator>
      <dc:date>2019-11-14T17:56:43Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5744p overlay RAM</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5744p-overlay-RAM/m-p/1393207#M20002</link>
      <description>&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; I was trying to implement overlay ram code , but its not working.&lt;/P&gt;&lt;P&gt;1)Controller i am using is MPC5744P&lt;/P&gt;&lt;P&gt;2)I tried the example code from this link.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/t5/MPC5xxx-Knowledge-Base/Example-MPC5744P-Flash-Overlay-SRAM-S32DS-Power-2-1/ta-p/1384958" target="_self"&gt;https://community.nxp.com/t5/MPC5xxx-Knowledge-Base/Example-MPC5744P-Flash-Overlay-SRAM-S32DS-Power-2-1/ta-p/1384958&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3) I also tried implement this code in my existing code also.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In all the cases its not working.Is there anything i am missing.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Dec 2021 04:45:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5744p-overlay-RAM/m-p/1393207#M20002</guid>
      <dc:creator>tom_cruise_234</dc:creator>
      <dc:date>2021-12-30T04:45:27Z</dc:date>
    </item>
  </channel>
</rss>

