<?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 printf - stdout displayed on CW's console window for ColdFire in Classic/Legacy CodeWarrior</title>
    <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/printf-stdout-displayed-on-CW-s-console-window-for-ColdFire/m-p/172869#M3548</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;SPAN&gt;Under the 9s12 CW 4.5 system I could build against a different library with a termIO call that caused the printf output to my user putchar fcn which I could use to control the serial port on the hardware development board. So in on Windows XP I could open a hyperterminal window and see the printf statements.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can't seem to find that for Coldfire, does anyone know if this is still possible?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What I would rather do is use printf to go via the demoqe USB debugger into a crt window in CW or other app without the added serial hardware and usual windows problems. Is this possible? I noticed that there is a terminal.exe application and testterm.exe application but have no idea how they work. Also piper.exe is mentioned as redirecting output for stdout.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone know a way to have printf print to a window on CW or windows without the usb/serial hardware, or if not then how to use the serial hardware.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Bob&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;J2MEJediMaster added MCU type to subject line and clarified request&lt;/SPAN&gt;&lt;BR /&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Message Edited by J2MEJediMaster on &lt;/SPAN&gt;&lt;SPAN class="date_text"&gt;2007-12-17&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN class="time_text"&gt;10:34 AM&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Dec 2007 07:07:06 GMT</pubDate>
    <dc:creator>blewis</dc:creator>
    <dc:date>2007-12-14T07:07:06Z</dc:date>
    <item>
      <title>printf - stdout displayed on CW's console window for ColdFire</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/printf-stdout-displayed-on-CW-s-console-window-for-ColdFire/m-p/172869#M3548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;SPAN&gt;Under the 9s12 CW 4.5 system I could build against a different library with a termIO call that caused the printf output to my user putchar fcn which I could use to control the serial port on the hardware development board. So in on Windows XP I could open a hyperterminal window and see the printf statements.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can't seem to find that for Coldfire, does anyone know if this is still possible?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What I would rather do is use printf to go via the demoqe USB debugger into a crt window in CW or other app without the added serial hardware and usual windows problems. Is this possible? I noticed that there is a terminal.exe application and testterm.exe application but have no idea how they work. Also piper.exe is mentioned as redirecting output for stdout.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone know a way to have printf print to a window on CW or windows without the usb/serial hardware, or if not then how to use the serial hardware.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Bob&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;J2MEJediMaster added MCU type to subject line and clarified request&lt;/SPAN&gt;&lt;BR /&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Message Edited by J2MEJediMaster on &lt;/SPAN&gt;&lt;SPAN class="date_text"&gt;2007-12-17&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN class="time_text"&gt;10:34 AM&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Dec 2007 07:07:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/printf-stdout-displayed-on-CW-s-console-window-for-ColdFire/m-p/172869#M3548</guid>
      <dc:creator>blewis</dc:creator>
      <dc:date>2007-12-14T07:07:06Z</dc:date>
    </item>
    <item>
      <title>Re: printf - stdout displayed on CW's console window for ColdFire</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/printf-stdout-displayed-on-CW-s-console-window-for-ColdFire/m-p/172870#M3549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;For CW for Coldfire 6.4, there is an example project that uses the CW console window for output with the&amp;nbsp; M5282EVB board. I don't know what ColdFire CPU you're using, but you might could use that project to learn what ColdFire libraries you need to include in your own project to make the magic happen.&lt;BR /&gt;&lt;BR /&gt;---Tom&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Dec 2007 23:38:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/printf-stdout-displayed-on-CW-s-console-window-for-ColdFire/m-p/172870#M3549</guid>
      <dc:creator>J2MEJediMaster</dc:creator>
      <dc:date>2007-12-17T23:38:00Z</dc:date>
    </item>
  </channel>
</rss>

