<?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>S32KのトピックRe: Overlay Management Unit</title>
    <link>https://community.nxp.com/t5/S32K/Overlay-Management-Unit/m-p/2005331#M43812</link>
    <description>&lt;P&gt;I haven't tested it, but in the C module Omu_MappingTest.c, function Omu_MappingFun shows certain OMU test, so it should be possible to understand expected use.&lt;/P&gt;</description>
    <pubDate>Mon, 02 Dec 2024 18:01:13 GMT</pubDate>
    <dc:creator>davidtosenovjan</dc:creator>
    <dc:date>2024-12-02T18:01:13Z</dc:date>
    <item>
      <title>Overlay Management Unit</title>
      <link>https://community.nxp.com/t5/S32K/Overlay-Management-Unit/m-p/1979848#M42419</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are there any examples for how to create overlays for S32k396?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards！&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;#S32k396&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2024 06:10:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Overlay-Management-Unit/m-p/1979848#M42419</guid>
      <dc:creator>jiangwei</dc:creator>
      <dc:date>2024-10-23T06:10:43Z</dc:date>
    </item>
    <item>
      <title>Re: Overlay Management Unit</title>
      <link>https://community.nxp.com/t5/S32K/Overlay-Management-Unit/m-p/1987062#M42870</link>
      <description>&lt;P&gt;Unfortunately I am not aware of any example. I am double checking it with designers, I will let you know as soon as possible.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Nov 2024 13:06:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Overlay-Management-Unit/m-p/1987062#M42870</guid>
      <dc:creator>davidtosenovjan</dc:creator>
      <dc:date>2024-11-04T13:06:58Z</dc:date>
    </item>
    <item>
      <title>Re: Overlay Management Unit</title>
      <link>https://community.nxp.com/t5/S32K/Overlay-Management-Unit/m-p/1998996#M43505</link>
      <description>&lt;P&gt;I just obtained an example code from SW engineers. I am sharing it as it is including description below:&lt;/P&gt;
&lt;P&gt;This demo can implement how to remap the Flash address to one specific RAM address, and how to config the overlay region.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Development Env:&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;RTD: SW32K3_S32M27x_RTD_R21-11_5.0.0&lt;/LI&gt;
&lt;LI&gt;EB Tresos 29.0 config the project and compile the project with the command line&lt;/LI&gt;
&lt;LI&gt;Debug tool: Lauterbach. One debug script is in the example package&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;STRONG&gt;Debug steps:&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;To minimize the environmental deviation, please extract the package into the following position:&lt;/LI&gt;
&lt;/UL&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.png" style="width: 618px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/311749i7520EF8F4796E59D/image-dimensions/618x118?v=v2" width="618" height="118" role="button" title="1.png" alt="1.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Replace the&amp;nbsp;original RTD package file(C:\NXP\SW32K3_S32M27x_RTD_R21-11_5.0.0\eclipse\plugins\BaseNXP_TS_T40D34M50I0R0\header\S32K37_OMU_CM7.h //&amp;nbsp;&amp;nbsp;C:\NXP\SW32K3_S32M27x_RTD_R21-11_5.0.0\eclipse\plugins\Platform_TS_T40D34M50I0R0\startup\src\system.c) with the following hotfix file&amp;nbsp;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2.png" style="width: 600px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/311752i44AD15E03F3D5C83/image-dimensions/600x87?v=v2" width="600" height="87" role="button" title="2.png" alt="2.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Change the path to the following position, and use &lt;STRONG&gt;&lt;EM&gt;make build&lt;/EM&gt;&lt;/STRONG&gt;&amp;nbsp;command to build the project. using &lt;STRONG&gt;&lt;EM&gt;make clean&lt;/EM&gt;&lt;/STRONG&gt; to clean the project&lt;/LI&gt;
&lt;/UL&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="3.png" style="width: 667px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/311754iFE95B878E19BA2D7/image-dimensions/667x25?v=v2" width="667" height="25" role="button" title="3.png" alt="3.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Hope it helps&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2024 15:35:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Overlay-Management-Unit/m-p/1998996#M43505</guid>
      <dc:creator>davidtosenovjan</dc:creator>
      <dc:date>2024-11-21T15:35:47Z</dc:date>
    </item>
    <item>
      <title>Re: Overlay Management Unit</title>
      <link>https://community.nxp.com/t5/S32K/Overlay-Management-Unit/m-p/2004034#M43735</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi，&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am testing the memory&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;overlay&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;functionality for the S32K396.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;I have established the relationship between Mirrored Flash and RAM by using OMU.&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;Modify the value of RAM and the value of mirror flash is also changed.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;&lt;SPAN&gt;When I read the original flash value, it still remains unchanged(The value of the mirror flash changes and should be read through the original flash.)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;#define EXAMPLE_SECTOR_4_ADDR      (0x00400000U)
const uint32_t *Array4 = (uint32_t *)0x400000;
const uint32_t *Array4mirror = (uint32_t *)0x8400000;
uint32_t Value4 = 0;
uint32_t Value4mirror = 0;

......

    for(i = 0; i&amp;lt;OMU_NUM_BYTES; i++)
    {
        omu_flash_program_5data[i] = 5;
    }
    Flash_WriteFun(Example_MemInstanceId, EXAMPLE_SECTOR_4_ADDR,omu_flash_program_5data, OMU_NUM_BYTES);

......

   Value4 = Array4[10];
   Value4mirror = Array4mirror[10];

......

    OMU INIT and OMU Enable

......

    Value4 = Array4[10];
    Value4mirror = Array4mirror[10];&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="jiangwei_0-1732850106165.png" style="width: 476px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/313234iF5EC9045A987BD74/image-dimensions/476x116?v=v2" width="476" height="116" role="button" title="jiangwei_0-1732850106165.png" alt="jiangwei_0-1732850106165.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;How to correctly read the changed value of Mirrored Flash through the Origin Flash address?&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;How to implement the request to read the original flash, S32K396 automatically reads the variable value on the ram address through OMU mapping?&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Regards！&lt;/P&gt;</description>
      <pubDate>Fri, 29 Nov 2024 03:20:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Overlay-Management-Unit/m-p/2004034#M43735</guid>
      <dc:creator>jiangwei</dc:creator>
      <dc:date>2024-11-29T03:20:24Z</dc:date>
    </item>
    <item>
      <title>Re: Overlay Management Unit</title>
      <link>https://community.nxp.com/t5/S32K/Overlay-Management-Unit/m-p/2005331#M43812</link>
      <description>&lt;P&gt;I haven't tested it, but in the C module Omu_MappingTest.c, function Omu_MappingFun shows certain OMU test, so it should be possible to understand expected use.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Dec 2024 18:01:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Overlay-Management-Unit/m-p/2005331#M43812</guid>
      <dc:creator>davidtosenovjan</dc:creator>
      <dc:date>2024-12-02T18:01:13Z</dc:date>
    </item>
    <item>
      <title>Re: Overlay Management Unit</title>
      <link>https://community.nxp.com/t5/S32K/Overlay-Management-Unit/m-p/2005554#M43818</link>
      <description>&lt;P&gt;Unfortunately, the data was not read from the original flash in the Omu_MappingTest.c program. I successfully read the ram value from the mirrored flash through the Omu_MappingTest.c program. But when I modified the program and tried to read the ram value from the original flash, the read value still did not change from the original flash value to the ram value, and the results were not as expected.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2024 01:42:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Overlay-Management-Unit/m-p/2005554#M43818</guid>
      <dc:creator>jiangwei</dc:creator>
      <dc:date>2024-12-03T01:42:57Z</dc:date>
    </item>
    <item>
      <title>Re: Overlay Management Unit</title>
      <link>https://community.nxp.com/t5/S32K/Overlay-Management-Unit/m-p/2006291#M43851</link>
      <description>&lt;P&gt;I think it is correct, it worked this way on predecessor platforms as well (MPC57xx) i.e.&lt;/P&gt;
&lt;P&gt;original flash address = physical address&lt;BR /&gt;mirrored flash address = logical address&lt;/P&gt;
&lt;P&gt;calibration (overlay) runs above logical address and what is actually what you see (if I understand it well) that is changing data in RAM leads in changing of data in logical flash address&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2024 17:59:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Overlay-Management-Unit/m-p/2006291#M43851</guid>
      <dc:creator>davidtosenovjan</dc:creator>
      <dc:date>2024-12-03T17:59:11Z</dc:date>
    </item>
    <item>
      <title>about the mirrored flash address</title>
      <link>https://community.nxp.com/t5/S32K/Overlay-Management-Unit/m-p/2184315#M53433</link>
      <description>&lt;P&gt;&lt;SPAN&gt;How to make the calibration data into the mirrored flash address(i.e. 0x085A0000) for S32K396/364?&amp;nbsp; I try to define the calibration flash region in linker_flash_c0_s32k364.ld,&amp;nbsp;cali_pflash : ORIGIN = 0x085A0000, LENGTH = 0x00010000. But it works wrongly.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 11 Oct 2025 13:37:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Overlay-Management-Unit/m-p/2184315#M53433</guid>
      <dc:creator>778939159</dc:creator>
      <dc:date>2025-10-11T13:37:36Z</dc:date>
    </item>
  </channel>
</rss>

