This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

wierd

Hello:

I'm using ADuc845,C51, uVersion3 V3.53.

Code consist of:
application_0 "apl_0" loaded at 0x0000 and
application_1 "apl_1" loaded at 0xC000.

At some point "apl_0" switch to "apl_1".

And then at some point "apl_1" switch to "apl_0".

Both "apl_0" and "apl_1 use"

function pow(...) from <math.h>.

Averything worked fine until i removed calls to
pow(...).

After that "apl_0" could't switch to "apl_1" and

"apl_1" could't switch to "apl_0".

Both "apl_0" and "apl_1" use only "idata".
Code optimization level = 2;

By adding just one call to pow(...) removes
my problems.

Does somebody know where the bug ?

0