Can some one tell me how to solve the following problem: When try to compile my code I receive the message: DATA Segment Too Large. I dont know if its a porblem of the SE - uVision2 or of I making any mistake. Thanks Amilcar
What memory model are you using, and how much data (data, idata, pdata, xdata) do you have declared?
Hi, This is you are utilized more than teh available memory. In 8051 only 128Byte is direct addressible, Some MCU have 256Byte RAm , So you must use Byte idata variable to shift this data into idata location , some may have more tahn 256Byte the you use xdata to shift the loaction . If you writing a program in C then no problem but if you write in assembly tehn you have to take special care to move your varibel.