<?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>topic Re: Code overlapping issue in S32K</title>
    <link>https://community.nxp.com/t5/S32K/Code-overlapping-issue/m-p/2154711#M51964</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/160001"&gt;@danielmartynek&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I look the startup code and saw what is happening and why i am seeing the overlapping issue.&lt;/P&gt;&lt;P&gt;Working Project:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vinaychitturi_0-1755634827239.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/353113iE308E385E3543D1A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vinaychitturi_0-1755634827239.png" alt="vinaychitturi_0-1755634827239.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vinaychitturi_1-1755634827247.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/353114i61E6F1201C99B356/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vinaychitturi_1-1755634827247.png" alt="vinaychitturi_1-1755634827247.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vinaychitturi_2-1755634827257.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/353112iB2C73F672147F7AA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vinaychitturi_2-1755634827257.png" alt="vinaychitturi_2-1755634827257.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vinaychitturi_3-1755634827264.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/353115i3FB0346EACE55DCB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vinaychitturi_3-1755634827264.png" alt="vinaychitturi_3-1755634827264.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In this project as you can see in ROM and RAM sections for the sram_no_cacheable section after .mcal_const_no_cacheable it is taking 68 bytes of gap for the ramcode_no_cacheable. But that gap is present in both RAM and ROM which is good. SO when I am trying to copy I am able to copy the whole section from flash to sram during initialization because of same gap in RAM and ROM&amp;nbsp;&lt;/P&gt;&lt;P&gt;Non-Working Project:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vinaychitturi_4-1755634827271.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/353117i7F76B54824905A0F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vinaychitturi_4-1755634827271.png" alt="vinaychitturi_4-1755634827271.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vinaychitturi_5-1755634827276.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/353118i8A32EFDC488E7D62/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vinaychitturi_5-1755634827276.png" alt="vinaychitturi_5-1755634827276.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vinaychitturi_6-1755634827285.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/353119i4B85D278E1FBCAA6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vinaychitturi_6-1755634827285.png" alt="vinaychitturi_6-1755634827285.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vinaychitturi_7-1755634827295.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/353120iD27DDE261222FFC4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vinaychitturi_7-1755634827295.png" alt="vinaychitturi_7-1755634827295.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In this Non-working project as you can see in ROM and RAM sections for the sram_no_cacheable section after .mcal_const_no_cacheable it is taking 4 bytes of gap for the ramcode_no_cacheable in ROM, 68 bytes in RAM. But that gap is not same in both RAM and ROM. SO when I am trying to copy Because of difference in bytes gap in RAM and ROM while copying from flash to sram during initialization it is getting overlapping.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I attached both working and non-working one . So now my question is why it is showing different memory alignment in ROM and RAM in these two projects, How can we make the ROM and RAM to have the similar alignment and similar gaps?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the previous reply you mentioned I need to align the 32kb as per the MPU align base address, But we are not utilizing that much non_cacheable memory. In the linker file the whole no_cacehable is only 0x4d00 bytes. What kind of changes do i need to do in the MPU?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vinaychitturi_8-1755635277455.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/353121i4437C8798ED51B80/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vinaychitturi_8-1755635277455.png" alt="vinaychitturi_8-1755635277455.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 19 Aug 2025 20:29:33 GMT</pubDate>
    <dc:creator>vinaychitturi</dc:creator>
    <dc:date>2025-08-19T20:29:33Z</dc:date>
    <item>
      <title>Code overlapping issue</title>
      <link>https://community.nxp.com/t5/S32K/Code-overlapping-issue/m-p/2153877#M51927</link>
      <description>&lt;P&gt;I am facing few issues with the assembly code for the SAF library Scheck_Dma_RamBlockingTransfer and sCheck_CortexM7_ErrRead functions. We have a section In memory map for the int_sram_no_cacheable section where we keep all the three particular sections.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vinaychitturi_0-1755549029711.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/352847iEB6A582FB8E89EC5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vinaychitturi_0-1755549029711.png" alt="vinaychitturi_0-1755549029711.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;So the issue right now is I am having a working project&amp;nbsp; with GHS based compiler with similar memory map and it is working good. when we add the BSW stack from third party on the base of working software then we are facing some issues, But the memory map file and everything are same and all the sections are looking good. I am not seeing any memory overlap in the memory section, In each section it has sufficient memory. But I can see the above mentioned functions are kind of overlapping to each other.&lt;/P&gt;&lt;P&gt;Working Project Images:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vinaychitturi_1-1755549029751.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/352849i1D52B94814FAFB0B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vinaychitturi_1-1755549029751.png" alt="vinaychitturi_1-1755549029751.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vinaychitturi_2-1755549029796.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/352848iE3D0E0D7C8C81E36/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vinaychitturi_2-1755549029796.png" alt="vinaychitturi_2-1755549029796.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vinaychitturi_3-1755549029841.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/352853i8BE19396B7F896A6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vinaychitturi_3-1755549029841.png" alt="vinaychitturi_3-1755549029841.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vinaychitturi_4-1755549029858.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/352850i7F9EDBA4CE2F5172/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vinaychitturi_4-1755549029858.png" alt="vinaychitturi_4-1755549029858.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Non_working project images:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vinaychitturi_5-1755549029889.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/352852iBF7A653C7356B1E9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vinaychitturi_5-1755549029889.png" alt="vinaychitturi_5-1755549029889.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vinaychitturi_6-1755549029963.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/352856i6D82D815AF8B5395/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vinaychitturi_6-1755549029963.png" alt="vinaychitturi_6-1755549029963.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vinaychitturi_7-1755549030016.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/352855iFF933F7DB525546F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vinaychitturi_7-1755549030016.png" alt="vinaychitturi_7-1755549030016.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vinaychitturi_8-1755549030028.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/352854i669B56AAD7385D1F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vinaychitturi_8-1755549030028.png" alt="vinaychitturi_8-1755549030028.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In those comparisons you can see the difference, These functions are kind of overlapping and it is not matching as mentioned in the map file. Currently we are seeing the hardfault handler error while running into these functions.&lt;/P&gt;&lt;P&gt;Can you guys help us to identify why exactly we are seeing this kind of behavior, It would be really beneficial to have a call and bevug this issue. This is kind of stopper for us for the next steps in this project for the integration.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Aug 2025 20:32:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Code-overlapping-issue/m-p/2153877#M51927</guid>
      <dc:creator>vinaychitturi</dc:creator>
      <dc:date>2025-08-18T20:32:37Z</dc:date>
    </item>
    <item>
      <title>Re: Code overlapping issue</title>
      <link>https://community.nxp.com/t5/S32K/Code-overlapping-issue/m-p/2154233#M51942</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/196765"&gt;@vinaychitturi&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;If the MAP file shows correct placements, the issue likely lies in the code copying process from Flash to SRAM.&lt;/P&gt;
&lt;P&gt;Could you please share the linker script and the startup code responsible for copying the code to SRAM?&lt;/P&gt;
&lt;P&gt;Additionally, you can place a watchpoint at the SRAM addresses where the affected functions are supposed to reside. Then, step through the startup code to observe how the memory is being initialized and whether any corruption or misalignment occurs during the copy process.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Aug 2025 08:36:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Code-overlapping-issue/m-p/2154233#M51942</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2025-08-19T08:36:28Z</dc:date>
    </item>
    <item>
      <title>Re: Code overlapping issue</title>
      <link>https://community.nxp.com/t5/S32K/Code-overlapping-issue/m-p/2154450#M51955</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/160001"&gt;@danielmartynek&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I shared the linker files and startup code, I will also look into the startup code sequence as you mentioned.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Aug 2025 13:41:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Code-overlapping-issue/m-p/2154450#M51955</guid>
      <dc:creator>vinaychitturi</dc:creator>
      <dc:date>2025-08-19T13:41:02Z</dc:date>
    </item>
    <item>
      <title>Re: Code overlapping issue</title>
      <link>https://community.nxp.com/t5/S32K/Code-overlapping-issue/m-p/2154472#M51958</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;for the files.&lt;/P&gt;
&lt;P&gt;I have noticed that the MPU region that starts at&amp;nbsp;__RAM_NO_CACHEABLE_START has size of 32KB. That means the MPU region should be aligned to the size.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you try aligning it to&amp;nbsp;32KB = 0x8000?&lt;/P&gt;
&lt;P&gt;&lt;A href="https://developer.arm.com/documentation/dui0646/c/Cortex-M7-Peripherals/Optional-Memory-Protection-Unit/MPU-Region-Base-Address-Register" target="_blank" rel="noopener"&gt;https://developer.arm.com/documentation/dui0646/c/Cortex-M7-Peripherals/Optional-Memory-Protection-Unit/MPU-Region-Base-Address-Register&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_0-1755612841881.png" style="width: 741px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/353039i1AE4AC6F7DD813DD/image-dimensions/741x152?v=v2" width="741" height="152" role="button" title="danielmartynek_0-1755612841881.png" alt="danielmartynek_0-1755612841881.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I'm not saying this is the root cause, but it should be aligned.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Tue, 19 Aug 2025 14:15:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Code-overlapping-issue/m-p/2154472#M51958</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2025-08-19T14:15:30Z</dc:date>
    </item>
    <item>
      <title>Re: Code overlapping issue</title>
      <link>https://community.nxp.com/t5/S32K/Code-overlapping-issue/m-p/2154711#M51964</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/160001"&gt;@danielmartynek&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I look the startup code and saw what is happening and why i am seeing the overlapping issue.&lt;/P&gt;&lt;P&gt;Working Project:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vinaychitturi_0-1755634827239.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/353113iE308E385E3543D1A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vinaychitturi_0-1755634827239.png" alt="vinaychitturi_0-1755634827239.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vinaychitturi_1-1755634827247.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/353114i61E6F1201C99B356/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vinaychitturi_1-1755634827247.png" alt="vinaychitturi_1-1755634827247.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vinaychitturi_2-1755634827257.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/353112iB2C73F672147F7AA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vinaychitturi_2-1755634827257.png" alt="vinaychitturi_2-1755634827257.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vinaychitturi_3-1755634827264.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/353115i3FB0346EACE55DCB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vinaychitturi_3-1755634827264.png" alt="vinaychitturi_3-1755634827264.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In this project as you can see in ROM and RAM sections for the sram_no_cacheable section after .mcal_const_no_cacheable it is taking 68 bytes of gap for the ramcode_no_cacheable. But that gap is present in both RAM and ROM which is good. SO when I am trying to copy I am able to copy the whole section from flash to sram during initialization because of same gap in RAM and ROM&amp;nbsp;&lt;/P&gt;&lt;P&gt;Non-Working Project:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vinaychitturi_4-1755634827271.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/353117i7F76B54824905A0F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vinaychitturi_4-1755634827271.png" alt="vinaychitturi_4-1755634827271.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vinaychitturi_5-1755634827276.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/353118i8A32EFDC488E7D62/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vinaychitturi_5-1755634827276.png" alt="vinaychitturi_5-1755634827276.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vinaychitturi_6-1755634827285.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/353119i4B85D278E1FBCAA6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vinaychitturi_6-1755634827285.png" alt="vinaychitturi_6-1755634827285.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vinaychitturi_7-1755634827295.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/353120iD27DDE261222FFC4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vinaychitturi_7-1755634827295.png" alt="vinaychitturi_7-1755634827295.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In this Non-working project as you can see in ROM and RAM sections for the sram_no_cacheable section after .mcal_const_no_cacheable it is taking 4 bytes of gap for the ramcode_no_cacheable in ROM, 68 bytes in RAM. But that gap is not same in both RAM and ROM. SO when I am trying to copy Because of difference in bytes gap in RAM and ROM while copying from flash to sram during initialization it is getting overlapping.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I attached both working and non-working one . So now my question is why it is showing different memory alignment in ROM and RAM in these two projects, How can we make the ROM and RAM to have the similar alignment and similar gaps?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the previous reply you mentioned I need to align the 32kb as per the MPU align base address, But we are not utilizing that much non_cacheable memory. In the linker file the whole no_cacehable is only 0x4d00 bytes. What kind of changes do i need to do in the MPU?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vinaychitturi_8-1755635277455.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/353121i4437C8798ED51B80/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vinaychitturi_8-1755635277455.png" alt="vinaychitturi_8-1755635277455.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Aug 2025 20:29:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Code-overlapping-issue/m-p/2154711#M51964</guid>
      <dc:creator>vinaychitturi</dc:creator>
      <dc:date>2025-08-19T20:29:33Z</dc:date>
    </item>
    <item>
      <title>Re: Code overlapping issue</title>
      <link>https://community.nxp.com/t5/S32K/Code-overlapping-issue/m-p/2155240#M51990</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/196765"&gt;@vinaychitturi&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Maybe you can aligned the section to 64bytes in the linker file.&lt;/P&gt;
&lt;P&gt;. = ALIGN(64);&lt;/P&gt;
&lt;P&gt;The SAF version is compatible with certain RTD drivers, and the release notes of the drivers specify the GHS compiler and linker options. Can you check the options in your project?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_0-1755692276855.png" style="width: 536px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/353287i218512496CBAED5A/image-dimensions/536x158?v=v2" width="536" height="158" role="button" title="danielmartynek_0-1755692276855.png" alt="danielmartynek_0-1755692276855.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Regarding the MPU, the MPU region must be aligned to its size, this is how ARM specified it. If you have 32KB region, it must be aligned to 32KB. But the size of the region can be also 8KB or 16KB.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Fri, 22 Aug 2025 07:06:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Code-overlapping-issue/m-p/2155240#M51990</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2025-08-22T07:06:49Z</dc:date>
    </item>
  </channel>
</rss>

