<?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 GETCHAR or SCANF UART For FRDM Board in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/GETCHAR-or-SCANF-UART-For-FRDM-Board/m-p/1039167#M56758</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV class="" style="color: #51626f; background-color: #ffffff; border: 0px; padding: 30px 50px;"&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;I am using&amp;nbsp;frdmk64f_agm04_sensorfusion_freertos_agm04 SDK, and I want to read via UART I can't read from UART.&amp;nbsp;&lt;/P&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;I got an error after flashing the SW whenever I call GETCHAR or SCANF.&lt;/P&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;and debugging session close automatically&lt;/P&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;This is the error I get:&lt;BR /&gt;15: Target error from Set break/watch&lt;BR /&gt;Unable to set an execution break - no resource available.&lt;BR /&gt;Debugging context: frdmk64f_agm04_sensorfusion_freertos_agm04 LinkServer Debug&lt;/P&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;Could you support in this&lt;/P&gt;&lt;/DIV&gt;&lt;DIV style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&lt;/DIV&gt;&lt;DIV class="" style="color: #51626f; background-color: #ffffff; border-width: 1px 0px 0px; border-style: solid initial initial initial; border-color: rgba(0, 0, 0, 0.1) initial initial initial; font-size: 14px; padding: 30px 50px;"&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 May 2020 12:07:37 GMT</pubDate>
    <dc:creator>micheal_saleab</dc:creator>
    <dc:date>2020-05-18T12:07:37Z</dc:date>
    <item>
      <title>GETCHAR or SCANF UART For FRDM Board</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/GETCHAR-or-SCANF-UART-For-FRDM-Board/m-p/1039167#M56758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV class="" style="color: #51626f; background-color: #ffffff; border: 0px; padding: 30px 50px;"&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;I am using&amp;nbsp;frdmk64f_agm04_sensorfusion_freertos_agm04 SDK, and I want to read via UART I can't read from UART.&amp;nbsp;&lt;/P&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;I got an error after flashing the SW whenever I call GETCHAR or SCANF.&lt;/P&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;and debugging session close automatically&lt;/P&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;This is the error I get:&lt;BR /&gt;15: Target error from Set break/watch&lt;BR /&gt;Unable to set an execution break - no resource available.&lt;BR /&gt;Debugging context: frdmk64f_agm04_sensorfusion_freertos_agm04 LinkServer Debug&lt;/P&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;Could you support in this&lt;/P&gt;&lt;/DIV&gt;&lt;DIV style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&lt;/DIV&gt;&lt;DIV class="" style="color: #51626f; background-color: #ffffff; border-width: 1px 0px 0px; border-style: solid initial initial initial; border-color: rgba(0, 0, 0, 0.1) initial initial initial; font-size: 14px; padding: 30px 50px;"&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2020 12:07:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/GETCHAR-or-SCANF-UART-For-FRDM-Board/m-p/1039167#M56758</guid>
      <dc:creator>micheal_saleab</dc:creator>
      <dc:date>2020-05-18T12:07:37Z</dc:date>
    </item>
    <item>
      <title>Re: GETCHAR or SCANF UART For FRDM Board</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/GETCHAR-or-SCANF-UART-For-FRDM-Board/m-p/1039168#M56759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;P&gt;Hi Michael, I hope you're doing well!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The debug console implemented for SDK examples in the MCUXpresso IDE can be changed in the following ways:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When importing an SDK example, select the Debug Console as UART instead of Semihost:&lt;/P&gt;&lt;P&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/107275iDC4B5435EEAD087D/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On an already created or imported project, you can change the project's quick settings to set the debug console to UART:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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/107310i3C7EF27BEC7F5700/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know if you need any more information.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Take care, best regards,&lt;/P&gt;&lt;P&gt;Sebastian&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2020 20:23:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/GETCHAR-or-SCANF-UART-For-FRDM-Board/m-p/1039168#M56759</guid>
      <dc:creator>Sebastian_Del_Rio</dc:creator>
      <dc:date>2020-05-18T20:23:24Z</dc:date>
    </item>
    <item>
      <title>Re: GETCHAR or SCANF UART For FRDM Board</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/GETCHAR-or-SCANF-UART-For-FRDM-Board/m-p/1039169#M56760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sebastian,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I changed&amp;nbsp;the Debug console to&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;UART console, and I am still getting the same error when I use SCANF.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Micheal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 May 2020 10:41:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/GETCHAR-or-SCANF-UART-For-FRDM-Board/m-p/1039169#M56760</guid>
      <dc:creator>micheal_saleab</dc:creator>
      <dc:date>2020-05-24T10:41:31Z</dc:date>
    </item>
    <item>
      <title>Re: GETCHAR or SCANF UART For FRDM Board</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/GETCHAR-or-SCANF-UART-For-FRDM-Board/m-p/1039170#M56761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michael,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please take a look at this page of the MCUXpresso SDK API Reference Manual and confirm that the debug console is being initialized and enabled successfully?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://mcuxpresso.nxp.com/api_doc/dev/329/group__debugconsole.html" title="https://mcuxpresso.nxp.com/api_doc/dev/329/group__debugconsole.html"&gt;MCUXpresso SDK API Reference Manual: Debug Console&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It also has some typical uses cases and examples for the GETCHAR and SCANF functions, could you please take a look at them?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know if you continue to have issues with this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Take care, best regards,&lt;/P&gt;&lt;P&gt;Sebastian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 May 2020 15:02:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/GETCHAR-or-SCANF-UART-For-FRDM-Board/m-p/1039170#M56761</guid>
      <dc:creator>Sebastian_Del_Rio</dc:creator>
      <dc:date>2020-05-25T15:02:56Z</dc:date>
    </item>
  </channel>
</rss>

