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

C249 : 'DATA' : SEGMENT TOO LARGE

i obtain this message "C249 : 'DATA' : SEGMENT TOO LARGE" when i build my program; i dont know what's the problem can you give me the solution ?
thanks for your help.

Parents
  • Addendum: Also examine the possibility of changing your memory model for specific functions, especially infrequently-called functions that have large local variable requirements.

    Global variables are also to be avoided. Not only are they poor programming practice, but the space that is allocated for a global variable is not overlayed; that is, it is reserved all the time and makes for an ineffecient use of the 8051's already limited resources.

Reply
  • Addendum: Also examine the possibility of changing your memory model for specific functions, especially infrequently-called functions that have large local variable requirements.

    Global variables are also to be avoided. Not only are they poor programming practice, but the space that is allocated for a global variable is not overlayed; that is, it is reserved all the time and makes for an ineffecient use of the 8051's already limited resources.

Children
No data