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.

CCS/IWR1642: Why IWR1642 DSP subsystem hanged at soc_init()?

Part Number: IWR1642

Tool/software: Code Composer Studio

hi,

when i compile MMW demo dss project in ccs, it show some warning here. 

When running DSS subsystem in CCS debug mode, it will hang at soc_init().

But when change compiler optimization options from off to o3, still warning there, but will not hang at soc_init() any more.

what is the problem?

Thanks

log is attached.

warning #10370-D: Possible codesize or performance degradation. Section ".text:SOC_init:libsoc_xwr16xx.ae674<soc.oe674>" has calls to rts routines, but rts is placed out of range from call site at 0x20003cc4, or in a different section. To optimize codesize, either 1) place rts closer to call site, or 2) place rts in same section, or 3) compile with --disable_push_pop.
warning #10370-D: Possible codesize or performance degradation. Section ".text:SOC_init:libsoc_xwr16xx.ae674<soc.oe674>" has calls to rts routines, but rts is placed out of range from call site at 0x20003bc0, or in a different section. To optimize codesize, either 1) place rts closer to call site, or 2) place rts in same section, or 3) compile with --disable_push_pop.

  • Hi Wang,

    This could mean the code size  with optimizations off could exceed the size allotted in by the linker/cmd files.

    Please check the .code space used after the compile and allotted space in cmd file during compile.

    Following section in SDK User's guide (applicable to SDK_01_01_xx_xx  ) might be of help :

    6. 4. Shared memory usage by SDK demos (xWR1642)

    Please compare the generated size of code to that from mmWave Demo compile for IWR1642 to see where the size exceeds beyond allotted space.

    Thank you,

    Vaibhav