<?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: Flash Erase</title>
    <link>https://community.nxp.com/t5/S32K/Flash-Erase/m-p/1251102#M10293</link>
    <description>&lt;P&gt;Yes&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 24 Mar 2021 09:49:33 GMT</pubDate>
    <dc:creator>ganeshvaka2</dc:creator>
    <dc:date>2021-03-24T09:49:33Z</dc:date>
    <item>
      <title>Flash Erase</title>
      <link>https://community.nxp.com/t5/S32K/Flash-Erase/m-p/1249135#M10246</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/12881"&gt;@all&lt;/a&gt; experts,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I am working CAN Based Bootloader for S32k142.I am Facing issue for Erase Application&amp;nbsp; memory&amp;nbsp; from 0x5000 to 0x3FFFF.when I was debugging step by step I will be Successfully Erasing memory. When&amp;nbsp; I was Flash and run code it is immediately going to&amp;nbsp;HardFault_Handler.if any having any idea please explore here&amp;nbsp; .&lt;/P&gt;&lt;P&gt;Debugging mode: Successfully Erasing memory&lt;/P&gt;&lt;P&gt;Run Mode:&amp;nbsp;HardFault_Handler&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture1.PNG" style="width: 791px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/140215i5882EBF146BE199D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture1.PNG" alt="Capture1.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your Support&amp;nbsp;&lt;BR /&gt;Ganesh Babu Vaka&lt;/P&gt;</description>
      <pubDate>Sat, 20 Mar 2021 07:25:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Flash-Erase/m-p/1249135#M10246</guid>
      <dc:creator>ganeshvaka2</dc:creator>
      <dc:date>2021-03-20T07:25:52Z</dc:date>
    </item>
    <item>
      <title>Re: Flash Erase</title>
      <link>https://community.nxp.com/t5/S32K/Flash-Erase/m-p/1249679#M10254</link>
      <description>&lt;P&gt;Hi, could you defined which our SW product is this question related to?&lt;/P&gt;</description>
      <pubDate>Mon, 22 Mar 2021 12:43:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Flash-Erase/m-p/1249679#M10254</guid>
      <dc:creator>davidtosenovjan</dc:creator>
      <dc:date>2021-03-22T12:43:24Z</dc:date>
    </item>
    <item>
      <title>Re: Flash Erase</title>
      <link>https://community.nxp.com/t5/S32K/Flash-Erase/m-p/1250843#M10290</link>
      <description>&lt;P&gt;&lt;A href="https://community.nxp.com/t5/user/viewprofilepage/user-id/52613" target="_self"&gt;&lt;SPAN class=""&gt;Hello&amp;nbsp;&lt;/SPAN&gt;&lt;/A&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/52613"&gt;@davidtosenovjan&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your Valuable response!&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;As I said earlier I am working on CAN Based Bootloader. If I want flash new software need to&amp;nbsp; erase&amp;nbsp; old Software. When I was Request erase Software&amp;nbsp; am getting Hardfault handler .When i debug step by step I am facing Issue here .&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="flash.PNG" style="width: 850px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/140481i8E34138AFF417EFB/image-size/large?v=v2&amp;amp;px=999" role="button" title="flash.PNG" alt="flash.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;If anyone have Any Idea please help me out&amp;nbsp;&lt;BR /&gt;Thanks and Regards&amp;nbsp;&lt;BR /&gt;Ganesh Babu.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Mar 2021 04:03:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Flash-Erase/m-p/1250843#M10290</guid>
      <dc:creator>ganeshvaka2</dc:creator>
      <dc:date>2021-03-24T04:03:56Z</dc:date>
    </item>
    <item>
      <title>Re: Flash Erase</title>
      <link>https://community.nxp.com/t5/S32K/Flash-Erase/m-p/1251082#M10292</link>
      <description>&lt;P&gt;OK.&lt;/P&gt;
&lt;P&gt;Do you execute this function from RAM?&lt;/P&gt;</description>
      <pubDate>Wed, 24 Mar 2021 09:16:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Flash-Erase/m-p/1251082#M10292</guid>
      <dc:creator>davidtosenovjan</dc:creator>
      <dc:date>2021-03-24T09:16:40Z</dc:date>
    </item>
    <item>
      <title>Re: Flash Erase</title>
      <link>https://community.nxp.com/t5/S32K/Flash-Erase/m-p/1251102#M10293</link>
      <description>&lt;P&gt;Yes&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Mar 2021 09:49:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Flash-Erase/m-p/1251102#M10293</guid>
      <dc:creator>ganeshvaka2</dc:creator>
      <dc:date>2021-03-24T09:49:33Z</dc:date>
    </item>
    <item>
      <title>Re: Flash Erase</title>
      <link>https://community.nxp.com/t5/S32K/Flash-Erase/m-p/1251344#M10304</link>
      <description>&lt;P&gt;I had a very similar problem once (crash at flash operation in Run mode, but working fine on debugging). For me, it was solved by putting the function that starts the flash command into RAM and executing it from there.&lt;/P&gt;&lt;P&gt;If you are absolutely sure that your function EraseAndProgram() runs in RAM, I got no more idea about this.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Mar 2021 15:30:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Flash-Erase/m-p/1251344#M10304</guid>
      <dc:creator>nelson_scheja</dc:creator>
      <dc:date>2021-03-24T15:30:20Z</dc:date>
    </item>
    <item>
      <title>Re: Flash Erase</title>
      <link>https://community.nxp.com/t5/S32K/Flash-Erase/m-p/1251893#M10310</link>
      <description>&lt;P&gt;What is value of 'add' at that moment? Could you check in assembler window if code runs for SRAM to be completely sure?&lt;/P&gt;</description>
      <pubDate>Thu, 25 Mar 2021 07:14:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Flash-Erase/m-p/1251893#M10310</guid>
      <dc:creator>davidtosenovjan</dc:creator>
      <dc:date>2021-03-25T07:14:08Z</dc:date>
    </item>
    <item>
      <title>Re: Flash Erase</title>
      <link>https://community.nxp.com/t5/S32K/Flash-Erase/m-p/1256248#M10430</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/52613"&gt;@davidtosenovjan&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;How to call function from RAM?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Pankaj Prasad&lt;/P&gt;</description>
      <pubDate>Fri, 02 Apr 2021 09:23:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Flash-Erase/m-p/1256248#M10430</guid>
      <dc:creator>pankajprasad100</dc:creator>
      <dc:date>2021-04-02T09:23:03Z</dc:date>
    </item>
    <item>
      <title>Re: Flash Erase</title>
      <link>https://community.nxp.com/t5/S32K/Flash-Erase/m-p/1256502#M10434</link>
      <description>&lt;P&gt;Easiest way it is just execute Debug_RAM target (if S32DS used), if runs the code from SRAM. Or you create new memory segment/section in the linker file and use an attribute before C function declaration to relocated selected function to RAM&amp;nbsp;&lt;/P&gt;
&lt;P&gt;__attribute__ ((section(".MyRamCode"))) // place the code below into .MyRamCode section&lt;BR /&gt;void EraseAndProgram(void);&lt;/P&gt;</description>
      <pubDate>Sun, 04 Apr 2021 12:47:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Flash-Erase/m-p/1256502#M10434</guid>
      <dc:creator>davidtosenovjan</dc:creator>
      <dc:date>2021-04-04T12:47:05Z</dc:date>
    </item>
    <item>
      <title>Re: Flash Erase</title>
      <link>https://community.nxp.com/t5/S32K/Flash-Erase/m-p/1256559#M10435</link>
      <description>&lt;P&gt;Since we are using IAR compiler, it will generate .icf file , so how can i&amp;nbsp; declare the&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;__MY_RAM_ADR = ADDR (.MyRamCode);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;__MY_RAM_SIZE = SIZEOF (.MyRamCode);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;__MY_RAM_ROM_ADR = LOADADDR (.MyRamCode);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if you have any demo .icf file, please share to us.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&amp;nbsp;&lt;/P&gt;&lt;P&gt;PANKAJ PRASAD&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Apr 2021 05:43:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Flash-Erase/m-p/1256559#M10435</guid>
      <dc:creator>pankajprasad100</dc:creator>
      <dc:date>2021-04-05T05:43:45Z</dc:date>
    </item>
    <item>
      <title>Re: Flash Erase</title>
      <link>https://community.nxp.com/t5/S32K/Flash-Erase/m-p/1257708#M10467</link>
      <description>&lt;P&gt;You may see example for design studio, where linker command file is modified this way:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/S32K-Knowledge-Base/Example-S32K144-Flash-RW-simple/ta-p/1110000" target="_blank"&gt;https://community.nxp.com/t5/S32K-Knowledge-Base/Example-S32K144-Flash-RW-simple/ta-p/1110000&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For IAR, please consult with IAR documentation or support. Thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Apr 2021 06:35:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Flash-Erase/m-p/1257708#M10467</guid>
      <dc:creator>davidtosenovjan</dc:creator>
      <dc:date>2021-04-07T06:35:21Z</dc:date>
    </item>
    <item>
      <title>Re: Flash Erase</title>
      <link>https://community.nxp.com/t5/S32K/Flash-Erase/m-p/1407447#M13853</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/52613"&gt;@davidtosenovjan&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;we are facing issue with s32k116 ,while trying to erase memory from RAM using API: EraseAndProgram .&lt;/P&gt;&lt;P&gt;Programming terminated with SIGINT Interrupt&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please find the attached Debugging Console Screenshot&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ganeshvaka2_0-1643697514756.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/169295iF75F3F6CC10621A6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ganeshvaka2_0-1643697514756.png" alt="ganeshvaka2_0-1643697514756.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Please find flash.ld file&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thank you&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Feb 2022 08:25:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Flash-Erase/m-p/1407447#M13853</guid>
      <dc:creator>ganeshvaka2</dc:creator>
      <dc:date>2022-02-01T08:25:11Z</dc:date>
    </item>
  </channel>
</rss>

