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

error " Data segment too large"

i have complete the program
however, when i complier it with keil uVersion 2 c51
it always shown
'data segment too large'
what's wrong?
how can i solve it?

Parents
  • The amount of DATA memory space is only very limited - you have obviously used too much!

    Therefore your need to either
    1. get rid of some variables, or
    2. move some variables out of the DATA memory space and into another; eg, PDATA or XDATA.

    Read Chapter 3, Language Extensions in the manual - it starts with a discussion of the different memory spaces.

Reply
  • The amount of DATA memory space is only very limited - you have obviously used too much!

    Therefore your need to either
    1. get rid of some variables, or
    2. move some variables out of the DATA memory space and into another; eg, PDATA or XDATA.

    Read Chapter 3, Language Extensions in the manual - it starts with a discussion of the different memory spaces.

Children