Hello,
I am using BIOS version 6.34 but I am using support for legacy API as outlined in http://www.ti.com/lit/an/spraas7g/spraas7g.pdf
For example we are using the DSP/BIOS v5 MEM_ interface by including the following line in our configuration:
var MEM = xdc.useModule('ti.bios.MEM');
We have found that using the ti.sysbios.heaps.HeapMem memory manager our heap becomes fragmented and our runtime slows down. With DSP/BIOS v5 we over-rode the MEM_ API with an alternate memory manager which worked quite well. For SysBIOS with legacy support I was hoping to use an alternate memory manager by changing "Memory.defaultHeapInstance". However, when I did this I got an error by the XDC package tools:
error: xdc.cfg.Program: "C:/ti/bios_6_34_00_12/packages/ti/bios/package.xs", line 436: ti.bios : MEM.MALLOCSEG and MEM.BIOSOBJSEG are not set. Both these parameters have to be set or Memory.defaultHeapInstance must be set to a HeapMem instance
I am hoping that someone can provide me with the best solution that will allow me to continue to use the legacy BIOS support but use an alternate heap manager. If I remove all usage of of the MEM_* usage in our code will that be sufficient, or will the other legacy APIs like SEM_ use the MEM_ API? Does anyone have any suggestions?
Thanks.