<?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: PE TOOL  MEMORY PRESERVATION in S32 Design Studio</title>
    <link>https://community.nxp.com/t5/S32-Design-Studio/PE-TOOL-MEMORY-PRESERVATION/m-p/749274#M2602</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@&lt;A _jive_internal="true" class="" data-content-finding="Community" data-userid="289305" data-username="hajianik@gmail.com" href="https://community.nxp.com/people/hajianik@gmail.com" style="color: #5e89c1; background-color: #ffffff; border: 0px; font-weight: 200; text-decoration: none; font-size: 1.286rem;"&gt;Koorosh Hajiani&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I'm&amp;nbsp;also&amp;nbsp; facing the same problem,&lt;/P&gt;&lt;P&gt;Did you found the solution for this issue?&lt;/P&gt;&lt;P&gt;I have checked the Preserver Range (0x10000000 - 0x1000ffff)&lt;/P&gt;&lt;P&gt;During the Flashing D-Flash has erased, so the FlexRAM (EEPROM) all data will be FF&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if you have any findings?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sakhtivel K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 May 2018 08:42:44 GMT</pubDate>
    <dc:creator>sakthivelkuland</dc:creator>
    <dc:date>2018-05-17T08:42:44Z</dc:date>
    <item>
      <title>PE TOOL  MEMORY PRESERVATION</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/PE-TOOL-MEMORY-PRESERVATION/m-p/749262#M2590</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'm having an issue with data written to flex Ram.&lt;/P&gt;&lt;P&gt;I can partition the device(S32K144) correctly and I write some 8 bytes at the top of the flex ram (0x14000_000)&lt;/P&gt;&lt;P&gt;Then I COMMENT OUT the statement which writes to the flex_ram and down load the code using the PE open SDA or multilink universal on S32K DESIGN STUDIO FOR ARM. When I look at memory at location (0x14000_000), it contains all FFFFFFs which is the erased state of the flex ram when used as EEPROM, please keep in mind that the partition still preserves but the data is lost.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the debug configuration window under debugger tab there is advanced option button that lets you preserve the partition and&amp;nbsp;some memory range(I guess they are there since the PE TOOL mass erases before it downloads), for memory range I put&lt;/P&gt;&lt;P&gt;0x14000_000 to 0x14000_FFF which is 4k however this does not do the trick&amp;nbsp;.&lt;/P&gt;&lt;P&gt;Any help is appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Nov 2017 21:26:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/PE-TOOL-MEMORY-PRESERVATION/m-p/749262#M2590</guid>
      <dc:creator>hajianik</dc:creator>
      <dc:date>2017-11-29T21:26:44Z</dc:date>
    </item>
    <item>
      <title>Re: PE TOOL  MEMORY PRESERVATION</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/PE-TOOL-MEMORY-PRESERVATION/m-p/749263#M2591</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;&lt;/P&gt;&lt;P&gt;you need to preserve FlexRAM backup flash memory (located in FlexNVM). It depends on configuration - for maximum 4kB of FlexRAM used as EEPROM you need to preserve full FlexNVM - from 0x10000000 to 0x1000FFFF:&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/45022iEA36A8510830DEF9/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;&lt;/P&gt;&lt;P&gt;Jiri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Nov 2017 12:47:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/PE-TOOL-MEMORY-PRESERVATION/m-p/749263#M2591</guid>
      <dc:creator>jiri_kral</dc:creator>
      <dc:date>2017-11-30T12:47:11Z</dc:date>
    </item>
    <item>
      <title>Re: PE TOOL  MEMORY PRESERVATION</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/PE-TOOL-MEMORY-PRESERVATION/m-p/749264#M2592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jiri,&lt;/P&gt;&lt;P&gt;Thanks for your quick response.&lt;/P&gt;&lt;P&gt;Your&amp;nbsp;suggestion works when I run off the debugger, I use printf to read back the location that I wrote to however when I try to debug using open SDA or other multilink debuggers , I can not debug.&lt;/P&gt;&lt;P&gt;I use the SDA /MULTI LINK&amp;nbsp; to download and run it without the debugger and that works but the debugger just does not work at all unless I uncheck the box for memory preservation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Koorosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Nov 2017 19:29:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/PE-TOOL-MEMORY-PRESERVATION/m-p/749264#M2592</guid>
      <dc:creator>hajianik</dc:creator>
      <dc:date>2017-11-30T19:29:14Z</dc:date>
    </item>
    <item>
      <title>Re: PE TOOL  MEMORY PRESERVATION</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/PE-TOOL-MEMORY-PRESERVATION/m-p/749265#M2593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jiri,&lt;/P&gt;&lt;P&gt;Sorry for the confusion.&lt;/P&gt;&lt;P&gt;Actually I was wrong in my assertion that It works when running off the debugger . It does not, The reason that I thought it did, is the fact that it failed to download without the write to EEPROM, and it was still running the old code with the EEPROM write in. I tried a different range since my partition is 32k_32k(1000_8000 to1000_ffff)&amp;nbsp; and it still fails to flash . below is from debugger flash council:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Connection from "127.0.0.1" via 127.0.0.1&lt;/P&gt;&lt;P&gt;Connection from "127.0.0.1" via 127.0.0.1&lt;/P&gt;&lt;P&gt;Telnet server running on 127.0.0.1:51794&lt;/P&gt;&lt;P&gt;Copyright 2012 P&amp;amp;E Microcomputer Systems,Inc.&lt;/P&gt;&lt;P&gt;Command Line :C:\NXP\S32DS_ARM_v2.0\eclipse\plugins\com.pemicro.debug.gdbjtag.pne_3.1.1.201708081924\win32\pegdbserver_console -device=NXP_S32K1xx_S32K144F512M15 -startserver -singlesession -serverport=7224 -gdbmiport=6224 -interface=OPENSDA -speed=5000 &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CMD&amp;gt;RE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Initializing.&lt;/P&gt;&lt;P&gt;Target has been RESET and is active.&lt;/P&gt;&lt;P&gt;CMD&amp;gt;CM C:\NXP\S32DS_ARM_v2.0\eclipse\plugins\com.pemicro.debug.gdbjtag.pne_3.1.1.201708081924\win32\gdi\P&amp;amp;E\supportFiles_ARM\NXP\S32K1xx\freescale_s32k144f512m15_pflash_dflash_eeprom.arp&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Initializing.&lt;/P&gt;&lt;P&gt;Initialized.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;;version 1.02, 01/20/2017, Copyright 2017 P&amp;amp;E Microcomputer Systems, Inc. All rights reserved. &lt;A href="https://community.nxp.com/www.pemicro.com" target="test_blank"&gt;www.pemicro.com&lt;/A&gt; [s32k144f512m15_x_pflash_dflash_eeprom_rev2]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;;device freescale, s32k144f512m15, pflash_dflash_eeprom&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;;begin_cs device=$00000000, length=$14001000, ram=$20000000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loading programming algorithm ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WARNING - Selected .ARP file has been modified. CRC16 = $6A9F&lt;/P&gt;&lt;P&gt;Done.&lt;/P&gt;&lt;P&gt;CMD&amp;gt;PA 0203&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Started.&lt;/P&gt;&lt;P&gt;Done.&lt;/P&gt;&lt;P&gt;CMD&amp;gt;VC&lt;/P&gt;&lt;P&gt;Verifying object file CRC-16 to device ranges ...&lt;/P&gt;&lt;P&gt;block 00000000-00012E97 ...&lt;/P&gt;&lt;P&gt;Calculated CRC-16 does not match block. (File = $8B83, Device = $BCEB)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CMD&amp;gt;EM&lt;/P&gt;&lt;P&gt;Preserving data range $10000000-$1000FFFF before erase ...&lt;/P&gt;&lt;P&gt;Done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erasing.&lt;/P&gt;&lt;P&gt;Module has been erased.&lt;/P&gt;&lt;P&gt;Reloading programming algorithm ...&lt;/P&gt;&lt;P&gt;done.&lt;/P&gt;&lt;P&gt;Re-programming preserved data range $10000000-$1000FFFF ...&lt;/P&gt;&lt;P&gt;Done.&lt;/P&gt;&lt;P&gt;Error communicating to target processor - try a RESET.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CMD&amp;gt;PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Programming.&lt;/P&gt;&lt;P&gt;Processing Object File Data ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Programmed.&lt;/P&gt;&lt;P&gt;Error communicating to target processor - try a RESET.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CMD&amp;gt;VC&lt;/P&gt;&lt;P&gt;Error loading CRC-16 algorithm.&lt;/P&gt;&lt;P&gt;Error loading CRC-16 Algorithm.&lt;/P&gt;&lt;P&gt;Error verifying flash of device&lt;/P&gt;&lt;P&gt;Error occured during Flash programming.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Nov 2017 21:30:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/PE-TOOL-MEMORY-PRESERVATION/m-p/749265#M2593</guid>
      <dc:creator>hajianik</dc:creator>
      <dc:date>2017-11-30T21:30:46Z</dc:date>
    </item>
    <item>
      <title>Re: PE TOOL  MEMORY PRESERVATION</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/PE-TOOL-MEMORY-PRESERVATION/m-p/749266#M2594</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;&lt;/P&gt;&lt;P&gt;it looks like that you are using older version of PE Micro tool set. Please update the tools to latest version by clicking on Help -&amp;gt; Install New Software&lt;/P&gt;&lt;P&gt;&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/49870i4E8C71D6B3AAB152/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;Click on Available Software Sites and check PE Micro:&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/49931i7A7C7B2A601D47B9/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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As a last step - select All Available Sites and proceed with update:&amp;nbsp;&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/50147i6EBAC0E4F8008E48/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;Hope it will fix the PE Micro debug issue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jiri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Dec 2017 08:05:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/PE-TOOL-MEMORY-PRESERVATION/m-p/749266#M2594</guid>
      <dc:creator>jiri_kral</dc:creator>
      <dc:date>2017-12-01T08:05:00Z</dc:date>
    </item>
    <item>
      <title>Re: PE TOOL  MEMORY PRESERVATION</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/PE-TOOL-MEMORY-PRESERVATION/m-p/749267#M2595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jiri,&lt;/P&gt;&lt;P&gt;Thank you for your quick response.&lt;/P&gt;&lt;P&gt;I followed your instructions to update the P&amp;amp;E . Unfortunately that did not resolve the issue. exact same thing happens.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Capture_ERROR.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/52735i667521B6C70F7ECE/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture_ERROR.PNG" alt="Capture_ERROR.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This error message appears after flash failure.&lt;/P&gt;&lt;P&gt;Location 0x412 is in the beginning of the Reset_Handler.&lt;/P&gt;&lt;P&gt;Please note that if the box in Memory preservation field is unchecked , the down load and debug wok fine.&lt;/P&gt;&lt;P&gt;The location mentioned in problem report is not protected or secured.&lt;/P&gt;&lt;P&gt;Really don't know what is going on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Dec 2017 18:09:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/PE-TOOL-MEMORY-PRESERVATION/m-p/749267#M2595</guid>
      <dc:creator>hajianik</dc:creator>
      <dc:date>2017-12-01T18:09:31Z</dc:date>
    </item>
    <item>
      <title>Re: PE TOOL  MEMORY PRESERVATION</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/PE-TOOL-MEMORY-PRESERVATION/m-p/749268#M2596</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;&lt;/P&gt;&lt;P&gt;it is possible share your project? If not - can you test flash_partitioning_s32k144 example project? This project does almost the same stuff as yours - and for me is working without any issue when preserve memory is checked.&amp;nbsp;&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/56321iDDAF7E6F162F22DA/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;&lt;/P&gt;&lt;P&gt;You can also try Kinetis emergency erase:&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/56413i33A753300A83B0F3/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;&lt;/P&gt;&lt;P&gt;Jiri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Dec 2017 08:01:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/PE-TOOL-MEMORY-PRESERVATION/m-p/749268#M2596</guid>
      <dc:creator>jiri_kral</dc:creator>
      <dc:date>2017-12-04T08:01:21Z</dc:date>
    </item>
    <item>
      <title>Re: PE TOOL  MEMORY PRESERVATION</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/PE-TOOL-MEMORY-PRESERVATION/m-p/749269#M2597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt; MY_TEST_20.zip&lt;/P&gt;&lt;P&gt;&amp;lt;https://drive.google.com/file/d/1TFqpXa2KfyXbclGHzlbIQVJ1TnQP5CFs/view?usp=drive_web&amp;gt;&lt;/P&gt;&lt;P&gt;​Hi Jiri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually I tried the example project , exact same thing happens.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the project is attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The initialization and portioning of the flex NVM is in&lt;/P&gt;&lt;P&gt;C:\my_ws_5\MY_TEST_20\Sources\mcal\mcal_s32k144.c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The writing to FLEX_RAM is in C:\my_ws_5\MY_TEST_20\Sources\srvc\tasks.c ,&lt;/P&gt;&lt;P&gt;the function is called &lt;STRONG&gt;TASKS_App50ms&lt;/STRONG&gt;*, *line 281.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I first write 0x99887766 at 0x14000_000  AND THEN COMMENT THE EEPROM OUT,&lt;/P&gt;&lt;P&gt;SAVE REBUILD AND FLASH .That's when the issue occurs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Same exact thing happens with the example project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Koorosh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On Mon, Dec 4, 2017 at 3:02 AM, jiri.kral@nxp.com &amp;lt;admin@community.nxp.com&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Dec 2017 17:10:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/PE-TOOL-MEMORY-PRESERVATION/m-p/749269#M2597</guid>
      <dc:creator>hajianik</dc:creator>
      <dc:date>2017-12-04T17:10:30Z</dc:date>
    </item>
    <item>
      <title>Re: PE TOOL  MEMORY PRESERVATION</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/PE-TOOL-MEMORY-PRESERVATION/m-p/749270#M2598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wrote  AND THEN COMMENT THE EEPROM OUT&lt;/P&gt;&lt;P&gt;it should say:&lt;/P&gt;&lt;P&gt; "AND THEN COMMENT THE WRITE TO EEPROM OUT".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Dec 2017 19:14:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/PE-TOOL-MEMORY-PRESERVATION/m-p/749270#M2598</guid>
      <dc:creator>hajianik</dc:creator>
      <dc:date>2017-12-04T19:14:07Z</dc:date>
    </item>
    <item>
      <title>Re: PE TOOL  MEMORY PRESERVATION</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/PE-TOOL-MEMORY-PRESERVATION/m-p/749271#M2599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Koorosh,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tested your project - and for me is downloading with preserved mem working (I check it multiple times - without any issue).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my console output (you can compare it with yours)&amp;nbsp;&lt;/P&gt;&lt;P&gt;==========================================================================&lt;/P&gt;&lt;P&gt;Connection from "127.0.0.1" via 127.0.0.1&lt;BR /&gt;Connection from "127.0.0.1" via 127.0.0.1&lt;BR /&gt;Telnet server running on 127.0.0.1:51794&lt;BR /&gt;Searching for FreeRTOS Kernel Symbols...&lt;BR /&gt; pxCurrentTCB not found. FreeRTOS analysis not enabled.&lt;BR /&gt;Copyright 2017 P&amp;amp;E Microcomputer Systems,Inc.&lt;BR /&gt;Command Line :C:\NXP\S32DS_ARM_v2.0\eclipse\plugins\com.pemicro.debug.gdbjtag.pne.expansion_3.2.4.201710241511\win32\pegdbserver_console -device=NXP_S32K1xx_S32K144F512M15 -startserver -singlesession -serverport=7224 -gdbmiport=6224 -interface=OPENSDA -s˜&lt;BR /&gt; &lt;BR /&gt;CMD&amp;gt;RE&lt;BR /&gt; &lt;BR /&gt;Initializing.&lt;BR /&gt;Target has been RESET and is active.&lt;BR /&gt;CMD&amp;gt;CM C:\NXP\S32DS_ARM_v2.0\eclipse\plugins\com.pemicro.debug.gdbjtag.pne.expansion_3.2.4.201710241511\win32\gdi\P&amp;amp;E\supportFiles_ARM\NXP\S32K1xx\freescale_s32k144f512m15_pflash_dflash_eeprom.arp&lt;BR /&gt; &lt;BR /&gt;Initializing.&lt;BR /&gt;Initialized.&lt;BR /&gt; &lt;BR /&gt;;version 1.03, 10/09/2017, Copyright 2017 P&amp;amp;E Microcomputer Systems, Inc. All rights reserved. &lt;A href="https://community.nxp.com/www.pemicro.com" target="test_blank"&gt;www.pemicro.com&lt;/A&gt; [s32k144f512m15_x_pflash_dflash_eeprom_rev2]&lt;BR /&gt; &lt;BR /&gt;;device freescale, s32k144f512m15, pflash_dflash_eeprom&lt;BR /&gt; &lt;BR /&gt;;begin_cs device=$00000000, length=$14001000, ram=$20000000&lt;BR /&gt; &lt;BR /&gt;Loading programming algorithm ... &lt;BR /&gt; &lt;BR /&gt;WARNING - Selected .ARP file has been modified. CRC16 = $22E3 &lt;BR /&gt;Done.&lt;BR /&gt;CMD&amp;gt;VC&lt;BR /&gt;Verifying object file CRC-16 to device ranges ... &lt;BR /&gt; block 00000000-00013017 ... &lt;BR /&gt;Calculated CRC-16 does not match block. (File = $5E88, Device = $D61E) &lt;BR /&gt; &lt;BR /&gt;CMD&amp;gt;EM&lt;BR /&gt;Preserving data range $10000000-$1000FFFF before erase ... &lt;BR /&gt;Done.&lt;BR /&gt; &lt;BR /&gt;Erasing.&lt;BR /&gt;Module has been erased.&lt;BR /&gt;Reloading programming algorithm ... &lt;BR /&gt;done.&lt;BR /&gt;Re-programming preserved data range $10000000-$1000FFFF ... &lt;BR /&gt; Done.&lt;BR /&gt;CMD&amp;gt;PM&lt;BR /&gt; &lt;BR /&gt;Programming.&lt;BR /&gt;Processing Object File Data ... &lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt;. &lt;BR /&gt;Programmed.&lt;BR /&gt;CMD&amp;gt;VC&lt;BR /&gt;Verifying object file CRC-16 to device ranges ... &lt;BR /&gt; block 00000000-00013017 ... &lt;BR /&gt;Ok. &lt;BR /&gt; Checksum Verification Successful. (Cumulative CRC-16=$5E88) &lt;BR /&gt; &lt;BR /&gt;CMD&amp;gt;RE&lt;BR /&gt; &lt;BR /&gt;Initializing.&lt;BR /&gt;Target has been RESET and is active.&lt;/P&gt;&lt;P&gt;====================================================================&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you using S32K144 EVB with Open SDA?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jiri&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2017 14:41:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/PE-TOOL-MEMORY-PRESERVATION/m-p/749271#M2599</guid>
      <dc:creator>jiri_kral</dc:creator>
      <dc:date>2017-12-05T14:41:04Z</dc:date>
    </item>
    <item>
      <title>Re: PE TOOL  MEMORY PRESERVATION</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/PE-TOOL-MEMORY-PRESERVATION/m-p/749272#M2600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jiri,&lt;/P&gt;&lt;P&gt;Thanks as always for getting back with me quickly.&lt;/P&gt;&lt;P&gt;That's good news.&lt;/P&gt;&lt;P&gt;Yes, I'm using&amp;nbsp; Open SDA.&lt;/P&gt;&lt;P&gt;just want to make sure when you're saying " it's working for you", We're on the same page.&lt;/P&gt;&lt;P&gt;The way I test this is as follows:&lt;/P&gt;&lt;P&gt;I write to the location 0x14000_000 successfully , Then I comment out the statement on line 281 in tasks.c file&lt;/P&gt;&lt;P&gt;FLASH_DRV_EEEWrite(&amp;amp;flashSSDConfig, 0x14000000, 4, sourceBuffer);&lt;/P&gt;&lt;P&gt;I do this to make sure that the value written previously preserves and&amp;nbsp;the code&amp;nbsp;is not&amp;nbsp;writing to EEPROM anymore.&lt;/P&gt;&lt;P&gt;I build the code and try to download using OPEN SDA, that's when it fails to flash.&lt;/P&gt;&lt;P&gt;I was wondering if you tested it the same way and it works for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2017 15:13:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/PE-TOOL-MEMORY-PRESERVATION/m-p/749272#M2600</guid>
      <dc:creator>hajianik</dc:creator>
      <dc:date>2017-12-05T15:13:12Z</dc:date>
    </item>
    <item>
      <title>Re: PE TOOL  MEMORY PRESERVATION</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/PE-TOOL-MEMORY-PRESERVATION/m-p/749273#M2601</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;&lt;/P&gt;&lt;P&gt;I have to use different setup - For some reason (probably communication issue? ) The OS can't start for me. So - I write data into EEEPROM ( by the very same command copy-pasted from your code) in different project. I clean your project,&amp;nbsp; commented out FLASH_DRV_EEEWrite from your code (in tasks.c file) , set memory preservation, built and upload your project. The data on 0x14000000 remains the same as I wrote before in different project. There was no issue during flashing.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your issue is related to Flashing phase - technically I modified EEEROM data, preserve the memory and flashed your project. In Memory view I can see correct data.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jiri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Dec 2017 07:36:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/PE-TOOL-MEMORY-PRESERVATION/m-p/749273#M2601</guid>
      <dc:creator>jiri_kral</dc:creator>
      <dc:date>2017-12-06T07:36:49Z</dc:date>
    </item>
    <item>
      <title>Re: PE TOOL  MEMORY PRESERVATION</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/PE-TOOL-MEMORY-PRESERVATION/m-p/749274#M2602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@&lt;A _jive_internal="true" class="" data-content-finding="Community" data-userid="289305" data-username="hajianik@gmail.com" href="https://community.nxp.com/people/hajianik@gmail.com" style="color: #5e89c1; background-color: #ffffff; border: 0px; font-weight: 200; text-decoration: none; font-size: 1.286rem;"&gt;Koorosh Hajiani&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I'm&amp;nbsp;also&amp;nbsp; facing the same problem,&lt;/P&gt;&lt;P&gt;Did you found the solution for this issue?&lt;/P&gt;&lt;P&gt;I have checked the Preserver Range (0x10000000 - 0x1000ffff)&lt;/P&gt;&lt;P&gt;During the Flashing D-Flash has erased, so the FlexRAM (EEPROM) all data will be FF&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if you have any findings?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sakhtivel K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 May 2018 08:42:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/PE-TOOL-MEMORY-PRESERVATION/m-p/749274#M2602</guid>
      <dc:creator>sakthivelkuland</dc:creator>
      <dc:date>2018-05-17T08:42:44Z</dc:date>
    </item>
    <item>
      <title>Re: PE TOOL  MEMORY PRESERVATION</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/PE-TOOL-MEMORY-PRESERVATION/m-p/749275#M2603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I updated the&amp;nbsp;&lt;A href="https://community.nxp.com/docs/DOC-340625"&gt;EXAMPLE: S32K144 EEEPROM usage - No SDK&lt;/A&gt;&amp;nbsp; example. There is bug in PE Micro flashing algorithm. Thank you to discover this bug, hope that the PE Micro will fix it soon.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jiri&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 May 2018 12:56:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/PE-TOOL-MEMORY-PRESERVATION/m-p/749275#M2603</guid>
      <dc:creator>jiri_kral</dc:creator>
      <dc:date>2018-05-17T12:56:40Z</dc:date>
    </item>
    <item>
      <title>Re: PE TOOL  MEMORY PRESERVATION</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/PE-TOOL-MEMORY-PRESERVATION/m-p/749276#M2604</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 got over the issue ,which is not a %100 full proof but still let me debug on 32k design studio by configuring the tool as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Capture_advanced_option_ debug_config.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/46625iFA1D78EC854E943F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture_advanced_option_ debug_config.PNG" alt="Capture_advanced_option_ debug_config.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which configure 64k of d flash as back up and 32k flex ram as NVRAM.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 May 2018 15:11:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/PE-TOOL-MEMORY-PRESERVATION/m-p/749276#M2604</guid>
      <dc:creator>hajianik</dc:creator>
      <dc:date>2018-05-17T15:11:39Z</dc:date>
    </item>
    <item>
      <title>Re: PE TOOL  MEMORY PRESERVATION</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/PE-TOOL-MEMORY-PRESERVATION/m-p/749277#M2605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Do you mean that in 32k design studio ,Advanced Otion&amp;nbsp;, unde Flash Algorithm selection the following algorithm &lt;STRONG&gt;"freescale_s32k144f512m15_pflah_dflash_eeprom"&amp;nbsp; &lt;/STRONG&gt;has a bug?&lt;/P&gt;&lt;P&gt;I'm confused.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 May 2018 15:19:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/PE-TOOL-MEMORY-PRESERVATION/m-p/749277#M2605</guid>
      <dc:creator>hajianik</dc:creator>
      <dc:date>2018-05-17T15:19:14Z</dc:date>
    </item>
    <item>
      <title>Re: PE TOOL  MEMORY PRESERVATION</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/PE-TOOL-MEMORY-PRESERVATION/m-p/749278#M2606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, at least with some option - partition protection and memory protection the pegdbserver crashes. It is probably script interpreter crash, but user is using the script. Anyway - it is already logged in as a bug.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 May 2018 16:10:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/PE-TOOL-MEMORY-PRESERVATION/m-p/749278#M2606</guid>
      <dc:creator>jiri_kral</dc:creator>
      <dc:date>2018-05-17T16:10:14Z</dc:date>
    </item>
  </channel>
</rss>

