<?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>atof() function problem</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/27477/atof-function-problem</link><description> 
I am using keil IDE for arm7 (LPC2138 by NXP) programming. 
Here is my code. 
&amp;gt;&amp;gt; 
#include &amp;lt;LPC213X.H&amp;gt; 
#include &amp;quot;Stdlib.h&amp;quot; 
#include &amp;quot;Serial.h&amp;quot; 
void initialize(void); 
int main () { float number; int i; 

 
initialize(); UART0_sendstring(&amp;quot;Here 1\r</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: atof() function problem</title><link>https://community.arm.com/thread/105152?ContentTypeID=1</link><pubDate>Wed, 03 Aug 2011 06:38:32 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:05f4df1f-ec3e-4bf0-a54d-ef8de3157107</guid><dc:creator>ImPer Westermark</dc:creator><description>&lt;p&gt;&lt;p&gt;
This subject also covered in duplicate thread:&lt;br /&gt;
&lt;a href="http://www.keil.com/forum/19330/"&gt;http://www.keil.com/forum/19330/&lt;/a&gt;&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: atof() function problem</title><link>https://community.arm.com/thread/79480?ContentTypeID=1</link><pubDate>Wed, 03 Aug 2011 00:42:45 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:5cb94fb1-94fa-49a3-b705-60e9e0e12e82</guid><dc:creator>Salman Liaquat</dc:creator><description>&lt;p&gt;&lt;p&gt;
I am using the default startup code for stack configurations.&lt;br /&gt;
These are the the stack configurations&lt;/p&gt;

&lt;p&gt;
UND_Stack_Size EQU 0x00000000&lt;br /&gt;
SVC_Stack_Size EQU 0x00000008&lt;br /&gt;
ABT_Stack_Size EQU 0x00000000&lt;br /&gt;
FIQ_Stack_Size EQU 0x00000000&lt;br /&gt;
IRQ_Stack_Size EQU 0x00000080&lt;br /&gt;
USR_Stack_Size EQU 0x00000400&lt;/p&gt;

&lt;p&gt;
ISR_Stack_Size EQU (UND_Stack_Size + SVC_Stack_Size +
ABT_Stack_Size + \ FIQ_Stack_Size + IRQ_Stack_Size)&lt;/p&gt;

&lt;p&gt;
AREA STACK, NOINIT, READWRITE, ALIGN=3&lt;/p&gt;

&lt;p&gt;
Stack_Mem SPACE USR_Stack_Size&lt;br /&gt;
__initial_sp SPACE ISR_Stack_Size&lt;/p&gt;

&lt;p&gt;
Stack_Top&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: atof() function problem</title><link>https://community.arm.com/thread/66801?ContentTypeID=1</link><pubDate>Wed, 03 Aug 2011 00:32:08 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:0a357572-cc11-4408-91cc-e8d12c904fd3</guid><dc:creator>ImPer Westermark</dc:creator><description>&lt;p&gt;&lt;p&gt;
Do you have enough stack? If you get a stack overflow, you can&amp;#39;t
really tell what will happen - an irrelevant change to a function
parameter may make a huge difference.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>