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.

Linking problems with Reuse Startup Code Space option set

DSP C6413 

"Reuse Startup Code Space" in DSP/BIOS (5.32.03) configuration makes this GROUP appear in generated linker cmd file:

GROUP {
            .sysinitgap {. += 0x8;}
            .sysinit:
            .IRAM$heap: {
                _IRAM_base = IRAM$B;
                _IRAM_length = IRAM$L;
                . += 0x2000;
            }
        } START(IRAM$B), SIZE(IRAM$L) > IRAM

new linker (Code Generation Tools 6.1.2) complains:

error: symbol "IRAM$B" used in expression before it
   has been assigned a value

and

 error: symbol "IRAM$L" used in expression before it
   has been assigned a value

without this option set this part of the file looks like this: 

  .IRAM$heap: {
            IRAM$B = .;
            _IRAM_base = .;
            IRAM$L = 0x2000;
            _IRAM_length = 0x2000;
            . += 0x2000;
        } > IRAM

Any suggestions?

  • I moved your question to the C6000 forum to see if can get an answer for you. 

  • Hello,

    It looks like this might be related to a known linker issue of Code Generation Tools version 6.1.x. I suggest trying CGT version 6.0.14 as this version of BIOS was built and validated on that version. From the Release Notes for BIOS 5.32.03:

    Validation Information

    This release was built using the following components:

    • C28x  Code Generation Tools version 5.0.0B2
    • C55x Code Genereation Tools version 3.3.2
    • C6x Code Generation Tools version 6.0.14

    This release was validated using the following components:

    • CCS 3.3
    • C28x  Code Generation Tools version 5.0.0B2
    • C55x Code Genereation Tools version 3.3.2
    • C6x Code Generation Tools version 6.0.14