[Icc-avr] stack size needed to use fp?
Mike Uihlein
MUihlein at 3psinc.com
Tue Apr 29 06:06:55 PDT 2008
Just a thought but...
I had very similar problem (repeating pattern all thru ram) and random
blowups when I simply made a mistake on how I declared variables and the
program was compiled using multiple modules. I cannot remember exactly,
but I missed some "externs" or had some type of nested declaration. It
was a simple mistake, but had the same symptom.
Mike Uihlein
3PS, Inc.
512-610-5209
muihlein at 3psinc.com
-----Original Message-----
From: icc-avr-bounces at imagecraft.com
[mailto:icc-avr-bounces at imagecraft.com] On Behalf Of BobGardner at aol.com
Sent: Tuesday, April 29, 2008 7:30 AM
To: icc-avr at imagecraft.com
Subject: [Icc-avr] stack size needed to use fp?
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> .
More information about the Icc-avr
mailing list