<?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: S32K144 Flash Partitioning Generates Hard Fault in S32K</title>
    <link>https://community.nxp.com/t5/S32K/S32K144-Flash-Partitioning-Generates-Hard-Fault/m-p/948944#M5197</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ummer,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please&amp;nbsp;read the SIM_FCFG1_DEPART register just before the partition command?&lt;/P&gt;&lt;P&gt;It could be&amp;nbsp;caused by CSEc.&lt;/P&gt;&lt;P&gt;Before running the partition command, the DFlash&amp;nbsp;IFR must be erased.&lt;/P&gt;&lt;P&gt;Please take a look at&amp;nbsp;&lt;A href="https://www.nxp.com/docs/en/application-note/AN12130.pdf"&gt;AN12130, Production Flash Programming Best Practices for S32K1xx MCUs&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/82409iE92CA75D900349CB/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.nxp.com/webapp/Download?colCode=AN5401SW"&gt;AN5401SW&lt;/A&gt;&amp;nbsp;contains an example that shows how to erase the key&amp;nbsp;provided they are not write-protected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR, Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Jul 2019 15:07:07 GMT</pubDate>
    <dc:creator>danielmartynek</dc:creator>
    <dc:date>2019-07-23T15:07:07Z</dc:date>
    <item>
      <title>S32K144 Flash Partitioning Generates Hard Fault</title>
      <link>https://community.nxp.com/t5/S32K/S32K144-Flash-Partitioning-Generates-Hard-Fault/m-p/948943#M5196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;While trying to do flash partitioning by running the example "flash_partitioning_s32k144" from RAM, I am getting a ACCERR. The same program used to work earlier and still works on other targets. Can any one help with the possible cause for this error. I have gone through the possible error list in the manual, and I think none of them are valid in this case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Also please let me know if programming any write protected key in the CSEc module can cause this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Another observation is if I bypass the flash partitioning for the CSEC key configuration, while running the random number geneartion, I am getting a hard fault.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Please help with your valuable comments/suggestions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ummer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Jul 2019 10:48:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144-Flash-Partitioning-Generates-Hard-Fault/m-p/948943#M5196</guid>
      <dc:creator>ummerkunnummalk</dc:creator>
      <dc:date>2019-07-21T10:48:55Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 Flash Partitioning Generates Hard Fault</title>
      <link>https://community.nxp.com/t5/S32K/S32K144-Flash-Partitioning-Generates-Hard-Fault/m-p/948944#M5197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ummer,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please&amp;nbsp;read the SIM_FCFG1_DEPART register just before the partition command?&lt;/P&gt;&lt;P&gt;It could be&amp;nbsp;caused by CSEc.&lt;/P&gt;&lt;P&gt;Before running the partition command, the DFlash&amp;nbsp;IFR must be erased.&lt;/P&gt;&lt;P&gt;Please take a look at&amp;nbsp;&lt;A href="https://www.nxp.com/docs/en/application-note/AN12130.pdf"&gt;AN12130, Production Flash Programming Best Practices for S32K1xx MCUs&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/82409iE92CA75D900349CB/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.nxp.com/webapp/Download?colCode=AN5401SW"&gt;AN5401SW&lt;/A&gt;&amp;nbsp;contains an example that shows how to erase the key&amp;nbsp;provided they are not write-protected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR, Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jul 2019 15:07:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144-Flash-Partitioning-Generates-Hard-Fault/m-p/948944#M5197</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2019-07-23T15:07:07Z</dc:date>
    </item>
  </channel>
</rss>

