<?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: processor attempted a load or store at a location that does not permit the operation, S32K312 in S32K</title>
    <link>https://community.nxp.com/t5/S32K/processor-attempted-a-load-or-store-at-a-location-that-does-not/m-p/1597777#M20614</link>
    <description>&lt;P&gt;&lt;SPAN&gt;It can be compiled , and d&lt;/SPAN&gt;id you modify the LD file like me?&lt;/P&gt;</description>
    <pubDate>Mon, 13 Feb 2023 02:15:29 GMT</pubDate>
    <dc:creator>lijin_zhang</dc:creator>
    <dc:date>2023-02-13T02:15:29Z</dc:date>
    <item>
      <title>processor attempted a load or store at a location that does not permit the operation, S32K312</title>
      <link>https://community.nxp.com/t5/S32K/processor-attempted-a-load-or-store-at-a-location-that-does-not/m-p/1593711#M20450</link>
      <description>&lt;P&gt;&lt;SPAN&gt;When I only used to drive part of the program, the program was fine, when I added part of the function, there was a hardware interrupt, indicating an error;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The link file was changed after adding the function;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lijin_zhang_0-1675668027741.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/209675i167C9EFE40D2ACA8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lijin_zhang_0-1675668027741.png" alt="lijin_zhang_0-1675668027741.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;lijin_zhang_0-1675668027741.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="lijin_zhang_0-1675668089271.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/209677iCB22AFF3E85F1B55/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lijin_zhang_0-1675668089271.png" alt="lijin_zhang_0-1675668089271.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;lijin_zhang_0-1675668089271.png&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lijin_zhang_1-1675668118642.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/209678iC44F19242402D691/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lijin_zhang_1-1675668118642.png" alt="lijin_zhang_1-1675668118642.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;lijin_zhang_1-1675668118642.png&lt;/span&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>Mon, 06 Feb 2023 07:23:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/processor-attempted-a-load-or-store-at-a-location-that-does-not/m-p/1593711#M20450</guid>
      <dc:creator>lijin_zhang</dc:creator>
      <dc:date>2023-02-06T07:23:49Z</dc:date>
    </item>
    <item>
      <title>Re: processor attempted a load or store at a location that does not permit the operation, S32K312</title>
      <link>https://community.nxp.com/t5/S32K/processor-attempted-a-load-or-store-at-a-location-that-does-not/m-p/1593814#M20456</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/212195"&gt;@lijin_zhang&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;What function have you added?&lt;/P&gt;
&lt;P&gt;Does the error occur during the startup after the code is loaded before a breakpoint at main()?&lt;/P&gt;
&lt;P&gt;If so, you can start debugging startiing from the startup().&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_0-1675673676315.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/209710i6BF2EA8CCF32DFFA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="danielmartynek_0-1675673676315.png" alt="danielmartynek_0-1675673676315.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;danielmartynek_0-1675673676315.png&lt;/span&gt;&lt;/span&gt;&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>Mon, 06 Feb 2023 08:55:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/processor-attempted-a-load-or-store-at-a-location-that-does-not/m-p/1593814#M20456</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2023-02-06T08:55:01Z</dc:date>
    </item>
    <item>
      <title>Re: processor attempted a load or store at a location that does not permit the operation, S32K312</title>
      <link>https://community.nxp.com/t5/S32K/processor-attempted-a-load-or-store-at-a-location-that-does-not/m-p/1596125#M20528</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Thank you very much for your reply!&amp;nbsp;&amp;nbsp;I think it's probably not because official routines can be replicated.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If I take any of the official test cases and add a large enough array to change the link files, I can reproduce the problem,&lt;/SPAN&gt;I think there is a RAM&amp;nbsp; area overflow, for example : (.BSS )&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Settings are as follows:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;int_flash : ORIGIN = 0x00400000, LENGTH = 0x001D4000 /* 2048K - 176K (sBAF + HSE)*/&lt;BR /&gt;int_itcm : ORIGIN = 0x00000000, LENGTH = 0x00008000 /* 32K */&lt;BR /&gt;/*int_dtcm : ORIGIN = 0x20000000, LENGTH = 0x00010000*/ /* 64K */&lt;BR /&gt;int_dtcm : ORIGIN = 0x20000000, LENGTH = 0x00008000&lt;BR /&gt;int_sram : ORIGIN = 0x20400000, LENGTH = 0x00014F00 /* 80 KB */&lt;BR /&gt;int_sram_fls_rsv : ORIGIN = 0x20414F00, LENGTH = 0x00000100 /*0.25K*/&lt;BR /&gt;int_sram_stack_c0 : ORIGIN = 0x20415000, LENGTH = 0x00000800 /* 2k*/&lt;BR /&gt;int_sram_no_cacheable : ORIGIN = 0x20415800, LENGTH = 0x000025FF /* 32kb , needs to include int_results */&lt;BR /&gt;int_sram_results : ORIGIN = 0x20417DFF, LENGTH = 0x00000200&lt;BR /&gt;int_sram_shareable : ORIGIN = 0x20008000, LENGTH = 0x00010000 /* 3.5KB */&lt;BR /&gt;ram_rsvd2 : ORIGIN = 0x20418000, LENGTH = 0 /* End of SRAM */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lijin_zhang_0-1675910117480.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/210214iD3BC828192A4DDE9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lijin_zhang_0-1675910117480.png" alt="lijin_zhang_0-1675910117480.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;lijin_zhang_0-1675910117480.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;Look forward to your reply!&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2023 02:43:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/processor-attempted-a-load-or-store-at-a-location-that-does-not/m-p/1596125#M20528</guid>
      <dc:creator>lijin_zhang</dc:creator>
      <dc:date>2023-02-09T02:43:55Z</dc:date>
    </item>
    <item>
      <title>Re: processor attempted a load or store at a location that does not permit the operation, S32K312</title>
      <link>https://community.nxp.com/t5/S32K/processor-attempted-a-load-or-store-at-a-location-that-does-not/m-p/1596571#M20547</link>
      <description>&lt;P&gt;In that case, you should see ld errors.&lt;/P&gt;
&lt;P&gt;Something like this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_0-1675944562411.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/210304i7C623489C586EA15/image-size/medium?v=v2&amp;amp;px=400" role="button" title="danielmartynek_0-1675944562411.png" alt="danielmartynek_0-1675944562411.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;danielmartynek_0-1675944562411.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Can it be compiled?&lt;/P&gt;
&lt;P&gt;If so, you should see the variables the .map file.&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>Thu, 09 Feb 2023 12:11:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/processor-attempted-a-load-or-store-at-a-location-that-does-not/m-p/1596571#M20547</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2023-02-09T12:11:09Z</dc:date>
    </item>
    <item>
      <title>Re: processor attempted a load or store at a location that does not permit the operation, S32K312</title>
      <link>https://community.nxp.com/t5/S32K/processor-attempted-a-load-or-store-at-a-location-that-does-not/m-p/1597777#M20614</link>
      <description>&lt;P&gt;&lt;SPAN&gt;It can be compiled , and d&lt;/SPAN&gt;id you modify the LD file like me?&lt;/P&gt;</description>
      <pubDate>Mon, 13 Feb 2023 02:15:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/processor-attempted-a-load-or-store-at-a-location-that-does-not/m-p/1597777#M20614</guid>
      <dc:creator>lijin_zhang</dc:creator>
      <dc:date>2023-02-13T02:15:29Z</dc:date>
    </item>
    <item>
      <title>Re: processor attempted a load or store at a location that does not permit the operation, S32K312</title>
      <link>https://community.nxp.com/t5/S32K/processor-attempted-a-load-or-store-at-a-location-that-does-not/m-p/1598924#M20670</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/212195"&gt;@lijin_zhang&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Yes, the code compiles with the modified linker file.&lt;/P&gt;
&lt;P&gt;But I can't reproduce the fault exception.&lt;/P&gt;
&lt;P&gt;I would need to have your whole project and run it on my side.&lt;/P&gt;
&lt;P&gt;There is a wrong address in the linker you posted though:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_0-1676385470487.png" style="width: 546px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/210866iFD74E5A1AB2755BF/image-dimensions/546x107?v=v2" width="546" height="107" role="button" title="danielmartynek_0-1676385470487.png" alt="danielmartynek_0-1676385470487.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;danielmartynek_0-1676385470487.png&lt;/span&gt;&lt;/span&gt;&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, 14 Feb 2023 14:39:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/processor-attempted-a-load-or-store-at-a-location-that-does-not/m-p/1598924#M20670</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2023-02-14T14:39:18Z</dc:date>
    </item>
  </channel>
</rss>

