<?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: s32k312 standby RAM caused the project exception</title>
    <link>https://community.nxp.com/t5/S32K/s32k312-standby-RAM-caused-the-project-exception/m-p/1662398#M23531</link>
    <description>&lt;P&gt;Thanks for your reply, I think it is possible to successfully test the StandbyRAM functionality using a separate project. But now there is an urgent need to fix the anomaly in our project. The app project uses FreeRTOS, DTCM&lt;/P&gt;&lt;P&gt;Is standby RAM&amp;nbsp; MUST USE 32K ??&amp;nbsp; I&amp;nbsp; JUST want use 256 byte.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;int_sram_swc : ORIGIN = 0x20400000, LENGTH = 0x00000100 /* 256B */,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;0x20400&lt;STRONG&gt;100---0x20408000&lt;/STRONG&gt; is as normal RAM&lt;/P&gt;&lt;P&gt;APP project has use 120K RAM&lt;/P&gt;&lt;P&gt;I tracked down HardFault, and bothered to help analyze the possible causes.Please refer to the picture Thank you so much. Please refer to the picture&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="微信图片_20230602141416.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/226002i76AC98B1AC6C3EC7/image-size/large?v=v2&amp;amp;px=999" role="button" title="微信图片_20230602141416.png" alt="微信图片_20230602141416.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 02 Jun 2023 06:35:09 GMT</pubDate>
    <dc:creator>luhaiou</dc:creator>
    <dc:date>2023-06-02T06:35:09Z</dc:date>
    <item>
      <title>s32k312 standby RAM caused the project exception</title>
      <link>https://community.nxp.com/t5/S32K/s32k312-standby-RAM-caused-the-project-exception/m-p/1661923#M23513</link>
      <description>&lt;P&gt;here are the following questions that need your help to analyze.&lt;/P&gt;&lt;P&gt;Our project uses S32K312, which consists of boot and APP projects,&lt;BR /&gt;APP project has FreeRTOS system, and the RAM space used by APP project is greater than 120K.&lt;BR /&gt;When debugging standby RAM, it is found in the APP project that the data in standby RAM is not saved normally after sleeping wake-up.&lt;BR /&gt;The boot jump APP is normal at this time.&lt;BR /&gt;At this point the project's ld,map file is attached as an attachment.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The data in standby RAM is not saved properly,&lt;BR /&gt;we suspect that there is no standby RAM space reserved in the boot project,&lt;BR /&gt;resulting in the standby RAM being initialized in the boot project.&lt;BR /&gt;We add the following modifications to the LD file of boot,&amp;nbsp;&lt;/P&gt;&lt;P&gt;MEMORY&lt;BR /&gt;{&lt;BR /&gt;int_flash : ORIGIN = 0x00400000, LENGTH = 0x0003FFFC /* 256KB, PBL*/&lt;BR /&gt;int_flash_cmp_flag : ORIGIN = 0x0043FFFC, LENGTH = 0x00000004 /* 4B*/&lt;BR /&gt;int_itcm : ORIGIN = 0x00000000, LENGTH = 0x00008000 /* 32KB */&lt;BR /&gt;int_dtcm : ORIGIN = 0x20000000, LENGTH = 0x00010000 /* 64KB */&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;int_sram : ORIGIN = 0x20400000, LENGTH = 0x0000DF00 /* 56K - 256B*/&lt;/FONT&gt;&lt;BR /&gt;int_sram_fls_rsv : ORIGIN = 0x2040DF00, LENGTH = 0x00000100 /* 256byte */&lt;BR /&gt;int_sram_stack_c0 : ORIGIN = 0x2040E000, LENGTH = 0x00001000 /* 4K */&lt;BR /&gt;int_sram_no_cacheable : ORIGIN = 0x2040F000, LENGTH = 0x00004000 /* 16kb , needs to include int_results*/&lt;BR /&gt;int_sram_array_data : ORIGIN = 0x20413000, LENGTH = 0x00003E00 /* 16k - 512B */&lt;BR /&gt;int_sram_results : ORIGIN = 0x20416E00, LENGTH = 0x00000200 /* 512byte */&lt;BR /&gt;int_sram_shareable : ORIGIN = 0x20417000, LENGTH = 0x00001000 /* 4k */&lt;BR /&gt;ram_rsvd2 : ORIGIN = 0x20418000, LENGTH = 0 /* End of SRAM */&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;MEMORY&lt;BR /&gt;{&lt;BR /&gt;int_flash : ORIGIN = 0x00400000, LENGTH = 0x0003FFFC /* 256KB, PBL*/&lt;BR /&gt;int_flash_cmp_flag : ORIGIN = 0x0043FFFC, LENGTH = 0x00000004 /* 4B*/&lt;BR /&gt;int_itcm : ORIGIN = 0x00000000, LENGTH = 0x00008000 /* 32KB */&lt;BR /&gt;int_dtcm : ORIGIN = 0x20000000, LENGTH = 0x00010000 /* 64KB */&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;int_sram_swc : ORIGIN = 0x20400000, LENGTH = 0x00000100 /* 256B */&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;int_sram : ORIGIN = 0x20400100, LENGTH = 0x0000DE00 /* 56K - 512B*/&lt;/FONT&gt;&lt;BR /&gt;int_sram_fls_rsv : ORIGIN = 0x2040DF00, LENGTH = 0x00000100 /* 256byte */&lt;BR /&gt;int_sram_stack_c0 : ORIGIN = 0x2040E000, LENGTH = 0x00001000 /* 4K */&lt;BR /&gt;int_sram_no_cacheable : ORIGIN = 0x2040F000, LENGTH = 0x00004000 /* 16kb , needs to include int_results*/&lt;BR /&gt;int_sram_array_data : ORIGIN = 0x20413000, LENGTH = 0x00003E00 /* 16k - 512B */&lt;BR /&gt;int_sram_results : ORIGIN = 0x20416E00, LENGTH = 0x00000200 /* 512byte */&lt;BR /&gt;int_sram_shareable : ORIGIN = 0x20417000, LENGTH = 0x00001000 /* 4k */&lt;BR /&gt;ram_rsvd2 : ORIGIN = 0x20418000, LENGTH = 0 /* End of SRAM */&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;The test again found that the APP project could not work normally after the power failure and restart,&lt;BR /&gt;but when the PE debugger was connected, it was possible to jump from boot to APP work.&lt;BR /&gt;The app project has not been modified, only the ld file of the boot project has been modified,&lt;BR /&gt;why does it cause the APP to run abnormally?&lt;BR /&gt;Please help analyze thank you very much&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jun 2023 13:50:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k312-standby-RAM-caused-the-project-exception/m-p/1661923#M23513</guid>
      <dc:creator>luhaiou</dc:creator>
      <dc:date>2023-06-01T13:50:47Z</dc:date>
    </item>
    <item>
      <title>Re: s32k312 standby RAM caused the project exception</title>
      <link>https://community.nxp.com/t5/S32K/s32k312-standby-RAM-caused-the-project-exception/m-p/1662335#M23527</link>
      <description>&lt;P&gt;&lt;A href="mailto:Hi@luhaiou" target="_blank"&gt;Hi@luhaiou&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Can you create a new project to test the function of STANDBY RAM alone&lt;BR /&gt;I have cope the steps of using standby ram below, you can check if there is anything missing,&lt;/P&gt;
&lt;P&gt;below process base on S32K344,it should be same with S32K312&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Senlent_0-1685676802172.png" style="width: 735px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/225983i7A8614F91F73162A/image-dimensions/735x395?v=v2" width="735" height="395" role="button" title="Senlent_0-1685676802172.png" alt="Senlent_0-1685676802172.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="Senlent_1-1685676839620.png" style="width: 722px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/225984iD74F6DDBC5B87E00/image-dimensions/722x304?v=v2" width="722" height="304" role="button" title="Senlent_1-1685676839620.png" alt="Senlent_1-1685676839620.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="Senlent_2-1685676867723.png" style="width: 733px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/225985i2442F653AEC152DF/image-dimensions/733x275?v=v2" width="733" height="275" role="button" title="Senlent_2-1685676867723.png" alt="Senlent_2-1685676867723.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and finally you can refer to the routine of Standby RAM based on S32K344&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/S32K-Knowledge-Base/S32K3-Low-Power-Management-AN-and-demos/ta-p/1527724" target="_self"&gt;https://community.nxp.com/t5/S32K-Knowledge-Base/S32K3-Low-Power-Management-AN-and-demos/ta-p/1527724&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jun 2023 03:35:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k312-standby-RAM-caused-the-project-exception/m-p/1662335#M23527</guid>
      <dc:creator>Senlent</dc:creator>
      <dc:date>2023-06-02T03:35:40Z</dc:date>
    </item>
    <item>
      <title>Re: s32k312 standby RAM caused the project exception</title>
      <link>https://community.nxp.com/t5/S32K/s32k312-standby-RAM-caused-the-project-exception/m-p/1662398#M23531</link>
      <description>&lt;P&gt;Thanks for your reply, I think it is possible to successfully test the StandbyRAM functionality using a separate project. But now there is an urgent need to fix the anomaly in our project. The app project uses FreeRTOS, DTCM&lt;/P&gt;&lt;P&gt;Is standby RAM&amp;nbsp; MUST USE 32K ??&amp;nbsp; I&amp;nbsp; JUST want use 256 byte.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;int_sram_swc : ORIGIN = 0x20400000, LENGTH = 0x00000100 /* 256B */,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;0x20400&lt;STRONG&gt;100---0x20408000&lt;/STRONG&gt; is as normal RAM&lt;/P&gt;&lt;P&gt;APP project has use 120K RAM&lt;/P&gt;&lt;P&gt;I tracked down HardFault, and bothered to help analyze the possible causes.Please refer to the picture Thank you so much. Please refer to the picture&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="微信图片_20230602141416.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/226002i76AC98B1AC6C3EC7/image-size/large?v=v2&amp;amp;px=999" role="button" title="微信图片_20230602141416.png" alt="微信图片_20230602141416.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jun 2023 06:35:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k312-standby-RAM-caused-the-project-exception/m-p/1662398#M23531</guid>
      <dc:creator>luhaiou</dc:creator>
      <dc:date>2023-06-02T06:35:09Z</dc:date>
    </item>
    <item>
      <title>Re: s32k312 standby RAM caused the project exception</title>
      <link>https://community.nxp.com/t5/S32K/s32k312-standby-RAM-caused-the-project-exception/m-p/1662442#M23535</link>
      <description>&lt;P&gt;&lt;A href="mailto:Hi@luhaiou" target="_blank"&gt;Hi@luhaiou&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;There is no such limit.&lt;/P&gt;
&lt;P&gt;In the link of my last answer, the routine "S32K344_RTC_StandbyRAM_Wkup" allocates 256B of standby ram space for storing data.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Senlent_0-1685689565794.png" style="width: 574px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/226014i3194621F9A0BD17F/image-dimensions/574x353?v=v2" width="574" height="353" role="button" title="Senlent_0-1685689565794.png" alt="Senlent_0-1685689565794.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jun 2023 07:06:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k312-standby-RAM-caused-the-project-exception/m-p/1662442#M23535</guid>
      <dc:creator>Senlent</dc:creator>
      <dc:date>2023-06-02T07:06:37Z</dc:date>
    </item>
    <item>
      <title>Re: s32k312 standby RAM caused the project exception</title>
      <link>https://community.nxp.com/t5/S32K/s32k312-standby-RAM-caused-the-project-exception/m-p/1662941#M23572</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="企业微信截图_16857619935400.png" style="width: 892px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/226116iF6D8B802EC8F9C8F/image-size/large?v=v2&amp;amp;px=999" role="button" title="企业微信截图_16857619935400.png" alt="企业微信截图_16857619935400.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;1.You mentioned that D-cache must be disabled when using standby RAM. Please help analyze why D-cache must be disabled .&lt;/P&gt;&lt;P&gt;2.If I want to set my 256 byte standby RAM as non-cacheable, How will I set up the MPU?&lt;/P&gt;</description>
      <pubDate>Sat, 03 Jun 2023 03:25:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k312-standby-RAM-caused-the-project-exception/m-p/1662941#M23572</guid>
      <dc:creator>luhaiou</dc:creator>
      <dc:date>2023-06-03T03:25:23Z</dc:date>
    </item>
    <item>
      <title>Re: s32k312 standby RAM caused the project exception</title>
      <link>https://community.nxp.com/t5/S32K/s32k312-standby-RAM-caused-the-project-exception/m-p/1663113#M23587</link>
      <description>&lt;P&gt;&lt;A href="mailto:Hi@luhaiou" target="_blank"&gt;Hi@luhaiou&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Sorry for the late reply as it took a while to research.&lt;/P&gt;
&lt;P&gt;1. I found some answers that might explain the problem&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;"The recommendation is always to initialize all RAM memory before enabling Cache because all cacheable memory could be accessed at any time and could generate this kind of fault if it is not initialized previously. If customer wishes to enable Cache and after initializing Standby RAM then this region should be specified as non-cacheable in order to avoid this behavior."&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. Modify the 256byte standby ram to non-cacheable&lt;/P&gt;
&lt;P&gt;you can open "system.c " and modified code like below.&lt;/P&gt;
&lt;P&gt;rbar[5]=(uint32)__INT_SRAM_START;//__INT_SRAM_START here is 0x20400000.&lt;BR /&gt;rasr[5]=((uint32)0x130C0001UL)|(((uint32)0x08- 1) &amp;lt;&amp;lt; 1);//MPU_RASR-&amp;gt;SIZE = 0x07-&amp;gt;256byte&lt;/P&gt;
&lt;P&gt;0x130C0001UL refers to this configuration, here I only modified the SIZE register to 256byte&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Senlent_0-1685934902359.png" style="width: 690px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/226151i658D9B4788FBDD22/image-dimensions/690x207?v=v2" width="690" height="207" role="button" title="Senlent_0-1685934902359.png" alt="Senlent_0-1685934902359.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;MPU_RASR register map:&lt;A href="https://developer.arm.com/documentation/dui0646/c/Cortex-M7-Peripherals/Optional-Memory-Protection-Unit/MPU-Region-Attribute-and-Size-Register" target="_self"&gt;CM7 MPU&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Senlent_1-1685935106432.png" style="width: 647px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/226152i4E8218DE2CFB3946/image-dimensions/647x514?v=v2" width="647" height="514" role="button" title="Senlent_1-1685935106432.png" alt="Senlent_1-1685935106432.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jun 2023 03:19:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k312-standby-RAM-caused-the-project-exception/m-p/1663113#M23587</guid>
      <dc:creator>Senlent</dc:creator>
      <dc:date>2023-06-05T03:19:20Z</dc:date>
    </item>
    <item>
      <title>Re: s32k312 standby RAM caused the project exception</title>
      <link>https://community.nxp.com/t5/S32K/s32k312-standby-RAM-caused-the-project-exception/m-p/1663488#M23619</link>
      <description>&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;1.In order not to affect&amp;nbsp; “Ram unified section &amp;nbsp;+ stack”, I leave Region 5 unchanged.&lt;BR /&gt;Because M7 supports 16 regions, I have added an additional region 14, as shown below,&lt;BR /&gt;please evaluate whether this modification is appropriate.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="微信图片_20230605203056.png" style="width: 727px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/226246iB0E479764398942A/image-size/large?v=v2&amp;amp;px=999" role="button" title="微信图片_20230605203056.png" alt="微信图片_20230605203056.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;2.Refer to the M7 document, I am more confused,&lt;/P&gt;&lt;P&gt;and the content of the system.c file does not match, please help explain &lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="微信图片_20230605202434.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/226244iA873FA4BDB058E5C/image-size/large?v=v2&amp;amp;px=999" role="button" title="微信图片_20230605202434.png" alt="微信图片_20230605202434.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;/* Init MPU table for memory layout*/&lt;BR /&gt;/* Cover all memory on device as background set all memory as strong-order and no access*/&lt;BR /&gt;rbar[0]=0x00000000UL;&lt;BR /&gt;rasr[0]=0x1004003FUL; 2^32 = 4G entire memory&lt;BR /&gt;&lt;BR /&gt;/* ITCM for cortex M7 if no set it as zero */&lt;BR /&gt;rbar[1]=(uint32)__INT_ITCM_START;&lt;BR /&gt;rasr[1]=0x0104001FUL; &lt;FONT color="#333333"&gt;2^16 = 64K&lt;/FONT&gt;&lt;BR /&gt;/*Program flash which would extract from linker symbol*/&lt;BR /&gt;rbar[2]=(uint32)_&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;_ROM_CODE_START;&amp;nbsp; &amp;nbsp;int_flash : ORIGIN = 0x00440000, LENGTH = 0x001D4000，APP Project start&amp;nbsp;0x00440000,is not&amp;nbsp;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;aligned to the size of the region 4M&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;rasr[2]=0x060B002BUL; &lt;FONT color="#FF0000"&gt;2^22 = 4M&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;/*Data flash which would extract from linker symbol*/&lt;BR /&gt;rbar[3]=(uint32)&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;__ROM_DATA_START;&amp;nbsp; &amp;nbsp;s32k3 12&amp;nbsp; ld file&amp;nbsp;__ROM_DATA_START = 0x10000000,,s32k312 has no this space&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;rasr[3]=0x16050023UL; /* Device, Non-cache, Share */ 2^18 = 256K&lt;BR /&gt;&lt;BR /&gt;/*DTCM for cortex m7 if no set it as zero*/&lt;BR /&gt;rbar[4]=(uint32)__INT_DTCM_START;&lt;BR /&gt;rasr[4]=0x01040021UL; 2^17 = 128 K&lt;BR /&gt;&lt;BR /&gt;/*Ram unified section + stack*/&lt;BR /&gt;#if !defined(S32K344) &amp;amp;&amp;amp; !defined(S32K324)&lt;BR /&gt;rbar[5]=(uint32)__INT_SRAM_START;&lt;EM&gt;&lt;STRONG&gt;app project&amp;nbsp;&lt;/STRONG&gt;&lt;STRONG&gt;&lt;EM&gt;int_sram : &lt;/EM&gt;ORIGIN = 0x20400100,&lt;FONT color="#FF0000"&gt;is not&amp;nbsp;&lt;/FONT&gt;&lt;FONT color="#FF0000"&gt;aligned to the size of the region&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;rasr[5]=((uint32)0x030B0001UL)|(((uint32)&lt;FONT color="#FF0000"&gt;__RAM_CACHEABLE_SIZE - 1&lt;/FONT&gt;) &amp;lt;&amp;lt; 1);&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;2^15 = 32K&lt;/FONT&gt; , &lt;FONT color="#FF0000"&gt;__RAM_NO_CACHEABLE_SIZE = 0xF; /* 32kbyte in power of 2 */,It is not match my ld file,Refer to the attachment&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;#else&lt;BR /&gt;rbar[5]=(uint32)__INT_SRAM_START;&lt;BR /&gt;/*disable subregion 7-8*/&lt;BR /&gt;rasr[5]=((uint32)0x030B0001UL)|(((uint32)__RAM_CACHEABLE_SIZE - 1) &amp;lt;&amp;lt; 1)|(1&amp;lt;&amp;lt;15)|(1&amp;lt;&amp;lt;14); 2^15 = 32K,&lt;FONT color="#FF0000"&gt;it is not match my ld file,Refer to the attachment&lt;/FONT&gt;&lt;BR /&gt;#endif&lt;BR /&gt;&lt;BR /&gt;/*Ram non-cache section plus int result which is using for test report*/&lt;BR /&gt;rbar[6]=(uint32)__RAM_NO_CACHEABLE_START;&lt;BR /&gt;rasr[6]= ((uint32)0x130C0001UL)|(((uint32)__RAM_NO_CACHEABLE_SIZE - 1) &amp;lt;&amp;lt; 1); 2^15 = 32K&lt;FONT color="#FF0000"&gt;,and it is not match my ld file,Refer to the attachment&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;/*Ram shareable section*/&lt;BR /&gt;rbar[7]=(uint32)__RAM_SHAREABLE_START;&lt;BR /&gt;rasr[7]=((uint32)0x130C0001UL)|(((uint32)__RAM_SHAREABLE_SIZE - 1) &amp;lt;&amp;lt; 1); 2^15 = 32K,&lt;FONT color="#FF0000"&gt;and it is not match my ld file,Refer to the attachment&lt;/FONT&gt;&lt;BR /&gt;/* Additional configuration for peripheral device*/&lt;BR /&gt;&lt;BR /&gt;/*AIPS_0*/&lt;BR /&gt;rbar[8]=0x40000000UL;&lt;BR /&gt;rasr[8]=0x13050029UL; 2^21 = 2M&lt;BR /&gt;&lt;BR /&gt;/*AIPS_1*/&lt;BR /&gt;rbar[9]=0x40200000UL;&lt;BR /&gt;rasr[9]=0x13050029UL; 2^21 = 2M&lt;BR /&gt;&lt;BR /&gt;/*AIPS_2*/&lt;BR /&gt;rbar[10]=0x40400000UL;&lt;BR /&gt;rasr[10]=0x13050029UL; 2^21 = 2M&lt;BR /&gt;&lt;BR /&gt;/*QSPI Rx*/&lt;BR /&gt;rbar[11]=0x67000000UL;&lt;BR /&gt;rasr[11]=0x13050013UL; &lt;FONT color="#808080"&gt;2^10 = 1K&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;/*QSPI AHB*/&lt;BR /&gt;rbar[12]=0x68000000UL;&lt;BR /&gt;rasr[12]=0x030B0035UL; 2^27 = 128M&lt;BR /&gt;&lt;BR /&gt;/*QSPI AHB*/&lt;BR /&gt;rbar[13]=0xE0000000UL;&lt;BR /&gt;rasr[13]=0x13040027UL; 2^20 = 1M&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2023 06:12:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k312-standby-RAM-caused-the-project-exception/m-p/1663488#M23619</guid>
      <dc:creator>luhaiou</dc:creator>
      <dc:date>2023-06-06T06:12:37Z</dc:date>
    </item>
    <item>
      <title>Re: s32k312 standby RAM caused the project exception</title>
      <link>https://community.nxp.com/t5/S32K/s32k312-standby-RAM-caused-the-project-exception/m-p/1663993#M23653</link>
      <description>&lt;P&gt;&lt;A href="mailto:Hi@luhaiou" target="_blank" rel="noopener"&gt;Hi@luhaiou&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;1.I may have miscalculated here,&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Senlent_0-1686033885741.png" style="width: 705px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/226348i3F971288FA968DC1/image-dimensions/705x62?v=v2" width="705" height="62" role="button" title="Senlent_0-1686033885741.png" alt="Senlent_0-1686033885741.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;0x130c000f-&amp;gt;00010011000011000000000000&lt;FONT color="#FF0000"&gt;00111&lt;/FONT&gt;1-&amp;gt;MPU_RASR.SIZE = 7-&amp;gt;128kb.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;for 258KB,no need to subtract 1&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;rbar[14]=0x20400000;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;rasr[14]=((uint32)0x130C0001UL)|(((uint32)0x08) &amp;lt;&amp;lt; 1);;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2.The address alignment of the default configuration given by S32 DS should be no problem.&lt;/P&gt;
&lt;P&gt;I will summarize the calculation process as follows:&lt;/P&gt;
&lt;P&gt;for example:&lt;/P&gt;
&lt;P&gt;0x060B002BUL-&amp;gt;0b0110000010110000000000&lt;FONT color="#FF0000"&gt;10101&lt;/FONT&gt;1-&amp;gt;MPU_RASR.SIZE = 21-&amp;gt;Region size = 2MB&lt;/P&gt;
&lt;P&gt;2MB region must be aligned on a multiple of 2MB:&lt;/P&gt;
&lt;P&gt;2MB = 2^21-&amp;gt;0x00200000&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>Tue, 06 Jun 2023 07:02:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k312-standby-RAM-caused-the-project-exception/m-p/1663993#M23653</guid>
      <dc:creator>Senlent</dc:creator>
      <dc:date>2023-06-06T07:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: s32k312 standby RAM caused the project exception</title>
      <link>https://community.nxp.com/t5/S32K/s32k312-standby-RAM-caused-the-project-exception/m-p/1664419#M23681</link>
      <description>&lt;P&gt;1.&lt;SPAN&gt;for 256 Byte,may need to subtract 1,please evaluate whether this&amp;nbsp;is right.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="微信图片_20230606221219.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/226453i3D864720F45B6DAA/image-size/large?v=v2&amp;amp;px=999" role="button" title="微信图片_20230606221219.png" alt="微信图片_20230606221219.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="微信图片_20230606221241.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/226454i83F7BFB9D985F627/image-size/large?v=v2&amp;amp;px=999" role="button" title="微信图片_20230606221241.png" alt="微信图片_20230606221241.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;2.&lt;SPAN&gt;default configuration given in&amp;nbsp;system.c , In fact, it is indeed misaligned&lt;/SPAN&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;/*Ram unified section + stack*/&lt;BR /&gt;#if !defined(S32K344) &amp;amp;&amp;amp; !defined(S32K324)&lt;BR /&gt;rbar[5]=(uint32)_&lt;FONT color="#FF0000"&gt;_INT_SRAM_START&lt;/FONT&gt;;&lt;BR /&gt;rasr[5]=((uint32)0x030B0001UL)|(((uint32)&lt;FONT color="#FF0000"&gt;__RAM_CACHEABLE_SIZE - 1&lt;/FONT&gt;) &amp;lt;&amp;lt; 1);&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; IN &lt;EM&gt;&lt;STRONG&gt;app.&lt;/STRONG&gt;&lt;STRONG&gt;&lt;EM&gt;ld&amp;nbsp;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;file&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; int_sram : ORIGIN = &lt;FONT color="#FF0000"&gt;0x20400100&lt;/FONT&gt;, LENGTH = &lt;FONT color="#FF0000"&gt;0x0000DE00&lt;/FONT&gt; /* 56K - 512B*/&lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;EM&gt;&lt;STRONG&gt;&lt;FONT color="#333333"&gt;&amp;nbsp;__INT_SRAM_START = ORIGIN(int_sram);&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;FONT color="#333333"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; __RAM_CACHEABLE_SIZE = 0xF; /* 32kbyte in power of 2 */&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;0x20400100 &lt;FONT color="#333333"&gt;is not&amp;nbsp;aligned to 2^((0xF-1)+1)= 32K,&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;&lt;FONT color="#333333"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;FONT color="#FF0000"&gt;0x0000DE00&lt;/FONT&gt; is bigger than&amp;nbsp;2^((0xF-1)+1)= 32K&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;&lt;FONT color="#333333"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;Will this have any bad effects?&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;FONT color="#333333"&gt;&amp;nbsp;3. I change&amp;nbsp; boot memory section ,I have uploaded the file&amp;nbsp;system.c(system.txt)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;FONT color="#333333"&gt;MEMORY&lt;BR /&gt;{&lt;BR /&gt;int_flash : ORIGIN = 0x00400000, LENGTH = 0x0003FFFC /* 256KB, PBL*/&lt;BR /&gt;int_flash_cmp_flag : ORIGIN = 0x0043FFFC, LENGTH = 0x00000004 /* 4B*/&lt;BR /&gt;int_itcm : ORIGIN = 0x00000000, LENGTH = 0x00008000 /* 32KB */&lt;BR /&gt;int_dtcm : ORIGIN = 0x20000000, LENGTH = 0x00010000 /* 64KB */&lt;BR /&gt;int_sram_swc : ORIGIN = 0x20400000, LENGTH = 0x00001000 /* 4K */&lt;BR /&gt;int_sram : ORIGIN = 0x20401000, LENGTH = 0x0000DF00 /* 56KB - 256B , Static data sections and heap section */&lt;BR /&gt;int_sram_fls_rsv : ORIGIN = 0x2040EF00, LENGTH = 0x00000100 /* 256B , base not used */&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;&lt;STRONG&gt;int_dtcm_sram_stack_c0 : ORIGIN = 0x2040F000, LENGTH = 0x00001000 /* 4K , Stack section of core 0 */&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;int_sram_no_cacheable : ORIGIN = 0x20410000, LENGTH = 0x00005F00 /* 24KB - 256B, Non-cacheable section */&lt;BR /&gt;int_sram_results : ORIGIN = 0x20415F00, LENGTH = 0x00000100 /* 256B , Result section */&lt;BR /&gt;int_sram_shareable : ORIGIN = 0x20416000, LENGTH = 0x00002000 /* 8KB , Shareable section */&lt;BR /&gt;ram_rsvd2 : ORIGIN = 0x20418000, LENGTH = 0 /* End of SRAM */&lt;BR /&gt;}&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;I only changed the partition range of different RAM,Why it causes boot project a hardware interrupt?&lt;/P&gt;&lt;P&gt;The error occurs with systen.c before the main function&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="微信图片_20230606224503.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/226461iC42B6DB9341CB799/image-size/large?v=v2&amp;amp;px=999" role="button" title="微信图片_20230606224503.png" alt="微信图片_20230606224503.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2023 03:26:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k312-standby-RAM-caused-the-project-exception/m-p/1664419#M23681</guid>
      <dc:creator>luhaiou</dc:creator>
      <dc:date>2023-06-07T03:26:57Z</dc:date>
    </item>
    <item>
      <title>Re: s32k312 standby RAM caused the project exception</title>
      <link>https://community.nxp.com/t5/S32K/s32k312-standby-RAM-caused-the-project-exception/m-p/1664842#M23699</link>
      <description>&lt;P&gt;&lt;A href="mailto:Hi@lihaiou" target="_blank"&gt;Hi@lihaiou&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I am also not familiar with these modules, welcome to continue the discussion&lt;/P&gt;
&lt;P&gt;1. Indeed, I didn't see this detail, this confused me for a while&lt;BR /&gt;2. You may have misunderstood me, I mean there is no problem with the default link file and the MPU configuration in system.c&lt;BR /&gt;3 .I did a test and modified the linker and system.c according to your method. Some parts of the MPU configuration you provided are wrong, so I made some modifications.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2023 05:53:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k312-standby-RAM-caused-the-project-exception/m-p/1664842#M23699</guid>
      <dc:creator>Senlent</dc:creator>
      <dc:date>2023-06-07T05:53:20Z</dc:date>
    </item>
    <item>
      <title>Re: s32k312 standby RAM caused the project exception</title>
      <link>https://community.nxp.com/t5/S32K/s32k312-standby-RAM-caused-the-project-exception/m-p/1665215#M23715</link>
      <description>&lt;P&gt;&lt;SPAN class=""&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/188029"&gt;@Senlent&lt;/a&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thank you for your continued support, thank you very much.&lt;/P&gt;&lt;P&gt;Depending on the modifications you provide, boot is ok. I have one more question to ask.&lt;/P&gt;&lt;P&gt;It is about MPU Region Base Address.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="微信图片_20230607205416.png" style="width: 979px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/226639i26F265B5D39BCF5B/image-size/large?v=v2&amp;amp;px=999" role="button" title="微信图片_20230607205416.png" alt="微信图片_20230607205416.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="微信图片_20230607205516.png" style="width: 963px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/226640i96BA179B95A2623D/image-size/large?v=v2&amp;amp;px=999" role="button" title="微信图片_20230607205516.png" alt="微信图片_20230607205516.png" /&gt;&lt;/span&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;my boot project&amp;nbsp; sram address is&amp;nbsp;0x20401000，size 64k,N=log2(64K)=16.&lt;/P&gt;&lt;P&gt;0x20401000 is not aligned to 64K.&lt;/P&gt;&lt;P&gt;I think the misaligned parts will be discarded inside the MPU. I want to confirm with you if this idea is true.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="微信图片_20230607211507.png" style="width: 564px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/226642i1DEE715826AF6591/image-size/large?v=v2&amp;amp;px=999" role="button" title="微信图片_20230607211507.png" alt="微信图片_20230607211507.png" /&gt;&lt;/span&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2023 13:25:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k312-standby-RAM-caused-the-project-exception/m-p/1665215#M23715</guid>
      <dc:creator>luhaiou</dc:creator>
      <dc:date>2023-06-07T13:25:22Z</dc:date>
    </item>
    <item>
      <title>Re: s32k312 standby RAM caused the project exception</title>
      <link>https://community.nxp.com/t5/S32K/s32k312-standby-RAM-caused-the-project-exception/m-p/1665767#M23731</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&lt;A href="mailto:Hi@luhaiou" target="_blank"&gt;Hi@luhaiou&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Your calculation is correct, this is indeed wrong, my original idea is to first set the starting position of 0x20400000 as:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /*Ram unified section&amp;nbsp; + stack*/&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;#if&lt;/STRONG&gt; !defined(S32K344) &amp;amp;&amp;amp; !defined(S32K324)&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;rbar[5]=(uint32)&lt;STRONG&gt;0x20400000&lt;/STRONG&gt;;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; rasr[5]=((uint32)0x030B0001UL)|(((uint32)0x10 - 1) &amp;lt;&amp;lt; 1);//64k&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;#else&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; rbar[5]=(uint32)__INT_SRAM_START;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /*disable &lt;U&gt;subregion&lt;/U&gt; 7-8*/&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; rasr[5]=((uint32)0x030B0001UL)|(((uint32)__RAM_CACHEABLE_SIZE - 1) &amp;lt;&amp;lt; 1)|(1&amp;lt;&amp;lt;15)|(1&amp;lt;&amp;lt;14);&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;#endif&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Then set the 4K region from 0x20400000 to 0x20401000 as:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; /*standby ram*/&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; rbar[14]=(uint32)__STANDBY_SRAM_START;//&lt;STRONG&gt;0x20400000&lt;/STRONG&gt; ,length = 0x00001000&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; rasr[14]= ((uint32)0x130C0001UL)|(((uint32)0x0C- 1) &amp;lt;&amp;lt; 1);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I think the above settings should be correct, and there will be no alignment problems.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;In addition&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;there seems to be no problem here even if it is not aligned. I have read some answers and their explanation is:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;“In general, RAM accesses on Cortex-M7 based devices do not have to be aligned in any way. The Cortex-M7 core can handle unaligned accesses by hardware（but I don't know how it works）. Usually, variables should be naturally aligned because these accesses are slightly faster than unaligned accesses.”&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jun 2023 03:25:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k312-standby-RAM-caused-the-project-exception/m-p/1665767#M23731</guid>
      <dc:creator>Senlent</dc:creator>
      <dc:date>2023-06-08T03:25:11Z</dc:date>
    </item>
    <item>
      <title>Re: s32k312 standby RAM caused the project exception</title>
      <link>https://community.nxp.com/t5/S32K/s32k312-standby-RAM-caused-the-project-exception/m-p/1898112#M37130</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Senlent ,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I use S32K314, follow you standby ram step.&lt;/P&gt;&lt;P&gt;But, I have a question, where should I use the standby_sram_init func from step2. ?&lt;/P&gt;&lt;P&gt;every time power on? or before enter standby?&lt;/P&gt;&lt;P&gt;With just these steps, i can save data in standby ram between run mode and stabdby mode, right?&lt;/P&gt;&lt;P&gt;plz help me, thx.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jul 2024 07:36:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k312-standby-RAM-caused-the-project-exception/m-p/1898112#M37130</guid>
      <dc:creator>SHCHOU</dc:creator>
      <dc:date>2024-07-03T07:36:19Z</dc:date>
    </item>
  </channel>
</rss>

