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

how to overcome to data segment too large problem

respected sir /mam, iam working with KEIL VISION2 & I am not understand why it show the error data segment too large after running the program.how i overcome to this problem please explain clearly.i am using AT89S8252 wiyh it....

thanks & regards
atul dixit

Parents
  • Think about it: all computers (including microcontrollers) have only a finite amount of memory; if you try to use more memory than is available, that is obviously an error - isn't it?!

    You have 2 choices:

    1. Re-write your program so that it uses less memory altogether;

    2. Move some of your variables from DATA memory into XDATA memory.

Reply
  • Think about it: all computers (including microcontrollers) have only a finite amount of memory; if you try to use more memory than is available, that is obviously an error - isn't it?!

    You have 2 choices:

    1. Re-write your program so that it uses less memory altogether;

    2. Move some of your variables from DATA memory into XDATA memory.

Children