<?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>MCUXpresso IDE中的主题 Re: How does stdout work with the debugger?</title>
    <link>https://community.nxp.com/t5/MCUXpresso-IDE/How-does-stdout-work-with-the-debugger/m-p/1031516#M5461</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I marked Erich's answer correct.&amp;nbsp; I am still having trouble, but he told me the key word "semihosting".&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0471g/Bgbjjgij.html"&gt;What is semihosting?&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other Community articles chasing the same problem led me to Redlink:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/thread/516451"&gt;Why did printf() stop working?&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/thread/499548"&gt;LPC54S608J512 and MCUXpresso 10.1.0 589 - Debug wont launch "Awaiting telnet connection to port 3330 ..."&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To me, the key is redlinkserv.exe in c:/nxp/MCUXpressoIDE_11.0.1_2563/ide/plugins/com.nxp.mcuxpresso.tools.bin.win32_11.0.1.201908271452/binaries&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That program manages the USB link to the targets and provides a loopback telnet connection on port 3025 by default.&amp;nbsp; It can be blocked by firewalls, crash, all the usual risks.&amp;nbsp; The IDE has two buttons for Redlink and the first choice of Consoles is Redlink.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe this is all too simple for the established NXP ARM developers, but I had no idea how things were working before.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Nov 2019 22:12:58 GMT</pubDate>
    <dc:creator>larry1</dc:creator>
    <dc:date>2019-11-25T22:12:58Z</dc:date>
    <item>
      <title>How does stdout work with the debugger?</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/How-does-stdout-work-with-the-debugger/m-p/1031513#M5458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Working with CLEV6630B, using LPC-link2 as a debug probe, I have lost the ability to see printf and other stdout traffic in the debug console.&amp;nbsp; When I first loaded my project last month, I saw printf output in that window.&amp;nbsp; It got less reliable during that session. Now a few weeks later, it is not working at all.&amp;nbsp; The breakpoint after the printf hits when I place or remove a tag from the antenna.&amp;nbsp; But nothing comes up in the display.&amp;nbsp; See the attached screenshot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So my question is, where can I look to see how that is supposed to work, so I can troubleshoot it?&amp;nbsp; I tried stepping into printf and it just skipped over.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My project is built from NFC Reader Library, Basic Discovery Loop. Other open projects are DAL, FreeRTOS, lpc_board_nxp_lpcxpresso_1769, lpc_chip_175x_6x and NxpNfcRdLib.&amp;nbsp; I have commented out all my changes and cannot get back to the earlier behavior.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Nov 2019 18:05:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/How-does-stdout-work-with-the-debugger/m-p/1031513#M5458</guid>
      <dc:creator>larry1</dc:creator>
      <dc:date>2019-11-23T18:05:47Z</dc:date>
    </item>
    <item>
      <title>Re: How does stdout work with the debugger?</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/How-does-stdout-work-with-the-debugger/m-p/1031514#M5459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To have 'printf' passed through to the debugger, you need to have a library using semihosting:&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/95451i8C9D580B3E9C881D/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;Are you using one of the semihost variants?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Nov 2019 07:28:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/How-does-stdout-work-with-the-debugger/m-p/1031514#M5459</guid>
      <dc:creator>ErichStyger</dc:creator>
      <dc:date>2019-11-25T07:28:47Z</dc:date>
    </item>
    <item>
      <title>Re: How does stdout work with the debugger?</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/How-does-stdout-work-with-the-debugger/m-p/1031515#M5460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Erich, thank you for the keyword "semihosting."&amp;nbsp; I will look into that.&lt;/P&gt;&lt;P&gt;The NFC Reader Library examples use Redlib (semihost) at the top levels. Lower levels like lpc_chip_175x_6x have empty Libraries folders.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="untitled.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/91976i1047A5B2EF1D5AB8/image-size/large?v=v2&amp;amp;px=999" role="button" title="untitled.png" alt="untitled.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Nov 2019 13:06:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/How-does-stdout-work-with-the-debugger/m-p/1031515#M5460</guid>
      <dc:creator>larry1</dc:creator>
      <dc:date>2019-11-25T13:06:03Z</dc:date>
    </item>
    <item>
      <title>Re: How does stdout work with the debugger?</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/How-does-stdout-work-with-the-debugger/m-p/1031516#M5461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I marked Erich's answer correct.&amp;nbsp; I am still having trouble, but he told me the key word "semihosting".&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0471g/Bgbjjgij.html"&gt;What is semihosting?&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other Community articles chasing the same problem led me to Redlink:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/thread/516451"&gt;Why did printf() stop working?&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/thread/499548"&gt;LPC54S608J512 and MCUXpresso 10.1.0 589 - Debug wont launch "Awaiting telnet connection to port 3330 ..."&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To me, the key is redlinkserv.exe in c:/nxp/MCUXpressoIDE_11.0.1_2563/ide/plugins/com.nxp.mcuxpresso.tools.bin.win32_11.0.1.201908271452/binaries&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That program manages the USB link to the targets and provides a loopback telnet connection on port 3025 by default.&amp;nbsp; It can be blocked by firewalls, crash, all the usual risks.&amp;nbsp; The IDE has two buttons for Redlink and the first choice of Consoles is Redlink.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe this is all too simple for the established NXP ARM developers, but I had no idea how things were working before.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Nov 2019 22:12:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/How-does-stdout-work-with-the-debugger/m-p/1031516#M5461</guid>
      <dc:creator>larry1</dc:creator>
      <dc:date>2019-11-25T22:12:58Z</dc:date>
    </item>
  </channel>
</rss>

