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

DS5250 configuration

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?

Parents
  • "I do something wrong."

    Yes. You have selected the "trial and error" methodology. It is known to produce long sequences of failures.

    How can you have multiple public definitions? Do you have the variable in multiple C files? Or did you add your line in a header file, resulting in one copy of the variable for every C file including that header file?

Reply
  • "I do something wrong."

    Yes. You have selected the "trial and error" methodology. It is known to produce long sequences of failures.

    How can you have multiple public definitions? Do you have the variable in multiple C files? Or did you add your line in a header file, resulting in one copy of the variable for every C file including that header file?

Children
  • How can you have multiple public definitions? Do you have the variable in multiple C files?
    I don't have this variable in multiple C files. I've specially wrote
    ?DT?YOUNGLADY?YOUNGLADY....
    in the command line to avoid any random conflicts of names:) The problem is in the syntax in the command line, I wrote something wrong. Where can I find examples of declarations in the command line?