<?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: Redirecting console output in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/Redirecting-console-output/m-p/592797#M30165</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by dragilla on Fri Jan 20 05:50:18 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Don't know about redirecting console, but you can try using f_sync instead of closing and opening the file. It's there just for that.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 02:47:48 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-16T02:47:48Z</dc:date>
    <item>
      <title>Redirecting console output</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Redirecting-console-output/m-p/592796#M30164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Underling on Fri Jan 20 05:42:13 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'd like to dump the console output produced by my target (using semihosting) to a file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I use fprintf() to log the data directly to a file, the data appears not to be committed until the file is closed. I've tried repeated opening/closing of a log file on the host machine, and it's very slow. Also, it's useful to see the data on the screen as it appears.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, is there a simple way to copy or redirect console output to a file, other than copy and paste?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:47:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Redirecting-console-output/m-p/592796#M30164</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:47:47Z</dc:date>
    </item>
    <item>
      <title>Re: Redirecting console output</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Redirecting-console-output/m-p/592797#M30165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by dragilla on Fri Jan 20 05:50:18 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Don't know about redirecting console, but you can try using f_sync instead of closing and opening the file. It's there just for that.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:47:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Redirecting-console-output/m-p/592797#M30165</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:47:48Z</dc:date>
    </item>
    <item>
      <title>Re: Redirecting console output</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Redirecting-console-output/m-p/592798#M30166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by CodeRedSupport on Sun Jan 22 05:42:06 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I am afraid that there is currently no way of automatically logging the output in the console view out to file, other than copy'n'pasting it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;With regards to the speed of fprintf output, I suggest you take a look at this FAQ:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://"&gt;http://support.code-red-tech.com/CodeRedWiki/WhatIsSemiHosting&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;CodeRedSupport&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:47:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Redirecting-console-output/m-p/592798#M30166</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:47:49Z</dc:date>
    </item>
    <item>
      <title>Re: Redirecting console output</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Redirecting-console-output/m-p/592799#M30167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Underling on Wed Jan 25 08:40:02 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;OK, thanks for your help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:47:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Redirecting-console-output/m-p/592799#M30167</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:47:49Z</dc:date>
    </item>
  </channel>
</rss>

