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.

Compiler/AWR1843BOOST: Automotive toolbox 3.0 Lab 3 "occupancy_detection" issue

Part Number: AWR1843BOOST


Tool/software: TI C/C++ Compiler

Hi,

I try to copy the code from the vital sign section of lab 10 to lab 3, and it was happened some error after compiled (fig. 1).

I found the L2SRAM_UMAP0 and 1 are full, the size of .text section is too big.

So I want to reduce the size of .text section of L2SRAM or move some part of the .text section to L3.

How can I do this and do not make too much effect on the original performance ?

Thanks.

Morris

fig. 1

  • Hello Morris,

    You can clean up the code and remove some unused feature or code to get some free room in L2 memory.

    gCQRxSigImgMemory, gCQRxSatMonMemory: these uses l2data sections ;   #pragma DATA_SECTION(gCQRxSatMonMemory, ".l2data");

    And make a specific code to copy on L3 section, and provide that section in linker command file

    c674x_linker.cmd:  .text:new_function > L3SRAM 

    You need to make sure that this section is not being overwritten while you do the signal processing on DSP.

     

    Regards,

    Jitendra