Dear support,
We work with concerto F28M35H52C1, MCU SDK 1.0.0.68, XDCTools 3.24.60
I defined shared memory in c28 cmd file:
IPC_BUFFERS_SECTION : origin = 0x00D000, length = 0x2000 /* IPC_BUFFERS_SECTION data S01SHRAM, S02SHRAM*/
and section:
IPC_Mem : > IPC_BUFFERS_SECTION
in c28-cfg file:
var heapBuf1Params = new HeapBuf.Params();
heapBuf1Params.instance.name = "PMCUMsgQHeapBuf1";
heapBuf1Params.blockSize = 96;
heapBuf1Params.numBlocks = 8;
heapBuf1Params.align = 8;
heapBuf1Params.sectionName = "IPC_Mem";
var heapBuf0Params = new HeapBuf.Params();
heapBuf0Params.instance.name = "MsgQHeapBuf0";
heapBuf0Params.blockSize = 256;
heapBuf0Params.numBlocks = 10;
heapBuf0Params.align = 8;
heapBuf0Params.sectionName = "IPC_Mem";
after start program running i see in ROV/BIOS/Scan for Errors:
,ti.sysbios.heaps.HeapBuf,Detailed,MsgQHeapBuf0,N/A,Caught exception in view init code: "D:/ti/mcusdk_1_00_00_68/products/xdctools_3_23_04_60/packages/xdc/rov/StructureDecoder.xs", line 517: java.lang.Exception: Target memory read failed at address: 0x0, length: 4This read is at an INVALID address according to the application's section map. The application is likely either uninitialized or corrupt.
,ti.sysbios.heaps.HeapBuf,Detailed,PMCUMsgQHeapBuf1,N/A,Caught exception in view init code: "D:/ti/mcusdk_1_00_00_68/products/xdctools_3_23_04_60/packages/xdc/rov/StructureDecoder.xs", line 517: java.lang.Exception: Target memory read failed at address: 0x0, length: 4This read is at an INVALID address according to the application's section map. The application is likely either uninitialized or corrupt.
In HeapBuf/Detailes I see:
,0x00009b80,MsgQHeapBuf0,0x00000a00,256,10,2560,0,10,0,0x0000d340,0x00009b8e,MsgQHeapBuf0, Size: 2560, Free: 10 / 10
,0x00009b92,PMCUMsgQHeapBuf1,0x00000300,96,8,768,0,8,0,0x0000d000,0x00009ba0,PMCUMsgQHeapBuf1, Size: 768, Free: 8 / 8
It seems that my buffers allocated in the default heap instead of new heap that i defined.
What i missed in the configurations? should i add something else here?
Thanks,Sabina