This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Memory objects overlap

Hi,


I have a project that used default C6678 platform and I decided to change to a platform that I created.
Now I get an error saying that memory objects overlap, but there are no overlaping objects in the new platform, I've checked in the platform itself and in the .map. Also I'm not using any linker file.
However, the new has platform has objects that would overlap the old platform objects and I think that somehow it's trying to use both platforms, now even if I change to the old platform I can't build the project anymore. In problem window I have:


Description: Memory objects MSMCSRAM_1 and MSMCSRAM_2 overlap
Location: ti.platforms.generic.Platform.Instance#0:MSMCSRAM
Type: XDCTools Configuration Marker


Memory map:
  MSMCSRAM_1          0c000000   003a0000  00024302  0037bcfe  RW X
  MSMCSRAM_2          0c3a0000   00060000  00000000  00060000  RW X

Tools:
XDC: 3.24.5.48
6678PDK: 1.1.2.6
CCS: 5.1.0.9
Compiler: 7.4.0

I tried cleaning and rebuilding the project, but it didn't help.

Any idea of how to solve this problem?
Thanks
J

  • Johannes,

    I wonder if you can find the overlapping memory section in your CCS project (Debug/configPkg/linker.cmd)

    Can you post both .cmd files and your .cfg file?

    What version of SYS/BIOS are you using?

  • Hi Tom,
    I've found out what was happening. I had a platform wich I created in the wizard to divide the MSMCSRAM into two parts, then I copied this folder and edited the Platform.xdc file to make a new platform.
    The first platform had no problem, but when I created the second platform I got the same memory space defined in default Device Memory map and in External Memory. That was the problem.


    Thanks for your help.
    Regards
    Johannes