<?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: ECC double bits error interrupt routine test</title>
    <link>https://community.nxp.com/t5/S32K/ECC-double-bits-error-interrupt-routine-test/m-p/1073214#M7405</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/814420552@qq.com"&gt;814420552@qq.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When FDFD = 1, any valid flash read access sets the DFDIF flag.&lt;BR /&gt;I guess the INT_SYS_EnableIRQ() function actually sets the flag when the function is in the flash, not the pointer.&lt;BR /&gt;Please read the DFDIF flag in EmbSys_Register view while stepping through the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can put the function before this line:&lt;BR /&gt;FTFC-&amp;gt;FERCNFG |= 0x20; //FDFD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, the i variable might be optimized out by the compiler.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Aug 2020 12:36:38 GMT</pubDate>
    <dc:creator>danielmartynek</dc:creator>
    <dc:date>2020-08-10T12:36:38Z</dc:date>
    <item>
      <title>ECC double bits error interrupt routine test</title>
      <link>https://community.nxp.com/t5/S32K/ECC-double-bits-error-interrupt-routine-test/m-p/1073213#M7404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;for FTFC ECC doule bits error interrupt toutine test code is as the following&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;FTFC-&amp;gt;FERCNFG |= 0x02;//DFDIE&lt;BR /&gt; FTFC-&amp;gt;FERCNFG |= 0x20; //FDFD&lt;BR /&gt; INT_SYS_EnableIRQ(FTFC_Fault_IRQn);&lt;/P&gt;&lt;P&gt;i = *(uint32_t *)0x6000;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and interrupt entry function is&amp;nbsp;&lt;/P&gt;&lt;P&gt;void FTFC_Fault_IRQHandler(void)&lt;BR /&gt;{&lt;BR /&gt; FTFC-&amp;gt;FERSTAT |= 0x20;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;when Flash boot&amp;nbsp; after execute&amp;nbsp;&lt;SPAN&gt;INT_SYS_EnableIRQ(FTFC_Fault_IRQn);&amp;nbsp; &amp;nbsp;it will&amp;nbsp; enter&amp;nbsp;FTFC_Fault_IRQHandler.&amp;nbsp; but if RAM boot&amp;nbsp; ,execute the same code it will not enter&amp;nbsp;FTFC_Fault_IRQHandler.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;why is this different&amp;nbsp; between two boot mode?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;comment: my device is S32K146 and my compile tool is S32K DS.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2020 02:53:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/ECC-double-bits-error-interrupt-routine-test/m-p/1073213#M7404</guid>
      <dc:creator>814420552</dc:creator>
      <dc:date>2020-08-07T02:53:12Z</dc:date>
    </item>
    <item>
      <title>Re: ECC double bits error interrupt routine test</title>
      <link>https://community.nxp.com/t5/S32K/ECC-double-bits-error-interrupt-routine-test/m-p/1073214#M7405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/814420552@qq.com"&gt;814420552@qq.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When FDFD = 1, any valid flash read access sets the DFDIF flag.&lt;BR /&gt;I guess the INT_SYS_EnableIRQ() function actually sets the flag when the function is in the flash, not the pointer.&lt;BR /&gt;Please read the DFDIF flag in EmbSys_Register view while stepping through the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can put the function before this line:&lt;BR /&gt;FTFC-&amp;gt;FERCNFG |= 0x20; //FDFD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, the i variable might be optimized out by the compiler.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Aug 2020 12:36:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/ECC-double-bits-error-interrupt-routine-test/m-p/1073214#M7405</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2020-08-10T12:36:38Z</dc:date>
    </item>
  </channel>
</rss>

