Dear support,
During working with IPC (concerto F28M35H52C1, MCU SDK 1.0.0.68, XDCTools 3.24.60) we get the following error(from ROV /BIOS/Scan for errors):
Messages/ti.sdo.ipc.MessageQ/Caught exception in view init code: InternalError: XDC runtime error: xdc.rov.Program.InstDataView#0: no property named '$status'
Events/ ti.sdo.ipc.family.f28m35x.NotifyDriverCirc/ Caught exception in view init code: Error: Error fetching Notify instance view
What could be the reason of it? we get this error if we send in the loop 5 messages from C28 to M3, and return results from m3 to c28 (not in the loop).
in the console we get the following error:
xdc.runtime.Memory: line 52: out of memory: heap=0x20010888, size=84
ti.sdo.ipc.family.f28m35x.TransportCirc: lin[Cortex_M3_0] e 322: assertion failure: A_internal: An internal error has occurred
xdc.runtime.Error.raise: terminating execution
ROV:
,0x20010810,MsgQHeapBuf0,0x00000400,256,4,1024,0,4,0,0x20012d80,0x20010830,MsgQHeapBuf0, Size: 1024, Free: 4 / 4
,0x20010838,CanUnsolicitedRXHeapBuffer,0x00000500,64,20,1280,0,20,0,0x20012880,0x20010858,CanUnsolicitedRXHeapBuffer, Size: 1280, Free: 20 / 20
,0x20010860,CanImmediateRXHeapBuffer,0x00000200,64,8,512,0,8,0,0x20013580,0x20010880,CanImmediateRXHeapBuffer, Size: 512, Free: 8 / 8
,0x20010888,PMCUMsgQHeapBuf1,0x00000200,128,4,0,4,0,0,0x20013780,0x200108a8,PMCUMsgQHeapBuf1, Size: 512, Free: 0 / 4
,0x200108b0,CanUnsolicitedTXHeapBuffer,0x00000180,24,16,384,0,16,0,0x20013980,0x200108d0,CanUnsolicitedTXHeapBuffer, Size: 384, Free: 16 / 16
we use in m3
var heapBuf0Params = new HeapBuf.Params();
heapBuf0Params.instance.name = "MsgQHeapBuf0";
heapBuf0Params.blockSize = 256;
heapBuf0Params.numBlocks = 4;
heapBuf0Params.align = 8;
Program.global.MsgQHeapBuf0 = HeapBuf.create(heapBuf0Params);MsgQHeapBuf0
IpcMgr.messageQSize = 256;IpcMgr.messageQSize = 256;
and in c28:
var heapBuf0Params = new HeapBuf.Params();
heapBuf0Params.instance.name = "MsgQHeapBuf0";
heapBuf0Params.blockSize = 256;
heapBuf0Params.numBlocks = 4;
heapBuf0Params.align = 8;
Program.global.MsgQHeapBuf0 = HeapBuf.create(heapBuf0Params);
IpcMgr.messageQSize = 256;IpcMgr.messageQSize = 256;
does it mean that we don't release the MsgQHeapBuf0 on m3 side? or our definitions are not properly?
Thanks,Sabina