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.

Linker error - MEM segment L1DSRAM: overlaps with another segment or cache configuration

Other Parts Discussed in Thread: CCSTUDIO

I am trying to upgrade to CCSv5 from a ccsv3.2 project.  The 3.2 project builds fine.

The v5 project gives me this error:

'Building file: C:/lteStuff/2011_12_13_faa_drop/Lte/Build/LteDsp.tcf'

'Invoking: TConf Script Compiler'

"C:/ti/xdctools_3_22_04_46/tconf" -b -Dconfig.importPath="C:/CCStudio_v3.2/bios_5_21/packages;C:/lteStuff/2011_12_13_faa_drop/Lte/Build/LteDsp/../../Src/Ti/ndk/inc/tci;C:/lteStuff/2011_12_13_faa_drop/Lte/Build/LteDsp/../../src/TI_DSK;" -DIncludeNDK=1 "C:/lteStuff/2011_12_13_faa_drop/Lte/Build/LteDsp.tcf"

setting clock to 1000MHz

importing ndk.tci

Added NDK period

Added NDK ethernet task

Added commandPort task

js: "C:/lteStuff/2011_12_13_faa_drop/Lte/Build/LteDsp.tcf", line 156: MEM segment CACHE_L1P: overlaps with another segment or cache configuration.

MEM segment CACHE_L1D: overlaps with another segment or cache configuration.

MEM segment L1PSRAM: overlaps with another segment or cache configuration.

MEM segment L1DSRAM: overlaps with another segment or cache configuration.

...  **** Build Finished ****

 

I checked  my LteDsp.tcf file and there are no overlapping segments.  Please help.

Thanks,

Bryan 

  • Hi Bryan,

    Can you attach your .tcf file?

    Todd

  • Here's the tcf: I was just looking at it and noticed that some sections that show up in the UI (CACHE_L1P, CACHE_L1D) are not shown here.  Is that normal?  Attached in the screen shot of the UI.

     

    >>>>>>

    /* Specify the L1 and L2 memory settings */
    var device_regs = {
        l1PMode: "32k",
        l1DMode: "32k",
        l2Mode: "0k"
    };

    if( environment["IncludeNDK"] == 1)
    {// we really mean if we are running on the DSK here
        var params =
        {
            clockRate: 1000,
            catalogName: "ti.catalog.c6000",
            deviceName: "6455",
            regs: device_regs,
        };
        print("setting clock to 1000MHz");
    }
    else
    {// we are running on the target platform
        var params =
        {
            clockRate: 833,
            catalogName: "ti.catalog.c6000",
            deviceName: "6455",
            regs: device_regs,
        };
        print("setting clock to 833MHz");
    }

    utils.loadPlatform("ti.platforms.generic", params);
    if( environment["IncludeNDK"] == 1)
    {
       utils.importFile('..\\Src\\Ti\\ndk\\inc\\tci\\ndk.tci');
       print("importing ndk.tci");
    }
    else
    {
       print("NOT importing ndk.tci");
    }


    /* The following DSP/BIOS Features are enabled.  */
    bios.enableMemoryHeaps(prog);
    bios.enableRealTimeAnalysis(prog);
    bios.enableRtdx(prog);
    bios.enableTskManager(prog);
    bios.IRAM.createHeap = true;

    // Board Specifics

    // - Move all sections to IRAM
    bios.setMemCodeSections(prog, prog.get("IRAM"));
    bios.setMemDataHeapSections(prog, prog.get("IRAM"));
    bios.setMemDataNoHeapSections(prog, prog.get("IRAM"));

    bios.MEM.STACKSIZE = 0x2000;
    bios.MEM.NOMEMORYHEAPS = 0;

    bios.MEM.create("HWI_VEC");
    bios.MEM.instance("HWI_VEC").base = 0x00800000;
    bios.MEM.instance("HWI_VEC").len = 0x000000200;
    bios.MEM.instance("HWI_VEC").createHeap = 0;
    bios.MEM.instance("HWI_VEC").space = "code";

    bios.MEM.create("HPI_HOSTTODSP");
    bios.MEM.instance("HPI_HOSTTODSP").createHeap = 0;
    bios.MEM.instance("HPI_HOSTTODSP").base = 0x00800200;
    bios.MEM.instance("HPI_HOSTTODSP").len = 0x00000408;

    bios.MEM.create("HPI_DSPTOHOST");
    bios.MEM.instance("HPI_DSPTOHOST").createHeap = 0;
    bios.MEM.instance("HPI_DSPTOHOST").base = 0x00800608;
    bios.MEM.instance("HPI_DSPTOHOST").len = 0x00000408;

    bios.MEM.instance("IRAM").createHeap = 1;
    bios.MEM.instance("IRAM").heapSize = 0x00060000;
    bios.MEM.instance("IRAM").base = 0x00800A10;
    bios.MEM.instance("IRAM").len = 0x001F75F0;

    bios.MEM.create("RESERVED_FOR_L2_CACHE");
    bios.MEM.instance("RESERVED_FOR_L2_CACHE").createHeap = 0;
    bios.MEM.instance("RESERVED_FOR_L2_CACHE").base = 0x009F8000;
    bios.MEM.instance("RESERVED_FOR_L2_CACHE").len = 0x00008000;

    bios.MEM.BIOSOBJSEG = prog.get("IRAM");
    bios.MEM.MALLOCSEG = prog.get("IRAM");
    bios.MEM.HWIVECSEG = prog.get("HWI_VEC");

    bios.MEM.create("FPGA_DOWNLOAD");
    bios.MEM.instance("FPGA_DOWNLOAD").createHeap = 0;
    bios.MEM.instance("FPGA_DOWNLOAD").base = 0xE0000000;
    bios.MEM.instance("FPGA_DOWNLOAD").len  = 0x00800000;

    bios.MEM.create("CALIBRATION_DATA");
    bios.MEM.instance("CALIBRATION_DATA").createHeap = 0;
    bios.MEM.instance("CALIBRATION_DATA").base = 0xE0800000;
    bios.MEM.instance("CALIBRATION_DATA").len  = 0x00080000;

    bios.MEM.create("DDR2_CACHE_DISABLED");
    bios.MEM.instance("DDR2_CACHE_DISABLED").createHeap = 0;
    bios.MEM.instance("DDR2_CACHE_DISABLED").base = 0xE0880000;
    bios.MEM.instance("DDR2_CACHE_DISABLED").len  = 0x00780000;

    bios.MEM.create("DDR2");
    bios.MEM.instance("DDR2").base = 0xE1000000;
    bios.MEM.instance("DDR2").len  = 0x03000000;
    bios.MEM.instance("DDR2").createHeap = 1;
    bios.MEM.instance("DDR2").heapSize = 0x03000000;
    bios.MEM.instance("DDR2").enableHeapLabel = 1;
    bios.MEM.instance("DDR2").space = "data";
    bios.MEM.instance("DDR2").heapLabel = prog.extern("exram");

    bios.LOG.create("trace");

    if( environment["IncludeNDK"] == 1)
    {
       bios.PRD.instance("prdNdk").order = 1;
       print("Added NDK period");
    }
    else
    {
       print("NDK period NOT ADDED");
    }

    bios.SWI.instance("PRD_swi").order = 1;
    bios.SWI.instance("KNL_swi").order = 2;

    if( environment["IncludeNDK"] == 1)
    {
       bios.TSK.create("TSK_ethernet");
       bios.TSK.instance("TSK_ethernet").stackSize = 4096;
       bios.TSK.instance("TSK_ethernet").priority = 2;
       bios.TSK.instance("TSK_ethernet").comment = "Priority must be less than 9 since uses ndk stack";
       bios.TSK.instance("TSK_ethernet").fxn = prog.extern("startNetwork");
       bios.TSK.instance("TSK_ethernet").order = 4;
       print("Added NDK ethernet task");
      
       bios.TSK.create("TSK_commandPort");
       bios.TSK.instance("TSK_commandPort").stackSize = 4096;
       bios.TSK.instance("TSK_commandPort").comment = "Priority must be less than 9 since uses ndk stack";
       bios.TSK.instance("TSK_commandPort").fxn = prog.extern("tsk_CmdCtrlPort");
       bios.TSK.instance("TSK_commandPort").order = 1;
       bios.TSK.instance("TSK_commandPort").priority = 2;
       print("Added commandPort task");
    }
    else
    {
       print("NDK ethernet task NOT ADDED");
    }

    bios.MBX.create("MBX_networkOpen");

    // !GRAPHICAL_CONFIG_TOOL_SCRIPT_INSERT_POINT!

    prog.gen();

     

     

    MEM_screenshot.doc
  • Bryan,
    you are using DSP/BIOS 5.21, which is fairly old now, together with XDCtools 3.22.04, which is newer. I am guessing that the combination of files from those two is exposing a bug. Can you switch to a newer version and see if the problem still shows up?

    The error message refers to memory objects L1PSRAM and L1DSRAM, which should not exist because all of L1 memory is used for cache. The memory objects CACHE_L1P and CACHE_L1D are generated by BIOS to reserve the memory space for cache.

    If you can't switch to a newer BIOS, you can try adding these statements at the end of the script to see if they are a workaround:

    bios.MEM.instance("L1PSRAM").destroy();
    bios.MEM.instance("L1DSRAM").destroy();

    I don't see those two memory objects in your screenshot, so the workaround might not work, but a different error message might give a clue.  

  • Thanks - I upgraded to 5.31 and then 5.41 and now get a bunch of new error/warnings.

    They are:

    >>>>>> Errors:

    Description Resource Path Location Type
     LteDsp  line 272, external location: C:\lteStuff\2011_12_13_faa_drop\Lte\Build\LteDspcfg.cmd C/C++ Problem
    #10056 symbol "_MDIO_close" redefined: first defined in LteDsp    C/C++ Problem
    #10056 symbol "_MDIO_getStatus" redefined: first defined in LteDsp    C/C++ Problem
    #10056 symbol "_MDIO_initPHY" redefined: first defined in LteDsp    C/C++ Problem
    #10056 symbol "_MDIO_open" redefined: first defined in LteDsp    C/C++ Problem
    #10056 symbol "_MDIO_phyRegRead" redefined: first defined in LteDsp    C/C++ Problem
    #10056 symbol "_MDIO_phyRegWrite" redefined: first defined in LteDsp    C/C++ Problem
    #10056 symbol "_MDIO_timerTick" redefined: first defined in LteDsp    C/C++ Problem
    #10099-D  LteDsp  line 351, external location: C:\lteStuff\2011_12_13_faa_drop\Lte\Build\LteDspcfg.cmd C/C++ Problem

    >>>>>>>>>>>>  Warning

    _EVENT48 = EVENT48;
    "C:/lteStuff/2011_12_13_faa_drop/Lte/Build/LteDsp/../../Build/LteDspcfg.cmd", line 146: warning #10190-D:
       absolute symbol "_EVENT49" being redefined
    _EVENT49 = EVENT49;
    "C:/lteStuff/2011_12_13_faa_drop/Lte/Build/LteDsp/../../Build/LteDspcfg.cmd", line 147: warning #10190-D:
       absolute symbol "_EVENT50" being redefined
    _EVENT50 = EVENT50;

    ...

    "C:/lteStuff/2011_12_13_faa_drop/Lte/Build/LteDsp/../../Build/LteDspcfg.cmd", line 223: warning #10190-D:
       absolute symbol "_EVENT126" being redefined
    _EVENT126 = EVENT126;
    "C:/lteStuff/2011_12_13_faa_drop/Lte/Build/LteDsp/../../Build/LteDspcfg.cmd", line 224: warning #10190-D:
       absolute symbol "_EVENT127" being redefined
    _EVENT127 = EVENT127;
    "C:/lteStuff/2011_12_13_faa_drop/Lte/Build/LteDsp/../../Build/LteDspcfg.cmd", line 225: warning #10190-D:
       absolute symbol "_PRD_swi" being redefined
    _PRD_swi = PRD_swi;
    "C:/lteStuff/2011_12_13_faa_drop/Lte/Build/LteDsp/../../Build/LteDspcfg.cmd", line 226: warning #10190-D:
       absolute symbol "_KNL_swi" being redefined
    _KNL_swi = KNL_swi;
    "C:/lteStuff/2011_12_13_faa_drop/Lte/Build/LteDsp/../../Build/LteDspcfg.cmd", line 227: warning #10190-D:
       absolute symbol "_TSK_idle" being redefined
    _TSK_idle = TSK_idle;
    "C:/lteStuff/2011_12_13_faa_drop/Lte/Build/LteDsp/../../Build/LteDspcfg.cmd", line 228: warning #10190-D:
       absolute symbol "_TSK_commandPort" being redefined
    _TSK_commandPort = TSK_commandPort;
    "C:/lteStuff/2011_12_13_faa_drop/Lte/Build/LteDsp/../../Build/LteDspcfg.cmd", line 229: warning #10190-D:
       absolute symbol "_TSK_ethernet" being redefined
    _TSK_ethernet = TSK_ethernet;
    "C:/lteStuff/2011_12_13_faa_drop/Lte/Build/LteDsp/../../Build/LteDspcfg.cmd", line 230: warning #10190-D:
       absolute symbol "_IDL_cpuLoad" being redefined
    _IDL_cpuLoad = IDL_cpuLoad;
    "C:/lteStuff/2011_12_13_faa_drop/Lte/Build/LteDsp/../../Build/LteDspcfg.cmd", line 231: warning #10190-D:
       absolute symbol "_LNK_dataPump" being redefined
    _LNK_dataPump = LNK_dataPump;
    "C:/lteStuff/2011_12_13_faa_drop/Lte/Build/LteDsp/../../Build/LteDspcfg.cmd", line 232: warning #10190-D:
       absolute symbol "_RTA_dispatcher" being redefined
    _RTA_dispatcher = RTA_dispatcher;
    "C:/lteStuff/2011_12_13_faa_drop/Lte/Build/LteDsp/../../Build/LteDspcfg.cmd", line 233: warning #10190-D:
       absolute symbol "_LOG_system" being redefined
    _LOG_system = LOG_system;
    "C:/lteStuff/2011_12_13_faa_drop/Lte/Build/LteDsp/../../Build/LteDspcfg.cmd", line 234: warning #10190-D:
       absolute symbol "_trace" being redefined
    _trace = trace;
    "C:/lteStuff/2011_12_13_faa_drop/Lte/Build/LteDsp/../../Build/LteDspcfg.cmd", line 235: warning #10190-D:
       absolute symbol "_MBX_networkOpen" being redefined
    _MBX_networkOpen = MBX_networkOpen;
    "C:/lteStuff/2011_12_13_faa_drop/Lte/Build/LteDsp/../../Build/LteDspcfg.cmd", line 236: warning #10190-D:
       absolute symbol "_IDL_busyObj" being redefined
    _IDL_busyObj = IDL_busyObj;
    "C:/lteStuff/2011_12_13_faa_drop/Lte/Build/LteDsp/../../Build/LteDspcfg.cmd", line 237: warning #10190-D:
       absolute symbol "_HOOK_KNL" being redefined
    _HOOK_KNL = HOOK_KNL;

    ...

    "C:/lteStuff/2011_12_13_faa_drop/Lte/Build/LteDsp/../../Build/LteDspcfg.cmd", line 343: warning #10190-D:
       absolute symbol "IDL_A_CALEND" being redefined
            IDL_A_CALEND = .;
    "C:/lteStuff/2011_12_13_faa_drop/Lte/Build/LteDsp/../../Build/LteDspcfg.cmd", line 344: warning #10190-D:
       absolute symbol "IDL_A_CALLEN" being redefined
            IDL_A_CALLEN = (. - IDL_A_CALBEG) / 4;
    "C:/lteStuff/2011_12_13_faa_drop/Lte/Build/LteDsp/../../Build/LteDspcfg.cmd", line 352: warning #10190-D:
       absolute symbol "DDR2$B" being redefined
                DDR2$B = .;
    "C:/lteStuff/2011_12_13_faa_drop/Lte/Build/LteDsp/../../Build/LteDspcfg.cmd", line 353: warning #10190-D:
       absolute symbol "_DDR2_base" being redefined
                _DDR2_base = .;
    "C:/lteStuff/2011_12_13_faa_drop/Lte/Build/LteDsp/../../Build/LteDspcfg.cmd", line 360: warning #10190-D:
       absolute symbol "HWI_A_VECS" being redefined
                HWI_A_VECS = .;
    "C:/lteStuff/2011_12_13_faa_drop/Lte/Build/LteDsp/../../Build/LteDspcfg.cmd", line 445: warning #10190-D:
       absolute symbol "MBX_networkOpen$queElems" being redefined
                MBX_networkOpen$queElems = .;
    "C:/lteStuff/2011_12_13_faa_drop/Lte/Build/LteDsp/../../Build/LteDspcfg.cmd", line 450: warning #10190-D:
       absolute symbol "_SYS_PUTCBEG" being redefined
               _SYS_PUTCBEG = .;
    "C:/lteStuff/2011_12_13_faa_drop/Lte/Build/LteDsp/../../Build/LteDspcfg.cmd", line 452: warning #10190-D:
       absolute symbol "_SYS_PUTCEND" being redefined
               _SYS_PUTCEND = . - 1;
    "C:/lteStuff/2011_12_13_faa_drop/Lte/Build/LteDsp/../../Build/LteDspcfg.cmd", line 456: warning #10190-D:
       absolute symbol "GBL_stackbeg" being redefined
                GBL_stackbeg = .;
    "C:/lteStuff/2011_12_13_faa_drop/Lte/Build/LteDsp/../../Build/LteDspcfg.cmd", line 458: warning #10190-D:
       absolute symbol "GBL_stackend" being redefined
                GBL_stackend = GBL_stackbeg + 0x2000 - 1;
    "C:/lteStuff/2011_12_13_faa_drop/Lte/Build/LteDsp/../../Build/LteDspcfg.cmd", line 459: warning #10190-D:
       absolute symbol "_HWI_STKBOTTOM" being redefined
                _HWI_STKBOTTOM = GBL_stackbeg + 0x2000 - 4 & ~7;
    "C:/lteStuff/2011_12_13_faa_drop/Lte/Build/LteDsp/../../Build/LteDspcfg.cmd", line 460: warning #10190-D:
       absolute symbol "_HWI_STKTOP" being redefined
                _HWI_STKTOP = GBL_stackbeg;
    "C:/lteStuff/2011_12_13_faa_drop/Lte/Build/LteDsp/../../Build/LteDspcfg.cmd", line 464: warning #10190-D:
       absolute symbol "HST_A_TABBEG" being redefined
                 HST_A_TABBEG = .;
    "C:/lteStuff/2011_12_13_faa_drop/Lte/Build/LteDsp/../../Build/LteDspcfg.cmd", line 465: warning #10190-D:
       absolute symbol "_HST_A_TABBEG" being redefined
                _HST_A_TABBEG = .;
    "C:/lteStuff/2011_12_13_faa_drop/Lte/Build/LteDsp/../../Build/LteDspcfg.cmd", line 467: warning #10190-D:
       absolute symbol "HST_A_TABEND" being redefined
                HST_A_TABEND = .;
    "C:/lteStuff/2011_12_13_faa_drop/Lte/Build/LteDsp/../../Build/LteDspcfg.cmd", line 468: warning #10190-D:
       absolute symbol "_HST_A_TABEND" being redefined
                _HST_A_TABEND = .;
    ...

                 PIP_A_TABLEN = (. - _PIP_A_TABBEG) / 100;
    "C:/lteStuff/2011_12_13_faa_drop/Lte/Build/LteDsp/../../Build/LteDspcfg.cmd", line 490: warning #10190-D:
       absolute symbol "_PIP_A_TABLEN" being redefined
                _PIP_A_TABLEN = (. - _PIP_A_TABBEG) / 100;
    "C:/lteStuff/2011_12_13_faa_drop/Lte/Build/LteDsp/../../Build/LteDspcfg.cmd", line 494: warning #10190-D:
       absolute symbol "STS_A_TABBEG" being redefined
                 STS_A_TABBEG = .;
    "C:/lteStuff/2011_12_13_faa_drop/Lte/Build/LteDsp/../../Build/LteDspcfg.cmd", line 495: warning #10190-D:
       absolute symbol "_STS_A_TABBEG" being redefined
                _STS_A_TABBEG = .;
    "C:/lteStuff/2011_12_13_faa_drop/Lte/Build/LteDsp/../../Build/LteDspcfg.cmd", line 497: warning #10190-D:
       absolute symbol "STS_A_TABEND" being redefined
                STS_A_TABEND = .;
    "C:/lteStuff/2011_12_13_faa_drop/Lte/Build/LteDsp/../../Build/LteDspcfg.cmd", line 498: warning #10190-D:
       absolute symbol "_STS_A_TABEND" being redefined
                _STS_A_TABEND = .;
    "C:/lteStuff/2011_12_13_faa_drop/Lte/Build/LteDsp/../../Build/LteDspcfg.cmd", line 499: warning #10190-D:
       absolute symbol "STS_A_TABLEN" being redefined
                 STS_A_TABLEN = (. - _STS_A_TABBEG) / 16;
    "C:/lteStuff/2011_12_13_faa_drop/Lte/Build/LteDsp/../../Build/LteDspcfg.cmd", line 500: warning #10190-D:
       absolute symbol "_STS_A_TABLEN" being redefined
                _STS_A_TABLEN = (. - _STS_A_TABBEG) / 16;
    "C:/lteStuff/2011_12_13_faa_drop/Lte/Build/LteDsp/../../Build/LteDspcfg.cmd", line 504: warning #10190-D:
       absolute symbol "IRAM$B" being redefined
                IRAM$B = .;
    "C:/lteStuff/2011_12_13_faa_drop/Lte/Build/LteDsp/../../Build/LteDspcfg.cmd", line 505: warning #10190-D:
       absolute symbol "_IRAM_base" being redefined
                _IRAM_base = .;
    error #10010: errors encountered during linking;
       "C:/lteStuff/2011_12_13_faa_drop/Lte/Build/LteDsp/../../bin/DSK6482/LteDsp.o
       ut" not built
    gmake: *** [C:/lteStuff/2011_12_13_faa_drop/Lte/Build/LteDsp/../../bin/DSK6482/LteDsp.out] Error 1
    gmake: Target `main-build' not remade because of errors.

    **** Build Finished ****

  • It seems that you have two linker command files with the same content in your project, and one of them is LteDspcfg.cmd. Can you check your console output and find if the link command line has more files with the .cmd extension? If you do, one of these should be excluded from the build.

    You can also post that command line so I can check is there anything else unusual there.

  • I could not find two linker files.  Here is my output.  I had to supress warnings because there were too many and I could scroll all the way up.

     

    **** Build of configuration DSK6482 for project LteDsp ****

    C:\ti\ccsv5\utils\bin\gmake -k pre-build main-build

    "C:/lteStuff/2011_12_13_faa_drop/Lte/Build/LteDsp/preBuildStep_DSK6482.bat"

    Could Not Find C:\lteStuff\2011_12_13_faa_drop\Lte\Build\*.s62

    Could Not Find C:\lteStuff\2011_12_13_faa_drop\Lte\Build\*.h62

    ' '

    'Building target: C:/lteStuff/2011_12_13_faa_drop/Lte/Build/LteDsp/../../bin/DSK6482/LteDsp.out'

    'Invoking: C6000 Linker'

    'Flags: -mv6400+ -g -O3 -ms0 --define="_DSK_BUILD" --define="_USE_ETHERNET" --define="_cplusplus" --define="_DSP" --define="TI_DSP_64X" --define="CACHE_LARGE" --define="COMPOSER_64X" --define="VCP_IN_USE" --define="_SNR_" --display_error_number --diag_warning=225 --abi=coffabi --obj_directory="C:/lteStuff/2011_12_13_faa_drop/Lte/Build/LteDsp/../../bin/DSK6482" -z -m"C:/lteStuff/2011_12_13_faa_drop/Lte/Build/LteDsp/../../bin/DSK6482/LteDsp.map" --warn_sections --no_warnings -i"C:/ti/ccsv5/tools/compiler/c6000/lib" -i"C:/ti/ccsv5/tools/compiler/c6000/include" -i"C:/lteStuff/2011_12_13_faa_drop/Lte/Build/LteDsp/../../Src/TiLteLib/cixcvrProductEC/LTE/lib/csl_3x_C6482_v3_00_10_01" -i"C:/ti/bios_5_41_11_38/packages/ti/rtdx/lib/c6000" -i"C:/ti/bios_5_31_09/packages/ti/bios/lib" -i"C:/lteStuff/2011_12_13_faa_drop/Lte/Build/LteDsp" -i"C:/lteStuff/2011_12_13_faa_drop/Lte/Build/LteDsp/../../Build" --reread_libs --ram_model'

    "C:/ti/ccsv5/tools/compiler/c6000/bin/cl6x" -@"ccsLinker.opt" -o "C:/lteStuff/2011_12_13_faa_drop/Lte/Build/LteDsp/../../bin/DSK6482/LteDsp.out"

    <Linking>

    "LteDspcfg.cmd", line 262: error: CACHE_L1P memory range has already been specified

    ...

  • I noticed I was pointing to two versions of bios:

     

    "C:/ti/bios_5_41_11_38/packages/ti/rtdx/lib/c6000"

    -i"C:/ti/bios_5_31_09/packages/ti/bios/lib"

    I changed it so I am now using 5.41.11.38 throughout.  I get the same linker problems though.

  • I notice I now get this error:

     

    error #10056: symbol "_MDIO_open" redefined: first defined in
       "C:/lteStuff/2011_12_13_faa_drop/Lte/Src/TiLteLib/cixcvrProductEC/LTE/lib/csl_3x_C6482_v3_00_10_01/csl_c6482.lib<csl_mdio.o>"; redefined in
       "C:/lteStuff/2011_12_13_faa_drop/Lte/Src/Ti/ndk/lib/hal/dsk6455/hal_eth_c6455.lib<c6455_mdio.o64P>"

     

    I believe the ccsv3.2 project has both of these lib in the prj file.  Should I remove one of the libs?  If so which one?

  • I'm getting closer:

     

    I did have two command files but that in of itself was not the problem.  The problem one cmd file had this line:

    -lLteDspcfg.cmd

    That caused LteDspcfg.cmd to be called twice.  So now the memory sections problem went away.

     

    I still have these errors:

    error #10056: symbol "_MDIO_timerTick" redefined: first defined in

    "C:/lteStuff/2011_12_13_faa_drop/Lte/Src/TiLteLib/cixcvrProductEC/LTE/lib/csl_3x_C6482_v3_00_10_01/csl_c6482.lib<csl_mdio.o>"; redefined in

    "C:/lteStuff/2011_12_13_faa_drop/Lte/Src/Ti/ndk/lib/hal/dsk6455/hal_eth_c6455.lib<c6455_mdio.o64P>"

     

    How do I fix this problem??  I need both of these libraries.

  • I am going to create a new thread because the original problem (multiple cmd files) has been solved.