<?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: Debugging Issue - No source available for &amp;quot;StrFormatScanf() at 0x3b8&amp;quot; in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Debugging-Issue-No-source-available-for-quot-StrFormatScanf-at/m-p/1835562#M55755</link>
    <description>&lt;P&gt;Hi Pavel, thank you.&lt;/P&gt;&lt;P&gt;No I'm not using any floating points.&lt;/P&gt;&lt;P&gt;I'm using PRINTF function.&lt;/P&gt;&lt;P&gt;The scenario is when I run debugging on any code containing PRINTF&amp;nbsp; it gives me this message&amp;nbsp;&amp;nbsp;"No source available for "StrFormatScanf() at 0x____ ".&lt;/P&gt;&lt;P&gt;I have even tried the SDK examples and its driver examples as it is but it keep giving this message.&lt;/P&gt;&lt;P&gt;I found one thing that when I change the compiler optimization level from none (-O0) (set by default) to Optimize for debug (-Og) this message goes away. why is that so?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Haider_Ali_0-1711465685488.png" style="width: 655px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/270489iA60FBB45826AB508/image-dimensions/655x604?v=v2" width="655" height="604" role="button" title="Haider_Ali_0-1711465685488.png" alt="Haider_Ali_0-1711465685488.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 26 Mar 2024 15:09:13 GMT</pubDate>
    <dc:creator>Haider_Ali</dc:creator>
    <dc:date>2024-03-26T15:09:13Z</dc:date>
    <item>
      <title>Debugging Issue - No source available for "StrFormatScanf() at 0x3b8"</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Debugging-Issue-No-source-available-for-quot-StrFormatScanf-at/m-p/1834692#M55740</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm running into an issue as soon as I launch debug session.&lt;/P&gt;&lt;P&gt;I'm running a SDK IAP driver example for&amp;nbsp; LPC54102J512 microcontroller (&lt;SPAN&gt;OM13077 board)&amp;nbsp;&lt;/SPAN&gt;without any changes. The code successfully builds but when I launch debug session it gives following error:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Haider_Ali_0-1711374709508.png" style="width: 862px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/270249i86A0B6998763799C/image-dimensions/862x341?v=v2" width="862" height="341" role="button" title="Haider_Ali_0-1711374709508.png" alt="Haider_Ali_0-1711374709508.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Can anyone please tell why I'm getting this?&lt;/P&gt;&lt;P&gt;I tried a few things and even setup whole thing on a separate PC but same issue.&lt;/P&gt;&lt;P&gt;Also I found that when I remove all the printf statements this error goes away. (UART0 is routed to printf for debugging).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Mar 2024 13:57:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Debugging-Issue-No-source-available-for-quot-StrFormatScanf-at/m-p/1834692#M55740</guid>
      <dc:creator>Haider_Ali</dc:creator>
      <dc:date>2024-03-25T13:57:32Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging Issue - No source available for "StrFormatScanf() at 0x3b8"</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Debugging-Issue-No-source-available-for-quot-StrFormatScanf-at/m-p/1834889#M55745</link>
      <description>&lt;DIV class="D5aOJc vJwDU"&gt;
&lt;P&gt;Hello, my name is Pavel, and I will be supporting your case, are you using a floating point?&lt;/P&gt;
&lt;P&gt;Could you elaborate further, on what are using and how? print or printf?&lt;/P&gt;
&lt;/DIV&gt;
&lt;DIV class="hlJJmd"&gt;
&lt;DIV class="Bmcqed" dir="ltr"&gt;
&lt;DIV data-id="kvLWu"&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;Pavel&lt;/P&gt;</description>
      <pubDate>Mon, 25 Mar 2024 21:46:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Debugging-Issue-No-source-available-for-quot-StrFormatScanf-at/m-p/1834889#M55745</guid>
      <dc:creator>Pavel_Hernandez</dc:creator>
      <dc:date>2024-03-25T21:46:03Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging Issue - No source available for "StrFormatScanf() at 0x3b8"</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Debugging-Issue-No-source-available-for-quot-StrFormatScanf-at/m-p/1835562#M55755</link>
      <description>&lt;P&gt;Hi Pavel, thank you.&lt;/P&gt;&lt;P&gt;No I'm not using any floating points.&lt;/P&gt;&lt;P&gt;I'm using PRINTF function.&lt;/P&gt;&lt;P&gt;The scenario is when I run debugging on any code containing PRINTF&amp;nbsp; it gives me this message&amp;nbsp;&amp;nbsp;"No source available for "StrFormatScanf() at 0x____ ".&lt;/P&gt;&lt;P&gt;I have even tried the SDK examples and its driver examples as it is but it keep giving this message.&lt;/P&gt;&lt;P&gt;I found one thing that when I change the compiler optimization level from none (-O0) (set by default) to Optimize for debug (-Og) this message goes away. why is that so?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Haider_Ali_0-1711465685488.png" style="width: 655px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/270489iA60FBB45826AB508/image-dimensions/655x604?v=v2" width="655" height="604" role="button" title="Haider_Ali_0-1711465685488.png" alt="Haider_Ali_0-1711465685488.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2024 15:09:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Debugging-Issue-No-source-available-for-quot-StrFormatScanf-at/m-p/1835562#M55755</guid>
      <dc:creator>Haider_Ali</dc:creator>
      <dc:date>2024-03-26T15:09:13Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging Issue - No source available for "StrFormatScanf() at 0x3b8"</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Debugging-Issue-No-source-available-for-quot-StrFormatScanf-at/m-p/1836737#M55777</link>
      <description>&lt;P&gt;Hello, is not enough to analyze your case, could you tell me what is the version of the SDK and the IDE?&lt;/P&gt;
&lt;P&gt;Could you tell me what is the state of this macro?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Pavel_Hernandez_0-1711572471260.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/270830iBC0B474EFC1E0CAC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Pavel_Hernandez_0-1711572471260.png" alt="Pavel_Hernandez_0-1711572471260.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Could you share the main code to review them?&lt;/P&gt;
&lt;P&gt;Please, review this thread maybe could help you.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/MCUXpresso-IDE/printf-to-UART-Console/m-p/1058262" target="_blank"&gt;Solved: printf() to UART Console - NXP Community&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/MCUXpresso-IDE/MCUXpresso-often-won-t-do-PRINTF-to-Console-in-hello-world/m-p/928250" target="_blank"&gt;MCUXpresso often won't do PRINTF to Console in 'hello world' example - NXP Community&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Pavel&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Mar 2024 20:51:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Debugging-Issue-No-source-available-for-quot-StrFormatScanf-at/m-p/1836737#M55777</guid>
      <dc:creator>Pavel_Hernandez</dc:creator>
      <dc:date>2024-03-27T20:51:00Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging Issue - No source available for "StrFormatScanf() at 0x3b8"</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Debugging-Issue-No-source-available-for-quot-StrFormatScanf-at/m-p/1875683#M56159</link>
      <description>&lt;P&gt;Hi, I am facing the same issue as&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/231172"&gt;@Haider_Ali&lt;/a&gt;.&lt;/P&gt;&lt;P&gt;I am using the hello_word example for the K32W061 board. I am using MCUXpresso IDE v11.9.0 [Build 2144] [2024-01-05] with SDK_2.x_K32W061DK [SDK Version 2.6.5 (555 2022-03-10) Manifest Version 3.5.0].&lt;/P&gt;&lt;P&gt;I am using Segger J-Link for debugging. The program debugs properly when I use Semihosting option but if I use UART, the debugging fails with the message "No source available for "StrFormatScanf() at 0x4dc".&lt;/P&gt;&lt;P&gt;Also, the `DEBUGCONSOLE_REDIRECT_TO_SDK` has value `1U`.&lt;/P&gt;</description>
      <pubDate>Mon, 27 May 2024 16:02:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Debugging-Issue-No-source-available-for-quot-StrFormatScanf-at/m-p/1875683#M56159</guid>
      <dc:creator>Atta</dc:creator>
      <dc:date>2024-05-27T16:02:35Z</dc:date>
    </item>
  </channel>
</rss>

