<?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>topic Re: Semihosting printf with S32G274A in S32 Design Studio</title>
    <link>https://community.nxp.com/t5/S32-Design-Studio/Semihosting-printf-with-S32G274A/m-p/1611168#M9845</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;As told on the last thread you are referring, printf is not recommended for debugging purposes. As for your questions:&lt;/P&gt;
&lt;P&gt;Q1 &amp;gt;&amp;gt;&amp;nbsp;&lt;SPAN&gt;Is the S32G274A not supported by the S32DS or the S32 Debug Probe?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;A1 &amp;gt;&amp;gt; S32G2/G3 family is supported by both S32DS v3.4/v3.5 and S32 Debug Probe.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Q2 &amp;gt;&amp;gt;&amp;nbsp;&lt;SPAN&gt;Can you please let me know if semihosting is possible for the S32G274A derivate and if so, what specific setting I might be missing?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;A2 &amp;gt;&amp;gt; As for this moment, we cannot be sure if semihosting is being supported on the S32 Debug Probe itself, given that there is no telling about this specific feature neither on the product page nor on the user guide. We do apologize for this.&lt;/P&gt;
&lt;P&gt;We recommend looking into the possibility of using the UART available interfaces for a printf-like interface. There are UART available examples that can help to integrate it to your specific application.&lt;/P&gt;
&lt;P&gt;Please, let us know.&lt;/P&gt;</description>
    <pubDate>Tue, 07 Mar 2023 21:34:08 GMT</pubDate>
    <dc:creator>Daniel-Aguirre</dc:creator>
    <dc:date>2023-03-07T21:34:08Z</dc:date>
    <item>
      <title>Semihosting printf with S32G274A</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Semihosting-printf-with-S32G274A/m-p/1610755#M9843</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I want to get printf() output on the S32DS console output during debugging.&lt;/P&gt;&lt;P&gt;My current setup:&lt;BR /&gt;- A S32G274A controller on a miriac SBC-S32G274A development board&lt;BR /&gt;- S32 Design Studio 3.5&lt;BR /&gt;- S32 Debug Probe using remote debugging over Ethernet&lt;/P&gt;&lt;P&gt;I found, that for the S32K144 there is a possibility to do that:&lt;BR /&gt;&lt;A href="https://community.nxp.com/t5/S32-Design-Studio/I-don-t-understand-how-to-use-the-function-printf-in-S32-Design/m-p/1092210" target="_blank" rel="noopener"&gt;https://community.nxp.com/t5/S32-Design-Studio/I-don-t-understand-how-to-use-the-function-printf-in-S32-Design/m-p/1092210&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I could also find settings for the semihosting in the project settings, I tried all of those with semihosting in the name, but none of them worked:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Markus_Schroeder_0-1678180324964.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/213505i5198F9C51E45C2D3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Markus_Schroeder_0-1678180324964.png" alt="Markus_Schroeder_0-1678180324964.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The semihosting is also enabled on the Debugger setup:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Markus_Schroeder_1-1678180340723.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/213506i49CE62CCF21E206B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Markus_Schroeder_1-1678180340723.png" alt="Markus_Schroeder_1-1678180340723.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;During the debug session my console switches automatically into Semihosting:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Markus_Schroeder_2-1678180357107.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/213507i756E53876F97F508/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Markus_Schroeder_2-1678180357107.png" alt="Markus_Schroeder_2-1678180357107.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I do not get any output on the console.&lt;BR /&gt;Is the S32G274A not supported by the S32DS or the S32 Debug Probe?&lt;/P&gt;&lt;P&gt;I also found another question, asking the same thing, probably not with enough explanation, so there was no real explanation provided:&lt;BR /&gt;&lt;A href="https://community.nxp.com/t5/S32G/Semihosting-on-S32G274A-S32DS-3-4/m-p/1397863" target="_blank" rel="noopener"&gt;https://community.nxp.com/t5/S32G/Semihosting-on-S32G274A-S32DS-3-4/m-p/1397863&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Can you please let me know if semihosting is possible for the S32G274A derivate and if so, what specific setting I might be missing?&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Markus&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Mar 2023 09:16:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Semihosting-printf-with-S32G274A/m-p/1610755#M9843</guid>
      <dc:creator>Markus_Schroeder</dc:creator>
      <dc:date>2023-03-07T09:16:39Z</dc:date>
    </item>
    <item>
      <title>Re: Semihosting printf with S32G274A</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Semihosting-printf-with-S32G274A/m-p/1611168#M9845</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;As told on the last thread you are referring, printf is not recommended for debugging purposes. As for your questions:&lt;/P&gt;
&lt;P&gt;Q1 &amp;gt;&amp;gt;&amp;nbsp;&lt;SPAN&gt;Is the S32G274A not supported by the S32DS or the S32 Debug Probe?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;A1 &amp;gt;&amp;gt; S32G2/G3 family is supported by both S32DS v3.4/v3.5 and S32 Debug Probe.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Q2 &amp;gt;&amp;gt;&amp;nbsp;&lt;SPAN&gt;Can you please let me know if semihosting is possible for the S32G274A derivate and if so, what specific setting I might be missing?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;A2 &amp;gt;&amp;gt; As for this moment, we cannot be sure if semihosting is being supported on the S32 Debug Probe itself, given that there is no telling about this specific feature neither on the product page nor on the user guide. We do apologize for this.&lt;/P&gt;
&lt;P&gt;We recommend looking into the possibility of using the UART available interfaces for a printf-like interface. There are UART available examples that can help to integrate it to your specific application.&lt;/P&gt;
&lt;P&gt;Please, let us know.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Mar 2023 21:34:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Semihosting-printf-with-S32G274A/m-p/1611168#M9845</guid>
      <dc:creator>Daniel-Aguirre</dc:creator>
      <dc:date>2023-03-07T21:34:08Z</dc:date>
    </item>
  </channel>
</rss>

