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

Compiler Error

Hello,
I am using the keil compiler evaluation version, my program was compiling without any errors and i was also able to debug my program, but as i was expanding the program, one error has started "DATA : segment too LARGE".
Is this error becauae of the limitation of the compiler my code is nearly 500 lines now.
Please help
regards
Rucha

Parents
  • Is this error becauae of the limitation of the compiler my code is nearly 500 lines now.<p>

    Are you using the evaluation version ?

    That aside, I do not think that running out of DATA memory has anything to do with CODE size.

    It is more likely that you are using too much data memory in your program. Either find a way to reduce the memory footprint by using more efficient implementations, or, if that is not possible, use other memory types (idata or xdata), if available on your chip.

Reply
  • Is this error becauae of the limitation of the compiler my code is nearly 500 lines now.<p>

    Are you using the evaluation version ?

    That aside, I do not think that running out of DATA memory has anything to do with CODE size.

    It is more likely that you are using too much data memory in your program. Either find a way to reduce the memory footprint by using more efficient implementations, or, if that is not possible, use other memory types (idata or xdata), if available on your chip.

Children