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.

placement fails for objects ".cinit"

Hello, everyone.

I am using CCS4 and C5505 to debug the code for implementation, the error always occur.

Severity and Description Path Resource Location Creation Time Id
errors encountered during linking; "EZDSP_AudioFilter.out" not built EZDSP_AudioFilter line 0 1335766935234 7941

Severity and Description Path Resource Location Creation Time Id
Linking failed. Check the Console window for details. EZDSP_AudioFilter Unknown 1335766935235 7942

Severity and Description Path Resource Location Creation Time Id
placement fails for object ".cinit", size 0x6d4c (page 0). Available ranges: DARAM size: 0xff40 unused: 0x42ec max hole: 0x4200 EZDSP_AudioFilter line 0 1335766935234 7940

the shortcut as follows:

.

I have tried to modify the stack and heap, but still can not work out.

Once I reduce come group coefficients, the error will disappear, and if I add more group coefficients, error will appear.

Who knows how to solve this problem, I have tried to solve it for two weeks but still get the right way.

Thank you!

  • Hello,

    durich0226 d said:
    Severity and Description Path Resource Location Creation Time Id
    placement fails for object ".cinit", size 0x6d4c (page 0). Available ranges: DARAM size: 0xff40 unused: 0x42ec max hole: 0x4200 EZDSP_AudioFilter line 0 1335766935234 7940

    According to the linker error:

    .cinit is of size: 0x6d4c

    It is trying to fit it in memory range DARAM of which there is only size 0x42ec unused (available). You will need to place this section in a memory range that has the available space.

    durich0226 d said:
    Once I reduce come group coefficients, the error will disappear, and if I add more group coefficients, error will appear.

    Yes, making .cinit smaller is an option since if you make is small enough, it can then fit in the DARAM range.

    durich0226 d said:
    Who knows how to solve this problem, I have tried to solve it for two weeks but still get the right way.

    You will either have to move .cinit to a different memory range with more space, or move the other sections using DARAM so there is more unused space or reduce the size of .cinit.

    Thanks

    ki