<?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 Default ISR Issue Flash memory on s32k146 in S32K</title>
    <link>https://community.nxp.com/t5/S32K/Default-ISR-Issue-Flash-memory-on-s32k146/m-p/2161913#M52316</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I’ve been working with Flash memory on the S32K146. Initially, I tested the &lt;STRONG&gt;Flash_Partitioning_S32K146&lt;/STRONG&gt; example program, and it worked fine. After that, I created a new application project and implemented my own program based on my requirements. However, in this new project, the code isn’t working — during the &lt;STRONG&gt;EraseAllBlock&lt;/STRONG&gt; operation, it jumps to the &lt;STRONG&gt;default ISR&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt; My main.c file works properly when used in the example project.&lt;/P&gt;&lt;P&gt;I have attached the code below.&lt;/P&gt;</description>
    <pubDate>Tue, 02 Sep 2025 07:36:56 GMT</pubDate>
    <dc:creator>Kiruthika_S</dc:creator>
    <dc:date>2025-09-02T07:36:56Z</dc:date>
    <item>
      <title>Default ISR Issue Flash memory on s32k146</title>
      <link>https://community.nxp.com/t5/S32K/Default-ISR-Issue-Flash-memory-on-s32k146/m-p/2161913#M52316</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I’ve been working with Flash memory on the S32K146. Initially, I tested the &lt;STRONG&gt;Flash_Partitioning_S32K146&lt;/STRONG&gt; example program, and it worked fine. After that, I created a new application project and implemented my own program based on my requirements. However, in this new project, the code isn’t working — during the &lt;STRONG&gt;EraseAllBlock&lt;/STRONG&gt; operation, it jumps to the &lt;STRONG&gt;default ISR&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt; My main.c file works properly when used in the example project.&lt;/P&gt;&lt;P&gt;I have attached the code below.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Sep 2025 07:36:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Default-ISR-Issue-Flash-memory-on-s32k146/m-p/2161913#M52316</guid>
      <dc:creator>Kiruthika_S</dc:creator>
      <dc:date>2025-09-02T07:36:56Z</dc:date>
    </item>
    <item>
      <title>Re: Default ISR Issue Flash memory on s32k146</title>
      <link>https://community.nxp.com/t5/S32K/Default-ISR-Issue-Flash-memory-on-s32k146/m-p/2161933#M52321</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/254343"&gt;@Kiruthika_S&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I don’t recommend erasing all flash blocks from within the application.&lt;/P&gt;
&lt;P&gt;Full flash erase operation must be executed from SRAM, since the core cannot erase flash while executing code from it, due to the Read-While-Write (RWW) limitation.&lt;/P&gt;
&lt;P&gt;In the project you posted, I only see a Debug_FLASH session. To support execution from SRAM, you’ll need to configure a Debug_SRAM session.&lt;/P&gt;
&lt;P&gt;Also, keep in mind that partitioning should only be done once during the device’s lifetime, ideally via the programmer before the application is loaded.&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>Tue, 02 Sep 2025 08:10:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Default-ISR-Issue-Flash-memory-on-s32k146/m-p/2161933#M52321</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2025-09-02T08:10:19Z</dc:date>
    </item>
  </channel>
</rss>

