Other Parts Discussed in Thread: SYSBIOS
Tool/software: TI-RTOS
Hello. I am re-opening my question here: http://e2e.ti.com/support/microcontrollers/other/f/908/t/743426
it seems that my application is both SYS/BIOS and Non SYS/BIOS.
I have both heapmem and sysmem.
all dynamic allocations are going through sysmem. including some that I cannot trace.
the heapmem area is used a little right after start up, and then no new allocations are made.
I do want to trace the sysmem usage, because on some occasions I lose all my dynamic memory, and I do not know why. (the free list pointer has less than a 100 bytes).
what I define, what I see in the memory allocation
CFG:
BIOS.heapSize = 18000; // bios heapmem
Program.heap = 40000;
Program.stack = 4096;
memory allocation:
ti_sysbios_heaps_HeapMem_Instance_State_0_buf__A 18000
.sysmem 40000
.stack 4096
=======================
CFG:
BIOS.heapSize = 40000; // bios heapmem
//Program.heap = 40000;
Program.stack = 4096;
memory allocation:
ti_sysbios_heaps_HeapMem_Instance_State_0_buf__A 40000
.sysmem 4096
.stack 4096
===================
CFG:
BIOS.heapSize = 40000; // bios heapmem
//Program.heap = 40000;
//Program.stack = 4096;
memory allocation:
ti_sysbios_heaps_HeapMem_Instance_State_0_buf__A 40000
.sysmem 4096
.stack 4096
====================
CFG:
//BIOS.heapSize = 40000; // bios heapmem
Program.heap = 40000;
//Program.stack = 4096;
memory allocation:
ti_sysbios_heaps_HeapMem_Instance_State_0_buf__A 40000
.sysmem 40000
.stack 4096Embedded.cfg