<?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 MK60DN512VLQ10 MQX Debug Console Question in Kinetis Software Development Kit</title>
    <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/MK60DN512VLQ10-MQX-Debug-Console-Question/m-p/608115#M6289</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am following this link:&amp;nbsp;&lt;A _jive_internal="true" data-containerid="11347" data-containertype="14" data-objectid="103429" data-objecttype="102" href="https://community.nxp.com/docs/DOC-103429"&gt;How To: Create an MQX RTOS for KSDK project with Processor Expert in Kinetis Design Studio IDE&lt;/A&gt;&amp;nbsp;to create the uart application where i can write message to the hyper terminal.&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can generate the project but somehow, the Send function does not have any content. &amp;nbsp;Please see attachment.&lt;/P&gt;&lt;P&gt;The reason is that none of the define statement is set by the PE.&lt;/P&gt;&lt;P&gt;i have tried to invoke fsl_uart_hal or add stuffs, but could not get it to generate codes. &amp;nbsp;i am missing something here from PE point of view. &amp;nbsp;&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i also attach my eval project if someone can please let me know what hook i missed.&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using KDS 3.0 with KSDS 1.3.&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;also, i can compile, download, and run in debugger mode using J-link.&lt;/P&gt;&lt;P&gt;I can see the firmware get the correct character, but when passing to the Send function, it went out of nowhere and return later on.&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;static int debug_putc(int ch, void* stream)&lt;BR /&gt;{&lt;BR /&gt; const unsigned char c = (unsigned char) ch;&lt;BR /&gt; /* Do nothing if the debug uart is not initialized.*/&lt;BR /&gt; if (s_debugConsole.type == kDebugConsoleNone)&lt;BR /&gt; {&lt;BR /&gt; return -1;&lt;BR /&gt; }&lt;BR /&gt; s_debugConsole.ops.tx_union.Send(s_debugConsole.base, &amp;amp;c, 1);&lt;/P&gt;&lt;P&gt;return 0;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Henry&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-338996"&gt;MK60DN512VLQ10_Eval.zipx.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Jan 2017 23:21:27 GMT</pubDate>
    <dc:creator>henrynguyen</dc:creator>
    <dc:date>2017-01-11T23:21:27Z</dc:date>
    <item>
      <title>MK60DN512VLQ10 MQX Debug Console Question</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/MK60DN512VLQ10-MQX-Debug-Console-Question/m-p/608115#M6289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am following this link:&amp;nbsp;&lt;A _jive_internal="true" data-containerid="11347" data-containertype="14" data-objectid="103429" data-objecttype="102" href="https://community.nxp.com/docs/DOC-103429"&gt;How To: Create an MQX RTOS for KSDK project with Processor Expert in Kinetis Design Studio IDE&lt;/A&gt;&amp;nbsp;to create the uart application where i can write message to the hyper terminal.&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can generate the project but somehow, the Send function does not have any content. &amp;nbsp;Please see attachment.&lt;/P&gt;&lt;P&gt;The reason is that none of the define statement is set by the PE.&lt;/P&gt;&lt;P&gt;i have tried to invoke fsl_uart_hal or add stuffs, but could not get it to generate codes. &amp;nbsp;i am missing something here from PE point of view. &amp;nbsp;&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i also attach my eval project if someone can please let me know what hook i missed.&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using KDS 3.0 with KSDS 1.3.&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;also, i can compile, download, and run in debugger mode using J-link.&lt;/P&gt;&lt;P&gt;I can see the firmware get the correct character, but when passing to the Send function, it went out of nowhere and return later on.&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;static int debug_putc(int ch, void* stream)&lt;BR /&gt;{&lt;BR /&gt; const unsigned char c = (unsigned char) ch;&lt;BR /&gt; /* Do nothing if the debug uart is not initialized.*/&lt;BR /&gt; if (s_debugConsole.type == kDebugConsoleNone)&lt;BR /&gt; {&lt;BR /&gt; return -1;&lt;BR /&gt; }&lt;BR /&gt; s_debugConsole.ops.tx_union.Send(s_debugConsole.base, &amp;amp;c, 1);&lt;/P&gt;&lt;P&gt;return 0;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Henry&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-338996"&gt;MK60DN512VLQ10_Eval.zipx.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jan 2017 23:21:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/MK60DN512VLQ10-MQX-Debug-Console-Question/m-p/608115#M6289</guid>
      <dc:creator>henrynguyen</dc:creator>
      <dc:date>2017-01-11T23:21:27Z</dc:date>
    </item>
  </channel>
</rss>

