Other Parts Discussed in Thread: SYSBIOS
Tool/software: TI-RTOS
I have a customer that is struggling with some heap issues in their programs running on Sysbios
The issue can be observed on IPU core configured in SMP. When they are performing a lot of memory allocations, it happens, that core crashes.
They managed to solve this issue by setting the following gate for the HeapMem (which they are using as default heap):
/* assign Gate instance to Heaps */
var Gate = xdc.useModule('ti.sysbios.family.arm.ducati.GateSmp');
var gateParams = new Gate.Params;
var gateInstance = Gate.create(gateParams);
HeapMem.common$.gate = gateInstance;
Their question is whether this is the the proper gate configuration for that Heap? Can they use other heaps, like HeapStd or HeapBuf, which don't have gate configuration, in SMP mode?