Hello,
I'am working with TMDXEVM6678L with C6678 Multicore DSP and SYSBIOS 6.34.2.18
I created a HeapBuf in DDR3:
*.cfg:
Program.sectMap["DDR"] = "DDR3";
var heapBuf0Params = new HeapBuf.Params();
heapBuf0Params.instance.name = "heapBuf0";
heapBuf0Params.blockSize = 8;
heapBuf0Params.numBlocks = 1000;
heapBuf0Params.sectionName = "DDR";
heapBuf0Params.align = 0;
Program.global.heapBuf0 = HeapBuf.create(heapBuf0Params);
and in my *.c I'am calling HeapBuf_alloc() 2 times:
ptr = HeapBuf_alloc(heapBuf0, sizeof(char)*2, 8, &eb);
ptr2 = HeapBuf_alloc(heapBuf0, sizeof(char)*2, 8, &eb);
But:
after that, 'Expressions View' shows:
ptr char * 0x80000000 0x00831D3C
sharedHeap0 unknown Error: identifier not found: sharedHeap0 // you can ignore that
ptr2 char * 0x00008000 0x00831D40
eb struct xdc_runtime_Error_Block {...} 0x0083256C
Add new expression
Do you have any suggestions why this is happening?
Btw: when i try to use a HeapMem in DDr3, a HeapMem_alloc() even gives me NULL when i try it the first time, even if i want to allocate 2 bytes and Buffer size is 2048...