This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

options of TCF graphical configuration

Hi,all
Under the TCF graphical configuration tools,
in the Properties of Memory Section Manager,there is a
option named Segment For DSP/BIOS Objects.
Does it mean that a heap is used for DSP/BIOS Objects?
Why do DSP/BIOS Objects need a separate heap?

Is a heap always needed for DMA? In the DM6437 demo,
a heap is created, but I don't see the heap is used in
the source code.

Best Regards
Jogging

  • Jogging Song said:
    Does it mean that a heap is used for DSP/BIOS Objects?

    Yes. From the CCS help:

    "Segment For DSP/BIOS Objects - The default memory segment to contain objects created at run-time with an XXX_create function. The XXX_Attrs structure passed to the XXX_create function can override this default. If you select MEM_NULL for this property, creation of DSP/BIOS objects at run-time via the XXX_create functions is disabled."

    Every dynamic allocation of memory  is done in the heap.

    Jogging Song said:
    Why do DSP/BIOS Objects need a separate heap?

     Is is not that DSP/BIOS needs a separate heap, it is that if you have heaps in more than one memory you can choose where the DSP/BIOS dynamic allocation should go - it is just more flexibility.

    Jogging Song said:
    Is a heap always needed for DMA? In the DM6437 demo,
    a heap is created, but I don't see the heap is used in
    the source code.

     DMA it self does not use heap, but any dynamic allocation of buffers/memory will use it - and that includes the DSP/BIOS functions mentioned on the help (above), MEM_alloc, sometimes the drivers or internal functions do some allocation, etc..