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.

AWR1843AOP: How to change the memory configuration in MSS?

Part Number: AWR1843AOP

Tool/software:

The first screenshot is r4f_linker_cmd, and second is memory allocation.

I'm using most of the Datam RAM ( as i need a lot of fast-access global variables ). So, i want to use some of the relatively more available Program RAM for the same purpose.

If this is possible, please let me know how to allocate memory(.bss or .data) sections to Program RAM as well.

Also, I am curious about the relative access speeds to the memory of Program RAM and Data RAM in the MSS core.

Thanks.

  • Hi Kang,

    You can modify the linker file as per your application. Please refer to the following page for more information - 

    TI Linker Command File Primer

    We don't have any specific data for the access speed.

    Regards,

    Shruti

  • Hi gupta,

    I am aware through another user's question that it is possible to allocate the .bss or .data sections to Program RAM (TCMA) instead of Data RAM (TCMB).

    However, I still have doubts about whether it can be used correctly. As you can see from the linker file, the attributes of PROG_RAM are RX.

    But typically, variables need to be stored in memory that is writable. The main point is whether it is possible to allocate a readable and writable memory area

    in the TCMA memory region and use it for variables.

    If i modify the linke as example blow, is it possible to operate the module?

    MEMORY{
       PAGE 0:
           VECTORS (X) : origin=0x00000000 length=0x00000100
           PROG_RAM (RX) : origin=0x00000100 length=0x00040000         << modified
           TEMP_RAM (RW) : origin=0x00040000 length=0x0007FF00        << modified
           DATA_RAM (RW) : origin=0x08000000 length=0x00030000
           L3_RAM (RW) : origin=0x51000000 length=MMWAVE_L3RAM_SIZE
           HWA_RAM (RW) : origin=0x52030000 length=0x00010000
           HS_RAM (RW) : origin=0x52080000 length=0x8000
       PAGE 1:
           L3_RAM (RW) : origin=0x51000000 length=MMWAVE_L3RAM_SIZE
    }

    Thanks.

  • Hi Kang,

    You can try and check the same at your end, if it is not valid, then you will get the error message.

    Regards,

    Shruti