<?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: Enable semihost debug printing in MCU Bootloader</title>
    <link>https://community.nxp.com/t5/MCU-Bootloader/Enable-semihost-debug-printing/m-p/1396309#M1350</link>
    <description>&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;Thanks for your reply. I had&amp;nbsp;&lt;SPAN&gt;SDK_DEBUGCONSOLE=0 in my project settings, but I think the semihosting would not work for me because of active interrupts in the program I was running&lt;/SPAN&gt;&amp;nbsp;(&lt;A href="https://community.nxp.com/t5/LPCXpresso-IDE-FAQs/What-is-Semihosting/m-p/475390" target="_blank"&gt;https://community.nxp.com/t5/LPCXpresso-IDE-FAQs/What-is-Semihosting/m-p/475390&lt;/A&gt;). Got it working with UART instead&lt;/P&gt;</description>
    <pubDate>Fri, 07 Jan 2022 23:08:46 GMT</pubDate>
    <dc:creator>maleman</dc:creator>
    <dc:date>2022-01-07T23:08:46Z</dc:date>
    <item>
      <title>Enable semihost debug printing</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/Enable-semihost-debug-printing/m-p/1395090#M1348</link>
      <description>&lt;P&gt;MCUXpresso version: 11.4.1&lt;BR /&gt;SDK MCU: MKV31F512xxx12&lt;BR /&gt;board: frdmkv31f&lt;/P&gt;&lt;P&gt;Project is using freedom_bootloader, when creating the project, semihost is selected for the SDK Debug Console under Project Options.&lt;/P&gt;&lt;P&gt;Have tried creating the project using different library types like Redlib(semihost), NewlibNano(semihost) but the SDK Debug Console is still often not set to semihost, and calls to printf() or debug_printf() do not appear in the console.&lt;/P&gt;&lt;P&gt;Have tried managing the MCU linker script to reselect these same libraries, which results in a MCU linker error regarding the location counter address.&lt;/P&gt;&lt;P&gt;Would appreciate any advice on how to set up the MCU linker for this&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jan 2022 21:42:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/Enable-semihost-debug-printing/m-p/1395090#M1348</guid>
      <dc:creator>maleman</dc:creator>
      <dc:date>2022-01-05T21:42:12Z</dc:date>
    </item>
    <item>
      <title>Re: Enable semihost debug printing</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/Enable-semihost-debug-printing/m-p/1395236#M1349</link>
      <description>&lt;P&gt;Hi maleman:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please check the project properties, change the preprocessor macro&amp;nbsp; from SDK_DEBUGCONSOLE=1&amp;nbsp; to SDK_DEBUGCONSOLE=0&lt;/P&gt;
&lt;P&gt;0 means output to toolchain.&lt;/P&gt;
&lt;P&gt;1 means output to SDK version printf&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielchen_0-1641436108762.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/166820i23013E9D7E0D5417/image-size/medium?v=v2&amp;amp;px=400" role="button" title="danielchen_0-1641436108762.png" alt="danielchen_0-1641436108762.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jan 2022 02:33:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/Enable-semihost-debug-printing/m-p/1395236#M1349</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2022-01-06T02:33:41Z</dc:date>
    </item>
    <item>
      <title>Re: Enable semihost debug printing</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/Enable-semihost-debug-printing/m-p/1396309#M1350</link>
      <description>&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;Thanks for your reply. I had&amp;nbsp;&lt;SPAN&gt;SDK_DEBUGCONSOLE=0 in my project settings, but I think the semihosting would not work for me because of active interrupts in the program I was running&lt;/SPAN&gt;&amp;nbsp;(&lt;A href="https://community.nxp.com/t5/LPCXpresso-IDE-FAQs/What-is-Semihosting/m-p/475390" target="_blank"&gt;https://community.nxp.com/t5/LPCXpresso-IDE-FAQs/What-is-Semihosting/m-p/475390&lt;/A&gt;). Got it working with UART instead&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jan 2022 23:08:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/Enable-semihost-debug-printing/m-p/1396309#M1350</guid>
      <dc:creator>maleman</dc:creator>
      <dc:date>2022-01-07T23:08:46Z</dc:date>
    </item>
  </channel>
</rss>

