Re: Floating point calculations on 16 uC
- From: "db" <dbahlmann@xxxxxxxxx>
- Date: 29 Aug 2005 22:58:03 -0700
cbarn24 wrote:
>You dont say what kind of garbage your getting. Stack overruns are easy
>to detect as it will trash your fixed variables starting from the
>highest 1 (check your map file). Sometimes you can have problems with
>far/near pointers. Compile useing the large model and see if your
>problem dissapears. If all else fails disable each interrupt
>individualy.
I don't think it's stack overflow. I have a "stack used" funtion and it
reports almost 3KB not used. My memory model is currently medium. Can
you explain in more detail why this will effect the floating point
variables. Note that this only happens intermittently. Usually the
results are correct. Thanks
.
- Follow-Ups:
- References:
- Floating point calculations on 16 uC
- From: db
- Re: Floating point calculations on 16 uC
- From: cbarn24050
- Floating point calculations on 16 uC
- Prev by Date: efficiency change by dynamic allocation in microprocessor
- Next by Date: Re: efficiency change by dynamic allocation in microprocessor
- Previous by thread: Re: Floating point calculations on 16 uC
- Next by thread: Re: Floating point calculations on 16 uC
- Index(es):
Relevant Pages
|