<?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>MQX Software SolutionsのトピックUsing the printf in MQX OS</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/Using-the-printf-in-MQX-OS/m-p/459845#M15435</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #44546a; font-family: '맑은 고딕'; font-size: 10pt;"&gt;Compiler is IAR. I would like to monitor printf message through serial port. Please advise how to build a system. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #44546a; font-family: '맑은 고딕'; font-size: 10pt;"&gt;(borate, serial port(port number), schematic, etc.)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #44546a; font-family: '맑은 고딕'; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #44546a; font-family: '맑은 고딕'; font-size: 10pt;"&gt;Current system,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #44546a; font-family: '맑은 고딕'; font-size: 10pt;"&gt;device : MK60FN1M0VLQ12&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #44546a; font-family: '맑은 고딕'; font-size: 10pt;"&gt;MQX board connects to PC program through serial port 5.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #44546a; font-family: '맑은 고딕'; font-size: 10pt;"&gt;The customer needs other serial port or other port for communication debugging between PC program and MQX board. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #44546a; font-family: '맑은 고딕'; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;OL style="list-style-type: decimal;"&gt;&lt;LI&gt;&lt;SPAN lang="EN-US" style="color: #44546a; font-family: '맑은 고딕'; font-size: 10pt;"&gt;Communication is fine between PC program and MQX board&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN lang="EN-US" style="color: #44546a; font-family: '맑은 고딕'; font-size: 10pt;"&gt;Cannot modify PC program. (It is certified program.)&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #44546a; font-family: '맑은 고딕'; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #44546a; font-family: '맑은 고딕'; font-size: 10pt;"&gt;I have to modify MQX code, so they want to use printf for verification.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #44546a; font-family: '맑은 고딕'; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Feb 2016 07:51:38 GMT</pubDate>
    <dc:creator>jtpark</dc:creator>
    <dc:date>2016-02-16T07:51:38Z</dc:date>
    <item>
      <title>Using the printf in MQX OS</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Using-the-printf-in-MQX-OS/m-p/459845#M15435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #44546a; font-family: '맑은 고딕'; font-size: 10pt;"&gt;Compiler is IAR. I would like to monitor printf message through serial port. Please advise how to build a system. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #44546a; font-family: '맑은 고딕'; font-size: 10pt;"&gt;(borate, serial port(port number), schematic, etc.)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #44546a; font-family: '맑은 고딕'; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #44546a; font-family: '맑은 고딕'; font-size: 10pt;"&gt;Current system,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #44546a; font-family: '맑은 고딕'; font-size: 10pt;"&gt;device : MK60FN1M0VLQ12&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #44546a; font-family: '맑은 고딕'; font-size: 10pt;"&gt;MQX board connects to PC program through serial port 5.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #44546a; font-family: '맑은 고딕'; font-size: 10pt;"&gt;The customer needs other serial port or other port for communication debugging between PC program and MQX board. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #44546a; font-family: '맑은 고딕'; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;OL style="list-style-type: decimal;"&gt;&lt;LI&gt;&lt;SPAN lang="EN-US" style="color: #44546a; font-family: '맑은 고딕'; font-size: 10pt;"&gt;Communication is fine between PC program and MQX board&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN lang="EN-US" style="color: #44546a; font-family: '맑은 고딕'; font-size: 10pt;"&gt;Cannot modify PC program. (It is certified program.)&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #44546a; font-family: '맑은 고딕'; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #44546a; font-family: '맑은 고딕'; font-size: 10pt;"&gt;I have to modify MQX code, so they want to use printf for verification.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #44546a; font-family: '맑은 고딕'; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Feb 2016 07:51:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Using-the-printf-in-MQX-OS/m-p/459845#M15435</guid>
      <dc:creator>jtpark</dc:creator>
      <dc:date>2016-02-16T07:51:38Z</dc:date>
    </item>
    <item>
      <title>Re: Using the printf in MQX OS</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Using-the-printf-in-MQX-OS/m-p/459846#M15436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you using the TWR-K60F120M BSP?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The default Console for the TWR-K60F120M&amp;nbsp; is UART5 OSJTAG-USB mini connector (mapped to ttyf: device in the MQX RTOS)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need to change the default configuration you need to follow the below steps:&lt;/P&gt;&lt;P&gt;1.&amp;nbsp; Ensure that the serial channel (UART0- ttya, UART1 -ttyb, UART2 -ttyc, UART3 -ttyd, UART4 -ttye,UART5 -ttyf ) is in enabled in user_config.h file as follows,&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;#define BSPCFG_ENABLE_TTYC 1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. In addition, user_config.h file defines the default IO channel, so it is necessary to modify this definition according the channel you need, for example:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;#define BSP_DEFAULT_IO_CHANNEL "ittyc:"&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;3. clean all libraries, and rebuild again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if this helps.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt; Sol&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2016 23:27:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Using-the-printf-in-MQX-OS/m-p/459846#M15436</guid>
      <dc:creator>soledad</dc:creator>
      <dc:date>2016-03-01T23:27:00Z</dc:date>
    </item>
  </channel>
</rss>

