Hello,
I'm running into an issue as soon as I launch debug session.
I'm running a SDK IAP driver example for LPC54102J512 microcontroller (OM13077 board) without any changes. The code successfully builds but when I launch debug session it gives following error:
Can anyone please tell why I'm getting this?
I tried a few things and even setup whole thing on a separate PC but same issue.
Also I found that when I remove all the printf statements this error goes away. (UART0 is routed to printf for debugging).
Hi Pavel, thank you.
No I'm not using any floating points.
I'm using PRINTF function.
The scenario is when I run debugging on any code containing PRINTF it gives me this message "No source available for "StrFormatScanf() at 0x____ ".
I have even tried the SDK examples and its driver examples as it is but it keep giving this message.
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?
Hello, is not enough to analyze your case, could you tell me what is the version of the SDK and the IDE?
Could you tell me what is the state of this macro?
Could you share the main code to review them?
Please, review this thread maybe could help you.
Solved: printf() to UART Console - NXP Community
MCUXpresso often won't do PRINTF to Console in 'hello world' example - NXP Community
Best regards,
Pavel