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/AM3358: Memory allocation with gnu compiler

Part Number: AM3358

Tool/software: Code Composer Studio

Hi,

Does Memory Allocation function in CCS v7 support executable files built with the gun compiler?
It is displayed as 0%.

It seems that it supports an executable file built with the cgt compiler.

view->Memory Allocaion

Does it support CCSv8?

Best Regards,
Shigehiro Tsuda

  • Shigehiro,

    This is a known bug shown in the bug report CCSIDE-3337 (you can check its status in the link SDOWP in my signature below).

    A suitable workaround is presented in the post below.

    https://e2e.ti.com/support/development_tools/code_composer_studio/f/81/p/690627/2547451#pi316318=2 

    I apologize for the inconvenience,

    Rafael

  • Hi Rafael,

    Thank you for quick reply.
    I understand that it is a bug in CCS.
    By referring to the website of your introduction, adding (RWX) to AM335x.lds file successfully recognized.

    MEMORY
    {
    SRAM (RWX): o = 0x402F0400, l = 0x0000FC00 /* 64kB internal SRAM */
    L3OCMC0 (RWX): o = 0x40300000, l = 0x00010000 /* 64kB L3 OCMC SRAM */
    M3SHUMEM (RWX): o = 0x44D00000, l = 0x00004000 /* 16kB M3 Shared Unified Code Space */
    M3SHDMEM (RWX): o = 0x44D80000, l = 0x00002000 /* 8kB M3 Shared Data Memory */
    DDR0 (RWX): o = 0x80000000, l = 0x40000000 /* 1GB external DDR Bank 0 */
    }

    Best Regards,
    Shigehiro Tsuda