 | Discussion Forum |  |
|
|
error " Data segment too large"Next Thread | Thread List | Previous Thread Start a Thread | Settings | Details | Message |
|---|
Read-Only Author ry uran Posted 16-Sep-2002 19:09 GMT Toolset C51 |  error " Data segment too large" ry uran 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? | | Read-Only Author Walt Conley Posted 16-Sep-2002 21:21 GMT Toolset C51 |  RE: error " Data segment too large" Walt Conley Refer to the answer from the last time this question was asked.
http://www.keil.com/forum/docs/thread1114.asp
-Walt | | Read-Only Author Andrew Neil Posted 16-Sep-2002 21:25 GMT Toolset C51 |  RE: error " Data segment too large" Andrew Neil 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. | | Read-Only Author Rajesh Thangella Posted 21-Sep-2002 20:02 GMT Toolset C51 |  RE: error " Data segment too large" Rajesh Thangella First try putting some of the vars in idata instead and try.If that does not work,just move some of them to pdata/xdata. RAJESH | |
Next Thread | Thread List | Previous Thread Start a Thread | Settings |
|