<?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: Flash Partition, Flash corruption - S32K148 in S32K</title>
    <link>https://community.nxp.com/t5/S32K/Flash-Partition-Flash-corruption-S32K148/m-p/1700704#M25840</link>
    <description>&lt;P&gt;I used&amp;nbsp;the "flash_partitioning_s32k144" project from the example list. Initially, it was working and I tried to re-partition with the same code by changing the line from "&amp;nbsp;if (flashSSDConfig.EEESize == 0u)" to&amp;nbsp;&amp;nbsp;if (flashSSDConfig.EEESize != 0u)&lt;/P&gt;&lt;P&gt;Immediately it stopped working.&lt;/P&gt;&lt;P&gt;For the error message. I am attaching the S32DS log file and SEGGER J-Flash log file for reference.&lt;/P&gt;</description>
    <pubDate>Tue, 08 Aug 2023 05:21:05 GMT</pubDate>
    <dc:creator>rajivbandodkar</dc:creator>
    <dc:date>2023-08-08T05:21:05Z</dc:date>
    <item>
      <title>Flash Partition, Flash corruption - S32K148</title>
      <link>https://community.nxp.com/t5/S32K/Flash-Partition-Flash-corruption-S32K148/m-p/1699157#M25770</link>
      <description>&lt;P&gt;I was trying to do an internal flash memory partition from the example code. Initially, the partition&amp;nbsp;happened&amp;nbsp;and when I tried to do it the second time the flash memory got corrupted, and it is not allowing me to reprogram or erase the flash. (the debugger is not able to connect to the controller).&lt;/P&gt;&lt;P&gt;What could be the issue? Any solution or precaution with new MCU?&lt;/P&gt;</description>
      <pubDate>Fri, 04 Aug 2023 06:39:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Flash-Partition-Flash-corruption-S32K148/m-p/1699157#M25770</guid>
      <dc:creator>rajivbandodkar</dc:creator>
      <dc:date>2023-08-04T06:39:39Z</dc:date>
    </item>
    <item>
      <title>Re: Flash Partition, Flash corruption - S32K148</title>
      <link>https://community.nxp.com/t5/S32K/Flash-Partition-Flash-corruption-S32K148/m-p/1699385#M25782</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/109052"&gt;@rajivbandodkar&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;What is the error message you get?&lt;/P&gt;
&lt;P&gt;Which example did you flash? With or without CSEc?&lt;/P&gt;
&lt;P&gt;When the first sector is being erased / programmed, there is always a chance that it fails and leaves the flash configuration field in an indeterminate state.&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>Fri, 04 Aug 2023 11:57:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Flash-Partition-Flash-corruption-S32K148/m-p/1699385#M25782</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2023-08-04T11:57:31Z</dc:date>
    </item>
    <item>
      <title>Re: Flash Partition, Flash corruption - S32K148</title>
      <link>https://community.nxp.com/t5/S32K/Flash-Partition-Flash-corruption-S32K148/m-p/1700704#M25840</link>
      <description>&lt;P&gt;I used&amp;nbsp;the "flash_partitioning_s32k144" project from the example list. Initially, it was working and I tried to re-partition with the same code by changing the line from "&amp;nbsp;if (flashSSDConfig.EEESize == 0u)" to&amp;nbsp;&amp;nbsp;if (flashSSDConfig.EEESize != 0u)&lt;/P&gt;&lt;P&gt;Immediately it stopped working.&lt;/P&gt;&lt;P&gt;For the error message. I am attaching the S32DS log file and SEGGER J-Flash log file for reference.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Aug 2023 05:21:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Flash-Partition-Flash-corruption-S32K148/m-p/1700704#M25840</guid>
      <dc:creator>rajivbandodkar</dc:creator>
      <dc:date>2023-08-08T05:21:05Z</dc:date>
    </item>
    <item>
      <title>Re: Flash Partition, Flash corruption - S32K148</title>
      <link>https://community.nxp.com/t5/S32K/Flash-Partition-Flash-corruption-S32K148/m-p/1703507#M25981</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/109052"&gt;@rajivbandodkar&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Seems like the programming on the first sector was interrupted, and now the debugger reports that the MCU is locked&lt;/P&gt;
&lt;P&gt;You can try the &lt;STRONG&gt;unlock kinetis&lt;/STRONG&gt; j-link command as described here:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/S32K/Unbricking-S32K146/m-p/937227" target="_blank"&gt;https://community.nxp.com/t5/S32K/Unbricking-S32K146/m-p/937227&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;If this fails, I'm afraid it cannot be recovered.&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Aug 2023 10:12:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Flash-Partition-Flash-corruption-S32K148/m-p/1703507#M25981</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2023-08-11T10:12:46Z</dc:date>
    </item>
  </channel>
</rss>

