<?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: S32k146 Debugging Remote Failure Reply.</title>
    <link>https://community.nxp.com/t5/S32-Design-Studio/S32k146-Debugging-Remote-Failure-Reply/m-p/1551172#M9385</link>
    <description>&lt;P&gt;Hi BrandonPhelps,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The plugin you are using it is a bit outdated. PEmicro's latest official plugin is&amp;nbsp;5.3.6.202210191804. To update the plugin, please follow the steps outlined in the following blogpost:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.pemicro.com/blog/index.cfm?post_id=124" target="_blank" rel="nofollow noopener noreferrer"&gt;https://www.pemicro.com/blog/index.cfm?post_id=124&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You do not need to install the "PEmicro ARM Device Expansion Plugin"&lt;/P&gt;&lt;P&gt;The latest plugin includes some changes to freeRTOS that were made late last year. Please let me know if it resolves the issue.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 09 Nov 2022 15:32:29 GMT</pubDate>
    <dc:creator>juan_see</dc:creator>
    <dc:date>2022-11-09T15:32:29Z</dc:date>
    <item>
      <title>S32k146 Debugging Remote Failure Reply.</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/S32k146-Debugging-Remote-Failure-Reply/m-p/1347065#M7823</link>
      <description>&lt;P&gt;I'm currently developing on the S32K146 platform and am using freertos.&amp;nbsp;&lt;/P&gt;&lt;P&gt;During the debugging my application I run into a situation where debugging through the IDE becomes unusable. This occurs when I press the suspend button on the IDE. The resultant debug stack looks like&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BrandonPhelps_0-1632766454163.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/157587iB2730390CFE13C02/image-size/medium?v=v2&amp;amp;px=400" role="button" title="BrandonPhelps_0-1632766454163.png" alt="BrandonPhelps_0-1632766454163.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Additionally when I'll get some additional trace information from the Debugger Console indicating that reading the registers values will fail.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note that this remote failure reply occurs when I run 'set debug remote 1' into the Debugger Console. Then run the 'info thread' command.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BrandonPhelps_1-1632766502010.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/157588i86DAA60E44A0C734/image-size/medium?v=v2&amp;amp;px=400" role="button" title="BrandonPhelps_1-1632766502010.png" alt="BrandonPhelps_1-1632766502010.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;It appears as if reading out the stack information for one of the task fails.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Referring to this documentation on the packets that gdb sends&amp;nbsp;&lt;A href="https://sourceware.org/gdb/onlinedocs/gdb/Packets.html" target="_blank"&gt;https://sourceware.org/gdb/onlinedocs/gdb/Packets.html&lt;/A&gt;&amp;nbsp;it appears an error occurs on the reading of the registers. however I'm not certain how to interpret this error.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BrandonPhelps_2-1632771988668.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/157590iF1F9D0B48D9F80AD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="BrandonPhelps_2-1632771988668.png" alt="BrandonPhelps_2-1632771988668.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using a PE micro Universal FX as the debugging hardware. And have updated to the newest PE micro plugin drivers, version 5.0.&lt;/P&gt;&lt;P&gt;I believe I'm having a similar issue to the individual in this thread.&amp;nbsp;&lt;A href="https://community.nxp.com/t5/S32K/Remote-failure-reply-when-debug-using-pemicro/td-p/1270205" target="_blank"&gt;https://community.nxp.com/t5/S32K/Remote-failure-reply-when-debug-using-pemicro/td-p/1270205&lt;/A&gt;&amp;nbsp;As per this thread I did check some of the options such as the flash algorithm and persistence. They don't seem unusual to me, however I'm not certain what to check for explicitly.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;doing some additional testing I do that when I setup freertos to use dynamic memory allocation and then let , that this behaviour of the debugger becoming unstable/ unuseable goes away.&amp;nbsp;&lt;/P&gt;&lt;P&gt;When attempting to set this up on a basic example application, I can only reproduce these similar issues but only if I pause or step during freertos maintance handling step of uxRemoveList&amp;nbsp; on a ulNotifyTask.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Overall I'm looking for some thoughts on how to troubleshoot this.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Sep 2021 20:25:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/S32k146-Debugging-Remote-Failure-Reply/m-p/1347065#M7823</guid>
      <dc:creator>BrandonPhelps</dc:creator>
      <dc:date>2021-09-27T20:25:57Z</dc:date>
    </item>
    <item>
      <title>Re: S32k146 Debugging Remote Failure Reply.</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/S32k146-Debugging-Remote-Failure-Reply/m-p/1551172#M9385</link>
      <description>&lt;P&gt;Hi BrandonPhelps,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The plugin you are using it is a bit outdated. PEmicro's latest official plugin is&amp;nbsp;5.3.6.202210191804. To update the plugin, please follow the steps outlined in the following blogpost:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.pemicro.com/blog/index.cfm?post_id=124" target="_blank" rel="nofollow noopener noreferrer"&gt;https://www.pemicro.com/blog/index.cfm?post_id=124&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You do not need to install the "PEmicro ARM Device Expansion Plugin"&lt;/P&gt;&lt;P&gt;The latest plugin includes some changes to freeRTOS that were made late last year. Please let me know if it resolves the issue.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Nov 2022 15:32:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/S32k146-Debugging-Remote-Failure-Reply/m-p/1551172#M9385</guid>
      <dc:creator>juan_see</dc:creator>
      <dc:date>2022-11-09T15:32:29Z</dc:date>
    </item>
  </channel>
</rss>

