Other Parts Discussed in Thread: SYSBIOS
buf = Memory_alloc((IHeap_Handle)dataHeap, rbin*sizeof(float), CACHELINE, NULL);
这种Heap分配函数是不是只能在Emulator的环境下运行?不能在Simulator下仿真?
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.
Other Parts Discussed in Thread: SYSBIOS
buf = Memory_alloc((IHeap_Handle)dataHeap, rbin*sizeof(float), CACHELINE, NULL);
这种Heap分配函数是不是只能在Emulator的环境下运行?不能在Simulator下仿真?
在Device Cycle Approximate Simulator模式运行完这一段代码后出现以下错误:
代码:buf = Memory_alloc((IHeap_Handle)dataHeap, rbin*sizeof(float), CACHELINE, NULL);
错误:
ti.sysbios.heaps.HeapMem: line 294 : out of memory : handle = 0xa03072a8, size = 24
xdc.runtime.Error.Raise : terminating execution
我测试了以下,即使我把rbin 设置为1,分配很小的一个空间,仍然出现以上错误:out of memory