<?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>S32 Design StudioのトピックRe: Pe Micro, preserve memory bug.</title>
    <link>https://community.nxp.com/t5/S32-Design-Studio/Pe-Micro-preserve-memory-bug/m-p/976740#M5507</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;as far as I know - PE Micro won't fix it. From PE Micro's understanding this is not a bug. The memory is successfully preserved when DFlash is not partitioned as a backup for EEEPROM - which is technically correct - but useless.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my opinion (as a regular user) - the memory should be also preserved if it is already partitioned. I understand that it's little bit tricky - Dflash is not directly accessible when partitioned as EEEPROM backup. The only way how to Read/Write data is through FlexRAM. But I think that it is still doable by Flashing algorithm - for example by skipping erase from 0x1000000 to 0x1000FFFF or reading data from FlexRam - Erase flash - re-partition it and write data back to FlexRAM.&amp;nbsp;&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>Mon, 17 Feb 2020 13:16:23 GMT</pubDate>
    <dc:creator>jiri_kral</dc:creator>
    <dc:date>2020-02-17T13:16:23Z</dc:date>
    <item>
      <title>Pe Micro, preserve memory bug.</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Pe-Micro-preserve-memory-bug/m-p/976739#M5506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Hi!&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding: 0px; min-height: 8pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Is this&amp;nbsp;"preserve memory range PE Micro" bug solved yet?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding: 0px; min-height: 8pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Or is there any other working solution?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding: 0px; min-height: 8pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Just installed S32DS 2.2, and fully updated (also all PE Micro up to date) but no luck! (Same on S32DS-18)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding: 0px; min-height: 8pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Same problem on 2 computers Win7 64bit...&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding: 0px; min-height: 8pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Tested with both OpenSDA and Multilink Universal.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding: 0px; min-height: 8pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;I'm using the other SDK EEPROM example. (Referred in top post)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding: 0px; min-height: 8pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Everything seems to work, except when you use "preserve memory range", the&amp;nbsp;pegdbserver always crashes, and can not load/flash the target successfully.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding: 0px; min-height: 8pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000; background-color: #ffffff;"&gt;&lt;SPAN&gt;With OpenSDA:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Connection from "127.0.0.1" via 127.0.0.1. Connection from port "57803" to 6224&lt;BR /&gt;Connection from "127.0.0.1" via 127.0.0.1. Connection from port "57804" to 7224&lt;BR /&gt;Searching for FreeRTOS Kernel Symbols...&lt;BR /&gt;rsp_qC - qSymbol: 707843757272656E74544342&lt;BR /&gt; pxCurrentTCB not found. FreeRTOS analysis not enabled.&lt;BR /&gt;Copyright 2018 P&amp;amp;E Microcomputer Systems,Inc.&lt;BR /&gt;Command Line :C:\NXP\S32DS_ARM_v2.2\eclipse\plugins\com.pemicro.debug.gdbjtag.pne.expansion_4.5.3.202002032127\win32\pegdbserver_console -device=NXP_S32K1xx_S32K144F512M15 -startserver -singlesession -serverport=7224 -gdbmiport=6224 -interface=OPENSDA -sL&lt;BR /&gt;OpenSDA detected - Flash Version 1.19&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;BR /&gt;Target has been RESET and is active.&lt;BR /&gt;CMD&amp;gt;CM C:\NXP\S32DS_ARM_v2.2\eclipse\plugins\com.pemicro.debug.gdbjtag.pne.expansion_4.5.3.202002032127\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;BR /&gt;Initialized.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;;version 1.05, 12/03/2019, Copyright 2019 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;BR /&gt;Done.&lt;BR /&gt;CMD&amp;gt;PA 0204&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Started.&lt;BR /&gt;Done.&lt;BR /&gt;Programming sequency is : erase, blank check, program, and verify {default} &lt;BR /&gt;CMD&amp;gt;VC&lt;BR /&gt;Verifying object file CRC-16 to device ranges ... &lt;BR /&gt; block 00000000-000019EF ... &lt;BR /&gt;Calculated CRC-16 does not match block. (File = $186D, Device = $9EBD) &lt;BR /&gt;Current content of flash does not match application to be programmed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CMD&amp;gt;EM &lt;SPAN style="color: #ff0000;"&gt;// Get stuck here for ~50s.&lt;/SPAN&gt;&lt;BR /&gt;Preserving data range $10000000-$1000FFFF before erase ... &lt;BR /&gt;Done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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;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;BR /&gt;Processing Object File Data ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;. &lt;BR /&gt;Programmed.&lt;BR /&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;BR /&gt;Error loading CRC-16 algorithm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error loading CRC-16 algorithm. &lt;BR /&gt;Error loading CRC-16 Algorithm.&lt;BR /&gt;Error verifying flash of device &lt;BR /&gt;Error occured during Flash programming.&lt;/P&gt;&lt;P&gt;PEmicro GDB Launch Failure : Error during flash programming. Terminating debug session.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000; background-color: #ffffff;"&gt;pegdbserver crashes...&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding: 0px; min-height: 8pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="padding: 0px; min-height: 8pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000; background-color: #ffffff;"&gt;With Multilink Universal:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Connection from "127.0.0.1" via 127.0.0.1. Connection from port "57868" to 6224&lt;BR /&gt;Connection from "127.0.0.1" via 127.0.0.1. Connection from port "57869" to 7224&lt;BR /&gt;Searching for FreeRTOS Kernel Symbols...&lt;BR /&gt;rsp_qC - qSymbol: 707843757272656E74544342&lt;BR /&gt; pxCurrentTCB not found. FreeRTOS analysis not enabled.&lt;BR /&gt;Copyright 2018 P&amp;amp;E Microcomputer Systems,Inc.&lt;BR /&gt;Command Line :C:\NXP\S32DS_ARM_v2.2\eclipse\plugins\com.pemicro.debug.gdbjtag.pne.expansion_4.5.3.202002032127\win32\pegdbserver_console -device=NXP_S32K1xx_S32K144F512M15 -startserver -singlesession -serverport=7224 -gdbmiport=6224 -interface=USBMULTILIL&lt;BR /&gt;P&amp;amp;E Interface detected - Flash Version 10.42&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;BR /&gt;Target has been RESET and is active.&lt;BR /&gt;CMD&amp;gt;CM C:\NXP\S32DS_ARM_v2.2\eclipse\plugins\com.pemicro.debug.gdbjtag.pne.expansion_4.5.3.202002032127\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;BR /&gt;Initialized.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;;version 1.05, 12/03/2019, Copyright 2019 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;BR /&gt;Done.&lt;BR /&gt;CMD&amp;gt;PA 0204&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Started.&lt;BR /&gt;Done.&lt;BR /&gt;Programming sequency is : erase, blank check, program, and verify {default} &lt;BR /&gt;CMD&amp;gt;VC&lt;BR /&gt;Verifying object file CRC-16 to device ranges ... &lt;BR /&gt; block 00000000-000019EF ... &lt;BR /&gt;Calculated CRC-16 does not match block. (File = $186D, Device = $9EBD) &lt;BR /&gt;Current content of flash does not match application to be programmed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CMD&amp;gt;EM&amp;nbsp;&lt;SPAN style="color: #ff0000;"&gt;// Get stuck here for ~25s.&lt;/SPAN&gt;&lt;BR /&gt;Preserving data range $10000000-$1000FFFF before erase ... &lt;BR /&gt;Done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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;SPAN style="color: #ff0000;"&gt;// Get stuck here for ~5s.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error! Last command failed.&lt;BR /&gt;Error Erasing flash of device &lt;BR /&gt;Error occured during Flash programming.&lt;/P&gt;&lt;P&gt;PEmicro GDB Launch Failure : Error during flash programming. Terminating debug session.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000; background-color: #ffffff;"&gt;pegdbserver crashes...&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Feb 2020 12:34:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Pe-Micro-preserve-memory-bug/m-p/976739#M5506</guid>
      <dc:creator>christofferjärl</dc:creator>
      <dc:date>2020-02-17T12:34:01Z</dc:date>
    </item>
    <item>
      <title>Re: Pe Micro, preserve memory bug.</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Pe-Micro-preserve-memory-bug/m-p/976740#M5507</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;as far as I know - PE Micro won't fix it. From PE Micro's understanding this is not a bug. The memory is successfully preserved when DFlash is not partitioned as a backup for EEEPROM - which is technically correct - but useless.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my opinion (as a regular user) - the memory should be also preserved if it is already partitioned. I understand that it's little bit tricky - Dflash is not directly accessible when partitioned as EEEPROM backup. The only way how to Read/Write data is through FlexRAM. But I think that it is still doable by Flashing algorithm - for example by skipping erase from 0x1000000 to 0x1000FFFF or reading data from FlexRam - Erase flash - re-partition it and write data back to FlexRAM.&amp;nbsp;&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>Mon, 17 Feb 2020 13:16:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Pe-Micro-preserve-memory-bug/m-p/976740#M5507</guid>
      <dc:creator>jiri_kral</dc:creator>
      <dc:date>2020-02-17T13:16:23Z</dc:date>
    </item>
  </channel>
</rss>

