Hi All! Have a situation with dallas' DS5250: Keil configuration: Memory Model - Large variables in XDATA Code ROM size - Contiguous mode 512kB User segments: ?PR?MYFUNC?MYFUNC (C:140H)
I'd like to reserve a data space in RAM1. Now, as it can be seen from configuration, I use a part of RAM1 for "MYFUNC" and all is OK. But any attempts to make a data array 256B in the RAM1 cause error messages that "memory overlaped" and some else.
I'm a newbie in the DS5250, so I think, my problem is in syntax in the command line. Please, can anybody help me?
"It can be seen that I use a part of RAM1..."
No, it can't - because you haven't said what "RAM1" is!
"...from address 0x140 for a function"
So you have some RAM mapped into code space?
Yes, I have the "My Func()", mapped to RAM1. RAM0 used for user-loader mode. Beginning of RAM1 contains interrupt vectors, MyFunc(). I want to have a data array in the RAM1 also. I can make a code in the RAM1, but if I try to place in the LX51 Locate, User Segments:
?ID?INNERDATA?INNERDATA (C:300H),
I have the error: ERROR L110: CANNOT FIND SEGMENT SEGMENT: ?ID?INNERDATA?INNERDATA
Earlier I tried another declaration and got error "memory overlaped"
I cannot understand what does compilator require else?