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

"SECTION LOCATED OUTSIDE CLASS AREA" warning for SDATA0

Dear all,

I've face with this warning:

linking...
*** WARNING L5: SECTION LOCATED OUTSIDE CLASS AREA
    SECTION: ?SD0?MAINTASK
    CLASS:   SDATA0
Program Size: data=79401(near=12767) const=17429(near=174) code=325782
creating hex file from ".\Obj\CS2000FLASH"...
".\Obj\CS2000FLASH" - 0 Error(s), 1 Warning(s).


In the Options window, under L166 Locate I have entered

SDATA1 (0x0F600-0x1FEFF)

in User Classes box, just for test, but the error comes again. I'm not good at memory management. Please give me a solution for this problem. And also if possible, a link to a good and simple memory management basics reference. I really want to become master in this subject.

Note that "Use memory layout ..." is checked. And almost all the parameters have their default values.

Here is the Target classed:

ICODE (0x10000-0x10FFFF), FCODE (0x10000-0x10FFFF),
FCONST (0x10000-0x10FFFF), HCONST (0x10000-0x10FFFF),
XCONST (0x10000-0x10FFFF), NCONST (0x10000-0x13FFF),
NDATA (0x110000-0x113FFF), NDATA0 (0x110000-0x113FFF),
SDATA (0xE000-0xE7FF, 0xF600-0xFDFF), SDATA0 (0xE000-0xE7FF, 0xF600-0xFDFF),
IDATA (0xF600-0xFDFF), IDATA0 (0xF600-0xFDFF),
FDATA (0x110000-0x18FFFF), FDATA0 (0x110000-0x18FFFF),
HDATA (0x110000-0x18FFFF), HDATA0 (0x110000-0x18FFFF),
XDATA (0x110000-0x18FFFF), XDATA0 (0x110000-0x18FFFF)


and