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.

RTOS/AM5728: Rebuild platform

Part Number: AM5728
Other Parts Discussed in Thread: SYSBIOS

Tool/software: TI-RTOS

Hi all

I'm debugging some communication program on idkam5728,between M4 and DSP.

All cores of AM5728 use the same platform package.And I saw some memory map in idkAM5728/platform.xdc :

    /*!
     *  ======== externalMemoryMap ========
     *  Memory regions as defined in the AM572X Specification
     */
    
    override readonly config xdc.platform.IPlatform.Memory
        externalMemoryMap[string] = [
            ["EXT_RAM", {
                comment: "2 GB External RAM Memory",
                name: "EXT_RAM",
                base: 0x80000000,
                len:  0x80000000
            }]
        ];

It seems that override the configuration:

    readonly config Any SR_0 = {
        name: "SR_0", space: "data", access: "RWX",
        base: 0x8E000000, len: 0x1000000,
        comment: "SR#0 Memory (16 MB)"
    };

    readonly config Any DSP1 = {
        externalMemoryMap: [
            [ "DSP1_PROG", {
                name: "DSP1_PROG", space: "code/data", access: "RWX",
                base: 0x8C000000, len: 0x1000000,
                comment: "DSP1 Program Memory (16 MB)"
            }],
            [ "SR_0", SR_0 ]
        ],
        codeMemory:  "DSP1_PROG",
        dataMemory:  "DSP1_PROG",
        stackMemory: "DSP1_PROG",
        l1DMode: "32k",
        l1PMode: "32k",
        l2Mode: "128k"
    };

    readonly config Any DSP2 = {
        externalMemoryMap: [
            [ "DSP2_PROG", {
                name: "DSP2_PROG", space: "code/data", access: "RWX",
                base: 0x8D000000, len: 0x1000000,
                comment: "DSP2 Program Memory (16 MB)"
            }],
            [ "SR_0", SR_0 ]
        ],
        codeMemory:  "DSP2_PROG",
        dataMemory:  "DSP2_PROG",
        stackMemory: "DSP2_PROG",
        l1DMode: "32k",
        l1PMode: "32k",
        l2Mode: "128k"
    };

    readonly config Any IPU1 = {
        externalMemoryMap: [
            [ "IPU1_PROG", {
                name: "IPU1_PROG", space: "code/data", access: "RWX",
                base: 0x8A000000, len: 0x800000,
                comment: "IPU1 Program Memory (8 MB)"
            }],
            [ "SR_0", SR_0 ]
        ],
        codeMemory:  "IPU1_PROG",
        dataMemory:  "IPU1_PROG",
        stackMemory: "IPU1_PROG"
    };

    readonly config Any IPU2 = {
        externalMemoryMap: [
            [ "IPU2_PROG", {
                name: "IPU2_PROG", space: "code/data", access: "RWX",
                base: 0x8A800000, len: 0x800000,
                comment: "IPU2 Program Memory (8 MB)"
            }],
            [ "SR_0", SR_0 ]
        ],
        codeMemory:  "IPU2_PROG",
        dataMemory:  "IPU2_PROG",
        stackMemory: "IPU2_PROG"
    };

    readonly config Any HOST = {
        externalMemoryMap: [
            [ "HOST_PROG", {
                name: "HOST_PROG", space: "code/data", access: "RWX",
                base: 0x8B000000, len: 0x1000000,
                comment: "HOST Program Memory (16 MB)"
            }],
            [ "SR_0", SR_0 ]
        ],
        codeMemory:  "HOST_PROG",
        dataMemory:  "HOST_PROG",
        stackMemory: "HOST_PROG"
    };

And all code,data,stack seemed to be put on EXT_RAM.

If what I learn is right.That my question is :

Could I comment out the part of EXT_RAM configuration?And if there is a easy way to rebuild this platform package?

Best Regards

Yx