[Icc-avr] stack size needed to use fp?

Paul Mateer paul.aa9gg at gmail.com
Tue Apr 29 05:39:45 PDT 2008


Hi Bob....

I use floating point quite a bit actually with the Mega32 and Mega6490.
Typically my stack return is around 255 (0xFF).  Dumb question...do you have
floating point selected for printf version?  I also use "Strings in Flash"
option.

On Tue, Apr 29, 2008 at 7:29 AM, <BobGardner at aol.com> wrote:

>  Hello imagecraft users. I have had 'problems' with my programs going nuts
> and the common theme seems to be something to do with fp print or fp divide.
> I'll ask for forgiveness for using fp right now. But I'd like one or two
> folks out there to edit and compile a simple program using floats and %7.1f
> format spec and tell me if it runs ok with hw stack of 0x80 or the hw stack
> has to be larger to run. I've tried every stack size up to 0x400 and still
> get blowups and strings of garbage printed out. I can dump ram and see a
> repeating pattern all thru ram. This would obviously clobber the stack, but
> if this is a 'bug', how could it be in version after version and no one else
> run into it? If its my arcane programming style, then I need some help bad.
> Thanks for reading.
>
>
>
>
> ------------------------------
> Need a new ride? Check out the largest site for U.S. used car listings at AOL
> Autos <http://autos.aol.com/used?NCID=aolcmp00300000002851>.
>
> _______________________________________________
> Icc-avr mailing list
> Icc-avr at imagecraft.com
> http://dragonsgate.net/mailman/listinfo/icc-avr
>
>


-- 
Paul Mateer, AA9GG
Elan Engineering Corp.
www.elanengr.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://dragonsgate.net/pipermail/icc-avr/attachments/20080429/be1c5a3d/attachment-0001.html


More information about the Icc-avr mailing list