<?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: printf(&amp;quot;%c&amp;quot;.. not working on CW v7.1.2, CF V2 (52259evb) in CodeWarrior for QorIQ</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/printf-quot-c-quot-not-working-on-CW-v7-1-2-CF-V2-52259evb/m-p/201908#M4110</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have also tried your suggestion to rebuild the libraries, but don't know how.&amp;nbsp; I found an earlier post that seems to apply to an earlier version of the tools.&amp;nbsp; those paths don't exist with my CW v7.1.2 installation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would love to include the appropriate files locally so that it works without having to rebuild libraries on all my coworkers machines, though.&amp;nbsp; But at this point, I'm open to anything...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;..dane&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 May 2010 01:04:57 GMT</pubDate>
    <dc:creator>audiodane</dc:creator>
    <dc:date>2010-05-20T01:04:57Z</dc:date>
    <item>
      <title>printf("%c".. not working on CW v7.1.2, CF V2 (52259evb)</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/printf-quot-c-quot-not-working-on-CW-v7-1-2-CF-V2-52259evb/m-p/201905#M4107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Building with codewarrior v7.1.2 for the V2 family, specifically using the MCF52259 chip...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For simplicity, I am redirecting printf(...) to an AsynchroSerial module (AS1).&amp;nbsp; I am NOT using the internal console, but an external VT100 terminal interface for stdout.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The following code segment:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;char UartChar = 'D';printf("%c", UartChar);&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;does nothing.&amp;nbsp; Following things through down through the debug process, I come across this snippet within printf_tiny_IO.c (line 460, file revision 1.5.2.2):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;#if LIBDEF_PRINTF_CHAR&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; case 'c': /* char */&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; c1 = (char)va_arg(args, int);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; str = (char *) &amp;amp;c1;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; len = 1;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; goto string; /*lint !e801 Use of goto is not deprecated */#endif&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The line is not compiled into the project (no dots on the left hand side to place debug breakpoints).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried adding the following to the project "C/C++ Preprocessor ---&amp;gt; Prefix Text" box:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;#define LIBDEF_PRINTF_CHAR 1&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But that does not seem to help the way I expect it should-- the code snippet above is STILL ignored, and I can find no higher-level #if condition that is missing..&amp;nbsp;&amp;nbsp; Am I mis-understanding how to set this parameter in the v7.1.2 codewarrior tool?&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;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;..dane&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 May 2010 05:19:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/printf-quot-c-quot-not-working-on-CW-v7-1-2-CF-V2-52259evb/m-p/201905#M4107</guid>
      <dc:creator>audiodane</dc:creator>
      <dc:date>2010-05-19T05:19:50Z</dc:date>
    </item>
    <item>
      <title>Re: printf("%c".. not working on CW v7.1.2, CF V2 (52259evb)</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/printf-quot-c-quot-not-working-on-CW-v7-1-2-CF-V2-52259evb/m-p/201906#M4108</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;The point here is that the function printf is taken from the library, so building the project with #define LIBDEF_PRINTF_CHAR 1 will not help here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You have 2 solutions here:&lt;/P&gt;&lt;P&gt;&amp;nbsp; 1- Rebuild the library with #define LIBDEF_PRINTF_CHAR 1&lt;/P&gt;&lt;P&gt;&amp;nbsp; 2- Add the file&amp;nbsp;printf_tiny_IO.c to your project and rebuild the project. Make sure the file printf_tiny_IO.c&amp;nbsp; comes before the MSL library in the project link order tab.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this helps&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CrasyCat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 May 2010 21:13:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/printf-quot-c-quot-not-working-on-CW-v7-1-2-CF-V2-52259evb/m-p/201906#M4108</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2010-05-19T21:13:17Z</dc:date>
    </item>
    <item>
      <title>Re: printf("%c".. not working on CW v7.1.2, CF V2 (52259evb)</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/printf-quot-c-quot-not-working-on-CW-v7-1-2-CF-V2-52259evb/m-p/201907#M4109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;CrasyCat wrote:&lt;BR /&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The point here is that the function printf is taken from the library, so building the project with #define LIBDEF_PRINTF_CHAR 1 will not help here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You have 2 solutions here:&lt;/P&gt;&lt;P&gt;&amp;nbsp; 1- Rebuild the library with #define LIBDEF_PRINTF_CHAR 1&lt;/P&gt;&lt;P&gt;&amp;nbsp; 2- Add the file&amp;nbsp;printf_tiny_IO.c to your project and rebuild the project. Make sure the file printf_tiny_IO.c&amp;nbsp; comes before the MSL library in the project link order tab.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this helps&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CrasyCat&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I like the idea of having something locally handled (like option 2) so that others on the team have less manual library rebuilding to do...&amp;nbsp; However, it doesn't seem to be working.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have attached my link order view.&amp;nbsp; You can see the printf_tiny_IO.c file is listed fourth from the top, before anything else.&amp;nbsp; I can Project -&amp;gt; Remove Object Code -&amp;gt; All Projects and a red checkmark shows to its left.&amp;nbsp; But when I invoke Make, the red check goes away but the Code and Data columns still show "0" for the pritnf_tiny_IO.c file, and when I go to debug, those lines are still left out.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have also included the C/C++ preprocessor snapshot here as well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any pointers to what I'm doing wrong would be wonderful..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;..dane&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 May 2010 21:30:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/printf-quot-c-quot-not-working-on-CW-v7-1-2-CF-V2-52259evb/m-p/201907#M4109</guid>
      <dc:creator>audiodane</dc:creator>
      <dc:date>2010-05-19T21:30:54Z</dc:date>
    </item>
    <item>
      <title>Re: printf("%c".. not working on CW v7.1.2, CF V2 (52259evb)</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/printf-quot-c-quot-not-working-on-CW-v7-1-2-CF-V2-52259evb/m-p/201908#M4110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have also tried your suggestion to rebuild the libraries, but don't know how.&amp;nbsp; I found an earlier post that seems to apply to an earlier version of the tools.&amp;nbsp; those paths don't exist with my CW v7.1.2 installation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would love to include the appropriate files locally so that it works without having to rebuild libraries on all my coworkers machines, though.&amp;nbsp; But at this point, I'm open to anything...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;..dane&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 May 2010 01:04:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/printf-quot-c-quot-not-working-on-CW-v7-1-2-CF-V2-52259evb/m-p/201908#M4110</guid>
      <dc:creator>audiodane</dc:creator>
      <dc:date>2010-05-20T01:04:57Z</dc:date>
    </item>
    <item>
      <title>Re: printf("%c".. not working on CW v7.1.2, CF V2 (52259evb)</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/printf-quot-c-quot-not-working-on-CW-v7-1-2-CF-V2-52259evb/m-p/201909#M4111</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;Can you check in your application .map file where the vprintf function is taken from?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CrasyCat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 May 2010 19:59:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/printf-quot-c-quot-not-working-on-CW-v7-1-2-CF-V2-52259evb/m-p/201909#M4111</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2010-05-20T19:59:35Z</dc:date>
    </item>
    <item>
      <title>Re: printf("%c".. not working on CW v7.1.2, CF V2 (52259evb)</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/printf-quot-c-quot-not-working-on-CW-v7-1-2-CF-V2-52259evb/m-p/201910#M4112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ahhh..&amp;nbsp;&amp;nbsp;&amp;nbsp; I found the .xMAP file (not .map) that shows the vprintf() routine coming from C_4i_CF_SZ_MSL.a.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I just don't know what project that build is located in ..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And now it turns out I need the %x supported also...&amp;nbsp;&amp;nbsp; so %c and %x support are both needed.&amp;nbsp;&amp;nbsp; Again, I'm open to rebuilding the libraries if I need to, but it would be much simpler if somehow I could do an "override" within my project that all other team members could more easily duplicate.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks!!!&lt;/P&gt;&lt;P&gt;..dane&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 May 2010 02:50:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/printf-quot-c-quot-not-working-on-CW-v7-1-2-CF-V2-52259evb/m-p/201910#M4112</guid>
      <dc:creator>audiodane</dc:creator>
      <dc:date>2010-05-21T02:50:24Z</dc:date>
    </item>
    <item>
      <title>Re: printf("%c".. not working on CW v7.1.2, CF V2 (52259evb)</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/printf-quot-c-quot-not-working-on-CW-v7-1-2-CF-V2-52259evb/m-p/201911#M4113</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;I have no clue why the override is not working for you.&lt;/P&gt;&lt;P&gt;If you want to get this one investigated, I would recommend you to submit a service request for that.&lt;BR /&gt;&lt;BR /&gt;Click &lt;A href="https://www.freescale.com/webapp/servicerequest.create_SR.framework?regFlag=fromOpenSR" rel="nofollow" target="_blank"&gt;here&lt;/A&gt; to submit a service request.&lt;BR /&gt;&lt;BR /&gt;Make sure to attach a reproducible project and installed product information to the service request.&lt;BR /&gt;To generate the required information:&lt;BR /&gt;- Start CodeWarrior&lt;BR /&gt;- Open the project&lt;BR /&gt;- Select "Help" -&amp;gt; "Pack and Go" and follow instructions on the screen.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Attach the generated .zip file to the SR.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In order to rebuild&amp;nbsp;the library:&lt;/P&gt;&lt;P&gt;&amp;nbsp; - In CodeWarrior open the file {Install}\ColdFire_Support\msl\MSL_C\MSL_ColdFire\Project\MSL_C.CF.SZ.mcp&lt;BR /&gt;&amp;nbsp; - Select build target 4i ColdFire SZ&lt;/P&gt;&lt;P&gt;&amp;nbsp; - Apply the changes in the Project settings&lt;/P&gt;&lt;P&gt;&amp;nbsp; - Build the project. This should generate a new .a file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CrasyCat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 May 2010 19:00:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/printf-quot-c-quot-not-working-on-CW-v7-1-2-CF-V2-52259evb/m-p/201911#M4113</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2010-05-21T19:00:12Z</dc:date>
    </item>
    <item>
      <title>Re: printf("%c".. not working on CW v7.1.2, CF V2 (52259evb)</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/printf-quot-c-quot-not-working-on-CW-v7-1-2-CF-V2-52259evb/m-p/201912#M4114</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;Just an additional side note here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you try to add the module printf.c (instead of printf_tiny_IO.c) in your project.&lt;/P&gt;&lt;P&gt;Make sure this file is above the MSL library file in the link order tab and then rebuild the project.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This might fix the override problem you are seeing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CrasyCat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 May 2010 19:03:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/printf-quot-c-quot-not-working-on-CW-v7-1-2-CF-V2-52259evb/m-p/201912#M4114</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2010-05-21T19:03:20Z</dc:date>
    </item>
    <item>
      <title>Re: printf("%c".. not working on CW v7.1.2, CF V2 (52259evb)</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/printf-quot-c-quot-not-working-on-CW-v7-1-2-CF-V2-52259evb/m-p/201913#M4115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;CrasyCat wrote:&lt;BR /&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just an additional side note here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you try to add the module printf.c (instead of printf_tiny_IO.c) in your project.&lt;/P&gt;&lt;P&gt;Make sure this file is above the MSL library file in the link order tab and then rebuild the project.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This might fix the override problem you are seeing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CrasyCat&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tried that ...&amp;nbsp; gave me 47 new warnings and 6 new errors (errors at bottom):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Warning : implicit arithmetic conversion from 'int' to 'unsigned char'printf.c line 278     f.conversion_char = c;  Project: TestMenu.mcp, Target: INTERNAL_RAM, Source File: printf.cWarning : implicit arithmetic conversion from 'int' to 'unsigned char'printf.c line 549    f.conversion_char = c;  Project: TestMenu.mcp, Target: INTERNAL_RAM, Source File: printf.cWarning : implicit arithmetic conversion from 'unsigned char' to 'char'printf.c line 1089     *--p = format.conversion_char;  Project: TestMenu.mcp, Target: INTERNAL_RAM, Source File: printf.cWarning : implicit arithmetic conversion from 'long' to 'unsigned long'printf.c line 1110    unsigned_num = num;  Project: TestMenu.mcp, Target: INTERNAL_RAM, Source File: printf.cWarning : implicit arithmetic conversion from 'long' to 'unsigned long'printf.c line 1130        unsigned_num = -num;  Project: TestMenu.mcp, Target: INTERNAL_RAM, Source File: printf.cWarning : implicit arithmetic conversion from 'unsigned char' to 'char'printf.c line 1141     base = set_base(format.conversion_char);  Project: TestMenu.mcp, Target: INTERNAL_RAM, Source File: printf.cWarning : implicit arithmetic conversion from 'unsigned long' to 'int'printf.c line 1147     n = unsigned_num % base;  Project: TestMenu.mcp, Target: INTERNAL_RAM, Source File: printf.cWarning : implicit arithmetic conversion from 'int' to 'char'printf.c line 1163     *--p = n;  Project: TestMenu.mcp, Target: INTERNAL_RAM, Source File: printf.cWarning : implicit arithmetic conversion from 'long long' to 'unsigned long long'printf.c line 1181    unsigned_num = num;  Project: TestMenu.mcp, Target: INTERNAL_RAM, Source File: printf.cWarning : implicit arithmetic conversion from 'long long' to 'unsigned long long'printf.c line 1200        unsigned_num = -num;           /*- mm 050104 -*/  Project: TestMenu.mcp, Target: INTERNAL_RAM, Source File: printf.cWarning : implicit arithmetic conversion from 'unsigned char' to 'char'printf.c line 1206     base = set_base(format.conversion_char);  Project: TestMenu.mcp, Target: INTERNAL_RAM, Source File: printf.cWarning : implicit arithmetic conversion from 'unsigned long long' to 'int'printf.c line 1212     n = unsigned_num % base;  Project: TestMenu.mcp, Target: INTERNAL_RAM, Source File: printf.cWarning : implicit arithmetic conversion from 'int' to 'char'printf.c line 1228     *--p = n;  Project: TestMenu.mcp, Target: INTERNAL_RAM, Source File: printf.cWarning : implicit arithmetic conversion from 'unsigned long long' to 'unsigned int'printf.c line 1234    return justify_conversion(base, digits, minus, p, buff, format);  Project: TestMenu.mcp, Target: INTERNAL_RAM, Source File: printf.cWarning : implicit arithmetic conversion from 'int' to 'unsigned int'printf.c line 1382    snum = ((unsigned char *)&amp;amp;num)[0] &amp;lt;&amp;lt; 25;  Project: TestMenu.mcp, Target: INTERNAL_RAM, Source File: printf.cWarning : implicit arithmetic conversion from 'unsigned int' to 'long'printf.c line 1395     exp  = snum - (TARGET_FLOAT_MAX_EXP-1);  Project: TestMenu.mcp, Target: INTERNAL_RAM, Source File: printf.cWarning : implicit arithmetic conversion from 'int' to 'unsigned char'printf.c line 1423   orking_byte = (*(q + mantissa_byte)) &amp;gt;&amp;gt; (7 - (mantissa_bit &amp;amp; 7));  Project: TestMenu.mcp, Target: INTERNAL_RAM, Source File: printf.cWarning : implicit arithmetic conversion from 'int' to 'char'printf.c line 1434        *--p = radix_marker;         Project: TestMenu.mcp, Target: INTERNAL_RAM, Source File: printf.cWarning : implicit arithmetic conversion from 'unsigned char' to 'char'printf.c line 1452     *--p = working_byte;  Project: TestMenu.mcp, Target: INTERNAL_RAM, Source File: printf.cWarning : implicit arithmetic conversion from 'int' to 'char'printf.c line 1459      *--p = radix_marker;       /*- mm 011130 -*/  Project: TestMenu.mcp, Target: INTERNAL_RAM, Source File: printf.cWarning : implicit arithmetic conversion from 'int' to 'char'printf.c line 1501    c     = *--p - '0';  Project: TestMenu.mcp, Target: INTERNAL_RAM, Source File: printf.cWarning : implicit arithmetic conversion from 'int' to 'char'printf.c line 1519     c = *--p - '0' + carry;  Project: TestMenu.mcp, Target: INTERNAL_RAM, Source File: printf.cWarning : implicit arithmetic conversion from 'int' to 'char'printf.c line 1525      *p = c + '0';  Project: TestMenu.mcp, Target: INTERNAL_RAM, Source File: printf.cWarning : implicit arithmetic conversion from 'int' to 'unsigned char'printf.c line 1540    dec-&amp;gt;sig.length = new_length;  Project: TestMenu.mcp, Target: INTERNAL_RAM, Source File: printf.cWarning : implicit arithmetic conversion from 'int' to 'char'printf.c line 1688       *--p  = n % 10 + '0';  Project: TestMenu.mcp, Target: INTERNAL_RAM, Source File: printf.cWarning : implicit arithmetic conversion from 'int' to 'char'printf.c line 1692      *--p = sign;  Project: TestMenu.mcp, Target: INTERNAL_RAM, Source File: printf.cWarning : implicit arithmetic conversion from 'unsigned char' to 'char'printf.c line 1693      *--p = format.conversion_char;  Project: TestMenu.mcp, Target: INTERNAL_RAM, Source File: printf.cWarning : implicit arithmetic conversion from 'int' to 'char'printf.c line 1706       *--p = radix_marker;       /*- mm 011130 -*/  Project: TestMenu.mcp, Target: INTERNAL_RAM, Source File: printf.cWarning : implicit arithmetic conversion from 'unsigned char' to 'char'printf.c line 1708      *--p = *dec.sig.text;  Project: TestMenu.mcp, Target: INTERNAL_RAM, Source File: printf.cWarning : implicit arithmetic conversion from 'int' to 'char'printf.c line 1754       *--p = radix_marker;          /*- mm 011130 -*/  Project: TestMenu.mcp, Target: INTERNAL_RAM, Source File: printf.cWarning : implicit arithmetic conversion from 'unsigned long' to 'int'printf.c line 1824      num_chars      = strlen(format_ptr);  Project: TestMenu.mcp, Target: INTERNAL_RAM, Source File: printf.cWarning : implicit arithmetic conversion from 'int' to 'unsigned long'printf.c line 1827    (num_chars &amp;amp;&amp;amp; !(*WriteProc)(WriteProcArg, format_ptr, num_chars)) /*- mm 990325 -*/  Project: TestMenu.mcp, Target: INTERNAL_RAM, Source File: printf.cWarning : implicit arithmetic conversion from 'int' to 'unsigned long'printf.c line 1836    (num_chars &amp;amp;&amp;amp; !(*WriteProc)(WriteProcArg, format_ptr, num_chars))  /*- mm 990325 -*/  Project: TestMenu.mcp, Target: INTERNAL_RAM, Source File: printf.cWarning : implicit arithmetic conversion from 'unsigned long' to 'long'printf.c line 1897        long_num = va_arg(arg, size_t);        /*- mm 020529 -*/    Project: TestMenu.mcp, Target: INTERNAL_RAM, Source File: printf.cWarning : implicit arithmetic conversion from 'unsigned long' to 'long'printf.c line 1963        long_num = va_arg(arg, unsigned long);  Project: TestMenu.mcp, Target: INTERNAL_RAM, Source File: printf.cWarning : implicit arithmetic conversion from 'unsigned long' to 'long'printf.c line 1978        long_num = va_arg(arg, size_t);       /*- mm 020529 -*/  Project: TestMenu.mcp, Target: INTERNAL_RAM, Source File: printf.cWarning : implicit arithmetic conversion from 'unsigned int' to 'long'printf.c line 1985        long_num = va_arg(arg, unsigned int);  Project: TestMenu.mcp, Target: INTERNAL_RAM, Source File: printf.cWarning : implicit arithmetic conversion from 'unsigned long' to 'int'printf.c line 2090        if ((num_chars = wcstombs(buff, wcs_ptr, sizeof(buff))) &amp;lt; 0)  Project: TestMenu.mcp, Target: INTERNAL_RAM, Source File: printf.cWarning : implicit arithmetic conversion from 'int' to 'unsigned long'printf.c line 2115        if ((string_end = (char *) memchr(buff_ptr, 0, num_chars)) != 0)  Project: TestMenu.mcp, Target: INTERNAL_RAM, Source File: printf.cWarning : implicit arithmetic conversion from 'unsigned long' to 'int'printf.c line 2119        num_chars = strlen(buff_ptr);  Project: TestMenu.mcp, Target: INTERNAL_RAM, Source File: printf.cWarning : implicit arithmetic conversion from 'int' to 'short'printf.c line 2142   ase short_argument:     * (short *)     buff_ptr = chars_written; break;  Project: TestMenu.mcp, Target: INTERNAL_RAM, Source File: printf.cWarning : implicit arithmetic conversion from 'int' to 'unsigned long'printf.c line 2148   case size_t_argument:    * (size_t *)   buff_ptr = chars_written; break;  Project: TestMenu.mcp, Target: INTERNAL_RAM, Source File: printf.cWarning : implicit arithmetic conversion from 'int' to 'char'printf.c line 2193       *buff_ptr = va_arg(arg, int);  Project: TestMenu.mcp, Target: INTERNAL_RAM, Source File: printf.cWarning : implicit arithmetic conversion from 'unsigned long' to 'int'printf.c line 2248       num_chars      = strlen(curr_format);  Project: TestMenu.mcp, Target: INTERNAL_RAM, Source File: printf.cWarning : implicit arithmetic conversion from 'int' to 'unsigned long'printf.c line 2251   (num_chars &amp;amp;&amp;amp; !(*WriteProc)(WriteProcArg, curr_format, num_chars)) /*- mm 990325 -*/  Project: TestMenu.mcp, Target: INTERNAL_RAM, Source File: printf.cWarning : implicit arithmetic conversion from 'int' to 'char'printf.c line 2262   l_char = (format.justification_options == zero_fill) ? '0' : ' ';  /*- mm 960722 -*/  Project: TestMenu.mcp, Target: INTERNAL_RAM, Source File: printf.cWarning : implicit arithmetic conversion from 'int' to 'unsigned long'printf.c line 2291   if (num_chars &amp;amp;&amp;amp; !(*WriteProc)(WriteProcArg, buff_ptr, num_chars))  /*- mm 990325 -*/  Project: TestMenu.mcp, Target: INTERNAL_RAM, Source File: printf.cError   : Undefined : "__fwrite"printf.c line 2335   Referenced from "__FileWrite" in Project: TestMenu.mcp, Target: INTERNAL_RAMError   : Undefined : "__num2dec"printf.c line 1299   Referenced from "double2hex" in Project: TestMenu.mcp, Target: INTERNAL_RAMError   : Undefined : "fabs"printf.c line 1462   Referenced from "double2hex" in Project: TestMenu.mcp, Target: INTERNAL_RAMError   : Undefined : "fwide"printf.c line 2363   Referenced from "printf" in Project: TestMenu.mcp, Target: INTERNAL_RAMError   : Undefined : "wcstombs"printf.c line 2092   Referenced from "__pformatter" in Project: TestMenu.mcp, Target: INTERNAL_RAMLink failed. &lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&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;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;..dane&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 May 2010 23:26:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/printf-quot-c-quot-not-working-on-CW-v7-1-2-CF-V2-52259evb/m-p/201913#M4115</guid>
      <dc:creator>audiodane</dc:creator>
      <dc:date>2010-05-21T23:26:42Z</dc:date>
    </item>
    <item>
      <title>Re: printf("%c".. not working on CW v7.1.2, CF V2 (52259evb)</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/printf-quot-c-quot-not-working-on-CW-v7-1-2-CF-V2-52259evb/m-p/201914#M4116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;CrasyCat wrote:&lt;BR /&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have no clue why the override is not working for you.&lt;/P&gt;&lt;P&gt;If you want to get this one investigated, I would recommend you to submit a service request for that.&lt;BR /&gt;&lt;BR /&gt;Click &lt;A href="https://www.freescale.com/webapp/servicerequest.create_SR.framework?regFlag=fromOpenSR" rel="nofollow" target="_blank"&gt;here&lt;/A&gt; to submit a service request.&lt;BR /&gt;&lt;BR /&gt;Make sure to attach a reproducible project and installed product information to the service request.&lt;BR /&gt;To generate the required information:&lt;BR /&gt;- Start CodeWarrior&lt;BR /&gt;- Open the project&lt;BR /&gt;- Select "Help" -&amp;gt; "Pack and Go" and follow instructions on the screen.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Attach the generated .zip file to the SR.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In order to rebuild&amp;nbsp;the library:&lt;/P&gt;&lt;P&gt;&amp;nbsp; - In CodeWarrior open the file {Install}\ColdFire_Support\msl\MSL_C\MSL_ColdFire\Project\MSL_C.CF.SZ.mcp&lt;BR /&gt;&amp;nbsp; - Select build target 4i ColdFire SZ&lt;/P&gt;&lt;P&gt;&amp;nbsp; - Apply the changes in the Project settings&lt;/P&gt;&lt;P&gt;&amp;nbsp; - Build the project. This should generate a new .a file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CrasyCat&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Working on the service request now.&amp;nbsp; Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, I was able to recompile the library just fine-- thank you!!&amp;nbsp;&amp;nbsp; While this is a good interim fix, I do look forward to undersatnding the "better" fix soon from the SR..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 May 2010 23:59:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/printf-quot-c-quot-not-working-on-CW-v7-1-2-CF-V2-52259evb/m-p/201914#M4116</guid>
      <dc:creator>audiodane</dc:creator>
      <dc:date>2010-05-21T23:59:28Z</dc:date>
    </item>
    <item>
      <title>Re: printf("%c".. not working on CW v7.1.2, CF V2 (52259evb)</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/printf-quot-c-quot-not-working-on-CW-v7-1-2-CF-V2-52259evb/m-p/201915#M4117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Service ticket told me how to utilize the full library support.&amp;nbsp; That increased code size by 300% (3x).&amp;nbsp; (yikes!)&amp;nbsp;&amp;nbsp; But it still had problems compiling, telling me I needed to implement InitializeUART, ReadUART, and WriteUART functions, which I never had to do with the SZ library.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Given those two issues (3x code-size increase and additional function definition requirements), I decided to revert back to a custom-compiled library.&amp;nbsp; And to make it easier on other team players, I am going to copy the library files into a project subfolder ({Project}\Lib\Src).&amp;nbsp; That way we're using the same library across the board, and it's archived in case something changes down the road (compiler upgrade, etc).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;..dane&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 May 2010 00:59:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-QorIQ/printf-quot-c-quot-not-working-on-CW-v7-1-2-CF-V2-52259evb/m-p/201915#M4117</guid>
      <dc:creator>audiodane</dc:creator>
      <dc:date>2010-05-26T00:59:20Z</dc:date>
    </item>
  </channel>
</rss>

