<?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: S32K358 IPCF example runs into HardFault in S32K</title>
    <link>https://community.nxp.com/t5/S32K/S32K358-IPCF-example-runs-into-HardFault/m-p/1743043#M27983</link>
    <description>&lt;DIV&gt;Stack core0&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;IPCF_Example_S32K358_M7_0_0_Debug_FLASH_PNE [GDB PEMicro Interface Debugging]&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;IPCF_Example_S32K358_M7_0_0.elf &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Thread #1 (Suspended : Signal : SIGTRAP:Trace/breakpoint trap) &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;HardFault_Handler() at exceptions.c:97 0x401e86 &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;lt;signal handler called&amp;gt;() at 0xffffffe9 &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;ipc_queue_push() at ipc-queue.c:150 0x400e86 &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;ipc_buf_pool_init() at ipc-shm.c:511 0x401312 &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;managed_channel_init() at ipc-shm.c:623 0x401312 &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;ipc_shm_channel_init() at ipc-shm.c:708 0x401312 &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;ipc_shm_init_instance() at ipc-shm.c:807 0x401312 &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;ipc_shm_init() at ipc-shm.c:905 0x401312 &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;shm_demo() at sample.c:196 0x401b86 &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;main() at main.c:53 0x400e1a &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;C:\NXP\S32DS.3.5\eclipse\plugins\com.pemicro.debug.gdbjtag.pne_5.5.7.202304031909\win32\pegdbserver_console &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;arm-none-eabi-gdb &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Semihosting Console &lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Stack core2&lt;/P&gt;&lt;DIV&gt;IPCF_Example_S32K358_M7_0_2_Debug_FLASH_PNE [GDB PEMicro Interface Debugging]&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;IPCF_Example_S32K358_M7_0_2.elf &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Thread #1 (Suspended : Signal : SIGTRAP:Trace/breakpoint trap) &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;HardFault_Handler() at exceptions.c:97 0x8015ca &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;lt;signal handler called&amp;gt;() at 0xffffffe9 &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;ipc_queue_push() at ipc-queue.c:150 0x800626 &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;ipc_buf_pool_init() at ipc-shm.c:511 0x800ab2 &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;managed_channel_init() at ipc-shm.c:623 0x800ab2 &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;ipc_shm_channel_init() at ipc-shm.c:708 0x800ab2 &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;ipc_shm_init_instance() at ipc-shm.c:807 0x800ab2 &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;ipc_shm_init() at ipc-shm.c:905 0x800ab2 &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;shm_demo() at sample.c:193 0x8012ce &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;main() at main.c:30 0x8005be &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;arm-none-eabi-gdb &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Semihosting Console &lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 19 Oct 2023 15:32:25 GMT</pubDate>
    <dc:creator>Iota</dc:creator>
    <dc:date>2023-10-19T15:32:25Z</dc:date>
    <item>
      <title>S32K358 IPCF example runs into HardFault</title>
      <link>https://community.nxp.com/t5/S32K/S32K358-IPCF-example-runs-into-HardFault/m-p/1743034#M27982</link>
      <description>&lt;P&gt;Dear community,&lt;/P&gt;&lt;P&gt;I am trying to get the IPCF examples for the S32K358 (bare metal or FreeRTOS) running but debugging of both cores runs into HardFault during initialization after calling&amp;nbsp;ipc_queue_push. The console states the following:&lt;/P&gt;&lt;P&gt;core0:&lt;/P&gt;&lt;P&gt;MemManage: The processor attempted a load or store at a location that does not permit the operation.&lt;BR /&gt;Possible MemManage fault location: 0x2047F0DC.&lt;BR /&gt;HardFault: A fault has been escalated to a hard fault.&lt;/P&gt;&lt;P&gt;core2:&lt;/P&gt;&lt;P&gt;MemManage: The processor attempted a load or store at a location that does not permit the operation.&lt;BR /&gt;Possible MemManage fault location: 0x2042F0DC.&lt;BR /&gt;HardFault: A fault has been escalated to a hard fault.&lt;/P&gt;&lt;P&gt;The possible fault location seems to be somewhere in the configured&amp;nbsp;&lt;SPAN&gt;remote_shm_addr range (IPCF_SHAREMEM_c0 and IPCF_SHAREMEM_c2 in the linker file).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I am just trying to get the example project running, there have been no changes done to the configuration and the error occurs in both, bare metal and FreeRTOS examples. Could you please help me out?&lt;/P&gt;</description>
      <pubDate>Thu, 19 Oct 2023 15:18:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K358-IPCF-example-runs-into-HardFault/m-p/1743034#M27982</guid>
      <dc:creator>Iota</dc:creator>
      <dc:date>2023-10-19T15:18:22Z</dc:date>
    </item>
    <item>
      <title>Re: S32K358 IPCF example runs into HardFault</title>
      <link>https://community.nxp.com/t5/S32K/S32K358-IPCF-example-runs-into-HardFault/m-p/1743043#M27983</link>
      <description>&lt;DIV&gt;Stack core0&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;IPCF_Example_S32K358_M7_0_0_Debug_FLASH_PNE [GDB PEMicro Interface Debugging]&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;IPCF_Example_S32K358_M7_0_0.elf &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Thread #1 (Suspended : Signal : SIGTRAP:Trace/breakpoint trap) &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;HardFault_Handler() at exceptions.c:97 0x401e86 &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;lt;signal handler called&amp;gt;() at 0xffffffe9 &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;ipc_queue_push() at ipc-queue.c:150 0x400e86 &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;ipc_buf_pool_init() at ipc-shm.c:511 0x401312 &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;managed_channel_init() at ipc-shm.c:623 0x401312 &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;ipc_shm_channel_init() at ipc-shm.c:708 0x401312 &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;ipc_shm_init_instance() at ipc-shm.c:807 0x401312 &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;ipc_shm_init() at ipc-shm.c:905 0x401312 &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;shm_demo() at sample.c:196 0x401b86 &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;main() at main.c:53 0x400e1a &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;C:\NXP\S32DS.3.5\eclipse\plugins\com.pemicro.debug.gdbjtag.pne_5.5.7.202304031909\win32\pegdbserver_console &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;arm-none-eabi-gdb &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Semihosting Console &lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Stack core2&lt;/P&gt;&lt;DIV&gt;IPCF_Example_S32K358_M7_0_2_Debug_FLASH_PNE [GDB PEMicro Interface Debugging]&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;IPCF_Example_S32K358_M7_0_2.elf &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Thread #1 (Suspended : Signal : SIGTRAP:Trace/breakpoint trap) &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;HardFault_Handler() at exceptions.c:97 0x8015ca &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;lt;signal handler called&amp;gt;() at 0xffffffe9 &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;ipc_queue_push() at ipc-queue.c:150 0x800626 &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;ipc_buf_pool_init() at ipc-shm.c:511 0x800ab2 &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;managed_channel_init() at ipc-shm.c:623 0x800ab2 &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;ipc_shm_channel_init() at ipc-shm.c:708 0x800ab2 &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;ipc_shm_init_instance() at ipc-shm.c:807 0x800ab2 &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;ipc_shm_init() at ipc-shm.c:905 0x800ab2 &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;shm_demo() at sample.c:193 0x8012ce &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;main() at main.c:30 0x8005be &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;arm-none-eabi-gdb &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Semihosting Console &lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Oct 2023 15:32:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K358-IPCF-example-runs-into-HardFault/m-p/1743043#M27983</guid>
      <dc:creator>Iota</dc:creator>
      <dc:date>2023-10-19T15:32:25Z</dc:date>
    </item>
    <item>
      <title>Re: S32K358 IPCF example runs into HardFault</title>
      <link>https://community.nxp.com/t5/S32K/S32K358-IPCF-example-runs-into-HardFault/m-p/1745129#M28104</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/223698"&gt;@Iota&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;what is the IPCF package you are using?&lt;/P&gt;
&lt;P&gt;Could you send me your example?&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Dan&lt;/P&gt;</description>
      <pubDate>Tue, 24 Oct 2023 08:47:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K358-IPCF-example-runs-into-HardFault/m-p/1745129#M28104</guid>
      <dc:creator>DanNguyenDuy</dc:creator>
      <dc:date>2023-10-24T08:47:59Z</dc:date>
    </item>
    <item>
      <title>Re: S32K358 IPCF example runs into HardFault</title>
      <link>https://community.nxp.com/t5/S32K/S32K358-IPCF-example-runs-into-HardFault/m-p/1745149#M28108</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/199019"&gt;@DanNguyenDuy&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;The version is SW32K3 IPCF 4.0.0 D2306; Version: 4.0.0; Build id: 202306301110.&lt;/P&gt;&lt;P&gt;I remember having a problem while building with the&amp;nbsp;IPC_SHM_VENDOR_ID_C of the generated ipcf_Ip_Cfg which was 40 and didn't match the 43 of other files.&lt;/P&gt;&lt;P&gt;Please find the example attached.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Julius&lt;/P&gt;</description>
      <pubDate>Tue, 24 Oct 2023 09:35:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K358-IPCF-example-runs-into-HardFault/m-p/1745149#M28108</guid>
      <dc:creator>Iota</dc:creator>
      <dc:date>2023-10-24T09:35:21Z</dc:date>
    </item>
    <item>
      <title>Re: S32K358 IPCF example runs into HardFault</title>
      <link>https://community.nxp.com/t5/S32K/S32K358-IPCF-example-runs-into-HardFault/m-p/1746586#M28171</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/223698"&gt;@Iota&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;If you enable MPU then you have to set those area memory is "Local RW access, remote R access"&lt;/P&gt;
&lt;P&gt;If you disable MPU then your program can run normally.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Dan&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Oct 2023 04:54:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K358-IPCF-example-runs-into-HardFault/m-p/1746586#M28171</guid>
      <dc:creator>DanNguyenDuy</dc:creator>
      <dc:date>2023-10-26T04:54:41Z</dc:date>
    </item>
    <item>
      <title>Re: S32K358 IPCF example runs into HardFault</title>
      <link>https://community.nxp.com/t5/S32K/S32K358-IPCF-example-runs-into-HardFault/m-p/1746882#M28181</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/199019"&gt;@DanNguyenDuy&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;thanks for the hint, I will give the first one a try.&lt;/P&gt;&lt;P&gt;However, for the second one, if you refer to the setting "Platform -&amp;gt; GeneralConfiguration -&amp;gt; Platform Enable MPU M7 Support", this box is unchecked in both IPCF examples and a MPU component is not used. But still the program could not run normally. Or do you refer to another setting that I am not aware of?&lt;/P&gt;&lt;P&gt;Thank you and best regards,&lt;/P&gt;&lt;P&gt;Julius&lt;/P&gt;</description>
      <pubDate>Thu, 26 Oct 2023 09:38:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K358-IPCF-example-runs-into-HardFault/m-p/1746882#M28181</guid>
      <dc:creator>Iota</dc:creator>
      <dc:date>2023-10-26T09:38:18Z</dc:date>
    </item>
    <item>
      <title>Re: S32K358 IPCF example runs into HardFault</title>
      <link>https://community.nxp.com/t5/S32K/S32K358-IPCF-example-runs-into-HardFault/m-p/1746947#M28183</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/223698"&gt;@Iota&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;You can right-click on the name of the project and select "Properties". After that, you can see the compiler option "MPU_ENABLE" in the below image. You can remove it or change it to "MPU_DISABLE".&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nxf78987_0-1698317512386.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/246948iC216EA8624F40701/image-size/medium?v=v2&amp;amp;px=400" role="button" title="nxf78987_0-1698317512386.png" alt="nxf78987_0-1698317512386.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Dan&lt;/P&gt;</description>
      <pubDate>Thu, 26 Oct 2023 10:52:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K358-IPCF-example-runs-into-HardFault/m-p/1746947#M28183</guid>
      <dc:creator>DanNguyenDuy</dc:creator>
      <dc:date>2023-10-26T10:52:04Z</dc:date>
    </item>
  </channel>
</rss>

