<?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>CodeWarrior for MCU中的主题 printf At CodeWarrior HC12</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/printf-At-CodeWarrior-HC12/m-p/135252#M1685</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;I tried to use printf function&amp;nbsp; The compilation succed but the Linking at debug stage fail.&lt;/DIV&gt;&lt;DIV&gt;Does anyone has&amp;nbsp; working example ?&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 May 2006 17:41:32 GMT</pubDate>
    <dc:creator>codewarrier</dc:creator>
    <dc:date>2006-05-09T17:41:32Z</dc:date>
    <item>
      <title>printf At CodeWarrior HC12</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/printf-At-CodeWarrior-HC12/m-p/135252#M1685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;I tried to use printf function&amp;nbsp; The compilation succed but the Linking at debug stage fail.&lt;/DIV&gt;&lt;DIV&gt;Does anyone has&amp;nbsp; working example ?&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 May 2006 17:41:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/printf-At-CodeWarrior-HC12/m-p/135252#M1685</guid>
      <dc:creator>codewarrier</dc:creator>
      <dc:date>2006-05-09T17:41:32Z</dc:date>
    </item>
    <item>
      <title>Re: printf At CodeWarrior HC12</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/printf-At-CodeWarrior-HC12/m-p/135253#M1686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;In fact we do not deliver implementation of file management function in our CodeWarrior for HC12 tool.&lt;/P&gt;&lt;P&gt;Extract from the &lt;FONT size="3"&gt;Compiler&lt;/FONT&gt; manual:&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;"In microcontroller applications however, one usually does not need file I/O. In the few cases where one would need it, the implementation depends on the actual setup of the target system.&lt;BR /&gt;It&amp;nbsp;is therefore impossible for Freescale to provide an implementation for these features that the user has to specifically implement."&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;Basically usage of file I/O functions would require a file system to be available on the target system. Not sure this is ever possible on a HC12 CPU.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;Why do you want to use file I/O?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;CrasyCat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 May 2006 20:04:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/printf-At-CodeWarrior-HC12/m-p/135253#M1686</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2006-05-09T20:04:25Z</dc:date>
    </item>
    <item>
      <title>Re: printf At CodeWarrior HC12</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/printf-At-CodeWarrior-HC12/m-p/135254#M1687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Of course printf() is useful indeed in microcontroller systems, and you surely don't need a file system for it. I use it a lot for terminal output to a serial port on SCI0. To make it work, it's necessary to implement a function called "void TERMIO_PutChar(char ch)" (must not be declared static, of course). Have a look at the file embedded.c (provided by Codewarrior).&lt;BR /&gt;&lt;BR /&gt;Furthermore, if you use printf in banked memory model, be sure you allocate the STRINGS in non banked ROM, it won't work otherwise.&lt;BR /&gt;&lt;BR /&gt;Let me know if you have problems.&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Nov 2006 16:41:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/printf-At-CodeWarrior-HC12/m-p/135254#M1687</guid>
      <dc:creator>vectorio</dc:creator>
      <dc:date>2006-11-21T16:41:35Z</dc:date>
    </item>
    <item>
      <title>Re: printf At CodeWarrior HC12</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/printf-At-CodeWarrior-HC12/m-p/135255#M1688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Oups&lt;/DIV&gt;&lt;DIV&gt;apologies guy. I did read fprintf instead of printf in the original post.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Was probable not really woken up &lt;IMG alt=":smileysad:" class="emoticon emoticon-smileysad" id="smileysad" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-sad.gif" title="Smiley Sad" /&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;vectorio is completely right here.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;CrasyCat&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Nov 2006 20:22:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/printf-At-CodeWarrior-HC12/m-p/135255#M1688</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2006-11-21T20:22:33Z</dc:date>
    </item>
  </channel>
</rss>

