<?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: Usage of command blhost -d/--debug command in MCU Bootloader</title>
    <link>https://community.nxp.com/t5/MCU-Bootloader/Usage-of-command-blhost-d-debug-command/m-p/652678#M313</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kerry,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working on&amp;nbsp;TWR-K22F120M and KBoot version is V2.0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Srinivasa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Mar 2017 09:29:55 GMT</pubDate>
    <dc:creator>srinivasa_raow</dc:creator>
    <dc:date>2017-03-09T09:29:55Z</dc:date>
    <item>
      <title>Usage of command blhost -d/--debug command</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/Usage-of-command-blhost-d-debug-command/m-p/652676#M311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am working on Kinetis bootloader and want to&amp;nbsp;bring out debug statements on the console.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After browing through the code I found below statement everywhere.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;#if DEBUG &amp;amp;&amp;amp; !DEBUG_PRINT_DISABLE&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;#endif&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have DEBUG defined. &amp;nbsp;Which is the right place to define&amp;nbsp;&lt;SPAN&gt;DEBUG_PRINT_DISABLE as 0?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Another question:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If I run command "&lt;/SPAN&gt;&lt;SPAN&gt;blhost -d", I was expecting print detailed log&amp;nbsp;information. &amp;nbsp;But I could do it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please &amp;nbsp;give examples of using blhost -d/debug usage.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Srinivasa&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2017 10:06:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/Usage-of-command-blhost-d-debug-command/m-p/652676#M311</guid>
      <dc:creator>srinivasa_raow</dc:creator>
      <dc:date>2017-02-20T10:06:54Z</dc:date>
    </item>
    <item>
      <title>Re: Usage of command blhost -d/--debug command</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/Usage-of-command-blhost-d-debug-command/m-p/652677#M312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Srinivasa Rao Wunnimani,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; What the kinetis chip you are using? and what the KBOOT version you are using now?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kerry&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Mar 2017 09:21:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/Usage-of-command-blhost-d-debug-command/m-p/652677#M312</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2017-03-09T09:21:28Z</dc:date>
    </item>
    <item>
      <title>Re: Usage of command blhost -d/--debug command</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/Usage-of-command-blhost-d-debug-command/m-p/652678#M313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kerry,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working on&amp;nbsp;TWR-K22F120M and KBoot version is V2.0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Srinivasa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Mar 2017 09:29:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/Usage-of-command-blhost-d-debug-command/m-p/652678#M313</guid>
      <dc:creator>srinivasa_raow</dc:creator>
      <dc:date>2017-03-09T09:29:55Z</dc:date>
    </item>
    <item>
      <title>Re: Usage of command blhost -d/--debug command</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/Usage-of-command-blhost-d-debug-command/m-p/652679#M314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Srinivasa Rao Wunnimani,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1. define&amp;nbsp;&lt;SPAN&gt;DEBUG_PRINT_DISABLE as 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Normally, if you want to define the according symbols, you can defined it in the project options, take IAR project as an example:&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/15119i7D2C7FDB11290979/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;But, if you want to define &lt;SPAN&gt;DEBUG_PRINT_DISABLE as 0, just don't define it, leave it in default is OK.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2. give examples of using blhost -d/debug usage.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;About the debug usage, you can find it from the blhost printf information.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The following is the command usage on my side:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/15120i1CD5D5CA8318DBCC/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Take get property as an example:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/15163iB94DD3F154EC0DE6/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Wish it helps you!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If you still have question, please let me know!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Mar 2017 02:49:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/Usage-of-command-blhost-d-debug-command/m-p/652679#M314</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2017-03-13T02:49:55Z</dc:date>
    </item>
  </channel>
</rss>

