<?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のトピックHow attach to running program?</title>
    <link>https://community.nxp.com/t5/S32-Design-Studio/How-attach-to-running-program/m-p/1030375#M6045</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;OS:&lt;/STRONG&gt; Ubuntu 18.04.1 LTS&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;IDE:&amp;nbsp;&lt;/STRONG&gt; S32DS Power 2017.R1, Build id: 171018.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Board&lt;/STRONG&gt;: Custom equipped with PowerPC MPC5748G&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Debugger:&lt;/STRONG&gt; P&amp;amp;E Multilink Universal&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sometimes I want to...&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Reset a program from the IDE&lt;/LI&gt;&lt;LI&gt;Attach to a running program&lt;/LI&gt;&lt;LI&gt;Download a program to the device and debug it&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;With my usual ARM-debugger (Segger Ozone) there's a button in the main toolbar with a small dropdown for selecting between three actions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But how do I accomplish these three actions in the S32 Design Studio?&lt;/P&gt;&lt;P&gt;I can download a program using the bug button in the main toolbar&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/96156iFD215A2915914D51/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;P&gt;There's a "Attach to Running Target" checkbox field in the Debug Configurations dialog&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/96157i7BD18C743AC30585/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;There's a yellow HW reset button in the Debug View&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_4.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/96153i8FFC377F55950060/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_4.png" alt="pastedImage_4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But the HW reset takes ~30s for me to take effect with a small program. And sometimes it fails completely. Is that expected?&lt;/P&gt;&lt;P&gt;When I want to attach to a program I've filled in the checkbox and started debugging. Sometimes I've succeed in attaching, and sometimes not. And when I've had the Attach to Running Target checkbox filled in by mistake I've started a debug session in the belief that the new version of the software was flashed to the device, when in fact, the debugger just attached to the old running software.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there some option that I've missed? Any suggestions on how to configure S32DS to make it clearer if the debugger will just attach or if it will download the program?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Dec 2019 14:25:12 GMT</pubDate>
    <dc:creator>danielnäslund</dc:creator>
    <dc:date>2019-12-10T14:25:12Z</dc:date>
    <item>
      <title>How attach to running program?</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/How-attach-to-running-program/m-p/1030375#M6045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;OS:&lt;/STRONG&gt; Ubuntu 18.04.1 LTS&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;IDE:&amp;nbsp;&lt;/STRONG&gt; S32DS Power 2017.R1, Build id: 171018.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Board&lt;/STRONG&gt;: Custom equipped with PowerPC MPC5748G&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Debugger:&lt;/STRONG&gt; P&amp;amp;E Multilink Universal&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sometimes I want to...&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Reset a program from the IDE&lt;/LI&gt;&lt;LI&gt;Attach to a running program&lt;/LI&gt;&lt;LI&gt;Download a program to the device and debug it&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;With my usual ARM-debugger (Segger Ozone) there's a button in the main toolbar with a small dropdown for selecting between three actions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But how do I accomplish these three actions in the S32 Design Studio?&lt;/P&gt;&lt;P&gt;I can download a program using the bug button in the main toolbar&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/96156iFD215A2915914D51/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;P&gt;There's a "Attach to Running Target" checkbox field in the Debug Configurations dialog&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/96157i7BD18C743AC30585/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;There's a yellow HW reset button in the Debug View&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_4.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/96153i8FFC377F55950060/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_4.png" alt="pastedImage_4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But the HW reset takes ~30s for me to take effect with a small program. And sometimes it fails completely. Is that expected?&lt;/P&gt;&lt;P&gt;When I want to attach to a program I've filled in the checkbox and started debugging. Sometimes I've succeed in attaching, and sometimes not. And when I've had the Attach to Running Target checkbox filled in by mistake I've started a debug session in the belief that the new version of the software was flashed to the device, when in fact, the debugger just attached to the old running software.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there some option that I've missed? Any suggestions on how to configure S32DS to make it clearer if the debugger will just attach or if it will download the program?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Dec 2019 14:25:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/How-attach-to-running-program/m-p/1030375#M6045</guid>
      <dc:creator>danielnäslund</dc:creator>
      <dc:date>2019-12-10T14:25:12Z</dc:date>
    </item>
    <item>
      <title>Re: How attach to running program?</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/How-attach-to-running-program/m-p/1030376#M6046</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;did you update your installatiion of&amp;nbsp; S32DS?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For me with PE Micro Multilink FX takes reset about 3 sec (because of RAM Init).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To make attach easier - you can create your own debug settings with attach only. Duplicate existing debug configuration, rename it and configure for attaching:&amp;nbsp;&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/96695iDC9A7A48F8C8F45D/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;/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/96696iD4D26DD8B738A49A/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;/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/96697iB5F285C9F16CCF75/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;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&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>Fri, 13 Dec 2019 08:19:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/How-attach-to-running-program/m-p/1030376#M6046</guid>
      <dc:creator>jiri_kral</dc:creator>
      <dc:date>2019-12-13T08:19:57Z</dc:date>
    </item>
  </channel>
</rss>

