<?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: S32G274A Internal RAM No Cacheable in S32G</title>
    <link>https://community.nxp.com/t5/S32G/S32G274A-Internal-RAM-No-Cacheable/m-p/1880054#M7116</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;In general, are you using the MPU or not? If you are not planning on using the MPU, you should be able to disable it.&lt;/P&gt;
&lt;P&gt;As for the changes, these are the default configs. If you are using the MPU, you should configure it under Config Tools then initialize it.&lt;/P&gt;
&lt;P&gt;As for the Rm (which we assume it is XRDC), it does not configure the MPU. It will create domains and assign permits, but it is no MPU.&lt;/P&gt;
&lt;P&gt;Please, let us know.&lt;/P&gt;</description>
    <pubDate>Mon, 03 Jun 2024 20:37:19 GMT</pubDate>
    <dc:creator>Daniel-Aguirre</dc:creator>
    <dc:date>2024-06-03T20:37:19Z</dc:date>
    <item>
      <title>S32G274A Internal RAM No Cacheable</title>
      <link>https://community.nxp.com/t5/S32G/S32G274A-Internal-RAM-No-Cacheable/m-p/1879088#M7099</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have been working with S32G274A processor. I have been working on a bootloader and the default RAM configuration are as follows in the linker file:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;int_sram&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : ORIGIN = 0x34000000, LENGTH = 0x00080000 /* 512KB */&lt;BR /&gt;&lt;BR /&gt;int_sram_stack_c0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : ORIGIN = 0x34080000, LENGTH = 0x00002000 /* 8KB&amp;nbsp; */&lt;BR /&gt;int_sram_stack_c1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : ORIGIN = 0x34082000, LENGTH = 0x00002000 /* 8KB&amp;nbsp; */&lt;BR /&gt;int_sram_stack_c2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : ORIGIN = 0x34084000, LENGTH = 0x00002000 /* 8KB&amp;nbsp; */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;// Non Cacheable&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;int_sram_no_cacheable&amp;nbsp;&amp;nbsp; : ORIGIN = 0x34500000, LENGTH = 0x00100000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I reduced the sram size to 512 Kb but the sram no cacheable starts at 0x34500000 and my bootloader blows up to 5MB. It is difficult for me to allocate application image space in between. So I reconfigured the no cacheable address to 0x34100000 with 1 MB length and made the same changes in the RM module in the peripherals. I got this working and the total bootloader size was around ~ 1.2 MB. However, when I added some more code to my existing bootloader it crashed again and the SRAM no cacheable memory start address only accepts 0x34500000. If not this address it crashes. How do I properly change this no cacheable address so that I have a compact bootloader of around 2MB and can dedicate rest of the RAM space (~6 MB) for application space. I want to have continuous memory configuration.&lt;BR /&gt;&lt;BR /&gt;Best,&lt;BR /&gt;&lt;BR /&gt;Vishnu&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 31 May 2024 15:47:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/S32G274A-Internal-RAM-No-Cacheable/m-p/1879088#M7099</guid>
      <dc:creator>Vishnu3</dc:creator>
      <dc:date>2024-05-31T15:47:50Z</dc:date>
    </item>
    <item>
      <title>Re: S32G274A Internal RAM No Cacheable</title>
      <link>https://community.nxp.com/t5/S32G/S32G274A-Internal-RAM-No-Cacheable/m-p/1879900#M7112</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Did you configure the MPU? If not, this situation could be related to the MPU default configurations. The following is told by the internal team:&lt;/P&gt;
&lt;P&gt;"&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;S32DS project uses the default MPU configurations defined in core_specific.h through the array rbar[] and array rasr[], regardless of the memory region descriptions in linker_ram.ld.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;For RTD4.4.3(D2112) project, the file path of core_specific.h is generally C:\NXP\S32DS.3.4\S32DS\software\PlatformSDK_S32XX_2021_12\SW32_RTD_4_4_3_0_0_D2112\Platform_TS_T40D11M30I0R0\startup\include\ core_specific.h.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The changing in linker_ram.ld will be effective for image building but will not change the parameters for MPU configurations.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;"&lt;/P&gt;
&lt;P&gt;Please, let us know.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jun 2024 14:04:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/S32G274A-Internal-RAM-No-Cacheable/m-p/1879900#M7112</guid>
      <dc:creator>Daniel-Aguirre</dc:creator>
      <dc:date>2024-06-03T14:04:39Z</dc:date>
    </item>
    <item>
      <title>Re: S32G274A Internal RAM No Cacheable</title>
      <link>https://community.nxp.com/t5/S32G/S32G274A-Internal-RAM-No-Cacheable/m-p/1879996#M7114</link>
      <description>&lt;P&gt;Hi Daniel,&lt;BR /&gt;&lt;BR /&gt;Thank you for the response, I was able to figure this out. Now I am wondering how do I make these changes in the best way possible. The core_specific.h file is a file that is shared by all my projects, so where must I make the changes for the RBAR? Should I define them accordingly in the system.c file itself? Also, shouldn't configuring the RM module in the peripherals GUI automatically take care of this? Making changes in code like this is quite cumbersome.&lt;BR /&gt;&lt;BR /&gt;Best,&lt;BR /&gt;&lt;BR /&gt;Vishnu&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jun 2024 17:45:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/S32G274A-Internal-RAM-No-Cacheable/m-p/1879996#M7114</guid>
      <dc:creator>Vishnu3</dc:creator>
      <dc:date>2024-06-03T17:45:46Z</dc:date>
    </item>
    <item>
      <title>Re: S32G274A Internal RAM No Cacheable</title>
      <link>https://community.nxp.com/t5/S32G/S32G274A-Internal-RAM-No-Cacheable/m-p/1880054#M7116</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;In general, are you using the MPU or not? If you are not planning on using the MPU, you should be able to disable it.&lt;/P&gt;
&lt;P&gt;As for the changes, these are the default configs. If you are using the MPU, you should configure it under Config Tools then initialize it.&lt;/P&gt;
&lt;P&gt;As for the Rm (which we assume it is XRDC), it does not configure the MPU. It will create domains and assign permits, but it is no MPU.&lt;/P&gt;
&lt;P&gt;Please, let us know.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jun 2024 20:37:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/S32G274A-Internal-RAM-No-Cacheable/m-p/1880054#M7116</guid>
      <dc:creator>Daniel-Aguirre</dc:creator>
      <dc:date>2024-06-03T20:37:19Z</dc:date>
    </item>
    <item>
      <title>Re: S32G274A Internal RAM No Cacheable</title>
      <link>https://community.nxp.com/t5/S32G/S32G274A-Internal-RAM-No-Cacheable/m-p/1880308#M7127</link>
      <description>&lt;P&gt;Thank you for that info. Where can I configure MPU in the config tools? Please let me know.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Vishnu&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jun 2024 05:29:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/S32G274A-Internal-RAM-No-Cacheable/m-p/1880308#M7127</guid>
      <dc:creator>Vishnu3</dc:creator>
      <dc:date>2024-06-04T05:29:15Z</dc:date>
    </item>
    <item>
      <title>Re: S32G274A Internal RAM No Cacheable</title>
      <link>https://community.nxp.com/t5/S32G/S32G274A-Internal-RAM-No-Cacheable/m-p/1880312#M7128</link>
      <description>I am configuring the MPU_M7 under the RM, not XRDC. I think I am not initializing it properly. How can this be achieved?&lt;BR /&gt;</description>
      <pubDate>Tue, 04 Jun 2024 05:43:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/S32G274A-Internal-RAM-No-Cacheable/m-p/1880312#M7128</guid>
      <dc:creator>Vishnu3</dc:creator>
      <dc:date>2024-06-04T05:43:26Z</dc:date>
    </item>
    <item>
      <title>Re: S32G274A Internal RAM No Cacheable</title>
      <link>https://community.nxp.com/t5/S32G/S32G274A-Internal-RAM-No-Cacheable/m-p/1880640#M7141</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Thanks for your feedback. Are you using any NXP example? If not, can you reproduce the behavior under an NXP example?&lt;/P&gt;
&lt;P&gt;In which RTD version are you working on?&lt;/P&gt;
&lt;P&gt;We understand that, if configured correctly, the Rm_Init function should configure the MPU itself:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DanielAguirre_0-1717506109251.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/282398i8AC6434294D39268/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DanielAguirre_0-1717506109251.png" alt="DanielAguirre_0-1717506109251.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please, let us know.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jun 2024 13:01:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/S32G274A-Internal-RAM-No-Cacheable/m-p/1880640#M7141</guid>
      <dc:creator>Daniel-Aguirre</dc:creator>
      <dc:date>2024-06-04T13:01:55Z</dc:date>
    </item>
  </channel>
</rss>

