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.

66AK2L06: IPC_messageq: Cannot read property "base" from undefined

Genius 13655 points
Part Number: 66AK2L06


Hello Champs,

Customer created a IPC_messageq project, there is an error message " Cannot read property "base" from undefined" when building the project. 

Below is the config.bld and ipc.cfg code. 

config.bld:
var SR_0 = {
        name: "SR_0", space: "data", access: "RW",
        base: 0x84800000, len: 0x200000,
        comment: "SR#0 Memory (2 MB)"
    };
ipc.cfg.xs
var SR0Mem = Program.cpu.memoryMap["SR_0"];
SharedRegion.setEntryMeta(0,
    new SharedRegion.Entry({
        name:           "SR_0",
        base:           SR0Mem.base,
        len:            SR0Mem.len,
        ownerProcId:    1,
        isValid:        true,
        cacheEnable:    xdc.global.SR0_cacheEnable
    })


Thanks.
Rgds
Shine