<?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: Cannot use fprintf in MCUxpresso SDK in MCX Microcontrollers</title>
    <link>https://community.nxp.com/t5/MCX-Microcontrollers/Cannot-use-fprintf-in-MCUxpresso-SDK/m-p/1874939#M379</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope you are doing well. I would recommend checking these posts:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/MCUXpresso-General/semihosting-fopen-path/td-p/1355770" target="_blank"&gt;Solved: semihosting fopen path - NXP Community&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/LPC-Microcontrollers/Writing-to-a-file-fprintf-in-MCUXpresso-IDE-11-3-1/m-p/1289298" target="_blank"&gt;Solved: Re: Writing to a file (fprintf) in MCUXpresso IDE (11.3.1) - NXP Community&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Ricardo&lt;/P&gt;</description>
    <pubDate>Fri, 24 May 2024 23:06:04 GMT</pubDate>
    <dc:creator>Ricardo_Zamora</dc:creator>
    <dc:date>2024-05-24T23:06:04Z</dc:date>
    <item>
      <title>Cannot use fprintf in MCUxpresso SDK</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/Cannot-use-fprintf-in-MCUxpresso-SDK/m-p/1874310#M376</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am wanting to print contents to a file using the C function "&lt;EM&gt;fprintf()&lt;/EM&gt;," but it does not work.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My device is QN9080 and I run some SDKs in MCUxpresso IDE. I set library/header to semihost config (already test every setting like Redlib, Newlib, NewlibNano in semihost). Some parts of my very simple code is below (&lt;EM&gt;send_data&lt;/EM&gt; is a data which I want to write in .csv)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mjkimbravo_0-1716530499428.png" style="width: 324px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/280614i762DEB46F59A6F9E/image-dimensions/324x124?v=v2" width="324" height="124" role="button" title="mjkimbravo_0-1716530499428.png" alt="mjkimbravo_0-1716530499428.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here, .csv file is generated well, but code makes some errors at &lt;EM&gt;fprintf()&lt;/EM&gt;; The error is...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mjkimbravo_1-1716530606595.png" style="width: 308px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/280615iB1414841735C709C/image-dimensions/308x164?v=v2" width="308" height="164" role="button" title="mjkimbravo_1-1716530606595.png" alt="mjkimbravo_1-1716530606595.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mjkimbravo_2-1716530622711.png" style="width: 535px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/280616iA8C314C920645792/image-dimensions/535x130?v=v2" width="535" height="130" role="button" title="mjkimbravo_2-1716530622711.png" alt="mjkimbravo_2-1716530622711.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Of course I include "stdio.h",&amp;nbsp;"stdlib.h", and other kinds of headers. I also try to find a solution in "MCUXpresso IDE user guide.pdf" but it failed.&amp;nbsp;&lt;SPAN&gt;I already found similar questions with me in NXP community, but those are not helpful for me.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Would you please help me?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 May 2024 06:11:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/Cannot-use-fprintf-in-MCUxpresso-SDK/m-p/1874310#M376</guid>
      <dc:creator>mjkimbravo</dc:creator>
      <dc:date>2024-05-24T06:11:32Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot use fprintf in MCUxpresso SDK</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/Cannot-use-fprintf-in-MCUxpresso-SDK/m-p/1874939#M379</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope you are doing well. I would recommend checking these posts:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/MCUXpresso-General/semihosting-fopen-path/td-p/1355770" target="_blank"&gt;Solved: semihosting fopen path - NXP Community&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/LPC-Microcontrollers/Writing-to-a-file-fprintf-in-MCUXpresso-IDE-11-3-1/m-p/1289298" target="_blank"&gt;Solved: Re: Writing to a file (fprintf) in MCUXpresso IDE (11.3.1) - NXP Community&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Ricardo&lt;/P&gt;</description>
      <pubDate>Fri, 24 May 2024 23:06:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/Cannot-use-fprintf-in-MCUxpresso-SDK/m-p/1874939#M379</guid>
      <dc:creator>Ricardo_Zamora</dc:creator>
      <dc:date>2024-05-24T23:06:04Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot use fprintf in MCUxpresso SDK</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/Cannot-use-fprintf-in-MCUxpresso-SDK/m-p/1912201#M1236</link>
      <description>&lt;P&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;As I mentioned in my main post, of course I already have read the posts you inform. But those are not helpful to me. I think my problem is a different kind of errors (something like I cannot use&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;fprintf()&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;itself).&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Would you please see the picture I uploaded in my main post and consider my problem? &lt;/STRONG&gt;(Same error appears when using like fputs(), fwrite()).&lt;/P&gt;&lt;P&gt;fopen() works well, and file generated in SDK folders well, but writing has an issue.&lt;/P&gt;&lt;P&gt;Why this kind of errors happen?:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Can't find a source file at "/opt/jenkins/workspace/Libraries_ElevenNine/Redlib/redlib_clib/armv7e-m_fpu/.../src/fpprintf.c&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jul 2024 10:54:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/Cannot-use-fprintf-in-MCUxpresso-SDK/m-p/1912201#M1236</guid>
      <dc:creator>mjkimbravo</dc:creator>
      <dc:date>2024-07-19T10:54:54Z</dc:date>
    </item>
  </channel>
</rss>

