Hello all, i have DECT handset based on 8051 controller.. and i also have an application software running on it.
I am planning to run this software in debug mode in Keil IDE itself, so that i can run some keypad simulators interfaced through AGSI driver interface.
SO i commented a funtion call which internally declares some local variables. then the linker gives me this error.. if i uncomment the function call ... every thing works fine...
i am using SMALL memory model...
can anyone please suggest me the reason for it.
error is
*** ERROR L107: ADDRESS SPACE OVERFLOW SPACE: DATA SEGMENT: _DATA_GROUP_ LENGTH: 000050H
thanks, supreet
<bug>identifier=(i am using SMALL memory model...)<endbug>
i had this bug before .you can fix it with the the large model.
thanks for the reply,
yes i had tried using it, then it gives me following error
*** ERROR L121: IMPROPER FIXUP MODULE: .\u-PT\PMM.obj (PMM) SEGMENT: ?PR?DECODE_MM?PMM OFFSET: 000388H
i thought then i have to do some more configuration, hence i switched back to SMALL model...
The problem is i have this pretty big application .. its an complete DECT handset application including protocol stacks and drivers...
i thought of running this in debug mode, so that i can use some simulators for development purpose... this will avoid me from loading the application to hardware every time i change a small menu display...
thanks, Supreet
"i had this bug before .you can fix it with the the large model."
Bug? Why refer to it as a bug? It's intentional, documented behaviour!
And as for the fix - Well, I hope Eric Malund doesn't notice your comment :o
no no no Arthur - Erik will kiss and hug him for using the small memory model :-)
As already noted, it is not a bug.
Using the Large model does not "fix" it - if you only had limited XDATA space, you would get a similar error with the Large model!