<?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: printf in FreeRTOS in S32K</title>
    <link>https://community.nxp.com/t5/S32K/printf-in-FreeRTOS/m-p/1188234#M8980</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;please make sure that you enabled Semihosting console in debug configurations:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jiri_kral_0-1606225664212.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/130872iF9741989A17A983A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jiri_kral_0-1606225664212.png" alt="jiri_kral_0-1606225664212.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;And check, if you are using STDC library with Debugger console support:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jiri_kral_1-1606225728412.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/130873iE8B46C76C9933BC6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jiri_kral_1-1606225728412.png" alt="jiri_kral_1-1606225728412.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If all is set correctly, semihosting console should work:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jiri_kral_2-1606225782750.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/130874iE9F124C8022F99A6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jiri_kral_2-1606225782750.png" alt="jiri_kral_2-1606225782750.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jiri&lt;/P&gt;</description>
    <pubDate>Tue, 24 Nov 2020 13:49:54 GMT</pubDate>
    <dc:creator>jiri_kral</dc:creator>
    <dc:date>2020-11-24T13:49:54Z</dc:date>
    <item>
      <title>printf in FreeRTOS</title>
      <link>https://community.nxp.com/t5/S32K/printf-in-FreeRTOS/m-p/1180777#M8760</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;How to enable printf support in FreeRTOS. I am using S32k146 and segger debugger. I want the prints in Debugger console. Though I use newlib and nanolib I am not able to get the prints. Please help.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Nov 2020 12:45:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/printf-in-FreeRTOS/m-p/1180777#M8760</guid>
      <dc:creator>harish_cont41</dc:creator>
      <dc:date>2020-11-10T12:45:03Z</dc:date>
    </item>
    <item>
      <title>Re: printf in FreeRTOS</title>
      <link>https://community.nxp.com/t5/S32K/printf-in-FreeRTOS/m-p/1182113#M8790</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;beside the&amp;nbsp;&lt;SPAN&gt;C lib supporting debug console you also need to enable semihosting console in debug session settings. You can refer to e.g. below thread&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://community.nxp.com/t5/S32-Design-Studio/printf-through-OpenSDA/m-p/813615" target="_blank"&gt;https://community.nxp.com/t5/S32-Design-Studio/printf-through-OpenSDA/m-p/813615&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Otherwise you can refer to example that use PC terminal&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/S32-Design-Studio-Knowledge-Base/EXAMPLE-S32k144-UART-printf-scanf-under-FreeRTOS-S32DS/ta-p/1122496" target="_blank"&gt;https://community.nxp.com/t5/S32-Design-Studio-Knowledge-Base/EXAMPLE-S32k144-UART-printf-scanf-under-FreeRTOS-S32DS/ta-p/1122496&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR, Petr&lt;/P&gt;</description>
      <pubDate>Thu, 12 Nov 2020 08:07:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/printf-in-FreeRTOS/m-p/1182113#M8790</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2020-11-12T08:07:15Z</dc:date>
    </item>
    <item>
      <title>Re: printf in FreeRTOS</title>
      <link>https://community.nxp.com/t5/S32K/printf-in-FreeRTOS/m-p/1182149#M8792</link>
      <description>&lt;P&gt;Hi Petr,&lt;/P&gt;&lt;P&gt;I had already seen those links in NXP forums. I am using newlib_nano debug console. Is it that I need to use EWL_c debug console instead? Also my telnet port is 2333 and the link says telnet port should be 51794. What is the correct settings here? I have followed your links, checked and configured accordingly but I am using S32 DS V3.3. The link talks about some version lower. Also I do not get semihosting enabled messages in the debug console or console. This is what my worry is. Please help.&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Harish.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Nov 2020 08:54:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/printf-in-FreeRTOS/m-p/1182149#M8792</guid>
      <dc:creator>harish_cont41</dc:creator>
      <dc:date>2020-11-12T08:54:37Z</dc:date>
    </item>
    <item>
      <title>Re: printf in FreeRTOS</title>
      <link>https://community.nxp.com/t5/S32K/printf-in-FreeRTOS/m-p/1186446#M8913</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I still do not see the prints in debug console. I am using nanolib debug console library support. Should I use ewl_c library instead. Aslo, I have followed the links that u sent me in the previous post. but still in vain.Please help.&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Harish.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Nov 2020 05:37:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/printf-in-FreeRTOS/m-p/1186446#M8913</guid>
      <dc:creator>harish_cont41</dc:creator>
      <dc:date>2020-11-20T05:37:14Z</dc:date>
    </item>
    <item>
      <title>Re: printf in FreeRTOS</title>
      <link>https://community.nxp.com/t5/S32K/printf-in-FreeRTOS/m-p/1187589#M8960</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;for me it is not clear - are you trying to use remote terminal (like putty, realterm etc. connected to uart) or semihosting console - which forwards printf output to S32DS semihosting console window?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Nov 2020 15:56:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/printf-in-FreeRTOS/m-p/1187589#M8960</guid>
      <dc:creator>jiri_kral</dc:creator>
      <dc:date>2020-11-23T15:56:51Z</dc:date>
    </item>
    <item>
      <title>Re: printf in FreeRTOS</title>
      <link>https://community.nxp.com/t5/S32K/printf-in-FreeRTOS/m-p/1187818#M8964</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to use the debug console, not the terminal like putty or real term. I do not get semihosting enabled messages in the debug console when I start debugging with the all the settings that are mentioned in your reply to my query earlier. I am using S32DS V3.3 and all the related settings in debug configurations are done. Also I am using segger J-Link configuration for debugging with the J-Link Hardware. One more thing I want to mention here is that I used is freeRTOS and an automotive application which needs some debug console prints to help debugging.&amp;nbsp; Please help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Harish.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Nov 2020 03:21:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/printf-in-FreeRTOS/m-p/1187818#M8964</guid>
      <dc:creator>harish_cont41</dc:creator>
      <dc:date>2020-11-24T03:21:12Z</dc:date>
    </item>
    <item>
      <title>Re: printf in FreeRTOS</title>
      <link>https://community.nxp.com/t5/S32K/printf-in-FreeRTOS/m-p/1188234#M8980</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;please make sure that you enabled Semihosting console in debug configurations:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jiri_kral_0-1606225664212.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/130872iF9741989A17A983A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jiri_kral_0-1606225664212.png" alt="jiri_kral_0-1606225664212.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;And check, if you are using STDC library with Debugger console support:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jiri_kral_1-1606225728412.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/130873iE8B46C76C9933BC6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jiri_kral_1-1606225728412.png" alt="jiri_kral_1-1606225728412.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If all is set correctly, semihosting console should work:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jiri_kral_2-1606225782750.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/130874iE9F124C8022F99A6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jiri_kral_2-1606225782750.png" alt="jiri_kral_2-1606225782750.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jiri&lt;/P&gt;</description>
      <pubDate>Tue, 24 Nov 2020 13:49:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/printf-in-FreeRTOS/m-p/1188234#M8980</guid>
      <dc:creator>jiri_kral</dc:creator>
      <dc:date>2020-11-24T13:49:54Z</dc:date>
    </item>
  </channel>
</rss>

