<?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>8-bit MicrocontrollersのトピックRe: printf to terminal in true time simulator</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/printf-to-terminal-in-true-time-simulator/m-p/152596#M8393</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Rather, not all PC UARTS can understand SCI. This is typically something you encounter when using odd baudrates such as 14400 and 28800. This is also true for crappy RS232 to USB pods.&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Nov 2009 23:13:15 GMT</pubDate>
    <dc:creator>Lundin</dc:creator>
    <dc:date>2009-11-11T23:13:15Z</dc:date>
    <item>
      <title>printf to terminal in true time simulator</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/printf-to-terminal-in-true-time-simulator/m-p/152594#M8391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am currently working with a MC9S08GT32A&amp;nbsp; target&amp;nbsp;connected via BDM to a Demo9S08QG8 development board. The interface with Codewarrior V6.0 is P&amp;amp;E Multilink Cyclone Pro.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My question&amp;nbsp;is is it possible to redirect the output from the printf statement not to one of the 2 SCI ports but to the BDM interface itself so that I can view using the terminal window in True time simulator&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions would be much appreciated&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Nov 2009 18:41:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/printf-to-terminal-in-true-time-simulator/m-p/152594#M8391</guid>
      <dc:creator>SteveBinns</dc:creator>
      <dc:date>2009-11-06T18:41:26Z</dc:date>
    </item>
    <item>
      <title>Re: printf to terminal in true time simulator</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/printf-to-terminal-in-true-time-simulator/m-p/152595#M8392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think you can redirect to the BDM port.&amp;nbsp; Since it is a usb peripheral, it can only respond to requests from the master (PC).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can output to the debugger terminal window via a SCI port, so why not use this way?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You will have to check with the debugger setup.&amp;nbsp; I have found in the past that not all SCI ports are able to output to the terminal window, but usually at least one of them can.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;uCTechnoGeek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Nov 2009 22:30:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/printf-to-terminal-in-true-time-simulator/m-p/152595#M8392</guid>
      <dc:creator>UcTechnoGeek</dc:creator>
      <dc:date>2009-11-11T22:30:43Z</dc:date>
    </item>
    <item>
      <title>Re: printf to terminal in true time simulator</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/printf-to-terminal-in-true-time-simulator/m-p/152596#M8393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Rather, not all PC UARTS can understand SCI. This is typically something you encounter when using odd baudrates such as 14400 and 28800. This is also true for crappy RS232 to USB pods.&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Nov 2009 23:13:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/printf-to-terminal-in-true-time-simulator/m-p/152596#M8393</guid>
      <dc:creator>Lundin</dc:creator>
      <dc:date>2009-11-11T23:13:15Z</dc:date>
    </item>
    <item>
      <title>Re: printf to terminal in true time simulator</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/printf-to-terminal-in-true-time-simulator/m-p/152597#M8394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was talking about the terminal window emulator built into the debugger.&amp;nbsp; I don't think it uses the UART on the PC.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think it just extracts the data from the running code and shows it like it was an external terminal window.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Nov 2009 22:01:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/printf-to-terminal-in-true-time-simulator/m-p/152597#M8394</guid>
      <dc:creator>UcTechnoGeek</dc:creator>
      <dc:date>2009-11-13T22:01:00Z</dc:date>
    </item>
    <item>
      <title>Re: printf to terminal in true time simulator</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/printf-to-terminal-in-true-time-simulator/m-p/152598#M8395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="UserName"&gt;&lt;A href="http://forums.freescale.com/t5/user/viewprofilepage/user-id/4974" target="_self"&gt;&lt;SPAN&gt;&lt;FONT size="3"&gt;UcTechnoGeek&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/A&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="UserName"&gt;&lt;FONT color="#000000"&gt;are you sure it is possible to redirect SCI I/O to terminal window when running code in simulator? I know this is possible for S12(X) and Coldfire targets. But HCS08 and RS08?&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="UserName"&gt;&lt;FONT color="#000000"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="UserName"&gt;&lt;FONT color="#000000"&gt;When I Set Connection = COLDFIRE, Full Chip Simulator, in the edit box below I see&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="UserName"&gt;&lt;FONT color="#000000"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="UserName"&gt;&lt;FONT color="#000000"&gt;"This Connection supports:&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="UserName"&gt;&lt;FONT color="#000000"&gt;&amp;nbsp;- &lt;STRONG&gt;Freescale&lt;/STRONG&gt; Coldfire V1 Full Chip Simulation"&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="UserName"&gt;&lt;FONT color="#000000"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="UserName"&gt;&lt;FONT color="#000000"&gt;When I Set Connection = HCS08, Full Chip Simulator, I see:&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="UserName"&gt;&lt;FONT color="#000000"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="UserName"&gt;&lt;FONT color="#000000"&gt;"This Connection supports:&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="UserName"&gt;&lt;FONT color="#000000"&gt;&amp;nbsp;- &lt;STRONG&gt;P&amp;amp;E&lt;/STRONG&gt; HCS08 Full Chip Simulation (FCS)"&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="UserName"&gt;&lt;FONT color="#000000"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="UserName"&gt;&lt;FONT color="#000000"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="UserName"&gt;&lt;FONT color="#000000"&gt;As far as I know with P&amp;amp;E FCS it's not possible to printf to simulator terminal window. Unfortunately. Would be nice to have such feature.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Nov 2009 03:24:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/printf-to-terminal-in-true-time-simulator/m-p/152598#M8395</guid>
      <dc:creator>kef</dc:creator>
      <dc:date>2009-11-15T03:24:32Z</dc:date>
    </item>
    <item>
      <title>Re: prints to terminal in true time simulator</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/printf-to-terminal-in-true-time-simulator/m-p/152599#M8396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#333333"&gt;Are you debugging on real hardware or on simulator?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#333333"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#333333"&gt;If you are debugging on simulator, you cannot redirect stout to terminal window (as far as I know).&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#333333"&gt;If you are debugging on real hardware, you should be able to redirect Terminal window to display character coming on serial port.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#333333"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#333333"&gt;Make sure to connect your board SCI to one of the PC serial port.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#333333"&gt;Configure the Terminal window&amp;nbsp;to use Serial Port instead of Virtual SCI.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#333333"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#333333"&gt;I agree with you that printing to simulator terminal window would be a neat feature to add.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#333333"&gt;Here I would suggest you to submit a Change request for that through our on line support&amp;nbsp; web site.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.freescale.com/webapp/servicerequest.create_SR.framework?regFlag=fromOpenSR" rel="nofollow" target="_blank"&gt;&lt;FONT color="#333333"&gt;&lt;/FONT&gt;&lt;/A&gt;&lt;A href="https://www.freescale.com/webapp/servicerequest.create_SR.framework?regFlag=fromOpenSR" target="test_blank"&gt;https://www.freescale.com/webapp/servicerequest.create_SR.framework?regFlag=fromOpenSR&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#333333"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;CrasyCat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Nov 2009 18:29:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/printf-to-terminal-in-true-time-simulator/m-p/152599#M8396</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2009-11-17T18:29:19Z</dc:date>
    </item>
    <item>
      <title>Re: prints to terminal in true time simulator</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/printf-to-terminal-in-true-time-simulator/m-p/152600#M8397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello- &amp;nbsp;thanks for your reply&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am debugging on real hardware and have re directed the terminal window to display characters coming in on&amp;nbsp;a serial port.&lt;/P&gt;&lt;P&gt;What I really wanted to do was to display in a window in the debugging environment the output of printf statements in my program.&lt;/P&gt;&lt;P&gt;It is possible to put a breakpoint in , halt the program and then enter printf commands in the command window,&amp;nbsp;I was trying to do this automatically (via bdm) from my program when it was running&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Nov 2009 18:49:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/printf-to-terminal-in-true-time-simulator/m-p/152600#M8397</guid>
      <dc:creator>SteveBinns</dc:creator>
      <dc:date>2009-11-17T18:49:53Z</dc:date>
    </item>
  </channel>
</rss>

