<?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: KEAZ128 FLASH_Program Cause crash in S32 Design Studio</title>
    <link>https://community.nxp.com/t5/S32-Design-Studio/KEAZ128-FLASH-Program-Cause-crash/m-p/989145#M5638</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,Robin_Shen&lt;/P&gt;&lt;P&gt;I using your debug setting.&lt;/P&gt;&lt;P&gt;It still crash.&lt;/P&gt;&lt;P&gt;I recorded a video of the entire program and marked some notes:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://drive.google.com/open?id=1Jcr_yiw1yShv4Zs7tOa4H_jkpMnVnT4O" title="https://drive.google.com/open?id=1Jcr_yiw1yShv4Zs7tOa4H_jkpMnVnT4O"&gt;https://drive.google.com/open?id=1Jcr_yiw1yShv4Zs7tOa4H_jkpMnVnT4O&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Program used in this video is :&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://drive.google.com/open?id=1jQnJ2vrI_tJz6nklxrOVvmL3Ui0xz1Ax" title="https://drive.google.com/open?id=1jQnJ2vrI_tJz6nklxrOVvmL3Ui0xz1Ax"&gt;https://drive.google.com/open?id=1jQnJ2vrI_tJz6nklxrOVvmL3Ui0xz1Ax&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have no idea to solve this problem for a month.&lt;/P&gt;&lt;P&gt;I urgently need to solve this problem.&lt;/P&gt;&lt;P&gt;Thank you for your assistance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess there might be something wrong with my circuit.&lt;/P&gt;&lt;P&gt;Provide my MCU peripheral circuit diagram.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Shutdown.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/98965iE30877B8B1E96671/image-size/large?v=v2&amp;amp;px=999" role="button" title="Shutdown.jpg" alt="Shutdown.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S. PTI4 R10 is replaced by orange light with 1K resistor in video.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Jan 2020 03:08:51 GMT</pubDate>
    <dc:creator>pg31321</dc:creator>
    <dc:date>2020-01-22T03:08:51Z</dc:date>
    <item>
      <title>KEAZ128 FLASH_Program Cause crash</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/KEAZ128-FLASH-Program-Cause-crash/m-p/989141#M5634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I using&amp;nbsp;FLASH_Program&amp;nbsp;function.&lt;/P&gt;&lt;P&gt;MCU is stop working.&lt;/P&gt;&lt;P&gt;I try to using&amp;nbsp;J-Link Debugger to&amp;nbsp;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: 16px;"&gt;oversee.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: 16px;"&gt;When MCU is&lt;SPAN style="color: #3d3d3d;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;stop working,I find this&amp;nbsp;message:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #3d3d3d; font-size: 16px; "&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Shutdown.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/101879i707DB42E1D9B5B7A/image-size/large?v=v2&amp;amp;px=999" role="button" title="Shutdown.jpg" alt="Shutdown.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #3d3d3d; font-size: 16px; "&gt;I do not know what happen to MCU,I have not enable WDOG.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #3d3d3d; font-size: 16px; "&gt;My program like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #3d3d3d; font-size: 16px; "&gt;&lt;A class="link-titled" href="https://drive.google.com/open?id=1WzlJ7vdKm0MLdq0CDF0shVPksW0lmSMb" title="https://drive.google.com/open?id=1WzlJ7vdKm0MLdq0CDF0shVPksW0lmSMb"&gt;https://drive.google.com/open?id=1WzlJ7vdKm0MLdq0CDF0shVPksW0lmSMb&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jan 2020 02:44:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/KEAZ128-FLASH-Program-Cause-crash/m-p/989141#M5634</guid>
      <dc:creator>pg31321</dc:creator>
      <dc:date>2020-01-09T02:44:32Z</dc:date>
    </item>
    <item>
      <title>Re: KEAZ128 FLASH_Program Cause crash</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/KEAZ128-FLASH-Program-Cause-crash/m-p/989142#M5635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;維哲,&lt;/P&gt;&lt;P&gt;Please check the value of DISABLE_WDOG.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="DISABLE_WDOG.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/56644iB11B33B79DDD334E/image-size/large?v=v2&amp;amp;px=999" role="button" title="DISABLE_WDOG.png" alt="DISABLE_WDOG.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 14px;"&gt;Best Regards,&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 14px;"&gt;Robin&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 14px;"&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jan 2020 06:06:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/KEAZ128-FLASH-Program-Cause-crash/m-p/989142#M5635</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2020-01-14T06:06:37Z</dc:date>
    </item>
    <item>
      <title>Re: KEAZ128 FLASH_Program Cause crash</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/KEAZ128-FLASH-Program-Cause-crash/m-p/989143#M5636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Like picture:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="DISABLE_WDOG.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/92250i992C05C97B296CEC/image-size/large?v=v2&amp;amp;px=999" role="button" title="DISABLE_WDOG.jpg" alt="DISABLE_WDOG.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;value of DISABLE_WDOG is "1".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;I have upload my program on google drive.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;You can download to check.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;My&amp;nbsp;&lt;SPAN&gt;program&amp;nbsp; is&amp;nbsp;&lt;SPAN style="color: #000000; background-color: #f1f3f4; font-size: 16px;"&gt;refer&amp;nbsp;example code witch come from agent :&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #f1f3f4; color: #000000; font-size: 16px; "&gt;&lt;A class="link-titled" href="https://drive.google.com/open?id=1AgpzpBa9TNdCaUYzowPf5juSGUtqpmNI" title="https://drive.google.com/open?id=1AgpzpBa9TNdCaUYzowPf5juSGUtqpmNI"&gt;https://drive.google.com/open?id=1AgpzpBa9TNdCaUYzowPf5juSGUtqpmNI&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #f1f3f4; color: #000000; font-size: 16px; "&gt;Example code have not this&amp;nbsp;problem.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jan 2020 00:29:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/KEAZ128-FLASH-Program-Cause-crash/m-p/989143#M5636</guid>
      <dc:creator>pg31321</dc:creator>
      <dc:date>2020-01-16T00:29:49Z</dc:date>
    </item>
    <item>
      <title>Re: KEAZ128 FLASH_Program Cause crash</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/KEAZ128-FLASH-Program-Cause-crash/m-p/989144#M5637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have try to import these two project, I did not encounter similar problems.&lt;/P&gt;&lt;P&gt;I am using the default workspace&amp;nbsp;C:\Users\xxx\workspaceS32DS.ARM.2018.R1&lt;/P&gt;&lt;P&gt;Shutdown&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Program Selection.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/95117i6CB7E8C8E2706DE4/image-size/large?v=v2&amp;amp;px=999" role="button" title="Program Selection.png" alt="Program Selection.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Device name.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/95167iE3C9A3C2AC18AD6E/image-size/large?v=v2&amp;amp;px=999" role="button" title="Device name.png" alt="Device name.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Flash_FTMRE&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Can't find a source file.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/95257i29E25CFAF51F2BB3/image-size/large?v=v2&amp;amp;px=999" role="button" title="Can't find a source file.png" alt="Can't find a source file.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="debug.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/95302i33602F3E7235F999/image-size/large?v=v2&amp;amp;px=999" role="button" title="debug.png" alt="debug.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jan 2020 08:07:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/KEAZ128-FLASH-Program-Cause-crash/m-p/989144#M5637</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2020-01-16T08:07:21Z</dc:date>
    </item>
    <item>
      <title>Re: KEAZ128 FLASH_Program Cause crash</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/KEAZ128-FLASH-Program-Cause-crash/m-p/989145#M5638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,Robin_Shen&lt;/P&gt;&lt;P&gt;I using your debug setting.&lt;/P&gt;&lt;P&gt;It still crash.&lt;/P&gt;&lt;P&gt;I recorded a video of the entire program and marked some notes:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://drive.google.com/open?id=1Jcr_yiw1yShv4Zs7tOa4H_jkpMnVnT4O" title="https://drive.google.com/open?id=1Jcr_yiw1yShv4Zs7tOa4H_jkpMnVnT4O"&gt;https://drive.google.com/open?id=1Jcr_yiw1yShv4Zs7tOa4H_jkpMnVnT4O&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Program used in this video is :&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://drive.google.com/open?id=1jQnJ2vrI_tJz6nklxrOVvmL3Ui0xz1Ax" title="https://drive.google.com/open?id=1jQnJ2vrI_tJz6nklxrOVvmL3Ui0xz1Ax"&gt;https://drive.google.com/open?id=1jQnJ2vrI_tJz6nklxrOVvmL3Ui0xz1Ax&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have no idea to solve this problem for a month.&lt;/P&gt;&lt;P&gt;I urgently need to solve this problem.&lt;/P&gt;&lt;P&gt;Thank you for your assistance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess there might be something wrong with my circuit.&lt;/P&gt;&lt;P&gt;Provide my MCU peripheral circuit diagram.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Shutdown.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/98965iE30877B8B1E96671/image-size/large?v=v2&amp;amp;px=999" role="button" title="Shutdown.jpg" alt="Shutdown.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S. PTI4 R10 is replaced by orange light with 1K resistor in video.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jan 2020 03:08:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/KEAZ128-FLASH-Program-Cause-crash/m-p/989145#M5638</guid>
      <dc:creator>pg31321</dc:creator>
      <dc:date>2020-01-22T03:08:51Z</dc:date>
    </item>
    <item>
      <title>Re: KEAZ128 FLASH_Program Cause crash</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/KEAZ128-FLASH-Program-Cause-crash/m-p/989146#M5639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;According to my observations this is not a hardware issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The exception is caused by the fact you are trying to execute function&amp;nbsp;FLASH_Program2LongWords() which is located at address 0x0004000+&amp;nbsp;&lt;/P&gt;&lt;PRE class="language-c line-numbers"&gt;&lt;CODE&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;text&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;FLASH_Program
 &lt;SPAN class="number token"&gt;0x00004114&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0x194&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;/&lt;/SPAN&gt;src&lt;SPAN class="operator token"&gt;/&lt;/SPAN&gt;flash&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;o
 &lt;SPAN class="number token"&gt;0x00004114&lt;/SPAN&gt; FLASH_Program
 &lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;text&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;FLASH_Program1LongWord
 &lt;SPAN class="number token"&gt;0x000042a8&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0x134&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;/&lt;/SPAN&gt;src&lt;SPAN class="operator token"&gt;/&lt;/SPAN&gt;flash&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;o
 &lt;SPAN class="number token"&gt;0x000042a8&lt;/SPAN&gt; FLASH_Program1LongWord
 &lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;text&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;FLASH_Program2LongWords
 &lt;SPAN class="number token"&gt;0x000043dc&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0x168&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;/&lt;/SPAN&gt;src&lt;SPAN class="operator token"&gt;/&lt;/SPAN&gt;flash&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;o
 &lt;SPAN class="number token"&gt;0x000043dc&lt;/SPAN&gt; FLASH_Program2LongWords
 &lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;text&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;FLASH_EraseSector
 &lt;SPAN class="number token"&gt;0x00004544&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0x100&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;/&lt;/SPAN&gt;src&lt;SPAN class="operator token"&gt;/&lt;/SPAN&gt;flash&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;o
 &lt;SPAN class="number token"&gt;0x00004544&lt;/SPAN&gt; FLASH_EraseSector&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;The flash memory sector (0x4000 .. 0x4200)&amp;nbsp;&amp;nbsp;is erased by&amp;nbsp;&amp;nbsp;FLASH_EraseSector() in the previous step.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd recommend you to alloacate memory section for EEPROM in the linker file so the code does not get erased e.g.:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;MEMORY
{
  m_interrupts (RX)  : ORIGIN = 0x00000000, LENGTH = 0x00000100
  m_flash_config (RX)  : ORIGIN = 0x00000400, LENGTH = 0x00000010
  my_text (RX)  : ORIGIN = 0X00004000, LENGTH = 0X00001000
  m_text (RX)  : ORIGIN = 0X00005000, LENGTH = 0X0001B000   
  m_data (RW)  : ORIGIN = 0x1FFFF000, LENGTH = 0x00004000
}‍‍‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please try to adjust the linker file and check if the problem still appers or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;Stan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jan 2020 12:02:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/KEAZ128-FLASH-Program-Cause-crash/m-p/989146#M5639</guid>
      <dc:creator>stanish</dc:creator>
      <dc:date>2020-01-28T12:02:55Z</dc:date>
    </item>
    <item>
      <title>Re: KEAZ128 FLASH_Program Cause crash</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/KEAZ128-FLASH-Program-Cause-crash/m-p/989147#M5640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Hi,&lt;/SPAN&gt;Stanislav Sliva&lt;/P&gt;&lt;P&gt;I have to refer to the MAP file.&lt;/P&gt;&lt;P&gt;When I set the memory start address at 0x1000 like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/99904i6206407E03EDA262/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;My program uses only up to 0x572c like this:&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/99936i12941B274FC32408/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;I changed the address of &lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;erase&amp;nbsp;&lt;/SPAN&gt;and write at 0xc800 like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/99984iEDE56AD8312247F6/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_4.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/100021iB2F146E4B79203B7/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_4.png" alt="pastedImage_4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Still crashes in the same place.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;I'm currently trying to reduce the size of the program, which may solve this problem.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;P.S.&amp;nbsp;After the above modifications, FLASH_Program2LongWords()&amp;nbsp;address&amp;nbsp;is currently at 0x3744&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_5.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/100072i638EC9B2CC9BC6E6/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_5.png" alt="pastedImage_5.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jan 2020 02:43:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/KEAZ128-FLASH-Program-Cause-crash/m-p/989147#M5640</guid>
      <dc:creator>pg31321</dc:creator>
      <dc:date>2020-01-30T02:43:52Z</dc:date>
    </item>
    <item>
      <title>Re: KEAZ128 FLASH_Program Cause crash</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/KEAZ128-FLASH-Program-Cause-crash/m-p/989148#M5641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I cannot reproduce this issue any more after suggested chnages.&lt;/P&gt;&lt;P&gt;Please try to figure out which specific instruction is causing this.&lt;/P&gt;&lt;P&gt;If it is a jump instruction check the destination address contains valid code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Feb 2020 13:18:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/KEAZ128-FLASH-Program-Cause-crash/m-p/989148#M5641</guid>
      <dc:creator>stanish</dc:creator>
      <dc:date>2020-02-04T13:18:22Z</dc:date>
    </item>
    <item>
      <title>Re: KEAZ128 FLASH_Program Cause crash</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/KEAZ128-FLASH-Program-Cause-crash/m-p/989149#M5642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Hi,&lt;/SPAN&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Stanislav Sliva&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Still have the same problem like video:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;A class="link-titled" href="https://drive.google.com/open?id=1LLV8IfHT2xhNQRV6xxz3kaD3Tju3USDM" title="https://drive.google.com/open?id=1LLV8IfHT2xhNQRV6xxz3kaD3Tju3USDM"&gt;https://drive.google.com/open?id=1LLV8IfHT2xhNQRV6xxz3kaD3Tju3USDM&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;When it&amp;nbsp;executes&amp;nbsp;&lt;SPAN&gt;FLASH_Program2LongWords(),MCU is&amp;nbsp;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;crash.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff; color: #000000; "&gt;If the problem lies with &lt;SPAN style="color: #51626f;"&gt;FLASH_Program2LongWords() subroutine,I try to skip calling the subroutine and run the contents of the subroutine directly.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;MCU still stuck in the WDOG_IRQHandler.&lt;/P&gt;&lt;P&gt;My Program like this:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://drive.google.com/open?id=19Ve0a1u47fDBszDEih5F5akOuy4zsFGR" title="https://drive.google.com/open?id=19Ve0a1u47fDBszDEih5F5akOuy4zsFGR"&gt;https://drive.google.com/open?id=19Ve0a1u47fDBszDEih5F5akOuy4zsFGR&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Feb 2020 07:03:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/KEAZ128-FLASH-Program-Cause-crash/m-p/989149#M5642</guid>
      <dc:creator>pg31321</dc:creator>
      <dc:date>2020-02-05T07:03:09Z</dc:date>
    </item>
    <item>
      <title>Re: KEAZ128 FLASH_Program Cause crash</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/KEAZ128-FLASH-Program-Cause-crash/m-p/989150#M5643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Hi,&lt;/SPAN&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Stanislav Sliva&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Can you give me other related example programs?Or related programming technology?&lt;BR /&gt;I want to try to rewrite the related functions myself to solve this problem.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;I just need to be able to save the settings after power off.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Feb 2020 07:07:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/KEAZ128-FLASH-Program-Cause-crash/m-p/989150#M5643</guid>
      <dc:creator>pg31321</dc:creator>
      <dc:date>2020-02-12T07:07:25Z</dc:date>
    </item>
    <item>
      <title>Re: KEAZ128 FLASH_Program Cause crash</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/KEAZ128-FLASH-Program-Cause-crash/m-p/989151#M5644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Hi,&lt;/SPAN&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Stanislav Sliva&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;I have solved the problem.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Before this I found out that when I use variables to define&amp;nbsp;what&amp;nbsp;&lt;SPAN&gt;command&amp;nbsp;&lt;/SPAN&gt;related to &lt;SPAN&gt;FLASH.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN&gt;Program will crash.Like this:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/98950iB381CB8777219143/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="border: 0px;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="border: 0px;"&gt;&lt;SPAN&gt;If I use ordinary constants, there is no problem. Like this:&lt;BR /&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/99118i53407511519335EF/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="border: 0px;"&gt;&lt;SPAN&gt;I can't understand what is going wrong here.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="border: 0px;"&gt;&lt;SPAN&gt;But，&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="border: 0px;"&gt;&lt;SPAN&gt;When I create a new project, I copy all the .C and .HEX files into the new project.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="border: 0px;"&gt;&lt;SPAN&gt;The program works normally with &lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;variables&amp;nbsp;&lt;/SPAN&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="border: 0px;"&gt;&lt;SPAN&gt;These are the program project files:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="border: 0px;"&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f; "&gt;crash:&amp;nbsp;&lt;A class="link-titled" href="https://drive.google.com/open?id=1nIwEJJpSEMiiuMUJ0KaQi2yTMGwLYF97" title="https://drive.google.com/open?id=1nIwEJJpSEMiiuMUJ0KaQi2yTMGwLYF97"&gt;https://drive.google.com/open?id=1nIwEJJpSEMiiuMUJ0KaQi2yTMGwLYF97&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="border: 0px;"&gt;&lt;SPAN style="background-color: #ffffff; color: #3d3d3d; "&gt;normally&amp;nbsp;:&amp;nbsp;&lt;A class="link-titled" href="https://drive.google.com/open?id=1zZLAhbXlzpBTZJEMM7u-qw2HVNsANv1j" title="https://drive.google.com/open?id=1zZLAhbXlzpBTZJEMM7u-qw2HVNsANv1j"&gt;https://drive.google.com/open?id=1zZLAhbXlzpBTZJEMM7u-qw2HVNsANv1j&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="border: 0px;"&gt;&lt;SPAN style="background-color: #ffffff; color: #3d3d3d; "&gt;I hope that analyzing these two projects will be helpful to you.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Feb 2020 08:41:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/KEAZ128-FLASH-Program-Cause-crash/m-p/989151#M5644</guid>
      <dc:creator>pg31321</dc:creator>
      <dc:date>2020-02-14T08:41:06Z</dc:date>
    </item>
    <item>
      <title>Re: KEAZ128 FLASH_Program Cause crash</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/KEAZ128-FLASH-Program-Cause-crash/m-p/989152#M5645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm able to import your "crash" version and it works just fine on my side.&lt;/P&gt;&lt;P&gt;It suspect you might be debugging an old verison of the elf file or project has not been rebuild for some reason.&lt;/P&gt;&lt;P&gt;Now when you copy all the source files into a new project -&amp;gt;&amp;nbsp; project is correctly rebuild and this version works ok.&lt;/P&gt;&lt;P&gt;My only suggestion is to clean project it better manualy delete entire output folder and rebuild to make sure elf is ok.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;Stan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Feb 2020 14:02:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/KEAZ128-FLASH-Program-Cause-crash/m-p/989152#M5645</guid>
      <dc:creator>stanish</dc:creator>
      <dc:date>2020-02-14T14:02:58Z</dc:date>
    </item>
    <item>
      <title>Re: KEAZ128 FLASH_Program Cause crash</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/KEAZ128-FLASH-Program-Cause-crash/m-p/989153#M5646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If a new project is created, program will still be crashes after "import" the project.&lt;/P&gt;&lt;P&gt;When the program is running,pull low the PTC1.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The program is crash.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If&amp;nbsp;a new project is created,copy all old .C and .HEX&amp;nbsp;files&amp;nbsp;and overwrite them in the new project.&lt;/P&gt;&lt;P&gt;When the program is running,pull low the PTC1.&lt;/P&gt;&lt;P&gt;The program does not crash.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Feb 2020 01:57:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/KEAZ128-FLASH-Program-Cause-crash/m-p/989153#M5646</guid>
      <dc:creator>pg31321</dc:creator>
      <dc:date>2020-02-15T01:57:39Z</dc:date>
    </item>
  </channel>
</rss>

