<?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: Data access violation error when debugging in IAR</title>
    <link>https://community.nxp.com/t5/S32K/Data-access-violation-error-when-debugging-in-IAR/m-p/2030637#M45274</link>
    <description>&lt;P&gt;Hello WENPING LIU,&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;The .icf is a format used by the IAR IDE.&lt;/P&gt;
&lt;P&gt;Refer to IAR documentation:&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;IAR C/C++ Development Guide Compiling and Linking&lt;/P&gt;
&lt;P&gt;&lt;A href="https://wwwfiles.iar.com/arm/webic/doc/EWARM_DevelopmentGuide.ENU.pdf" target="_blank"&gt;https://wwwfiles.iar.com/arm/webic/doc/EWARM_DevelopmentGuide.ENU.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
    <pubDate>Mon, 20 Jan 2025 11:25:57 GMT</pubDate>
    <dc:creator>danielmartynek</dc:creator>
    <dc:date>2025-01-20T11:25:57Z</dc:date>
    <item>
      <title>Data access violation error when debugging in IAR</title>
      <link>https://community.nxp.com/t5/S32K/Data-access-violation-error-when-debugging-in-IAR/m-p/2029546#M45192</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;When debugging in IAR, a hardfault error &lt;SPAN&gt;occurs&lt;/SPAN&gt;, prompting Data access violation (CFSR. DACCVIOL, MMFAR), At data address 0x20408594.&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;However, it can be seen from the linker_flash_st32k312.iCF file that the address 0x20408594 is in the accessible SRAM area,&amp;nbsp;&lt;SPAN&gt;as shown in the attachment.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Could you give me some advice? Thank you&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jan 2025 06:41:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Data-access-violation-error-when-debugging-in-IAR/m-p/2029546#M45192</guid>
      <dc:creator>WenWenDar</dc:creator>
      <dc:date>2025-01-17T06:41:53Z</dc:date>
    </item>
    <item>
      <title>Re: Data access violation error when debugging in IAR</title>
      <link>https://community.nxp.com/t5/S32K/Data-access-violation-error-when-debugging-in-IAR/m-p/2029723#M45204</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/232580"&gt;@WenWenDar&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;This is an MPU data access violation.&lt;/P&gt;
&lt;P&gt;Check the MPU configuration, you should know the start address, size and all the other attributes of all the regions.&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, 17 Jan 2025 11:32:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Data-access-violation-error-when-debugging-in-IAR/m-p/2029723#M45204</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2025-01-17T11:32:38Z</dc:date>
    </item>
    <item>
      <title>Re: Data access violation error when debugging in IAR</title>
      <link>https://community.nxp.com/t5/S32K/Data-access-violation-error-when-debugging-in-IAR/m-p/2030361#M45253</link>
      <description>Thank you for your reply.&lt;BR /&gt;&lt;BR /&gt;I modified the linker_flash_s32k312.icf . Increased the space of&amp;nbsp;int_sram_no_cacheable and&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;int_sram_shareable. Then&amp;nbsp;this problem was solved.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Could you give me some material about&amp;nbsp;linker_flash_s32k312.icf?&lt;BR /&gt;&lt;BR /&gt;Thank you!</description>
      <pubDate>Mon, 20 Jan 2025 06:48:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Data-access-violation-error-when-debugging-in-IAR/m-p/2030361#M45253</guid>
      <dc:creator>WenWenDar</dc:creator>
      <dc:date>2025-01-20T06:48:47Z</dc:date>
    </item>
    <item>
      <title>Re: Data access violation error when debugging in IAR</title>
      <link>https://community.nxp.com/t5/S32K/Data-access-violation-error-when-debugging-in-IAR/m-p/2030637#M45274</link>
      <description>&lt;P&gt;Hello WENPING LIU,&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;The .icf is a format used by the IAR IDE.&lt;/P&gt;
&lt;P&gt;Refer to IAR documentation:&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;IAR C/C++ Development Guide Compiling and Linking&lt;/P&gt;
&lt;P&gt;&lt;A href="https://wwwfiles.iar.com/arm/webic/doc/EWARM_DevelopmentGuide.ENU.pdf" target="_blank"&gt;https://wwwfiles.iar.com/arm/webic/doc/EWARM_DevelopmentGuide.ENU.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jan 2025 11:25:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Data-access-violation-error-when-debugging-in-IAR/m-p/2030637#M45274</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2025-01-20T11:25:57Z</dc:date>
    </item>
    <item>
      <title>Re: Data access violation error when debugging in IAR</title>
      <link>https://community.nxp.com/t5/S32K/Data-access-violation-error-when-debugging-in-IAR/m-p/2031134#M45301</link>
      <description>when i modify the linker file, i have to modify the MPU configuration at the same time, right?&lt;BR /&gt;Is there a document about MPU configration?</description>
      <pubDate>Tue, 21 Jan 2025 06:31:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Data-access-violation-error-when-debugging-in-IAR/m-p/2031134#M45301</guid>
      <dc:creator>WenWenDar</dc:creator>
      <dc:date>2025-01-21T06:31:50Z</dc:date>
    </item>
    <item>
      <title>Re: Data access violation error when debugging in IAR</title>
      <link>https://community.nxp.com/t5/S32K/Data-access-violation-error-when-debugging-in-IAR/m-p/2031329#M45313</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/232580"&gt;@WenWenDar&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;It depends on how you modify the linker file. Usually, the startup code that configures the MPU uses symbols from the linker file.&lt;/P&gt;
&lt;P&gt;Anyway, you should know how the regions are configured - all their attributes, their size, if they overlap, etc.&lt;/P&gt;
&lt;P&gt;Refer to ARM documentation.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://developer.arm.com/documentation/ddi0489/f/memory-protection-unit?lang=en" target="_blank"&gt;https://developer.arm.com/documentation/ddi0489/f/memory-protection-unit?lang=en&lt;/A&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;</description>
      <pubDate>Tue, 21 Jan 2025 09:06:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Data-access-violation-error-when-debugging-in-IAR/m-p/2031329#M45313</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2025-01-21T09:06:55Z</dc:date>
    </item>
  </channel>
</rss>

