<?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>S32 SDKのトピックRe: Getting hardfault due to Clock_Ip_SetFlashWaitStates()</title>
    <link>https://community.nxp.com/t5/S32-SDK/Getting-hardfault-due-to-Clock-Ip-SetFlashWaitStates/m-p/1407389#M2411</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/52961"&gt;@PetrS&lt;/a&gt;&amp;nbsp;, can you please help me regarding this issue?&lt;/P&gt;</description>
    <pubDate>Tue, 01 Feb 2022 05:06:41 GMT</pubDate>
    <dc:creator>PratikY</dc:creator>
    <dc:date>2022-02-01T05:06:41Z</dc:date>
    <item>
      <title>Getting hardfault due to Clock_Ip_SetFlashWaitStates()</title>
      <link>https://community.nxp.com/t5/S32-SDK/Getting-hardfault-due-to-Clock-Ip-SetFlashWaitStates/m-p/1407082#M2410</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I am using the S32K344EVB-Q257 board.&amp;nbsp;I have developed an application for can Transit and it is working fine with FreeRTOS. But If I include&amp;nbsp;Emios_Mcl_Ip_Init() or Emios_Pwm_Ip_InitChannel() API in application code. My firmware getting hard fault while calling&amp;nbsp;Clock_Ip_SetFlashWaitStates() calls.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am not able to understand why hard fault occurs before my newly added API call?&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/52961"&gt;@PetrS&lt;/a&gt;&amp;nbsp; can you please help me to regarding it?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;During debugging I have observe two issue&lt;/P&gt;&lt;P&gt;1)&amp;nbsp;Clock_Ip_SetFlashWaitStatesCallback() address becomes zero&lt;/P&gt;&lt;P&gt;2)&amp;nbsp;Fee_JobScheduleLookupTable, all entry becomes zero.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;first hardfault occurs at point 1 , if I replace&amp;nbsp;Clock_Ip_SetFlashWaitStatesCallback() code into&amp;nbsp;Clock_Ip_FLASH_SetFlashIWS() hardfault fault occurs at 2nd point&amp;nbsp;when&amp;nbsp;Fee_JobSchedule() is called if I replace Fee_JobSchedule() with&amp;nbsp;Fee_JobSystemDone() codewords fine as expected.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In debug console, I am getting the following error&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;UsageFault: An instruction executed with an invalid EPSR.T or EPSR.IT field.&lt;BR /&gt;HardFault: A fault has been escalated to a hard fault.&lt;/P&gt;</description>
      <pubDate>Mon, 31 Jan 2022 14:25:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/Getting-hardfault-due-to-Clock-Ip-SetFlashWaitStates/m-p/1407082#M2410</guid>
      <dc:creator>PratikY</dc:creator>
      <dc:date>2022-01-31T14:25:11Z</dc:date>
    </item>
    <item>
      <title>Re: Getting hardfault due to Clock_Ip_SetFlashWaitStates()</title>
      <link>https://community.nxp.com/t5/S32-SDK/Getting-hardfault-due-to-Clock-Ip-SetFlashWaitStates/m-p/1407389#M2411</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/52961"&gt;@PetrS&lt;/a&gt;&amp;nbsp;, can you please help me regarding this issue?&lt;/P&gt;</description>
      <pubDate>Tue, 01 Feb 2022 05:06:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/Getting-hardfault-due-to-Clock-Ip-SetFlashWaitStates/m-p/1407389#M2411</guid>
      <dc:creator>PratikY</dc:creator>
      <dc:date>2022-02-01T05:06:41Z</dc:date>
    </item>
  </channel>
</rss>

