<?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: Re: bug in debug console for FRDM-K22F BOARD_DEBUG_UART_INSTANCE? in Kinetis Software Development Kit</title>
    <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/bug-in-debug-console-for-FRDM-K22F-BOARD-DEBUG-UART-INSTANCE/m-p/349114#M360</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Christopher,&lt;/P&gt;&lt;P&gt;When in the "Reply" window, in the upper right hand corner is a grayed out (no idea why grayed out) "Use advanced editor" link.&amp;nbsp; Click it and then you can click the "Attach" link in the lower right hand corner.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BTW: I have tried your steps with the Board and Processor option and both have the same results you have so I'm guessing this is a errata to the Wizard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Zhang can you report this behavior?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Jan 2015 21:44:06 GMT</pubDate>
    <dc:creator>DavidS</dc:creator>
    <dc:date>2015-01-16T21:44:06Z</dc:date>
    <item>
      <title>bug in debug console for FRDM-K22F BOARD_DEBUG_UART_INSTANCE?</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/bug-in-debug-console-for-FRDM-K22F-BOARD-DEBUG-UART-INSTANCE/m-p/349111#M357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is in KSDK 1.1.0 and I am wondering if this is a bug. I had to change the statement "&lt;SPAN style="color: #7f0055; font-size: 10pt;"&gt;&lt;STRONG&gt;#define&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; BOARD_DEBUG_UART_INSTANCE 2"&amp;nbsp; to "&lt;SPAN style="color: #7f0055; font-size: 10pt;"&gt;&lt;STRONG&gt;#define&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; BOARD_DEBUG_UART_INSTANCE 1" &lt;/SPAN&gt;in DbgCs1.h for my debug_printf command to write to 0x4006b000 instead of 0x4006c000 which was not working. I set the device to UART1 so that it would write to PTE0 so that I can use the pins that go to the UART that goes to the USB debug port but that was not sufficient. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="18730_18730.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/120137i3185E1AAAB0B4A54/image-size/large?v=v2&amp;amp;px=999" role="button" title="18730_18730.png" alt="18730_18730.png" /&gt;&lt;/span&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/47513i377124581AC4C686/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2015 21:36:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/bug-in-debug-console-for-FRDM-K22F-BOARD-DEBUG-UART-INSTANCE/m-p/349111#M357</guid>
      <dc:creator>christophertsch</dc:creator>
      <dc:date>2015-01-15T21:36:32Z</dc:date>
    </item>
    <item>
      <title>Re: bug in debug console for FRDM-K22F BOARD_DEBUG_UART_INSTANCE?</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/bug-in-debug-console-for-FRDM-K22F-BOARD-DEBUG-UART-INSTANCE/m-p/349112#M358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you upload your project here and depict how to reproduce your problem? &lt;/P&gt;&lt;P&gt;and what's your KDS version?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Zhang Jun&lt;/P&gt;&lt;P&gt;=============================================================&lt;/P&gt;&lt;P&gt;this answer is for you, if it helps, please click on "Correct Answer" button. Thanks!&lt;/P&gt;&lt;P&gt;=============================================================&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jan 2015 04:05:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/bug-in-debug-console-for-FRDM-K22F-BOARD-DEBUG-UART-INSTANCE/m-p/349112#M358</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2015-01-16T04:05:20Z</dc:date>
    </item>
    <item>
      <title>Re: bug in debug console for FRDM-K22F BOARD_DEBUG_UART_INSTANCE?</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/bug-in-debug-console-for-FRDM-K22F-BOARD-DEBUG-UART-INSTANCE/m-p/349113#M359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;KDS version is 2.0.0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is probably easier to describe the steps.&lt;/P&gt;&lt;P&gt;1) I created a new KSDK project for FRDM-K22F (File-New-KDS Project-Clicked Processor Expert-Finish).&lt;/P&gt;&lt;P&gt;2) Double-clicked fsl_debug_console in Components Library to instance DbgCs1.&lt;/P&gt;&lt;P&gt;3) Click on DbgCs1 in components view and set device to UART1 in Component Inspector.&lt;/P&gt;&lt;P&gt;4) Set Rx/Tx pins are set to PTE1/PTE0.&lt;/P&gt;&lt;P&gt;5) Set baud rate to 115200.&lt;/P&gt;&lt;P&gt;6) Click "Generate Processor Expert Code" button.&lt;/P&gt;&lt;P&gt;7) Add #include "DbgCs1.h" to main.c&lt;/P&gt;&lt;P&gt;8) Add the code below to the main function&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; bool start = true;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #7f0055; font-size: 10pt;"&gt;for&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;(;;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #7f0055; font-size: 10pt;"&gt;if&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; (start)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;debug_printf(&lt;/SPAN&gt;&lt;SPAN style="color: #2a00ff; font-size: 10pt;"&gt;"\n\r Process started\n\r"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; s&lt;/SPAN&gt;tart = false;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; } &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;9) Start terminal emulator to communicate with com port associated with USB port connected to FRDM-K22F&lt;/P&gt;&lt;P&gt;10) Build, debug and press F8 key to resume. No message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To fix it go to line 67 of file DbgCs1.h and change&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #7f0055; font-size: 10pt;"&gt;&lt;STRONG&gt;#define&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; BOARD_DEBUG_UART_INSTANCE 2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;to &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #7f0055; font-size: 10pt;"&gt;&lt;STRONG&gt;#define&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; BOARD_DEBUG_UART_INSTANCE 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Re-build-debug - hit F8 and the "Process started" message now appears.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I don't see how to upload a file.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jan 2015 20:00:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/bug-in-debug-console-for-FRDM-K22F-BOARD-DEBUG-UART-INSTANCE/m-p/349113#M359</guid>
      <dc:creator>christophertsch</dc:creator>
      <dc:date>2015-01-16T20:00:24Z</dc:date>
    </item>
    <item>
      <title>Re: Re: bug in debug console for FRDM-K22F BOARD_DEBUG_UART_INSTANCE?</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/bug-in-debug-console-for-FRDM-K22F-BOARD-DEBUG-UART-INSTANCE/m-p/349114#M360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Christopher,&lt;/P&gt;&lt;P&gt;When in the "Reply" window, in the upper right hand corner is a grayed out (no idea why grayed out) "Use advanced editor" link.&amp;nbsp; Click it and then you can click the "Attach" link in the lower right hand corner.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BTW: I have tried your steps with the Board and Processor option and both have the same results you have so I'm guessing this is a errata to the Wizard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Zhang can you report this behavior?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jan 2015 21:44:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/bug-in-debug-console-for-FRDM-K22F-BOARD-DEBUG-UART-INSTANCE/m-p/349114#M360</guid>
      <dc:creator>DavidS</dc:creator>
      <dc:date>2015-01-16T21:44:06Z</dc:date>
    </item>
    <item>
      <title>Re: Re: bug in debug console for FRDM-K22F BOARD_DEBUG_UART_INSTANCE?</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/bug-in-debug-console-for-FRDM-K22F-BOARD-DEBUG-UART-INSTANCE/m-p/349115#M361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the quick response. Do you know how it should work? Is the UART choice supposed to set that #define statement?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jan 2015 21:49:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/bug-in-debug-console-for-FRDM-K22F-BOARD-DEBUG-UART-INSTANCE/m-p/349115#M361</guid>
      <dc:creator>christophertsch</dc:creator>
      <dc:date>2015-01-16T21:49:33Z</dc:date>
    </item>
    <item>
      <title>Re: bug in debug console for FRDM-K22F BOARD_DEBUG_UART_INSTANCE?</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/bug-in-debug-console-for-FRDM-K22F-BOARD-DEBUG-UART-INSTANCE/m-p/349116#M362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you please give a short update on the problem. Will it be fixed?&lt;/P&gt;&lt;P&gt;I am running in the same issues and don't want to fix the #define after every PE generation cycle.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2015 11:00:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/bug-in-debug-console-for-FRDM-K22F-BOARD-DEBUG-UART-INSTANCE/m-p/349116#M362</guid>
      <dc:creator>mathieumünch-zu</dc:creator>
      <dc:date>2015-02-13T11:00:05Z</dc:date>
    </item>
    <item>
      <title>Re: bug in debug console for FRDM-K22F BOARD_DEBUG_UART_INSTANCE?</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/bug-in-debug-console-for-FRDM-K22F-BOARD-DEBUG-UART-INSTANCE/m-p/349117#M363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is scheduled to be looked at and when I hear back I will update the post.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;David &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2015 22:17:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/bug-in-debug-console-for-FRDM-K22F-BOARD-DEBUG-UART-INSTANCE/m-p/349117#M363</guid>
      <dc:creator>DavidS</dc:creator>
      <dc:date>2015-02-13T22:17:45Z</dc:date>
    </item>
  </channel>
</rss>

