<?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: S32K116 Flash Issue</title>
    <link>https://community.nxp.com/t5/S32K/S32K116-Flash-Issue/m-p/1271692#M10772</link>
    <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/94876"&gt;@chaitanya_kalyani&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;The example flash_partiitioning_s32k116 utilizes the EEPROM.&lt;/P&gt;
&lt;P&gt;You can halt the execution right at the beginning of the example with a loop like this:&lt;/P&gt;
&lt;LI-CODE lang="c"&gt;volatile uint32_t flag_var = 1;
while(flag_var)
{
}&lt;/LI-CODE&gt;
&lt;P&gt;So that the example can't do anything after the power-on reset.&lt;/P&gt;
&lt;P&gt;The flag_var can be cleared later in the Variables window (S32DS).&lt;/P&gt;
&lt;P&gt;If you use a PE Micro debugger, you can &lt;STRONG&gt;attach&lt;/STRONG&gt; the debugger&lt;STRONG&gt; to the running target&lt;/STRONG&gt; without reprogramming the MCU.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_0-1620128615673.png" style="width: 438px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/143856iC355E862724477F5/image-dimensions/438x414?v=v2" width="438" height="414" role="button" title="danielmartynek_0-1620128615673.png" alt="danielmartynek_0-1620128615673.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;While the execution is in the loop, read these registers:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_1-1620128745532.png" style="width: 444px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/143857i4F92E95C4921B65A/image-dimensions/444x181?v=v2" width="444" height="181" role="button" title="danielmartynek_1-1620128745532.png" alt="danielmartynek_1-1620128745532.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;If the FlexNVM is partitioned for EEPROM and EEERDY == 1, you should see all the data preserved in the FlexRAM (EEEPROM).&lt;/P&gt;
&lt;P&gt;Also, you can preserve the partitioning while loading another project using the &lt;STRONG&gt;Preserve partitioning&lt;/STRONG&gt; option:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_2-1620128906147.png" style="width: 517px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/143858iF0F4C5FD279E8D2B/image-dimensions/517x402?v=v2" width="517" height="402" role="button" title="danielmartynek_2-1620128906147.png" alt="danielmartynek_2-1620128906147.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="danielmartynek_3-1620128944423.png" style="width: 519px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/143859i88B99A357EF34DB5/image-dimensions/519x208?v=v2" width="519" height="208" role="button" title="danielmartynek_3-1620128944423.png" alt="danielmartynek_3-1620128944423.png" /&gt;&lt;/span&gt;&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;</description>
    <pubDate>Tue, 04 May 2021 11:52:33 GMT</pubDate>
    <dc:creator>danielmartynek</dc:creator>
    <dc:date>2021-05-04T11:52:33Z</dc:date>
    <item>
      <title>S32K116 Flash Issue</title>
      <link>https://community.nxp.com/t5/S32K/S32K116-Flash-Issue/m-p/1271305#M10758</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am working on urgent project. For our one of the project we are using S32K116 MCU.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are facing issue for flash. After power on reset data getting lost.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And when I used Flash module then not able to write the data&amp;nbsp;FLASH_DRV_EEEWrite using this API.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After using&amp;nbsp;FLASH_DRV_EEEWrite the data is not getting written in flash.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance.&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>Mon, 03 May 2021 14:25:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K116-Flash-Issue/m-p/1271305#M10758</guid>
      <dc:creator>chaitanya_kalyani</dc:creator>
      <dc:date>2021-05-03T14:25:16Z</dc:date>
    </item>
    <item>
      <title>Re: S32K116 Flash Issue</title>
      <link>https://community.nxp.com/t5/S32K/S32K116-Flash-Issue/m-p/1271614#M10768</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/94876"&gt;@chaitanya_kalyani&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Is the FlexNVM partitioned for EEPROM?&lt;/P&gt;
&lt;P&gt;What is the value of SIM_FCFG1[DEPART]?&lt;/P&gt;
&lt;P&gt;Is FTFC_FCNFG[EEERDY] set after the power-on reset?&lt;/P&gt;
&lt;P&gt;The EFlash (or EEPROM backup) is not accessible to the user.&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, 04 May 2021 08:25:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K116-Flash-Issue/m-p/1271614#M10768</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2021-05-04T08:25:51Z</dc:date>
    </item>
    <item>
      <title>Re: S32K116 Flash Issue</title>
      <link>https://community.nxp.com/t5/S32K/S32K116-Flash-Issue/m-p/1271638#M10770</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/160001"&gt;@danielmartynek&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the quick response.&lt;/P&gt;&lt;P&gt;I am using Flash as EEPROM by referring flash_partiitioning_s32k116.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For SIM_FCFG1[DEPART] and FTFC_FCNFG[EEERDY] not setting any value after power on reset.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Can you please provide me any example.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 May 2021 09:29:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K116-Flash-Issue/m-p/1271638#M10770</guid>
      <dc:creator>chaitanya_kalyani</dc:creator>
      <dc:date>2021-05-04T09:29:55Z</dc:date>
    </item>
    <item>
      <title>Re: S32K116 Flash Issue</title>
      <link>https://community.nxp.com/t5/S32K/S32K116-Flash-Issue/m-p/1271692#M10772</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/94876"&gt;@chaitanya_kalyani&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;The example flash_partiitioning_s32k116 utilizes the EEPROM.&lt;/P&gt;
&lt;P&gt;You can halt the execution right at the beginning of the example with a loop like this:&lt;/P&gt;
&lt;LI-CODE lang="c"&gt;volatile uint32_t flag_var = 1;
while(flag_var)
{
}&lt;/LI-CODE&gt;
&lt;P&gt;So that the example can't do anything after the power-on reset.&lt;/P&gt;
&lt;P&gt;The flag_var can be cleared later in the Variables window (S32DS).&lt;/P&gt;
&lt;P&gt;If you use a PE Micro debugger, you can &lt;STRONG&gt;attach&lt;/STRONG&gt; the debugger&lt;STRONG&gt; to the running target&lt;/STRONG&gt; without reprogramming the MCU.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_0-1620128615673.png" style="width: 438px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/143856iC355E862724477F5/image-dimensions/438x414?v=v2" width="438" height="414" role="button" title="danielmartynek_0-1620128615673.png" alt="danielmartynek_0-1620128615673.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;While the execution is in the loop, read these registers:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_1-1620128745532.png" style="width: 444px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/143857i4F92E95C4921B65A/image-dimensions/444x181?v=v2" width="444" height="181" role="button" title="danielmartynek_1-1620128745532.png" alt="danielmartynek_1-1620128745532.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;If the FlexNVM is partitioned for EEPROM and EEERDY == 1, you should see all the data preserved in the FlexRAM (EEEPROM).&lt;/P&gt;
&lt;P&gt;Also, you can preserve the partitioning while loading another project using the &lt;STRONG&gt;Preserve partitioning&lt;/STRONG&gt; option:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_2-1620128906147.png" style="width: 517px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/143858iF0F4C5FD279E8D2B/image-dimensions/517x402?v=v2" width="517" height="402" role="button" title="danielmartynek_2-1620128906147.png" alt="danielmartynek_2-1620128906147.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="danielmartynek_3-1620128944423.png" style="width: 519px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/143859i88B99A357EF34DB5/image-dimensions/519x208?v=v2" width="519" height="208" role="button" title="danielmartynek_3-1620128944423.png" alt="danielmartynek_3-1620128944423.png" /&gt;&lt;/span&gt;&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;</description>
      <pubDate>Tue, 04 May 2021 11:52:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K116-Flash-Issue/m-p/1271692#M10772</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2021-05-04T11:52:33Z</dc:date>
    </item>
    <item>
      <title>Re: S32K116 Flash Issue</title>
      <link>https://community.nxp.com/t5/S32K/S32K116-Flash-Issue/m-p/1271818#M10776</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/160001"&gt;@danielmartynek&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am working on project and in that I am initializing like this.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chaitanya_kalya_0-1620144639671.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/143880i1854C7FE4DFFA003/image-size/medium?v=v2&amp;amp;px=400" role="button" title="chaitanya_kalya_0-1620144639671.png" alt="chaitanya_kalya_0-1620144639671.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;After power on reset data getting lost.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Flashed program also getting lost. Again need to re-flash the program.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 May 2021 16:13:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K116-Flash-Issue/m-p/1271818#M10776</guid>
      <dc:creator>chaitanya_kalyani</dc:creator>
      <dc:date>2021-05-04T16:13:18Z</dc:date>
    </item>
    <item>
      <title>Re: S32K116 Flash Issue</title>
      <link>https://community.nxp.com/t5/S32K/S32K116-Flash-Issue/m-p/1272056#M10781</link>
      <description>&lt;P&gt;What do you mean by "Flashed program also getting lost"?&lt;/P&gt;
&lt;P&gt;Do you load the project to SRAM or FLASH?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR, Daniel&lt;/P&gt;</description>
      <pubDate>Wed, 05 May 2021 07:55:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K116-Flash-Issue/m-p/1272056#M10781</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2021-05-05T07:55:17Z</dc:date>
    </item>
    <item>
      <title>Re: S32K116 Flash Issue</title>
      <link>https://community.nxp.com/t5/S32K/S32K116-Flash-Issue/m-p/1272096#M10782</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/160001"&gt;@danielmartynek&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I checked for Startup -&amp;gt; Attach to running Target.&lt;/P&gt;&lt;P&gt;After selecting this option program getting stuck in ISR.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using FLASH only to dump the code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using the same way with S32K142 for another project but there is no issue with data lost after power on reset&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please provide me the solution ASAP.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am working on urgent project.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;</description>
      <pubDate>Wed, 05 May 2021 09:05:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K116-Flash-Issue/m-p/1272096#M10782</guid>
      <dc:creator>chaitanya_kalyani</dc:creator>
      <dc:date>2021-05-05T09:05:54Z</dc:date>
    </item>
    <item>
      <title>Re: S32K116 Flash Issue</title>
      <link>https://community.nxp.com/t5/S32K/S32K116-Flash-Issue/m-p/1272101#M10783</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/94876"&gt;@chaitanya_kalyani&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Which ISR?&lt;/P&gt;
&lt;P&gt;Do you have HardFault Handler in the project with an endless loop?&lt;/P&gt;
&lt;P&gt;After POR, the SRAM is not defined.&lt;/P&gt;
&lt;P&gt;The code must be in the Flash.&lt;/P&gt;
&lt;P&gt;Please make sure the code is in the Flash before it gets power-cycled.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regarding the EEPPROM, as I already mentioned, you need to check the EEERDY flag.&lt;/P&gt;
&lt;P&gt;Please refer to AN11983 Using the S32K1xx EEPROM Functionality&lt;/P&gt;
&lt;P&gt;8.3 Power-On recommendation&lt;/P&gt;
&lt;P&gt;9 Appendix A EEPROM examples&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/docs/en/application-note/AN11983.pdf" target="_blank"&gt;https://www.nxp.com/docs/en/application-note/AN11983.pdf&lt;/A&gt;&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;</description>
      <pubDate>Wed, 05 May 2021 09:16:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K116-Flash-Issue/m-p/1272101#M10783</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2021-05-05T09:16:27Z</dc:date>
    </item>
    <item>
      <title>Re: S32K116 Flash Issue</title>
      <link>https://community.nxp.com/t5/S32K/S32K116-Flash-Issue/m-p/1272150#M10786</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/160001"&gt;@danielmartynek&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After compilation there is no issue and when we attach a debugger program is working fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Like I am using LIN communication so LIN is working fine but after power in reset data is getting lost.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;No LIN frame is able to receive and after power on reset need to re-flash the program.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using option ProjName_Debug_PNE to flash the program using PE Multilink. I am using the same option for other project as well but there is&amp;nbsp; no issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Environment: S32 Design Studio ARM 2.2&lt;/P&gt;&lt;P&gt;Compiler: IAR&lt;/P&gt;&lt;P&gt;SDK Version :&amp;nbsp;S32_SDK_RTM_3.0.0&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chaitanya_kalya_0-1620214526413.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/143944i340969ADB934366F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="chaitanya_kalya_0-1620214526413.png" alt="chaitanya_kalya_0-1620214526413.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I resolve this issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 May 2021 11:37:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K116-Flash-Issue/m-p/1272150#M10786</guid>
      <dc:creator>chaitanya_kalyani</dc:creator>
      <dc:date>2021-05-05T11:37:31Z</dc:date>
    </item>
    <item>
      <title>Re: S32K116 Flash Issue</title>
      <link>https://community.nxp.com/t5/S32K/S32K116-Flash-Issue/m-p/1272248#M10788</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/94876"&gt;@chaitanya_kalyani&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;What linker file does this ProjName_Debug_PNE debug configuration use?&lt;/P&gt;
&lt;P&gt;Because it really looks like you are loading it into SRAM.&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;</description>
      <pubDate>Wed, 05 May 2021 14:42:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K116-Flash-Issue/m-p/1272248#M10788</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2021-05-05T14:42:47Z</dc:date>
    </item>
    <item>
      <title>Re: S32K116 Flash Issue</title>
      <link>https://community.nxp.com/t5/S32K/S32K116-Flash-Issue/m-p/1272347#M10789</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/160001"&gt;@danielmartynek&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is using&amp;nbsp;S32K116_17_flash.icf as linker file.&lt;/P&gt;</description>
      <pubDate>Wed, 05 May 2021 17:39:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K116-Flash-Issue/m-p/1272347#M10789</guid>
      <dc:creator>chaitanya_kalyani</dc:creator>
      <dc:date>2021-05-05T17:39:49Z</dc:date>
    </item>
    <item>
      <title>Re: S32K116 Flash Issue</title>
      <link>https://community.nxp.com/t5/S32K/S32K116-Flash-Issue/m-p/1273724#M10815</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/94876"&gt;@chaitanya_kalyani&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have difficulties to understand the issue here.&lt;/P&gt;
&lt;P&gt;You said that the program does not work after POR e.g. the EEPROM data are missing, LIN does not work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There could be these reasons:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. The code is in SRAM and it works until the MCU is power-cycled - that would explain the LIN behavior.&lt;/P&gt;
&lt;P&gt;Please read the map file to see where the code is, make sure you load the correct image, and you can step the code and read the PC.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. The MCU is mass-erase and re-flashed when the debugger gets connected after the POR - that would explain the missing EEPROM data.&lt;/P&gt;
&lt;P&gt;If this is the issue, you can simply attach the debugger to the running target as it was explained already.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3. The LIN does not work because of a fault exception detected after the POR.&lt;/P&gt;
&lt;P&gt;Please implement HardFault handler and debug it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you,&lt;/P&gt;
&lt;P&gt;Regard,&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, 07 May 2021 13:28:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K116-Flash-Issue/m-p/1273724#M10815</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2021-05-07T13:28:43Z</dc:date>
    </item>
    <item>
      <title>Re: S32K116 Flash Issue</title>
      <link>https://community.nxp.com/t5/S32K/S32K116-Flash-Issue/m-p/1274038#M10823</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/160001"&gt;@danielmartynek&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your response.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Program is not working after power on reset issue resolved. The issue is with S32 Design Studio V2.2 .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I created same program with old IDE that is S32 Design Studio v2018 then it is working fine with same configuration.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In case if LIN I was configured for my project requirement and after porting project to 2018 IDE it is working after power on reset.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In case of while flashing giving this message&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chaitanya_kalya_2-1620549675148.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/144282i199BBDFF8A143A52/image-size/medium?v=v2&amp;amp;px=400" role="button" title="chaitanya_kalya_2-1620549675148.png" alt="chaitanya_kalya_2-1620549675148.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;after flashing of EEPROM from underline code it is entering into &lt;STRONG&gt;DefaultISR.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chaitanya_kalya_0-1620548831765.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/144280i100478F36B75FAFA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="chaitanya_kalya_0-1620548831765.png" alt="chaitanya_kalya_0-1620548831765.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="chaitanya_kalya_1-1620549098097.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/144281iB1E59EBA429B8112/image-size/medium?v=v2&amp;amp;px=400" role="button" title="chaitanya_kalya_1-1620549098097.png" alt="chaitanya_kalya_1-1620549098097.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In case of example it is working fine.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am working on urgent project. Quick response highly appreciated.&lt;/P&gt;</description>
      <pubDate>Sun, 09 May 2021 08:42:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K116-Flash-Issue/m-p/1274038#M10823</guid>
      <dc:creator>chaitanya_kalyani</dc:creator>
      <dc:date>2021-05-09T08:42:12Z</dc:date>
    </item>
    <item>
      <title>Re: S32K116 Flash Issue</title>
      <link>https://community.nxp.com/t5/S32K/S32K116-Flash-Issue/m-p/1274462#M10835</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/94876"&gt;@chaitanya_kalyani&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I'm sorry but I have difficulties to understand the description of this issue.&lt;/P&gt;
&lt;P&gt;If you have found an issue with the Design Studio, please create a new thread on the S32DS community: &lt;A href="https://community.nxp.com/t5/S32-Design-Studio/bd-p/s32ds" target="_blank"&gt;https://community.nxp.com/t5/S32-Design-Studio/bd-p/s32ds&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Regarding the DefaultISR, this is only a default ISR for all the unimplemented interrupts.&lt;/P&gt;
&lt;P&gt;As I mentioned in my previous post, please implement HardFault_Handler() in you project.&lt;/P&gt;
&lt;P&gt;Also again, please read DEPART and EEERDY before you start using the EEPROM.&lt;/P&gt;
&lt;P&gt;Where is the FLASH_DRV_CommandSequece() function located?&lt;/P&gt;
&lt;P&gt;It should be in SRAM.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you,&lt;/P&gt;
&lt;P&gt;BR, Daniel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 May 2021 11:41:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K116-Flash-Issue/m-p/1274462#M10835</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2021-05-10T11:41:23Z</dc:date>
    </item>
  </channel>
</rss>

