<?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: Functional SWT_0 reset when execute FLASH express program on S32K311</title>
    <link>https://community.nxp.com/t5/S32K/Functional-SWT-0-reset-when-execute-FLASH-express-program-on/m-p/1961567#M41329</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/131701"&gt;@enricoantonioli&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;The drivers come without any support, we don't have any example where FLASH_WrOnceCrashLog() would be used. I shared it just for a reference. And there seems to be no difference between the driver and you code.&lt;/P&gt;
&lt;P&gt;The execution is time is not specified.&lt;/P&gt;
&lt;P&gt;You can measure the execution time yourself in your setup and then adjust the SWT_0 timeout.&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>Wed, 25 Sep 2024 08:54:40 GMT</pubDate>
    <dc:creator>danielmartynek</dc:creator>
    <dc:date>2024-09-25T08:54:40Z</dc:date>
    <item>
      <title>Functional SWT_0 reset when execute FLASH express program on S32K311</title>
      <link>https://community.nxp.com/t5/S32K/Functional-SWT-0-reset-when-execute-FLASH-express-program-on/m-p/1956761#M41076</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I tried to write a function that performs FLASH memory programming using the Express interface that area described in the "21.5.1.4 Express program" of the S32K3xx Reference Manual, Rev. 9, 07/2024 &amp;nbsp;not supported by the current RTD.&lt;/P&gt;&lt;P&gt;The file with the source code is attached.&lt;BR /&gt;Unfortunately the writing fails randomly for Functional Reset of SWT_0.&lt;BR /&gt;The function is executed in ITCM.&lt;BR /&gt;Can someone help me understand where I went wrong in the sequence of the operation?&lt;BR /&gt;Thanks&lt;/P&gt;&lt;P&gt;E.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2024 15:42:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Functional-SWT-0-reset-when-execute-FLASH-express-program-on/m-p/1956761#M41076</guid>
      <dc:creator>enricoantonioli</dc:creator>
      <dc:date>2024-09-18T15:42:04Z</dc:date>
    </item>
    <item>
      <title>Re: Functional SWT_0 reset when execute FLASH express program on S32K311</title>
      <link>https://community.nxp.com/t5/S32K/Functional-SWT-0-reset-when-execute-FLASH-express-program-on/m-p/1958754#M41189</link>
      <description>&lt;P&gt;HI &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/131701"&gt;@enricoantonioli&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I don't see any possible root cause.&lt;/P&gt;
&lt;P&gt;Have a look at the attached project.&lt;/P&gt;
&lt;P&gt;In \src\drivers\flash\flash.c, there is FLASH_WrOnceCrashLog().&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, make sure the system clock configuration matches one of the clock options precisely.&lt;/P&gt;
&lt;P&gt;RM rev9, Sectio 24.7.2 System clocking configurations&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>Fri, 20 Sep 2024 11:24:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Functional-SWT-0-reset-when-execute-FLASH-express-program-on/m-p/1958754#M41189</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2024-09-20T11:24:45Z</dc:date>
    </item>
    <item>
      <title>Re: Functional SWT_0 reset when execute FLASH express program on S32K311</title>
      <link>https://community.nxp.com/t5/S32K/Functional-SWT-0-reset-when-execute-FLASH-express-program-on/m-p/1958818#M41197</link>
      <description>&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;thank you for your reply.&lt;/P&gt;&lt;P&gt;The clock settings I am using are below:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;PLL_PHI0_CLK=120MHz&lt;/LI&gt;&lt;LI&gt;CORE_CLK=PLL_PHI0_CLK/1=120MHz&lt;/LI&gt;&lt;LI&gt;AIPS_PLAT_CLK=PLL_PHI0_CLK/2=60MHz&lt;/LI&gt;&lt;LI&gt;AIPS_SLOW_CLK=PLL_PHI0_CLK/4=30MHz&lt;/LI&gt;&lt;LI&gt;HSE_CLK=PLL_PHI0_CLK/2=60MHz&lt;/LI&gt;&lt;LI&gt;DCM_CLK=PLL_PHI0_CLK/4=30MHz&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;At the power on, executing code from RAM, I set&amp;nbsp;RWSC = 3 on CTL&amp;nbsp;(Module Control) register, in accordance with what is described in the data sheet "9.5 Flash memory read timing parameters" for S32K311.&lt;/P&gt;&lt;P&gt;The C code depicted in the function that you suggest me, I the same of mine code.&lt;/P&gt;&lt;P&gt;Have you ever tried the function FLASH_WrOnceCrashLog()?&lt;/P&gt;&lt;P&gt;The source C code of the function FLASH_WrOnceCrashLog() I the same of mine code.&lt;/P&gt;&lt;P&gt;I would like a clarification, I don't understand how to call the FLASH_WrOnceCrashLog() function and what should the logs array variable contain?&lt;/P&gt;&lt;P&gt;Could you suggest me an example of using this function, even inside a simple main() function, please?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="enricoantonioli_0-1726837353373.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/300401i746047F61B327ECB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="enricoantonioli_0-1726837353373.png" alt="enricoantonioli_0-1726837353373.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The datasheet does not report writing times using the express interface. Is there any way faster express writing is than main?&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;E.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Sep 2024 13:10:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Functional-SWT-0-reset-when-execute-FLASH-express-program-on/m-p/1958818#M41197</guid>
      <dc:creator>enricoantonioli</dc:creator>
      <dc:date>2024-09-20T13:10:36Z</dc:date>
    </item>
    <item>
      <title>Re: Functional SWT_0 reset when execute FLASH express program on S32K311</title>
      <link>https://community.nxp.com/t5/S32K/Functional-SWT-0-reset-when-execute-FLASH-express-program-on/m-p/1961567#M41329</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/131701"&gt;@enricoantonioli&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;The drivers come without any support, we don't have any example where FLASH_WrOnceCrashLog() would be used. I shared it just for a reference. And there seems to be no difference between the driver and you code.&lt;/P&gt;
&lt;P&gt;The execution is time is not specified.&lt;/P&gt;
&lt;P&gt;You can measure the execution time yourself in your setup and then adjust the SWT_0 timeout.&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>Wed, 25 Sep 2024 08:54:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Functional-SWT-0-reset-when-execute-FLASH-express-program-on/m-p/1961567#M41329</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2024-09-25T08:54:40Z</dc:date>
    </item>
  </channel>
</rss>

