<?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: S32K311 FLASH ready for program after functional software reset</title>
    <link>https://community.nxp.com/t5/S32K/S32K311-FLASH-ready-for-program-after-functional-software-reset/m-p/1965744#M41538</link>
    <description>&lt;P&gt;I understand it the way that you need to wait until MCSR[DONE] = 1.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="davidtosenovjan_0-1727882953395.png" style="width: 521px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/302385i68FBA46928EBAF03/image-dimensions/521x404?v=v2" width="521" height="404" role="button" title="davidtosenovjan_0-1727882953395.png" alt="davidtosenovjan_0-1727882953395.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;There is no explicit time defined in the documentation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 02 Oct 2024 15:30:27 GMT</pubDate>
    <dc:creator>davidtosenovjan</dc:creator>
    <dc:date>2024-10-02T15:30:27Z</dc:date>
    <item>
      <title>S32K311 FLASH ready for program after functional software reset</title>
      <link>https://community.nxp.com/t5/S32K/S32K311-FLASH-ready-for-program-after-functional-software-reset/m-p/1964584#M41478</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I would like to know after how much time (in milliseconds) from a functional reset sofwtare (SW_FUNC) the flash module is ready for accept erasing and programming.&lt;/P&gt;&lt;P&gt;I did not find this information on the datasheet and often after a software functional reset the programming fails due to MCRS error (PEP).&lt;/P&gt;&lt;P&gt;Can anybody help me? If I insert a delay about 10 ms from reset the programming procedure has success. and&amp;nbsp;without delay programming fails.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;E.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Sep 2024 15:43:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K311-FLASH-ready-for-program-after-functional-software-reset/m-p/1964584#M41478</guid>
      <dc:creator>enricoantonioli</dc:creator>
      <dc:date>2024-09-30T15:43:28Z</dc:date>
    </item>
    <item>
      <title>Re: S32K311 FLASH ready for program after functional software reset</title>
      <link>https://community.nxp.com/t5/S32K/S32K311-FLASH-ready-for-program-after-functional-software-reset/m-p/1965744#M41538</link>
      <description>&lt;P&gt;I understand it the way that you need to wait until MCSR[DONE] = 1.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="davidtosenovjan_0-1727882953395.png" style="width: 521px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/302385i68FBA46928EBAF03/image-dimensions/521x404?v=v2" width="521" height="404" role="button" title="davidtosenovjan_0-1727882953395.png" alt="davidtosenovjan_0-1727882953395.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;There is no explicit time defined in the documentation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Oct 2024 15:30:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K311-FLASH-ready-for-program-after-functional-software-reset/m-p/1965744#M41538</guid>
      <dc:creator>davidtosenovjan</dc:creator>
      <dc:date>2024-10-02T15:30:27Z</dc:date>
    </item>
    <item>
      <title>Re: S32K311 FLASH ready for program after functional software reset</title>
      <link>https://community.nxp.com/t5/S32K/S32K311-FLASH-ready-for-program-after-functional-software-reset/m-p/1971877#M41927</link>
      <description>&lt;P&gt;Hello David,&lt;/P&gt;&lt;P&gt;Thank you for your answer, but I notice that after reset I must wait for HSE core execute WFI before execute a program or an erase FLASh operation, otherwise it does not works and return the protection error MCRS[PEP].&lt;/P&gt;&lt;P&gt;After the reset and before programming or deleting the FLASH I had to enter the following wait:&lt;/P&gt;&lt;P&gt;while ((IP_MC_ME-&amp;gt;PRTN0_CORE2_STAT&amp;amp;MC_ME_PRTN0_CORE2_STAT_WFI_MASK)==0){};/* Waiting for hse core execute WFI */&lt;/P&gt;&lt;P&gt;There is currently no firmware programmed into the HSE and the HSE firmware usage feature flag is disabled.&lt;/P&gt;&lt;P&gt;I did not find any warning about this in either the "S32K3xx Reference Manual" or the "RM00286 HSE_B Firmware Reference Manual".&lt;/P&gt;&lt;P&gt;Can you confirm what I found?&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;E.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Oct 2024 06:08:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K311-FLASH-ready-for-program-after-functional-software-reset/m-p/1971877#M41927</guid>
      <dc:creator>enricoantonioli</dc:creator>
      <dc:date>2024-10-11T06:08:26Z</dc:date>
    </item>
    <item>
      <title>Re: S32K311 FLASH ready for program after functional software reset</title>
      <link>https://community.nxp.com/t5/S32K/S32K311-FLASH-ready-for-program-after-functional-software-reset/m-p/1974411#M42097</link>
      <description>&lt;P&gt;Do you program same block as BAF is located in? In such case there is such limitation as described below&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="davidtosenovjan_2-1729005827064.png" style="width: 536px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/304826i2FE227BC7FC36F89/image-dimensions/536x130?v=v2" width="536" height="130" role="button" title="davidtosenovjan_2-1729005827064.png" alt="davidtosenovjan_2-1729005827064.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="davidtosenovjan_3-1729005908207.png" style="width: 514px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/304827i24CE221654F64B9E/image-dimensions/514x122?v=v2" width="514" height="122" role="button" title="davidtosenovjan_3-1729005908207.png" alt="davidtosenovjan_3-1729005908207.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="davidtosenovjan_0-1729005660558.png" style="width: 515px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/304822i18EF8126EFD24370/image-dimensions/515x313?v=v2" width="515" height="313" role="button" title="davidtosenovjan_0-1729005660558.png" alt="davidtosenovjan_0-1729005660558.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Oct 2024 15:26:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K311-FLASH-ready-for-program-after-functional-software-reset/m-p/1974411#M42097</guid>
      <dc:creator>davidtosenovjan</dc:creator>
      <dc:date>2024-10-15T15:26:01Z</dc:date>
    </item>
    <item>
      <title>Re: S32K311 FLASH ready for program after functional software reset</title>
      <link>https://community.nxp.com/t5/S32K/S32K311-FLASH-ready-for-program-after-functional-software-reset/m-p/1974465#M42100</link>
      <description>&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;my application code can program only the first 512 KB (0x00400000--0x0047FFFF) of the FLASH memory, and if I understand the SBAF use only the address space 0x004F4000--0x004FFFFF.&lt;/P&gt;&lt;P&gt;So why do I still have to wait for HSE enter in WFI state?&lt;/P&gt;&lt;P&gt;I don't have to use the address space reserved for SBAF&lt;/P&gt;&lt;P&gt;Waiting your response&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;E.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Oct 2024 16:31:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K311-FLASH-ready-for-program-after-functional-software-reset/m-p/1974465#M42100</guid>
      <dc:creator>enricoantonioli</dc:creator>
      <dc:date>2024-10-15T16:31:40Z</dc:date>
    </item>
    <item>
      <title>Re: S32K311 FLASH ready for program after functional software reset</title>
      <link>https://community.nxp.com/t5/S32K/S32K311-FLASH-ready-for-program-after-functional-software-reset/m-p/1974900#M42134</link>
      <description>&lt;P&gt;According Table 207 above, Block 0 is locked as well. Notice that there are always two blocks locked even with other S32K3.&lt;/P&gt;
&lt;P&gt;Apparently only data flash you could access immediately on S32K311.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2024 07:11:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K311-FLASH-ready-for-program-after-functional-software-reset/m-p/1974900#M42134</guid>
      <dc:creator>davidtosenovjan</dc:creator>
      <dc:date>2024-10-16T07:11:55Z</dc:date>
    </item>
    <item>
      <title>Re: S32K311 FLASH ready for program after functional software reset</title>
      <link>https://community.nxp.com/t5/S32K/S32K311-FLASH-ready-for-program-after-functional-software-reset/m-p/1974929#M42139</link>
      <description>&lt;P&gt;Hello David,&lt;/P&gt;&lt;P&gt;thank you very much for&amp;nbsp;your clarification, but if you say "Notice that there are always two blocks locked even with other S32K3", I don't understand why in Table 207 for S32K311 Code Flash Block 1 is NA and not 1?&lt;/P&gt;&lt;P&gt;I suppose that for S32K310 too, that has only block 0 this is locked by HSE during SBAF, is it correct?&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;E.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2024 07:41:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K311-FLASH-ready-for-program-after-functional-software-reset/m-p/1974929#M42139</guid>
      <dc:creator>enricoantonioli</dc:creator>
      <dc:date>2024-10-16T07:41:20Z</dc:date>
    </item>
    <item>
      <title>Re: S32K311 FLASH ready for program after functional software reset</title>
      <link>https://community.nxp.com/t5/S32K/S32K311-FLASH-ready-for-program-after-functional-software-reset/m-p/1975835#M42197</link>
      <description>&lt;P&gt;This table does not fit to S32K311 (S32K3x1 fits to S32K341), I will report it as documentation error as on this device, blocks are defined differently.&lt;/P&gt;
&lt;P&gt;If I can compare with other sub-derivatives, I suppose both code blocks are locked.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2024 08:06:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K311-FLASH-ready-for-program-after-functional-software-reset/m-p/1975835#M42197</guid>
      <dc:creator>davidtosenovjan</dc:creator>
      <dc:date>2024-10-17T08:06:59Z</dc:date>
    </item>
  </channel>
</rss>

