<?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: Show log to UART DimmableLight in Wireless MCU</title>
    <link>https://community.nxp.com/t5/Wireless-MCU/Show-log-to-UART-DimmableLight/m-p/923245#M6984</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually. I only received one log "Set a ramdom pan"&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Capture4.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/87164iFA260435D82EB8B1/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture4.PNG" alt="Capture4.PNG" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;As i see in in app_start_light.c&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Capture3.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/87003iC81AF82A71320895/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture3.PNG" alt="Capture3.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Log is printed with UART0? How can i get log?&amp;nbsp; Help me!&lt;BR /&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Jun 2019 04:14:24 GMT</pubDate>
    <dc:creator>minhtan_uet</dc:creator>
    <dc:date>2019-06-14T04:14:24Z</dc:date>
    <item>
      <title>Show log to UART DimmableLight</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Show-log-to-UART-DimmableLight/m-p/923244#M6983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="vertical-align: inherit; "&gt;Hi Support team!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="vertical-align: inherit; "&gt;1.JN-AN-1218-Zigbee-3-0-Light-Bulb&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="vertical-align: inherit; "&gt;2.JN-AN-1216-Zigbee-3-0-IoT-ControlBridge&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN style="vertical-align: inherit;"&gt;&lt;SPAN style="vertical-align: inherit;"&gt;I have run this application on 2 JN5169 modules.USB Dongle as a Coordinator.&lt;/SPAN&gt; &lt;SPAN style="vertical-align: inherit;"&gt;DR1174 board as an End. =&amp;gt; It works well&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt; &lt;SPAN style="background-color: #ffffff; color: #51626f; vertical-align: inherit; "&gt;However, I try to connect cable to "End device" on UART0 with baud rate 115200 to get log&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f; vertical-align: inherit; "&gt;=&amp;gt; But never receive anything from portcom .&lt;/SPAN&gt;&lt;SPAN style="color: #51626f; border: 0px;"&gt;&lt;SPAN style="vertical-align: inherit;"&gt;&lt;SPAN style="vertical-align: inherit;"&gt;&amp;nbsp;As i know this UART to print log or&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="vertical-align: inherit;"&gt;Maybe I'm wrong&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Capture2.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/87002i8E126123EB03DE52/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture2.PNG" alt="Capture2.PNG" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="vertical-align: inherit;"&gt;&lt;SPAN style="vertical-align: inherit;"&gt;So.&lt;/SPAN&gt; &lt;SPAN style="vertical-align: inherit;"&gt;Is there a way to get a log from UART of End (DimmableLight), please guide me!&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="vertical-align: inherit; "&gt;Thank you!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jun 2019 02:58:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Show-log-to-UART-DimmableLight/m-p/923244#M6983</guid>
      <dc:creator>minhtan_uet</dc:creator>
      <dc:date>2019-06-14T02:58:24Z</dc:date>
    </item>
    <item>
      <title>Re: Show log to UART DimmableLight</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Show-log-to-UART-DimmableLight/m-p/923245#M6984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually. I only received one log "Set a ramdom pan"&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Capture4.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/87164iFA260435D82EB8B1/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture4.PNG" alt="Capture4.PNG" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;As i see in in app_start_light.c&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Capture3.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/87003iC81AF82A71320895/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture3.PNG" alt="Capture3.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Log is printed with UART0? How can i get log?&amp;nbsp; Help me!&lt;BR /&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jun 2019 04:14:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Show-log-to-UART-DimmableLight/m-p/923245#M6984</guid>
      <dc:creator>minhtan_uet</dc:creator>
      <dc:date>2019-06-14T04:14:24Z</dc:date>
    </item>
    <item>
      <title>Re: Show log to UART DimmableLight</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Show-log-to-UART-DimmableLight/m-p/923246#M6985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tran,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you look into the app_start_light for example, the TRACE_START is defined as FALSE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look at the makefile.&lt;/P&gt;&lt;PRE class="language-c line-numbers"&gt;&lt;CODE&gt;&lt;SPAN class="property macro token"&gt;# Define TRACE to use with DBG module&lt;/SPAN&gt;
TRACE &lt;SPAN class="operator token"&gt;?&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;1&lt;/SPAN&gt;
ifeq &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;$&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;TRACE&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;1&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
CFLAGS  &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;DDBG_ENABLE
&lt;SPAN class="property macro token"&gt;#Define to bump debug baud rate to 921600&lt;/SPAN&gt;
&lt;SPAN class="property macro token"&gt;#CFLAGS += -DDEBUG_921600&lt;/SPAN&gt;
endif
&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;At the begining, the c file has defined the next code.&lt;/P&gt;&lt;PRE class="language-c line-numbers"&gt;&lt;CODE&gt;&lt;SPAN class="property macro token"&gt;#ifndef DEBUG_START_UP&lt;/SPAN&gt;
&lt;SPAN class="property macro token"&gt;#define TRACE_START FALSE&lt;/SPAN&gt;
&lt;SPAN class="property macro token"&gt;#else&lt;/SPAN&gt;
&lt;SPAN class="property macro token"&gt;#define TRACE_START TRUE&lt;/SPAN&gt;
&lt;SPAN class="property macro token"&gt;#endif&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case, if you want to debug the applications, you should define as below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="language-c line-numbers"&gt;&lt;CODE&gt;CFLAGS &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;DDEBUG_START_UP‍‍‍‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if you have issues with the log print.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mario&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jun 2019 17:59:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Show-log-to-UART-DimmableLight/m-p/923246#M6985</guid>
      <dc:creator>mario_castaneda</dc:creator>
      <dc:date>2019-06-17T17:59:18Z</dc:date>
    </item>
    <item>
      <title>Re: Show log to UART DimmableLight</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Show-log-to-UART-DimmableLight/m-p/923247#M6986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot. Hope you have nice day! :smileygrin:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jun 2019 11:14:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Show-log-to-UART-DimmableLight/m-p/923247#M6986</guid>
      <dc:creator>minhtan_uet</dc:creator>
      <dc:date>2019-06-18T11:14:09Z</dc:date>
    </item>
  </channel>
</rss>

