<?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 How can I 'printf' some messages from Cortex-M7 to uart terminal  on S32G-VNP-RDB2 board in S32G</title>
    <link>https://community.nxp.com/t5/S32G/How-can-I-printf-some-messages-from-Cortex-M7-to-uart-terminal/m-p/2229872#M15531</link>
    <description>&lt;P&gt;Hi nxp community,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have two questions.&lt;/P&gt;&lt;P&gt;1.&amp;nbsp; &amp;nbsp;How can I 'printf' some messages from Cortex-M7 to uart terminal (e.g. uart 1, and uart 0 used for Linux console)?&amp;nbsp; Can you provide a simple example that has already tested on S32G2-VNP-RDB2 board?&lt;/P&gt;&lt;P&gt;Below is my experiment setup:&lt;/P&gt;&lt;P&gt;Software:&amp;nbsp; S32 Design Studio IDE v3.5 with packages&lt;BR /&gt;S32G2 AUTOSAR 4.4 RTD 4.0.2_P04 D2312&lt;BR /&gt;FreeRTOS 10.4.6 UOS 4.0.2 D2307&lt;BR /&gt;S32G IPCF 4.10.0 D2405&lt;BR /&gt;NXP Linux BSP42&lt;BR /&gt;NXP GCC 9.2.0 for Arm 32-bit Bare-Metal (for M7 core)&lt;BR /&gt;NXP GCC 11.4.0 (for A53 core)&lt;BR /&gt;Board: S32G2-VNP-RDB2&lt;BR /&gt;I create an example project from IPCF_FreeRTOS_S32G274A_M7_0, it can communicate with A53.&amp;nbsp; (this project will be as a starter for our application with IPCF)&lt;/P&gt;&lt;P&gt;Now I want to printf (output) some messages from M7 to a uart terminal, how can I do?&amp;nbsp;&lt;/P&gt;&lt;P&gt;2.&amp;nbsp; how to see 'printf' messages on debug console when using a S32 Debug probe? I can debug M7 program by 'step, watch variables, and etc.'&amp;nbsp; But&amp;nbsp; nothing happens although I chosen 'Newlib semihosting (-specs=rdimon.specs) in 'Settings-&amp;gt; Target Processor'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 21 Nov 2025 06:06:22 GMT</pubDate>
    <dc:creator>ZhiXiaoli</dc:creator>
    <dc:date>2025-11-21T06:06:22Z</dc:date>
    <item>
      <title>How can I 'printf' some messages from Cortex-M7 to uart terminal  on S32G-VNP-RDB2 board</title>
      <link>https://community.nxp.com/t5/S32G/How-can-I-printf-some-messages-from-Cortex-M7-to-uart-terminal/m-p/2229872#M15531</link>
      <description>&lt;P&gt;Hi nxp community,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have two questions.&lt;/P&gt;&lt;P&gt;1.&amp;nbsp; &amp;nbsp;How can I 'printf' some messages from Cortex-M7 to uart terminal (e.g. uart 1, and uart 0 used for Linux console)?&amp;nbsp; Can you provide a simple example that has already tested on S32G2-VNP-RDB2 board?&lt;/P&gt;&lt;P&gt;Below is my experiment setup:&lt;/P&gt;&lt;P&gt;Software:&amp;nbsp; S32 Design Studio IDE v3.5 with packages&lt;BR /&gt;S32G2 AUTOSAR 4.4 RTD 4.0.2_P04 D2312&lt;BR /&gt;FreeRTOS 10.4.6 UOS 4.0.2 D2307&lt;BR /&gt;S32G IPCF 4.10.0 D2405&lt;BR /&gt;NXP Linux BSP42&lt;BR /&gt;NXP GCC 9.2.0 for Arm 32-bit Bare-Metal (for M7 core)&lt;BR /&gt;NXP GCC 11.4.0 (for A53 core)&lt;BR /&gt;Board: S32G2-VNP-RDB2&lt;BR /&gt;I create an example project from IPCF_FreeRTOS_S32G274A_M7_0, it can communicate with A53.&amp;nbsp; (this project will be as a starter for our application with IPCF)&lt;/P&gt;&lt;P&gt;Now I want to printf (output) some messages from M7 to a uart terminal, how can I do?&amp;nbsp;&lt;/P&gt;&lt;P&gt;2.&amp;nbsp; how to see 'printf' messages on debug console when using a S32 Debug probe? I can debug M7 program by 'step, watch variables, and etc.'&amp;nbsp; But&amp;nbsp; nothing happens although I chosen 'Newlib semihosting (-specs=rdimon.specs) in 'Settings-&amp;gt; Target Processor'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Nov 2025 06:06:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/How-can-I-printf-some-messages-from-Cortex-M7-to-uart-terminal/m-p/2229872#M15531</guid>
      <dc:creator>ZhiXiaoli</dc:creator>
      <dc:date>2025-11-21T06:06:22Z</dc:date>
    </item>
    <item>
      <title>Re: How can I 'printf' some messages from Cortex-M7 to uart terminal  on S32G-VNP-RDB2 board</title>
      <link>https://community.nxp.com/t5/S32G/How-can-I-printf-some-messages-from-Cortex-M7-to-uart-terminal/m-p/2232761#M15534</link>
      <description>&lt;P&gt;hi,&amp;nbsp;&lt;SPAN&gt;ZhiXiaoli&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Thank you for contacting us.&lt;/P&gt;
&lt;P&gt;You can try to use the demo of Uart in RTD as the following picture.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Joey_z_0-1763721974865.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/366791iCF42D0D3D7B4B63F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Joey_z_0-1763721974865.png" alt="Joey_z_0-1763721974865.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Hope this can help you.&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Joey&lt;/P&gt;</description>
      <pubDate>Fri, 21 Nov 2025 10:46:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/How-can-I-printf-some-messages-from-Cortex-M7-to-uart-terminal/m-p/2232761#M15534</guid>
      <dc:creator>Joey_z</dc:creator>
      <dc:date>2025-11-21T10:46:38Z</dc:date>
    </item>
  </channel>
</rss>

