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.

Why my heapMem cannot place on DDR3 on 6678?

Other Parts Discussed in Thread: SYSBIOS

Hi,all:

My cfg like below:

var HeapMem = xdc.useModule('ti.sysbios.heaps.HeapMem');
var heapMemParams = new HeapMem.Params();
heapMemParams.size = 1000000;//intHeapSize;
heapMemParams.sectionName = ".output_buffer";
Program.global.INTMEM_HEAP = HeapMem.create(heapMemParams);
Memory.defaultHeapInstance = Program.global.INTMEM_HEAP;

Program.sectMap[".output_buffer"] = "DDR3";

As I understand,ti.sysbios.heaps.HeapMem should be placed on DDR3 and its address should

be beyond the 0x8000 0000.But in fact when I see the ROV it is all different.

From that figure,The HeapMem start from 0x0080bcd0 which should be in the range of L2SRAM not DDR3.

Why ? Thanks!

  • Hi,

    Actually it's placed in DDR3 (buf is 0x80000000), that one I think is the address that contains the starting address of the heap.

    Regards

    J.

  • Johannes said:

    Hi,

    Actually it's placed in DDR3 (buf is 0x80000000), that one I think is the address that contains the starting address of the heap.

    Regards

    J.

    Hi Johannes:

    I am sorry for replying lately. I still don't understand what you mean and I don't think you

    answer my question.

    1.

    I have placed my heapMem into DDR3.why address of HeapMem in ROV is 0x0080bcd0 which

    is in L2SRAM not DDR3? I cannot understand this point.

    2.

    Why address of HeapMem is 0x0080bcd0 and buf of HeapMem is 0x80000000 in ROV?

    Why one is in L2SRAM and the other is in DDR3? 

    As I understand,Both address and buf of HeapMem all should be in DDR3.

  • Hi,

    The heap is in DDR3, however the start address of the Heap is stored in your Data Memory, in this case is L2SRAM. If you change the Data Memory to MSMCSRAM in your platform, you would see the address of the Heap in MSMCSRAM.

    Regards

    J