<?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: How to save data during reset</title>
    <link>https://community.nxp.com/t5/S32K/How-to-save-data-during-reset/m-p/1784278#M30359</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;You simply look after reset to RGM [DES/FES] registers after the BIST.&lt;/P&gt;
&lt;P&gt;RGM module preserve reset source information trough all type of resets except power on reset.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Peter&lt;/P&gt;</description>
    <pubDate>Mon, 08 Jan 2024 09:05:34 GMT</pubDate>
    <dc:creator>petervlna</dc:creator>
    <dc:date>2024-01-08T09:05:34Z</dc:date>
    <item>
      <title>How to save data during reset</title>
      <link>https://community.nxp.com/t5/S32K/How-to-save-data-during-reset/m-p/1784055#M30319</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am currently using BIST in the project, but before executing BIST, I need to disable the communication peripherals, and a reset occurs after completing the BIST. Therefore, I have not yet found a way to identify the cause of the system reset that occurs before executing BIST.&lt;/P&gt;&lt;P&gt;1. Is there a method to preserve data even after a destructive reset or functional reset occurs?&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jan 2024 03:34:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/How-to-save-data-during-reset/m-p/1784055#M30319</guid>
      <dc:creator>Pusoy</dc:creator>
      <dc:date>2024-01-08T03:34:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to save data during reset</title>
      <link>https://community.nxp.com/t5/S32K/How-to-save-data-during-reset/m-p/1784278#M30359</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;You simply look after reset to RGM [DES/FES] registers after the BIST.&lt;/P&gt;
&lt;P&gt;RGM module preserve reset source information trough all type of resets except power on reset.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Peter&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jan 2024 09:05:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/How-to-save-data-during-reset/m-p/1784278#M30359</guid>
      <dc:creator>petervlna</dc:creator>
      <dc:date>2024-01-08T09:05:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to save data during reset</title>
      <link>https://community.nxp.com/t5/S32K/How-to-save-data-during-reset/m-p/1784291#M30361</link>
      <description>Hello, thank you for your reply.&lt;BR /&gt;&lt;BR /&gt;I need to call the Mcu_GetResetReason() function before executing BIST to obtain the previous reset reason.&lt;BR /&gt;But this function clears the values of the RGM [DES/FES] registers,.&lt;BR /&gt;so I need another method.</description>
      <pubDate>Mon, 08 Jan 2024 09:15:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/How-to-save-data-during-reset/m-p/1784291#M30361</guid>
      <dc:creator>Pusoy</dc:creator>
      <dc:date>2024-01-08T09:15:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to save data during reset</title>
      <link>https://community.nxp.com/t5/S32K/How-to-save-data-during-reset/m-p/1784386#M30374</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;I need to call the Mcu_GetResetReason() function before executing BIST&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Ok, so store the RGM content to some NVM. like EEPROM which is quite common use case.&lt;/P&gt;
&lt;P&gt;Simply preserve the FES and DES so you can analyze it.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Peter&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jan 2024 10:48:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/How-to-save-data-during-reset/m-p/1784386#M30374</guid>
      <dc:creator>petervlna</dc:creator>
      <dc:date>2024-01-08T10:48:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to save data during reset</title>
      <link>https://community.nxp.com/t5/S32K/How-to-save-data-during-reset/m-p/1784768#M30400</link>
      <description>Hello, thank you for your reply.&lt;BR /&gt;I forgot to mention that we currently don't have any extra EEPROM space in our project to store data, so that solution doesn't apply to us.&lt;BR /&gt;We need a solution where data can still be retained in a RAM area even after a destructive reset occurs.</description>
      <pubDate>Tue, 09 Jan 2024 02:32:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/How-to-save-data-during-reset/m-p/1784768#M30400</guid>
      <dc:creator>Pusoy</dc:creator>
      <dc:date>2024-01-09T02:32:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to save data during reset</title>
      <link>https://community.nxp.com/t5/S32K/How-to-save-data-during-reset/m-p/1784896#M30413</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;But this function clears the values of the RGM [DES/FES] registers,.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Since you are out of options simply modify / write your own function for RGM reads which wont clear them.&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;We need a solution where data can still be retained in a RAM area even after a destructive reset occurs.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Well, its called a destructive reset for some reason. RAM content is destroyed.&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;I have not yet found a way to identify the cause of the system reset that occurs before executing BIST.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I would set loop/break right before execution of the BIST, read out the RGM to understand the reset cause from debugger.&lt;/P&gt;
&lt;P&gt;Usually you do system reset reading in startup code and branch the code based on its results. I do not understand why you do it right before BIST.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Peter&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jan 2024 05:51:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/How-to-save-data-during-reset/m-p/1784896#M30413</guid>
      <dc:creator>petervlna</dc:creator>
      <dc:date>2024-01-09T05:51:27Z</dc:date>
    </item>
  </channel>
</rss>

