<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Printf problem in Keil</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/27230/printf-problem-in-keil</link><description> 
Whenever I try to send float value on the UART, the code compiles
perfectly. But when I try to burn in on my LPC2138, it doesn&amp;#39;t burn.
Can you help me in solving my problem? 

 
my code is: 

 
printf(&amp;quot;%f&amp;quot;,AnsAfterNSamples(N)); //where AnsAfterNSamples</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: Printf problem in Keil</title><link>https://community.arm.com/thread/85412?ContentTypeID=1</link><pubDate>Sun, 21 Nov 2010 07:10:34 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:fff13c2c-92be-442c-9c88-0bcaa90eecdb</guid><dc:creator>HansBernhard Broeker</dc:creator><description>&lt;p&gt;&lt;p&gt;
&lt;i&gt;But when I try to burn in on my LPC2138, it doesn&amp;#39;t
burn.&lt;/i&gt;&lt;/p&gt;

&lt;p&gt;
It&amp;#39;s rather obvious that printf() has just about no relevance to
the problem you have. Its ownly influence is that printf() of
floating-point numbers is a complex job, and thus makes your programs
quite a bit bigger.&lt;/p&gt;

&lt;p&gt;
The problem you have is that the flash programming step fails to
work for any address beyond the first 4 kilobytes --- that like you
might be trying to over-use an evaluation version. Well, either that,
or you&amp;#39;ve misconfigured the flash routines.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>