<?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>MPC5xxx中的主题 MPC5674R Functional Reset</title>
    <link>https://community.nxp.com/t5/MPC5xxx/MPC5674R-Functional-Reset/m-p/750468#M10498</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 want to save a value to SPR and then invoke a short functional reset on core 1. The point is I want to look at the value in SPR after the reset. Is this possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I'm currently saving to SPRG 256 (User SPR), not really sure which SPRGs that I should be using. Which ones are&amp;nbsp; &amp;nbsp; &amp;nbsp;available?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reset seems to work but looking at the registers they seem empty, nothing has been saved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have any example of how this can be done?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Cecilia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Mar 2018 15:41:26 GMT</pubDate>
    <dc:creator>ceciliac</dc:creator>
    <dc:date>2018-03-12T15:41:26Z</dc:date>
    <item>
      <title>MPC5674R Functional Reset</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5674R-Functional-Reset/m-p/750468#M10498</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 want to save a value to SPR and then invoke a short functional reset on core 1. The point is I want to look at the value in SPR after the reset. Is this possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I'm currently saving to SPRG 256 (User SPR), not really sure which SPRGs that I should be using. Which ones are&amp;nbsp; &amp;nbsp; &amp;nbsp;available?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reset seems to work but looking at the registers they seem empty, nothing has been saved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have any example of how this can be done?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Cecilia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2018 15:41:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5674R-Functional-Reset/m-p/750468#M10498</guid>
      <dc:creator>ceciliac</dc:creator>
      <dc:date>2018-03-12T15:41:26Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5674R Functional Reset</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5674R-Functional-Reset/m-p/750469#M10499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just noticed that I have the following in the startup.S file which is generated by the s32ds:&lt;/P&gt;&lt;P&gt;;# Init any other CPU register which might be stacked (before being used).&lt;/P&gt;&lt;P&gt;mtspr 1, r1 ;#XER&lt;BR /&gt; mtcrf 0xFF, r1&lt;BR /&gt; mtspr CTR, r1&lt;BR /&gt;mtspr 272, r1 ;#SPRG0&lt;BR /&gt; mtspr 273, r1 ;#SPRG1&lt;BR /&gt; mtspr 274, r1 ;#SPRG2&lt;BR /&gt; mtspr 275, r1 ;#SPRG3&lt;BR /&gt; mtspr 58, r1 ;#CSRR0&lt;BR /&gt; mtspr 59, r1 ;#CSRR1&lt;BR /&gt; mtspr 570, r1 ;#MCSRR0&lt;BR /&gt; mtspr 571, r1 ;#MCSRR1&lt;BR /&gt; mtspr 61, r1 ;#DEAR&lt;BR /&gt; mtspr 63, r1 ;#IVPR&lt;BR /&gt; mtspr 256, r1 ;#USPRG0&lt;BR /&gt; mtspr 62, r1 ;#ESR&lt;BR /&gt; mtspr 8,r31 ;#LR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When removing the init my&amp;nbsp;SPR value is (not surprisingly) saved during reset so my question now is: Is there any risk with not initializing these registers and is there another way to it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Cecilia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2018 16:17:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5674R-Functional-Reset/m-p/750469#M10499</guid>
      <dc:creator>ceciliac</dc:creator>
      <dc:date>2018-03-12T16:17:51Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5674R Functional Reset</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5674R-Functional-Reset/m-p/750470#M10500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, there is no risk in not initializing SPR.&lt;/P&gt;&lt;P&gt;It is fully on your application needs.&lt;/P&gt;&lt;P&gt;In core reference manual you can find list of registers which do not lost content on reset:&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/18893iE760B4E88ADB81F3/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;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/18942iDA60AF40BB49EBD1/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;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/18984i8F78DD321A1E68F7/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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2018 07:37:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5674R-Functional-Reset/m-p/750470#M10500</guid>
      <dc:creator>petervlna</dc:creator>
      <dc:date>2018-03-13T07:37:51Z</dc:date>
    </item>
  </channel>
</rss>

