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.

IWR6843: DSS binary image size becomes larger

Part Number: IWR6843

Hi TI experts,

3D ppl counting DSS binary image size is 132KB larger after I added the following code in dss_main.c.

#pragma DATA_SECTION(d_stick, ".l3data");
#pragma DATA_ALIGN(d_stick, 4);
..

..
uint32_t d_stick = 0;

Is this normal? Why? How to avoid this problem and still keep the #pragma in the source code?

Thank you,

Daniel

  • Hello Daniel,

    This does seem strange. Can you please give some more information on the intended use for this? Are you just trying to declare a variable that is stored in L3 memory? You will want to be careful how you do this, as both DSS and MSS have access to this section and there are already methods in place to make sure this is defined properly. 

    Regards,

    Jackson

  • Hello Jackson,

    Thanks for the prompt response to my question. I am trying to use L3SRAM for DSS/MSS communications and the above snippet is just an experiment for this purpose.

    According to the projectspec and linker command files,  DSS can use L3SRAM up to 192KB and there is a 132KB L3 heap declaration in dss_main.c, so there should have some free memory available in L3SRAM for DSS/MSS communications if my understanding is correct. However, DSS binary image size becomes 132KB larger which in turn makes MSS metaimage binary image becomes larger as well. Please help support to resolve this problem.

    Thank you,

    Daniel

  • Hello Jackson,

    FYI. I am using CCS 10.4 / Industrial toolbox 4.8.0 / SDK 3.5 / BIOS_6_73_01_01 and I copied dss_main.c to local working project space.

    Thanks.

  • Hi Daniel,

    Which project are you starting from to modify? 

    In any of the projects, the DPC pre-start config function will have an example of how to share memory in L3. You can see one example of this in the location below.

    C:\ti\mmwave_sdk_03_05_00_04\packages\ti\datapath\dpc\objectdetection\objdetrangehwa\src

    Regards,

    Jackson

  • Hi Jackson,

    The problem was resolved. Thank you for your support.

    Best regards,

    Daniel