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

_DATA_GROUP_ Overflow error

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

Parents
  • yup you are right. It makes sence...
    actually the functions i am commenting have to called in the final application that goes into the hardware.

    i want the application to run in Keil so that i can use some simulators which in turn help me time consuming process of loading the app to the hardware every time a make small change. But when i run in Keil some of functions blocks execution because they are expecting some responses from hardware, i just want to comment these functions so that it doesnt block anywhere..

    any idea how to remove this linker error msg i get..

Reply
  • yup you are right. It makes sence...
    actually the functions i am commenting have to called in the final application that goes into the hardware.

    i want the application to run in Keil so that i can use some simulators which in turn help me time consuming process of loading the app to the hardware every time a make small change. But when i run in Keil some of functions blocks execution because they are expecting some responses from hardware, i just want to comment these functions so that it doesnt block anywhere..

    any idea how to remove this linker error msg i get..

Children
  • Most people use either conditional compilation or a special source file with suitably augmented stub functions.

    Let the stub functions send output on a serial port or similar, and possibly extract input from data structures or a serial port. By faking I/O you can run large parts of your logic in the simulator or regression-test large parts of the code without building expensive hardware jigs that creates stimuli.

  • hmm yup that will be my last option :)

    actually i am developing simulator in VC++ and using the AGSI interface facility provided by Keil uVision IDE to hook it up with my application...

    any how this process is becoming complicated so may be i start using stubs iself...
    thanks for the comments :)