Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

HeapBufMp : Invalid configuration parameter supplied error

$
0
0

Hi,

I'm trying to use ListMp and MessageQ to transfer message between cores.

To do this I created a Shared region in .cfg file like:

 var SHAREDMEM = 0x0c000000;

var SHAREDMEMSIZE= 0x00400000;

SharedRegion.setEntryMeta(0,

{ base: SHAREDMEM,

len: SHAREDMEMSIZE,

ownerProcId: 0,

isValid: true,

name: "MSMCSRAM",});

And in the cpp file ;

HeapBufMP_Params_init(&m_heapParams);

m_heapParams.regionId = 0;//SHARED_REGION_ID;

m_heapParams.name ="IpcHeap" ;//HEAP_NAME;

m_heapParams.blockSize = sizeof(ListMessage);// Specify block size as size of messages

m_heapParams.numBlocks = 40;

m_heapHandle = HeapBufMP_create(&m_heapParams);

if (m_heapHandle == NULL){

System_abort(

"HeapBufMP_create failed\n");

}

But when code exequtes the HeapBufMp_create function  

[TMS320C66x_0] ti.sdo.ipc.heaps.HeapBufMP: line 405: assertion failure: A_invParam: Invalid configuration parameter supplied

error occurs.

What am i doing wrong?What is the Invalid configuration parameter?

omer


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>