cancel
Showing results for 
Search instead for 
Did you mean: 

problem with SPRINTF()

amoreno
Associate II
Posted on June 09, 2009 at 23:19

problem with SPRINTF()

4 REPLIES 4
amoreno
Associate II
Posted on February 09, 2009 at 12:51

Sirs, I need you help.

For long time I’m having randomize problems with my STR711 and IAR EWARM 4.41. They are related to SPRINTF().

Usually it worsk fine but when I modify some part of code, then another part code containing a SPRINTF() fails.

Does anybody had or have problems with this function?

Any advice?

I'm thinking to do my own source code for this function :(

Really desperate issue.

Thanks

ALFA.

[ This message was edited by: amoreno on 09-02-2009 18:03 ]

kleshov
Associate II
Posted on February 10, 2009 at 09:07

This could be caused by stack overflow.

paolo239955_stm1
Associate II
Posted on April 09, 2009 at 12:18

Hi, did you solve the sprintf problem ? I am having same problem with ARM9, an I don't think is a stack overflow problem

Regards,

paolo

info37
Associate II
Posted on June 09, 2009 at 23:19

Did you solve the problem with sprintf ?

I'm having an odd result using the %f to convert a float value. But it works fine with decimal values:

sprintf(buffer,''Number: %d'',anInteger); <--- Works fine.

sprintf(buffer,''Decimal: %f'',aFloat); <--- a 0.0 is returned

Mark