<?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: Using SWO printf debug tutorial in MCUXpresso IDE</title>
    <link>https://community.nxp.com/t5/MCUXpresso-IDE/Using-SWO-printf-debug-tutorial/m-p/774578#M2397</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What MCU are you using Francesco?&amp;nbsp; SWO Debug Console works perfectly with my Kinetis K81/K82&amp;nbsp;and Segger J-Link.&amp;nbsp; &amp;nbsp;If that is what you have, then make sure you have selected Quick Settings &amp;gt;&amp;gt; SDK Debug Console &amp;gt;&amp;gt; Semihost Console.&amp;nbsp; Also, the SDK defines PRINTF() for this purpose, so be careful when defining your own debug print macros.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Feb 2018 21:51:23 GMT</pubDate>
    <dc:creator>deniscollis</dc:creator>
    <dc:date>2018-02-01T21:51:23Z</dc:date>
    <item>
      <title>Using SWO printf debug tutorial</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Using-SWO-printf-debug-tutorial/m-p/774575#M2394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm having trouble to use the SWO printf debug feature, I've read many posts but I'm not able to view some debug string in the console view.&lt;/P&gt;&lt;P&gt;Does exist some step by step tutorial on how to configure this feature? Which probe can I use? What are the steps to create a simple project that can send some strings to the console?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;P&gt;Biafra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jan 2018 16:51:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Using-SWO-printf-debug-tutorial/m-p/774575#M2394</guid>
      <dc:creator>biafra</dc:creator>
      <dc:date>2018-01-31T16:51:23Z</dc:date>
    </item>
    <item>
      <title>Re: Using SWO printf debug tutorial</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Using-SWO-printf-debug-tutorial/m-p/774576#M2395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This functionality will only work when using an LPC-Link2 connection - it will not work with other CMSIS-DAP (LinkServer) connections, or with SEGGER / P&amp;amp;E debug connections.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For more details see:&lt;/P&gt;&lt;P&gt;MCUXpresso IDE v10.1 User Guide - section 13.5.7, "How to use ITM Printf"&lt;/P&gt;&lt;P&gt;MCUXpresso IDE v10.1 LinkServer SWO Trace Guide - section 3, "ITM"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It obviously also requires a part with SWO support - which generally means an MCU built around the Cortex-M3/M4 cpu, but not Cortex-M0/M0+. If you don't have this, then you will need to use semihosting or UART as an output channel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;MCUXpresso IDE Support&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jan 2018 21:26:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Using-SWO-printf-debug-tutorial/m-p/774576#M2395</guid>
      <dc:creator>lpcxpresso_supp</dc:creator>
      <dc:date>2018-01-31T21:26:22Z</dc:date>
    </item>
    <item>
      <title>Re: Using SWO printf debug tutorial</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Using-SWO-printf-debug-tutorial/m-p/774577#M2396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Many thanks for your answer,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it planned to support the other probes too?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;P&gt;Biafra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jan 2018 23:50:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Using-SWO-printf-debug-tutorial/m-p/774577#M2396</guid>
      <dc:creator>biafra</dc:creator>
      <dc:date>2018-01-31T23:50:20Z</dc:date>
    </item>
    <item>
      <title>Re: Using SWO printf debug tutorial</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Using-SWO-printf-debug-tutorial/m-p/774578#M2397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What MCU are you using Francesco?&amp;nbsp; SWO Debug Console works perfectly with my Kinetis K81/K82&amp;nbsp;and Segger J-Link.&amp;nbsp; &amp;nbsp;If that is what you have, then make sure you have selected Quick Settings &amp;gt;&amp;gt; SDK Debug Console &amp;gt;&amp;gt; Semihost Console.&amp;nbsp; Also, the SDK defines PRINTF() for this purpose, so be careful when defining your own debug print macros.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Feb 2018 21:51:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Using-SWO-printf-debug-tutorial/m-p/774578#M2397</guid>
      <dc:creator>deniscollis</dc:creator>
      <dc:date>2018-02-01T21:51:23Z</dc:date>
    </item>
    <item>
      <title>Re: Using SWO printf debug tutorial</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Using-SWO-printf-debug-tutorial/m-p/774579#M2398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/deniscollis"&gt;deniscollis&lt;/A&gt;‌ : that is "standard" semihosting output - which will work through all debug probes. The SWO printf mechanism redirects printf out through the SWO Trace channel instead (of through the main debug channel) - and is only supported when connected via LPC-Link2 to a SWO supporting target MCU.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;MCUXpresso IDE Support&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Feb 2018 16:05:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Using-SWO-printf-debug-tutorial/m-p/774579#M2398</guid>
      <dc:creator>lpcxpresso_supp</dc:creator>
      <dc:date>2018-02-03T16:05:10Z</dc:date>
    </item>
    <item>
      <title>Re: Using SWO printf debug tutorial</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Using-SWO-printf-debug-tutorial/m-p/774580#M2399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We may extend the support for SWO trace built into MCUXpresso IDE to other probes at some stage, though this certainly won't be in the immediate future.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thus currently, if you don't have an LPC-Link2 (&lt;A class="link-titled" href="http://nxp.com/lpc-link2" title="http://nxp.com/lpc-link2"&gt;LPC-Link2|NXP&lt;/A&gt;&amp;nbsp;and available from most distributors for around $20), then you will need to stick with regular semihosted output or else direct i/o through a UART. See section 13.4 "What is Semihosting", and section 13.4, "Use of printf", in the MCUXpresso IDE v10.1 User Guide for more information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;MCUXpresso IDE Support&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Feb 2018 16:12:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Using-SWO-printf-debug-tutorial/m-p/774580#M2399</guid>
      <dc:creator>lpcxpresso_supp</dc:creator>
      <dc:date>2018-02-03T16:12:13Z</dc:date>
    </item>
  </channel>
</rss>

