<?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 freertos hardfault</title>
    <link>https://community.nxp.com/t5/S32K/S32K312-freertos-hardfault/m-p/2067685#M47119</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;unfortunately I am not able to identify the issue from the provided information.&lt;/P&gt;
&lt;P&gt;Could you follow guide for hard fault debug to see the origin of the issue?&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/S32K-Knowledge-Base/How-To-Debug-A-Fault-Exception-On-ARM-Cortex-M-V7M-MCU-S32K3XX/ta-p/1595570" target="_blank"&gt;https://community.nxp.com/t5/S32K-Knowledge-Base/How-To-Debug-A-Fault-Exception-On-ARM-Cortex-M-V7M-MCU-S32K3XX/ta-p/1595570&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;could you also use English on the forum, as the translation by google is not very accurate.&lt;/P&gt;
&lt;P&gt;best regards,&lt;/P&gt;
&lt;P&gt;Peter&lt;/P&gt;</description>
    <pubDate>Tue, 25 Mar 2025 12:09:58 GMT</pubDate>
    <dc:creator>petervlna</dc:creator>
    <dc:date>2025-03-25T12:09:58Z</dc:date>
    <item>
      <title>S32K312 freertos hardfault</title>
      <link>https://community.nxp.com/t5/S32K/S32K312-freertos-hardfault/m-p/2063697#M46907</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="c64ee7f826907a79b76be8befe03c9d.png" style="width: 747px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/328597i741E0FD70BE9F942/image-size/large?v=v2&amp;amp;px=999" role="button" title="c64ee7f826907a79b76be8befe03c9d.png" alt="c64ee7f826907a79b76be8befe03c9d.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;我的工程用了freertos，如果我单独开了can的使用并不会跑到这个地址，但是如果开了pwm或adc就会进入这个地址然后直接hardfault，但是如果不调试只是烧录，功能却是正常的，请问一下这个是为什么呢&lt;/P&gt;</description>
      <pubDate>Tue, 18 Mar 2025 10:21:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K312-freertos-hardfault/m-p/2063697#M46907</guid>
      <dc:creator>wswsw111</dc:creator>
      <dc:date>2025-03-18T10:21:29Z</dc:date>
    </item>
    <item>
      <title>Re: S32K312 freertos hardfault</title>
      <link>https://community.nxp.com/t5/S32K/S32K312-freertos-hardfault/m-p/2064355#M46946</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Google translate:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;My project uses freertos. If I open the can function alone, it will not go to this address. However, if I open pwm or adc, it will enter this address and hardfault directly. However, if I do not debug but just burn, the function is normal. Why is this?&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Seems to my like some synchronization issue. Do you use watchdog, etc...? Is this and example project or your custom one?&lt;/P&gt;
&lt;P&gt;To debug hardfault please follow:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/S32K-Knowledge-Base/How-To-Debug-A-Fault-Exception-On-ARM-Cortex-M-V7M-MCU-S32K3XX/ta-p/1595570" target="_blank"&gt;https://community.nxp.com/t5/S32K-Knowledge-Base/How-To-Debug-A-Fault-Exception-On-ARM-Cortex-M-V7M-MCU-S32K3XX/ta-p/1595570&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;and you can also use:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/S32K-Knowledge-Base/Fault-handling-on-S32K14x/ta-p/1114447" target="_blank"&gt;https://community.nxp.com/t5/S32K-Knowledge-Base/Fault-handling-on-S32K14x/ta-p/1114447&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Peter&lt;/P&gt;</description>
      <pubDate>Wed, 19 Mar 2025 05:34:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K312-freertos-hardfault/m-p/2064355#M46946</guid>
      <dc:creator>petervlna</dc:creator>
      <dc:date>2025-03-19T05:34:47Z</dc:date>
    </item>
    <item>
      <title>Re: S32K312 freertos hardfault</title>
      <link>https://community.nxp.com/t5/S32K/S32K312-freertos-hardfault/m-p/2066932#M47090</link>
      <description>&lt;P&gt;关于IMPRECISERR的具体定位还有更多吗，调试过程中也会偶尔出现IACCVIOL，并没有开启看门狗功能，是我的自定义功能，例程参考了ADC+DMA+PIT和can过滤器设置的demo，感谢您的回复。&lt;/P&gt;</description>
      <pubDate>Mon, 24 Mar 2025 05:49:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K312-freertos-hardfault/m-p/2066932#M47090</guid>
      <dc:creator>wswsw111</dc:creator>
      <dc:date>2025-03-24T05:49:24Z</dc:date>
    </item>
    <item>
      <title>Re: S32K312 freertos hardfault</title>
      <link>https://community.nxp.com/t5/S32K/S32K312-freertos-hardfault/m-p/2067137#M47099</link>
      <description>&lt;P&gt;我尝试将同样的配置和代码挪回S32DS中开发，虽然一开始也会蹦到0x0地址但是马上又会回到main中，可以继续使用。&lt;/P&gt;</description>
      <pubDate>Mon, 24 Mar 2025 09:45:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K312-freertos-hardfault/m-p/2067137#M47099</guid>
      <dc:creator>wswsw111</dc:creator>
      <dc:date>2025-03-24T09:45:33Z</dc:date>
    </item>
    <item>
      <title>Re: S32K312 freertos hardfault</title>
      <link>https://community.nxp.com/t5/S32K/S32K312-freertos-hardfault/m-p/2067685#M47119</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;unfortunately I am not able to identify the issue from the provided information.&lt;/P&gt;
&lt;P&gt;Could you follow guide for hard fault debug to see the origin of the issue?&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/S32K-Knowledge-Base/How-To-Debug-A-Fault-Exception-On-ARM-Cortex-M-V7M-MCU-S32K3XX/ta-p/1595570" target="_blank"&gt;https://community.nxp.com/t5/S32K-Knowledge-Base/How-To-Debug-A-Fault-Exception-On-ARM-Cortex-M-V7M-MCU-S32K3XX/ta-p/1595570&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;could you also use English on the forum, as the translation by google is not very accurate.&lt;/P&gt;
&lt;P&gt;best regards,&lt;/P&gt;
&lt;P&gt;Peter&lt;/P&gt;</description>
      <pubDate>Tue, 25 Mar 2025 12:09:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K312-freertos-hardfault/m-p/2067685#M47119</guid>
      <dc:creator>petervlna</dc:creator>
      <dc:date>2025-03-25T12:09:58Z</dc:date>
    </item>
    <item>
      <title>Re: S32K312 freertos hardfault</title>
      <link>https://community.nxp.com/t5/S32K/S32K312-freertos-hardfault/m-p/2068212#M47144</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Thank you for your reply. I have analyzed the issue based on the document, but I have been trying for a long time without finding a conclusion. Using the iar toolchain will cause problems, but using GCC will not. If possible, could you please help me check my code.&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;Another issue is that there is no definition of HEAP in the generated ICF file, but it is in the LD file. If possible, could you please teach me how to modify HEAP in the IAR environment&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;SPAN&gt;IAR :9.50.2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you for your reply.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Mar 2025 02:12:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K312-freertos-hardfault/m-p/2068212#M47144</guid>
      <dc:creator>wswsw111</dc:creator>
      <dc:date>2025-03-26T02:12:49Z</dc:date>
    </item>
    <item>
      <title>Re: S32K312 freertos hardfault</title>
      <link>https://community.nxp.com/t5/S32K/S32K312-freertos-hardfault/m-p/2069274#M47209</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;Another issue is that there is no definition of HEAP in the generated ICF file, but it is in the LD file. If possible, could you please teach me how to modify HEAP in the IAR environment&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Unfortunately, I cannot as I do not have knowledge on IAR compiler. Please refer to its documentation..&lt;/P&gt;
&lt;P&gt;could you please help me check my code.&lt;/P&gt;
&lt;P&gt;I can check it with GCC, but that works as you express.&lt;/P&gt;
&lt;P&gt;Also I cannot generate/compile your program without knowledge on which exact versions of plugins was used for it.&lt;/P&gt;
&lt;P&gt;I also did not find any output file in the project you shared with me. No elf nor s3 record.&lt;/P&gt;
&lt;P&gt;only map file.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Peter&lt;/P&gt;</description>
      <pubDate>Thu, 27 Mar 2025 07:23:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K312-freertos-hardfault/m-p/2069274#M47209</guid>
      <dc:creator>petervlna</dc:creator>
      <dc:date>2025-03-27T07:23:20Z</dc:date>
    </item>
    <item>
      <title>Re: S32K312 freertos hardfault</title>
      <link>https://community.nxp.com/t5/S32K/S32K312-freertos-hardfault/m-p/2069355#M47218</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I found that even when compiling with GCC, there are errors at the beginning：&lt;/SPAN&gt;Break at address "0x0" with no debug information available, or outside of program code.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But we will soon jump into main().&lt;/SPAN&gt;&lt;SPAN&gt;The same code using IAR will enter bus_fault() and cannot provide an accurate fault.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Make OPTIMZATION LEVEL = O3,m&lt;/SPAN&gt;&lt;SPAN&gt;y GCC project also encountered the same situation as the IAR project, but O0 did not。&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;Can you give me some direction on this。&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;Thank you for your reply。&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Mar 2025 08:55:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K312-freertos-hardfault/m-p/2069355#M47218</guid>
      <dc:creator>wswsw111</dc:creator>
      <dc:date>2025-03-27T08:55:15Z</dc:date>
    </item>
    <item>
      <title>Re: S32K312 freertos hardfault</title>
      <link>https://community.nxp.com/t5/S32K/S32K312-freertos-hardfault/m-p/2069372#M47219</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Change OPTIMZATION LEVEL&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Solved this problem,&lt;/SPAN&gt;&lt;SPAN&gt;Thank you for your reply&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 27 Mar 2025 09:18:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K312-freertos-hardfault/m-p/2069372#M47219</guid>
      <dc:creator>wswsw111</dc:creator>
      <dc:date>2025-03-27T09:18:40Z</dc:date>
    </item>
  </channel>
</rss>

