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
  • Now I've written DT instead of ID:
    ?DT?INNERDATA?INNERDATA (C:300H)
    but the same error L110.
    I understand, that Keil wants to see where I've declared the array and how long is it. Thus, I wrote in a project:

    uchar data innerdata[16];
    


    Keil have changed error message, now it is :
    ERROR L104: MULTIPLE PUBLIC DEFINITIONS
    SYMBOL: INNERDATA,
    this error for some reason (?) applied to all files in the project.
    I do something wrong.

Reply
  • Now I've written DT instead of ID:
    ?DT?INNERDATA?INNERDATA (C:300H)
    but the same error L110.
    I understand, that Keil wants to see where I've declared the array and how long is it. Thus, I wrote in a project:

    uchar data innerdata[16];
    


    Keil have changed error message, now it is :
    ERROR L104: MULTIPLE PUBLIC DEFINITIONS
    SYMBOL: INNERDATA,
    this error for some reason (?) applied to all files in the project.
    I do something wrong.

Children