<?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: S32K344 C40 IP Hardware Fault Problem</title>
    <link>https://community.nxp.com/t5/S32K/S32K344-C40-IP-Hardware-Fault-Problem/m-p/1698676#M25752</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/160001"&gt;@danielmartynek&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your answer. Your solution is worked for me.&lt;/P&gt;&lt;P&gt;In addition to your solution I also need to edit this function prototype too.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;C40_Ip_MainInterfaceHVJobStatus&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;This function static in&amp;nbsp;&lt;SPAN&gt;C40_Ip.c&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I tried on C40 example. It worked fine but, does not worked my app.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I removed the tick from "Fls Timeout Supervision Enabled" in C40_Ip. Because of the "OsIf_GetElapsed" function used.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I also need to move my functions that uses write and and erase to ramcode.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Mesut&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 03 Aug 2023 14:00:48 GMT</pubDate>
    <dc:creator>mesutkilicmak</dc:creator>
    <dc:date>2023-08-03T14:00:48Z</dc:date>
    <item>
      <title>S32K344 C40 IP Hardware Fault Problem</title>
      <link>https://community.nxp.com/t5/S32K/S32K344-C40-IP-Hardware-Fault-Problem/m-p/1697432#M25696</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I am trying to create custom bootloader app. I reserved 256KB space both bootloader app and parameters from the beginnig of the flash. I need to store boot parameters on the same block with the bootloader code. I tried to use C40 ip but, I am always getting HardFault error. As I learned from "AN13388-S32K3 Memories Guide" I can not write or erase same block while reading(code executing).&lt;/P&gt;&lt;P&gt;I tried some technics like ramcode and ITCM but, I could not be successful.&lt;/P&gt;&lt;P&gt;I do not want to use Data flash. Because HSE firmware uses all of it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;What is the proper way to do that? Is there any example?&lt;/P&gt;</description>
      <pubDate>Wed, 02 Aug 2023 09:10:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K344-C40-IP-Hardware-Fault-Problem/m-p/1697432#M25696</guid>
      <dc:creator>mesutkilicmak</dc:creator>
      <dc:date>2023-08-02T09:10:48Z</dc:date>
    </item>
    <item>
      <title>Re: S32K344 C40 IP Hardware Fault Problem</title>
      <link>https://community.nxp.com/t5/S32K/S32K344-C40-IP-Hardware-Fault-Problem/m-p/1698520#M25740</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/219090"&gt;@mesutkilicmak&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;The below API functions have to be placed into SRAM (".ramcode" section), as show below.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;C40_Ip_MainInterfaceSectorErase&lt;/LI&gt;
&lt;LI&gt;C40_Ip_MainInterfaceSectorEraseStatus&lt;/LI&gt;
&lt;LI&gt;C40_Ip_MainInterfaceWrite&lt;/LI&gt;
&lt;LI&gt;C40_Ip_MainInterfaceWriteStatus&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Then, the core must not access the block from interrupts. The interrupts must be either masked (PRIMASK = 1), or the vector table as well as the ISR() functions and the data the ISR() access must not be in the block.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;C40_Ip.h.&lt;/P&gt;
&lt;P&gt;Before the declaration:&lt;/P&gt;
&lt;P&gt;#if ( 1 == C40_RAM_CODE_ENABLE&lt;BR /&gt;/* ram code start */&lt;BR /&gt;#define FLS_STOP_SEC_CODE&lt;BR /&gt;#include "Fls_MemMap.h"&lt;BR /&gt;#define FLS_START_SEC_RAMCODE&lt;BR /&gt;#include "Fls_MemMap.h"&lt;BR /&gt;#endif&lt;/P&gt;
&lt;P&gt;After the declaration.&lt;/P&gt;
&lt;P&gt;#if ( 1 == C40_RAM_CODE_ENABLE )&lt;BR /&gt;/* ram code end */&lt;BR /&gt;#define FLS_STOP_SEC_RAMCODE&lt;BR /&gt;#include "Fls_MemMap.h"&lt;BR /&gt;#define FLS_START_SEC_CODE&lt;BR /&gt;#include "Fls_MemMap.h"&lt;BR /&gt;#endif&lt;/P&gt;
&lt;P&gt;if #define C40_RAM_CODE_ENABLE 1, the above four flash API functions are placed in the ".ramcode" section.&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>Thu, 03 Aug 2023 10:14:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K344-C40-IP-Hardware-Fault-Problem/m-p/1698520#M25740</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2023-08-03T10:14:30Z</dc:date>
    </item>
    <item>
      <title>Re: S32K344 C40 IP Hardware Fault Problem</title>
      <link>https://community.nxp.com/t5/S32K/S32K344-C40-IP-Hardware-Fault-Problem/m-p/1698676#M25752</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/160001"&gt;@danielmartynek&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your answer. Your solution is worked for me.&lt;/P&gt;&lt;P&gt;In addition to your solution I also need to edit this function prototype too.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;C40_Ip_MainInterfaceHVJobStatus&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;This function static in&amp;nbsp;&lt;SPAN&gt;C40_Ip.c&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I tried on C40 example. It worked fine but, does not worked my app.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I removed the tick from "Fls Timeout Supervision Enabled" in C40_Ip. Because of the "OsIf_GetElapsed" function used.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I also need to move my functions that uses write and and erase to ramcode.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Mesut&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2023 14:00:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K344-C40-IP-Hardware-Fault-Problem/m-p/1698676#M25752</guid>
      <dc:creator>mesutkilicmak</dc:creator>
      <dc:date>2023-08-03T14:00:48Z</dc:date>
    </item>
    <item>
      <title>Re: S32K344 C40 IP Hardware Fault Problem</title>
      <link>https://community.nxp.com/t5/S32K/S32K344-C40-IP-Hardware-Fault-Problem/m-p/1711353#M26457</link>
      <description>&lt;P&gt;I find Bootloader project(unified_bootloader_demo_V2.1.exe) use C40_IP driver alsways run to hardware Falut . Then you uart for debug ，find program stoke at erase and write status （specific is inside&amp;nbsp; C40_Ip_Compare function is C40_Ip_SynchronizeCache）&lt;/P&gt;</description>
      <pubDate>Fri, 25 Aug 2023 08:49:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K344-C40-IP-Hardware-Fault-Problem/m-p/1711353#M26457</guid>
      <dc:creator>WangLeiDevelopment</dc:creator>
      <dc:date>2023-08-25T08:49:19Z</dc:date>
    </item>
    <item>
      <title>Re: S32K344 C40 IP Hardware Fault Problem</title>
      <link>https://community.nxp.com/t5/S32K/S32K344-C40-IP-Hardware-Fault-Problem/m-p/1712001#M26489</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/219503"&gt;@WangLeiDevelopment&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Can you create a new thread for this issue?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;BR, Daniel&lt;/P&gt;</description>
      <pubDate>Mon, 28 Aug 2023 07:00:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K344-C40-IP-Hardware-Fault-Problem/m-p/1712001#M26489</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2023-08-28T07:00:10Z</dc:date>
    </item>
    <item>
      <title>Re: S32K344 C40 IP Hardware Fault Problem</title>
      <link>https://community.nxp.com/t5/S32K/S32K344-C40-IP-Hardware-Fault-Problem/m-p/1892068#M36808</link>
      <description>&lt;P&gt;Please show sampel code how to place in c40 ip.h&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jun 2024 10:16:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K344-C40-IP-Hardware-Fault-Problem/m-p/1892068#M36808</guid>
      <dc:creator>Emguy</dc:creator>
      <dc:date>2024-06-21T10:16:23Z</dc:date>
    </item>
    <item>
      <title>Re: S32K344 C40 IP Hardware Fault Problem</title>
      <link>https://community.nxp.com/t5/S32K/S32K344-C40-IP-Hardware-Fault-Problem/m-p/1998519#M43470</link>
      <description>&lt;P&gt;Hi, Danielmartynek&lt;/P&gt;&lt;P&gt;What dose"&lt;SPAN&gt;Then, the core must not access the block from interrupts. The interrupts must be either masked (PRIMASK = 1), or the vector table as well as the ISR() functions and the data the ISR() access must not be in the block." mean? Do you mean that vector table and ISR() functions&amp;nbsp;and the data can't be place in the same block with BOOTLOADER and APP, if yes where should&amp;nbsp;vector table and ISR() be place, in the RAM?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2024 05:38:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K344-C40-IP-Hardware-Fault-Problem/m-p/1998519#M43470</guid>
      <dc:creator>Ali22</dc:creator>
      <dc:date>2024-11-21T05:38:48Z</dc:date>
    </item>
    <item>
      <title>Re: S32K344 C40 IP Hardware Fault Problem</title>
      <link>https://community.nxp.com/t5/S32K/S32K344-C40-IP-Hardware-Fault-Problem/m-p/1998910#M43497</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/241216"&gt;@Ali22&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;While the flash controller is programming/erasing some data in a certain block, the block must not be accessed. I don't know how to explain it differently. Search for RWW Read-while-write in the RM.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2024 13:27:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K344-C40-IP-Hardware-Fault-Problem/m-p/1998910#M43497</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2024-11-21T13:27:27Z</dc:date>
    </item>
    <item>
      <title>Re: S32K344 C40 IP Hardware Fault Problem</title>
      <link>https://community.nxp.com/t5/S32K/S32K344-C40-IP-Hardware-Fault-Problem/m-p/2174129#M52950</link>
      <description>&lt;P&gt;Hello Daniel,&lt;/P&gt;&lt;P&gt;I'm working on a Bootloader that reside in Code Flash Block 0 (From 0x400000 to 0x4FFFFF).&lt;/P&gt;&lt;P&gt;Any erase/write inside this block cause an Hard Fault.&lt;/P&gt;&lt;P&gt;Only erase/write in&amp;nbsp;Code Flash Block 1 or 2 or 3 it's allowed.&lt;/P&gt;&lt;P&gt;My Application must reside in&amp;nbsp; Block 1 ?&lt;/P&gt;&lt;P&gt;The residual code flash Block 0 it's lost?&lt;/P&gt;&lt;P&gt;Regards, Francesco.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Sep 2025 08:36:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K344-C40-IP-Hardware-Fault-Problem/m-p/2174129#M52950</guid>
      <dc:creator>francescovico</dc:creator>
      <dc:date>2025-09-23T08:36:08Z</dc:date>
    </item>
    <item>
      <title>Re: S32K344 C40 IP Hardware Fault Problem</title>
      <link>https://community.nxp.com/t5/S32K/S32K344-C40-IP-Hardware-Fault-Problem/m-p/2174254#M52957</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/153065"&gt;@francescovico&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Please create a new thread.&lt;/P&gt;
&lt;P&gt;It does not have to be in Block1, the flash driver can be in SRAM.&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, 23 Sep 2025 10:38:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K344-C40-IP-Hardware-Fault-Problem/m-p/2174254#M52957</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2025-09-23T10:38:10Z</dc:date>
    </item>
  </channel>
</rss>

