<?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: How to get a  SRAM section without initialize in K312? in K32 L Series Microcontrollers</title>
    <link>https://community.nxp.com/t5/K32-L-Series-Microcontrollers/How-to-get-a-SRAM-section-without-initialize-in-K312/m-p/1956942#M232</link>
    <description>&lt;P&gt;Hi&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;Thank you for your help,I have made modifications to the. s file according to the instructions you provided, and confirmed that the current partition is 0x100, which is a multiple of 64 bits. However, I still encountered a hardware failure&lt;/P&gt;&lt;P&gt;The following are the modifications I made in the. s file:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Reyna_pan45_4-1726690481534.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/299794i80B67387EF9CE0F8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Reyna_pan45_4-1726690481534.png" alt="Reyna_pan45_4-1726690481534.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Reyna_pan45_4-1726690481534.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Reyna_pan45_2-1726690439909.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/299792i29376FBE4EFCE870/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Reyna_pan45_2-1726690439909.png" alt="Reyna_pan45_2-1726690439909.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Reyna_pan45_2-1726690439909.png&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Reyna_pan45_3-1726690452945.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/299793i89C886E8B7816D1F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Reyna_pan45_3-1726690452945.png" alt="Reyna_pan45_3-1726690452945.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Reyna_pan45_3-1726690452945.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Based on the above phenomenon, my question is as follows:&lt;BR /&gt;1.Is this modification correct?&lt;BR /&gt;2.Can you provide the routine for how to modify and close this fault in the MPU you mentioned?&lt;BR /&gt;3.And, after this modification, I found a new issue: it will cause the generated hex file to contain this part of the content. Do you know how to modify this issue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 18 Sep 2024 20:18:08 GMT</pubDate>
    <dc:creator>Reyna_pan45</dc:creator>
    <dc:date>2024-09-18T20:18:08Z</dc:date>
    <item>
      <title>How to get a  SRAM section without initialize in K312?</title>
      <link>https://community.nxp.com/t5/K32-L-Series-Microcontrollers/How-to-get-a-SRAM-section-without-initialize-in-K312/m-p/1954218#M227</link>
      <description>&lt;P&gt;Hi everyone&lt;/P&gt;&lt;P&gt;&amp;nbsp; I need to pass some information from boot to the app,so I think it's a good way to get some uninitialize&amp;nbsp;SRAM section ,and define some variant here,as you can see:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Reyna_pan45_0-1726225149954.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/299045i8A8DF7C30E27A177/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Reyna_pan45_0-1726225149954.png" alt="Reyna_pan45_0-1726225149954.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Reyna_pan45_0-1726225149954.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Reyna_pan45_1-1726225171064.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/299046iDA30BA1E77E8F236/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Reyna_pan45_1-1726225171064.png" alt="Reyna_pan45_1-1726225171064.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Reyna_pan45_1-1726225171064.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Reyna_pan45_2-1726225281385.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/299047iBC11EEEA0CA48BD8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Reyna_pan45_2-1726225281385.png" alt="Reyna_pan45_2-1726225281385.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Reyna_pan45_2-1726225281385.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But when I read the values of these variables, there are some hardware failures:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Reyna_pan45_3-1726225494045.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/299048iEB1FF7D0BE3720A0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Reyna_pan45_3-1726225494045.png" alt="Reyna_pan45_3-1726225494045.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Reyna_pan45_3-1726225494045.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So Maybe there's something wrong with the way I wrote it.&lt;/P&gt;&lt;P&gt;but,how to&amp;nbsp;get a SRAM section without initialize in K312?&lt;/P&gt;&lt;P&gt;or how can i pass some information from boot to app not used dataflash?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Sep 2024 11:08:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/K32-L-Series-Microcontrollers/How-to-get-a-SRAM-section-without-initialize-in-K312/m-p/1954218#M227</guid>
      <dc:creator>Reyna_pan45</dc:creator>
      <dc:date>2024-09-13T11:08:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to get a  SRAM section without initialize in K312?</title>
      <link>https://community.nxp.com/t5/K32-L-Series-Microcontrollers/How-to-get-a-SRAM-section-without-initialize-in-K312/m-p/1955659#M231</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/222500"&gt;@Reyna_pan45&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Have a look at the default &lt;STRONG&gt;linker_flash_s32k312.ld&lt;/STRONG&gt; and &lt;STRONG&gt;startup_cm7.s, &lt;/STRONG&gt;the SRAM ECC is initialized up to __INT_SRAM_END which is ORIGIN(ram_rsvd2). You placed the new section behind that, so it is not initialized.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_0-1726581151292.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/299414i7AF4F327DC45FEFA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="danielmartynek_0-1726581151292.png" alt="danielmartynek_0-1726581151292.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;danielmartynek_0-1726581151292.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Before the memory can be read, its ECC must be initialized.&lt;/P&gt;
&lt;P&gt;It can be initialized later, but it must be a 64bit write.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_1-1726581439837.png" style="width: 590px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/299415iAE94B94BB4103AFD/image-dimensions/590x180?v=v2" width="590" height="180" role="button" title="danielmartynek_1-1726581439837.png" alt="danielmartynek_1-1726581439837.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;danielmartynek_1-1726581439837.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The SRAM is retain through functional system reset only.&lt;/P&gt;
&lt;P&gt;The bootloader / application can check the source of the reset and skip the ECC initialization if needed, this was discussed here: &lt;A href="https://community.nxp.com/t5/S32K/SRAM-ECC-Initialization-for-S32K344/m-p/1764143" target="_blank"&gt;https://community.nxp.com/t5/S32K/SRAM-ECC-Initialization-for-S32K344/m-p/1764143&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There can be also issues with the MPU that is initialized in &lt;STRONG&gt;system.c&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;This would result in a MemManage fault exception.&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2024 14:04:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/K32-L-Series-Microcontrollers/How-to-get-a-SRAM-section-without-initialize-in-K312/m-p/1955659#M231</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2024-09-17T14:04:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to get a  SRAM section without initialize in K312?</title>
      <link>https://community.nxp.com/t5/K32-L-Series-Microcontrollers/How-to-get-a-SRAM-section-without-initialize-in-K312/m-p/1956942#M232</link>
      <description>&lt;P&gt;Hi&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;Thank you for your help,I have made modifications to the. s file according to the instructions you provided, and confirmed that the current partition is 0x100, which is a multiple of 64 bits. However, I still encountered a hardware failure&lt;/P&gt;&lt;P&gt;The following are the modifications I made in the. s file:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Reyna_pan45_4-1726690481534.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/299794i80B67387EF9CE0F8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Reyna_pan45_4-1726690481534.png" alt="Reyna_pan45_4-1726690481534.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Reyna_pan45_4-1726690481534.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Reyna_pan45_2-1726690439909.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/299792i29376FBE4EFCE870/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Reyna_pan45_2-1726690439909.png" alt="Reyna_pan45_2-1726690439909.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Reyna_pan45_2-1726690439909.png&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Reyna_pan45_3-1726690452945.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/299793i89C886E8B7816D1F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Reyna_pan45_3-1726690452945.png" alt="Reyna_pan45_3-1726690452945.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Reyna_pan45_3-1726690452945.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Based on the above phenomenon, my question is as follows:&lt;BR /&gt;1.Is this modification correct?&lt;BR /&gt;2.Can you provide the routine for how to modify and close this fault in the MPU you mentioned?&lt;BR /&gt;3.And, after this modification, I found a new issue: it will cause the generated hex file to contain this part of the content. Do you know how to modify this issue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2024 20:18:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/K32-L-Series-Microcontrollers/How-to-get-a-SRAM-section-without-initialize-in-K312/m-p/1956942#M232</guid>
      <dc:creator>Reyna_pan45</dc:creator>
      <dc:date>2024-09-18T20:18:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to get a  SRAM section without initialize in K312?</title>
      <link>https://community.nxp.com/t5/K32-L-Series-Microcontrollers/How-to-get-a-SRAM-section-without-initialize-in-K312/m-p/1958474#M233</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/222500"&gt;@Reyna_pan45&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;1.&lt;/P&gt;
&lt;P&gt;You can use the Power_Ip RTD driver to trigger a funcional reset to see if the ECC initialization is skipped. Also, you can implement this on your new section only.&lt;/P&gt;
&lt;P&gt;2.&lt;/P&gt;
&lt;P&gt;I don't know if there is any issue with the MPU.&lt;/P&gt;
&lt;P&gt;Anyway, the MPU can be disabled in system.c&lt;/P&gt;
&lt;P&gt;3.&lt;/P&gt;
&lt;P&gt;I don't understand the question, please elaborate.&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, 20 Sep 2024 07:03:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/K32-L-Series-Microcontrollers/How-to-get-a-SRAM-section-without-initialize-in-K312/m-p/1958474#M233</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2024-09-20T07:03:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to get a  SRAM section without initialize in K312?</title>
      <link>https://community.nxp.com/t5/K32-L-Series-Microcontrollers/How-to-get-a-SRAM-section-without-initialize-in-K312/m-p/1963468#M234</link>
      <description>&lt;P&gt;Hi&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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your help !&lt;/P&gt;&lt;P&gt;Problem 3 is caused by my incorrect area definition，&lt;/P&gt;&lt;P&gt;and after your prompt, I have&amp;nbsp; resolved this issue .&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2024 09:48:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/K32-L-Series-Microcontrollers/How-to-get-a-SRAM-section-without-initialize-in-K312/m-p/1963468#M234</guid>
      <dc:creator>Reyna_pan45</dc:creator>
      <dc:date>2024-09-27T09:48:45Z</dc:date>
    </item>
  </channel>
</rss>

