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
  • MyFunc allocated on address 0x140, in the inner area, not on 0x1400, that is external area. I also tried:
    ?PR?MYFUNC?MYFUNC (C:80H),
    and this works, also I saw in the debug mode where the MyFunc() allocated, all is OK, it was on the 0x80 address.

    Sorry I didn't supplied additional information abot the RAM1 size, because of I thought it is clear from the topic header "DS5250...". DS5250 has RAM0, RAM1 1024 Bytes length.

Reply
  • MyFunc allocated on address 0x140, in the inner area, not on 0x1400, that is external area. I also tried:
    ?PR?MYFUNC?MYFUNC (C:80H),
    and this works, also I saw in the debug mode where the MyFunc() allocated, all is OK, it was on the 0x80 address.

    Sorry I didn't supplied additional information abot the RAM1 size, because of I thought it is clear from the topic header "DS5250...". DS5250 has RAM0, RAM1 1024 Bytes length.

Children