<?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: S32K142: Flash Partition Anomaly in S32K</title>
    <link>https://community.nxp.com/t5/S32K/S32K142-Flash-Partition-Anomaly/m-p/1782553#M30182</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Hi@&lt;A href="https://community.nxp.com/t5/user/viewprofilepage/user-id/188029" target="_self"&gt;&lt;SPAN class=""&gt;Senlent&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I apologize for submitting a picture of another project. In fact, what I wrote here is [#ifdef S32K142_SERIES]. My code was written with reference to [IDE:flash_partitioning_s32k142], but I just omitted the step of erasing ALL Blocks.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ShaoTianzhi_0-1704330730925.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/256591i38241A6766A35182/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ShaoTianzhi_0-1704330730925.png" alt="ShaoTianzhi_0-1704330730925.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My confusion is why the code stops at the position of modifying the register.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 04 Jan 2024 01:18:47 GMT</pubDate>
    <dc:creator>ShaoTianzhi</dc:creator>
    <dc:date>2024-01-04T01:18:47Z</dc:date>
    <item>
      <title>S32K142: Flash Partition Anomaly</title>
      <link>https://community.nxp.com/t5/S32K/S32K142-Flash-Partition-Anomaly/m-p/1781467#M30091</link>
      <description>&lt;P&gt;&lt;SPAN&gt;“I referred to NXP’s Flash partition sample code and wrote the following code. When executed on S32K146, it works normally and can perform partitioning. However, when debugging on S32K142, the program stops at the execution of [ MSCM-&amp;gt;OCMDR[0u] |= MSCM_OCMDR_OCM1(0x3u); ]. After clicking break and then go, it continues to execute without crashing. When not debugging, the program also stops here. I would like to ask why this is happening?”&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ShaoTianzhi_0-1704176751678.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/256305i91341E0EDA0DD223/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ShaoTianzhi_0-1704176751678.png" alt="ShaoTianzhi_0-1704176751678.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ShaoTianzhi_1-1704176838437.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/256306i30A1DBC316C221F9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ShaoTianzhi_1-1704176838437.png" alt="ShaoTianzhi_1-1704176838437.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jan 2024 06:27:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K142-Flash-Partition-Anomaly/m-p/1781467#M30091</guid>
      <dc:creator>ShaoTianzhi</dc:creator>
      <dc:date>2024-01-02T06:27:36Z</dc:date>
    </item>
    <item>
      <title>Re: S32K142: Flash Partition Anomaly</title>
      <link>https://community.nxp.com/t5/S32K/S32K142-Flash-Partition-Anomaly/m-p/1781906#M30131</link>
      <description>&lt;P&gt;&lt;A href="mailto:Hi@ShaoTianzhi" target="_blank"&gt;Hi@ShaoTianzhi&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Could you please to modified the highlight part to S32K142 and then try again.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Senlent_0-1704248906953.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/256417i4094EA54CFEBAEFF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Senlent_0-1704248906953.png" alt="Senlent_0-1704248906953.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I could not find any more porblem from the picture you provided, so if this still can't work normally, you may need to test the demo code in IDE:&lt;STRONG&gt;flash_partitioning_s32k142&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jan 2024 02:31:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K142-Flash-Partition-Anomaly/m-p/1781906#M30131</guid>
      <dc:creator>Senlent</dc:creator>
      <dc:date>2024-01-03T02:31:03Z</dc:date>
    </item>
    <item>
      <title>Re: S32K142: Flash Partition Anomaly</title>
      <link>https://community.nxp.com/t5/S32K/S32K142-Flash-Partition-Anomaly/m-p/1782553#M30182</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi@&lt;A href="https://community.nxp.com/t5/user/viewprofilepage/user-id/188029" target="_self"&gt;&lt;SPAN class=""&gt;Senlent&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I apologize for submitting a picture of another project. In fact, what I wrote here is [#ifdef S32K142_SERIES]. My code was written with reference to [IDE:flash_partitioning_s32k142], but I just omitted the step of erasing ALL Blocks.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ShaoTianzhi_0-1704330730925.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/256591i38241A6766A35182/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ShaoTianzhi_0-1704330730925.png" alt="ShaoTianzhi_0-1704330730925.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My confusion is why the code stops at the position of modifying the register.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jan 2024 01:18:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K142-Flash-Partition-Anomaly/m-p/1782553#M30182</guid>
      <dc:creator>ShaoTianzhi</dc:creator>
      <dc:date>2024-01-04T01:18:47Z</dc:date>
    </item>
    <item>
      <title>Re: S32K142: Flash Partition Anomaly</title>
      <link>https://community.nxp.com/t5/S32K/S32K142-Flash-Partition-Anomaly/m-p/1782564#M30183</link>
      <description>&lt;P&gt;&lt;A href="mailto:Hi@ShaoTianzhi" target="_blank"&gt;Hi@ShaoTianzhi&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I don't find any problems from the pictures you provided. I would like to ask if your S32K142 has been partitioned before. If it has been partitioned, please erase the partition first and try again.&lt;BR /&gt;If you still have problems, I need you to provide sample project code and I will check it for you&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jan 2024 01:38:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K142-Flash-Partition-Anomaly/m-p/1782564#M30183</guid>
      <dc:creator>Senlent</dc:creator>
      <dc:date>2024-01-04T01:38:30Z</dc:date>
    </item>
    <item>
      <title>Re: S32K142: Flash Partition Anomaly</title>
      <link>https://community.nxp.com/t5/S32K/S32K142-Flash-Partition-Anomaly/m-p/1785900#M30468</link>
      <description>&lt;P&gt;&lt;A href="mailto:Hi@ShaoTianzhi" target="_blank" rel="nofollow noopener noreferrer"&gt;Hi@Senlent&lt;/A&gt;&lt;/P&gt;&lt;P&gt;sorry for the later reply,&lt;/P&gt;&lt;P&gt;I have put the program in the attachment, please check.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jan 2024 08:41:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K142-Flash-Partition-Anomaly/m-p/1785900#M30468</guid>
      <dc:creator>ShaoTianzhi</dc:creator>
      <dc:date>2024-01-10T08:41:06Z</dc:date>
    </item>
    <item>
      <title>Re: S32K142: Flash Partition Anomaly</title>
      <link>https://community.nxp.com/t5/S32K/S32K142-Flash-Partition-Anomaly/m-p/1786729#M30496</link>
      <description>&lt;P&gt;&lt;A href="mailto:Hi@ShaoTianzhi" target="_blank"&gt;Hi@ShaoTianzhi&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I tried mapping these operations to RAM and it seems to be no problem for me.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Senlent_1-1704941871253.png" style="width: 512px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/257638iE8EA9936A3A7B2A8/image-dimensions/512x433?v=v2" width="512" height="433" role="button" title="Senlent_1-1704941871253.png" alt="Senlent_1-1704941871253.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="Senlent_0-1704941038597.png" style="width: 518px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/257635i5AB9D8F4301A2493/image-dimensions/518x368?v=v2" width="518" height="368" role="button" title="Senlent_0-1704941038597.png" alt="Senlent_0-1704941038597.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2024 03:03:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K142-Flash-Partition-Anomaly/m-p/1786729#M30496</guid>
      <dc:creator>Senlent</dc:creator>
      <dc:date>2024-01-11T03:03:26Z</dc:date>
    </item>
    <item>
      <title>Re: S32K142: Flash Partition Anomaly</title>
      <link>https://community.nxp.com/t5/S32K/S32K142-Flash-Partition-Anomaly/m-p/1787666#M30567</link>
      <description>&lt;P&gt;&lt;A href="mailto:Hi@ShaoTianzhi" target="_blank" rel="nofollow noopener noreferrer"&gt;Hi@Senlent&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I have tried according to your method, but when using IAR Debug, a new problem occurred. The code is stuck at the position where the OCMDR register is written. Clicking Break prompts that the CPU did not stop.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ShaoTianzhi_0-1705030223173.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/257884iBDC4B111690EFC02/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ShaoTianzhi_0-1705030223173.png" alt="ShaoTianzhi_0-1705030223173.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jan 2024 03:30:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K142-Flash-Partition-Anomaly/m-p/1787666#M30567</guid>
      <dc:creator>ShaoTianzhi</dc:creator>
      <dc:date>2024-01-12T03:30:34Z</dc:date>
    </item>
    <item>
      <title>Re: S32K142: Flash Partition Anomaly</title>
      <link>https://community.nxp.com/t5/S32K/S32K142-Flash-Partition-Anomaly/m-p/1787721#M30569</link>
      <description>&lt;P&gt;&lt;A href="mailto:Hi@ShaoTianzhi" target="_blank"&gt;Hi@ShaoTianzhi&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I can't run the IAR project. You can test the routine on S32 DS so that I can easily reproduce your problem.&lt;BR /&gt;You can check the &lt;STRONG&gt;x.map&lt;/STRONG&gt; file to see if the function is correctly mapped into RAM&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jan 2024 05:34:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K142-Flash-Partition-Anomaly/m-p/1787721#M30569</guid>
      <dc:creator>Senlent</dc:creator>
      <dc:date>2024-01-12T05:34:56Z</dc:date>
    </item>
  </channel>
</rss>

