<?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中的主题 Re: Memory browser changes general purpose registers - SWT debugging</title>
    <link>https://community.nxp.com/t5/MPC5xxx/Memory-browser-changes-general-purpose-registers-SWT-debugging/m-p/709186#M9178</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have never seen this issue so, I am not sure if my answer is related to this problem, but there was SWT default configuration error in this version of S32DS. In startup code, there is following code in &amp;nbsp;&lt;STRONG&gt;Turn off SWTs&lt;/STRONG&gt; section:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e_lis&amp;nbsp;&amp;nbsp; &amp;nbsp;r3, 0x7F00&lt;/P&gt;&lt;P&gt;e_or2i&amp;nbsp;&amp;nbsp; &amp;nbsp;r3, 0x010A&lt;BR /&gt;e_stw&amp;nbsp;&amp;nbsp; &amp;nbsp;r3, 0(r4)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try to use 0xFF00 instead of 0x7F00.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In case this does not solve the problem, please try S32 Design Studio for Power version 1.2. If there will be the same problem, please write in detail how to reproduce the issue and I will check it on my side and eventually log it as a bug.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Sep 2017 12:26:05 GMT</pubDate>
    <dc:creator>martin_kovar</dc:creator>
    <dc:date>2017-09-04T12:26:05Z</dc:date>
    <item>
      <title>Memory browser changes general purpose registers - SWT debugging</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Memory-browser-changes-general-purpose-registers-SWT-debugging/m-p/709185#M9177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When using memory browser general purpose registers change after reading SWT registers values, while SWT&amp;nbsp;is running,&amp;nbsp;because of that I&amp;nbsp;get a machine check error. I'm using MPC5744P and S32 v1.1. Is that normal behavior when&amp;nbsp;SWT is running or not?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before reading SWT registers&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="reg_prije.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/27454iA751D629D4A43ABC/image-size/large?v=v2&amp;amp;px=999" role="button" title="reg_prije.PNG" alt="reg_prije.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After&amp;nbsp;using memory browser&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="reg_poslije.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/27502i424D9749D57319D7/image-size/large?v=v2&amp;amp;px=999" role="button" title="reg_poslije.PNG" alt="reg_poslije.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After reading I used step instruction mode and stepped only one instruction and this happens, also I tried reading other memory locations but registers remain same as before.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Filip&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Aug 2017 07:56:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Memory-browser-changes-general-purpose-registers-SWT-debugging/m-p/709185#M9177</guid>
      <dc:creator>filipzigun</dc:creator>
      <dc:date>2017-08-29T07:56:01Z</dc:date>
    </item>
    <item>
      <title>Re: Memory browser changes general purpose registers - SWT debugging</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Memory-browser-changes-general-purpose-registers-SWT-debugging/m-p/709186#M9178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have never seen this issue so, I am not sure if my answer is related to this problem, but there was SWT default configuration error in this version of S32DS. In startup code, there is following code in &amp;nbsp;&lt;STRONG&gt;Turn off SWTs&lt;/STRONG&gt; section:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e_lis&amp;nbsp;&amp;nbsp; &amp;nbsp;r3, 0x7F00&lt;/P&gt;&lt;P&gt;e_or2i&amp;nbsp;&amp;nbsp; &amp;nbsp;r3, 0x010A&lt;BR /&gt;e_stw&amp;nbsp;&amp;nbsp; &amp;nbsp;r3, 0(r4)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try to use 0xFF00 instead of 0x7F00.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In case this does not solve the problem, please try S32 Design Studio for Power version 1.2. If there will be the same problem, please write in detail how to reproduce the issue and I will check it on my side and eventually log it as a bug.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Sep 2017 12:26:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Memory-browser-changes-general-purpose-registers-SWT-debugging/m-p/709186#M9178</guid>
      <dc:creator>martin_kovar</dc:creator>
      <dc:date>2017-09-04T12:26:05Z</dc:date>
    </item>
    <item>
      <title>Re: Memory browser changes general purpose registers - SWT debugging</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Memory-browser-changes-general-purpose-registers-SWT-debugging/m-p/709187#M9179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your answer.&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Startup code was already changed the way you said and i still get same error&amp;nbsp;and i tried using S32 v1.2 but still&amp;nbsp;same.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While SWT is running i suspend running program and then i use Memory browser to read&amp;nbsp;memory where SWT registers are&amp;nbsp;located (0xFC050000) and after reading that memory i resume running program and MCU registers change as explained in first post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Filip&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Sep 2017 09:32:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Memory-browser-changes-general-purpose-registers-SWT-debugging/m-p/709187#M9179</guid>
      <dc:creator>filipzigun</dc:creator>
      <dc:date>2017-09-15T09:32:08Z</dc:date>
    </item>
  </channel>
</rss>

