<?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: I don't understand how to use the function printf in S32 Design Studio for ARM Version 2.2</title>
    <link>https://community.nxp.com/t5/S32-Design-Studio/I-don-t-understand-how-to-use-the-function-printf-in-S32-Design/m-p/1092215#M6643</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;the printf output is shown in semihosting console:&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/115745i799634ADB49AA9EB/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;If console is not visible for some reason - you can open it in console menu:&amp;nbsp;&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/115746i75A357108AB3BC41/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;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>Tue, 14 Jul 2020 09:15:08 GMT</pubDate>
    <dc:creator>jiri_kral</dc:creator>
    <dc:date>2020-07-14T09:15:08Z</dc:date>
    <item>
      <title>I don't understand how to use the function printf in S32 Design Studio for ARM Version 2.2</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/I-don-t-understand-how-to-use-the-function-printf-in-S32-Design/m-p/1092210#M6638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have some problems with the function Printf. I include the library &amp;lt;stdio.h&amp;gt; in my file main.c. The idea of my code is to turn on and off a green led. When I debug my code, I want to see on comsole the word: Green.&lt;/P&gt;&lt;P&gt;Here my code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#include "S32K144.h" /* include peripheral declarations S32K144 */&lt;BR /&gt;#include &amp;lt;stdio.h&amp;gt;&lt;/P&gt;&lt;P&gt;int main(void)&lt;BR /&gt;{&lt;BR /&gt; PCC-&amp;gt;PCCn[PCC_PORTD_INDEX] = 0x40000000;&lt;BR /&gt; PORTD-&amp;gt;PCR[15] = 0x00000100;&lt;BR /&gt; PTD-&amp;gt;PDDR = 0x00008000; /*output*/&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; for(;;) {&lt;BR /&gt; PTD-&amp;gt;PDOR = 0;&lt;BR /&gt; PTD-&amp;gt;PDOR = 0x00008000;&lt;BR /&gt; printf("Green");&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;return 0;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Excuse me for the trivial question, but I'm a begginer with the embedded system.&lt;/P&gt;&lt;P&gt;I hope that someone could help me.&lt;/P&gt;&lt;P&gt;Thanks for your availability&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jun 2020 15:58:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/I-don-t-understand-how-to-use-the-function-printf-in-S32-Design/m-p/1092210#M6638</guid>
      <dc:creator>p_decesare</dc:creator>
      <dc:date>2020-06-25T15:58:14Z</dc:date>
    </item>
    <item>
      <title>Re: I don't understand how to use the function printf in S32 Design Studio for ARM Version 2.2</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/I-don-t-understand-how-to-use-the-function-printf-in-S32-Design/m-p/1092211#M6639</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;you need to use lib C with Debugger console:&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/113893i600EA4727CA7966E/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;printf output is shown in Semihosting console.&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>Thu, 25 Jun 2020 18:59:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/I-don-t-understand-how-to-use-the-function-printf-in-S32-Design/m-p/1092211#M6639</guid>
      <dc:creator>jiri_kral</dc:creator>
      <dc:date>2020-06-25T18:59:14Z</dc:date>
    </item>
    <item>
      <title>Re: I don't understand how to use the function printf in S32 Design Studio for ARM Version 2.2</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/I-don-t-understand-how-to-use-the-function-printf-in-S32-Design/m-p/1092212#M6640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jiri Kral&lt;/P&gt;&lt;P&gt;thank you for your answer. I don't resolve the problem.&lt;/P&gt;&lt;P&gt;Here two figures.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I follow your advice, in fact I set the option of Libraries Support. But at the Console I don't see the word Red.&lt;BR /&gt;Can help me?&lt;/P&gt;&lt;P&gt;Thank you for your availability.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="debug1.JPG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/114048i9E7393D1E3FEB4EE/image-size/large?v=v2&amp;amp;px=999" role="button" title="debug1.JPG" alt="debug1.JPG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="debug2.JPG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/114049iFE16B4FE69A749F9/image-size/large?v=v2&amp;amp;px=999" role="button" title="debug2.JPG" alt="debug2.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jun 2020 07:18:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/I-don-t-understand-how-to-use-the-function-printf-in-S32-Design/m-p/1092212#M6640</guid>
      <dc:creator>p_decesare</dc:creator>
      <dc:date>2020-06-29T07:18:47Z</dc:date>
    </item>
    <item>
      <title>Re: I don't understand how to use the function printf in S32 Design Studio for ARM Version 2.2</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/I-don-t-understand-how-to-use-the-function-printf-in-S32-Design/m-p/1092213#M6641</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;sprintf is for printing into string (memory). Try to use printf instead.&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>Mon, 29 Jun 2020 11:15:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/I-don-t-understand-how-to-use-the-function-printf-in-S32-Design/m-p/1092213#M6641</guid>
      <dc:creator>jiri_kral</dc:creator>
      <dc:date>2020-06-29T11:15:58Z</dc:date>
    </item>
    <item>
      <title>Re: I don't understand how to use the function printf in S32 Design Studio for ARM Version 2.2</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/I-don-t-understand-how-to-use-the-function-printf-in-S32-Design/m-p/1092214#M6642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm also trying to get printf to work, but it isn't working.&lt;/P&gt;&lt;P&gt;Using S32K148EVB, connected via USB to laptop with Win10 with S32 design studio (just updated to latest).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code:&lt;/P&gt;&lt;P&gt;int main(void)&lt;BR /&gt;{&lt;BR /&gt; PCC-&amp;gt;PCCn[PCC_PORTD_INDEX] = 0x40000000;&lt;BR /&gt; PORTD-&amp;gt;PCR[15] = 0x00000100;&lt;BR /&gt; PTD-&amp;gt;PDDR = 0x00008000; /*output*/&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; for(;;) {&lt;BR /&gt; PTD-&amp;gt;PDOR = 0;&lt;BR /&gt; PTD-&amp;gt;PDOR = 0x00008000;&lt;BR /&gt; printf("Green\n");&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;return 0;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using the library Ewl_C Debugger Console.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In theory, this should be printing "Green" continuously on the debug console, but I'm not seeing anything.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jul 2020 22:57:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/I-don-t-understand-how-to-use-the-function-printf-in-S32-Design/m-p/1092214#M6642</guid>
      <dc:creator>peter_thompson</dc:creator>
      <dc:date>2020-07-13T22:57:51Z</dc:date>
    </item>
    <item>
      <title>Re: I don't understand how to use the function printf in S32 Design Studio for ARM Version 2.2</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/I-don-t-understand-how-to-use-the-function-printf-in-S32-Design/m-p/1092215#M6643</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;the printf output is shown in semihosting console:&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/115745i799634ADB49AA9EB/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;If console is not visible for some reason - you can open it in console menu:&amp;nbsp;&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/115746i75A357108AB3BC41/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;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>Tue, 14 Jul 2020 09:15:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/I-don-t-understand-how-to-use-the-function-printf-in-S32-Design/m-p/1092215#M6643</guid>
      <dc:creator>jiri_kral</dc:creator>
      <dc:date>2020-07-14T09:15:08Z</dc:date>
    </item>
    <item>
      <title>Re: I don't understand how to use the function printf in S32 Design Studio for ARM Version 2.2</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/I-don-t-understand-how-to-use-the-function-printf-in-S32-Design/m-p/1092216#M6644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jiri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not seeing the text “Green” on the debugger console, nor the regular console. I have tried also to use Teraterm to listen for the text, but I am not seeing anything. I have the ewl_c Debugger Console set for Libraries support.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I downloaded and ran the LPUART project – this communicates fine with Teraterm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anything else I should check?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers, Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2020 17:50:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/I-don-t-understand-how-to-use-the-function-printf-in-S32-Design/m-p/1092216#M6644</guid>
      <dc:creator>peter_thompson</dc:creator>
      <dc:date>2020-07-14T17:50:08Z</dc:date>
    </item>
    <item>
      <title>Re: I don't understand how to use the function printf in S32 Design Studio for ARM Version 2.2</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/I-don-t-understand-how-to-use-the-function-printf-in-S32-Design/m-p/1092217#M6645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Odd.  I just created new example, set the library to ewl_c debugger, added include &amp;lt;stdio.h&amp;gt; and the printf worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, I think I’m good for now.  Thanks for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers, Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2020 17:58:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/I-don-t-understand-how-to-use-the-function-printf-in-S32-Design/m-p/1092217#M6645</guid>
      <dc:creator>peter_thompson</dc:creator>
      <dc:date>2020-07-14T17:58:33Z</dc:date>
    </item>
    <item>
      <title>Re: I don't understand how to use the function printf in S32 Design Studio for ARM Version 2.2</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/I-don-t-understand-how-to-use-the-function-printf-in-S32-Design/m-p/1423762#M8287</link>
      <description>&lt;P&gt;hi&amp;nbsp;jiri_kral&lt;BR /&gt;I have the same problem and the printf function is also can't work well.&lt;/P&gt;&lt;P&gt;Please see the attach file .&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;&lt;P&gt;tzeng015&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Mar 2022 08:08:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/I-don-t-understand-how-to-use-the-function-printf-in-S32-Design/m-p/1423762#M8287</guid>
      <dc:creator>tzeng015</dc:creator>
      <dc:date>2022-03-07T08:08:42Z</dc:date>
    </item>
    <item>
      <title>Re: I don't understand how to use the function printf in S32 Design Studio for ARM Version 2.2</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/I-don-t-understand-how-to-use-the-function-printf-in-S32-Design/m-p/1424427#M8301</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;ewl_C Debugger Console ??&lt;BR /&gt;I can’t see it .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2022 08:40:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/I-don-t-understand-how-to-use-the-function-printf-in-S32-Design/m-p/1424427#M8301</guid>
      <dc:creator>tzeng015</dc:creator>
      <dc:date>2022-03-08T08:40:00Z</dc:date>
    </item>
    <item>
      <title>Re: I don't understand how to use the function printf in S32 Design Studio for ARM Version 2.2</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/I-don-t-understand-how-to-use-the-function-printf-in-S32-Design/m-p/1724921#M11003</link>
      <description>&lt;P&gt;Were you able to resolve the issue? I am facing the same issue and am unable to see 'ewl_c debugger' as in the snapshot shared here.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Sep 2023 18:59:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/I-don-t-understand-how-to-use-the-function-printf-in-S32-Design/m-p/1724921#M11003</guid>
      <dc:creator>psarkar</dc:creator>
      <dc:date>2023-09-18T18:59:54Z</dc:date>
    </item>
    <item>
      <title>Re: I don't understand how to use the function printf in S32 Design Studio for ARM Version 2.2</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/I-don-t-understand-how-to-use-the-function-printf-in-S32-Design/m-p/1731374#M11062</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/194745"&gt;@tzeng015&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sorry, checking here. If the issue was resolved.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you. Best regards.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- Mehul Patel&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2023 15:27:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/I-don-t-understand-how-to-use-the-function-printf-in-S32-Design/m-p/1731374#M11062</guid>
      <dc:creator>Mehul_Patel_NXP</dc:creator>
      <dc:date>2023-09-28T15:27:03Z</dc:date>
    </item>
  </channel>
</rss>

