Hi,
I am working with the c6678 multicore processor. I was using the c6414 processor and had a single heap in external memory for dynamically allocating buffers using MEM_alloc from the heap. I want to extend this to the c6678 with having 8 different heaps (one for each core) so they all are not competing for the same heap. Can I just go about defining 8 different heaps in the .cfg file connected to the project. My .cfg file is based on the PA multicore example that is provided as part of the PDK and within.
I had some general questions too. What is the difference between HeapBuf and HeapMem? In CCS, it talks of fixed sized buffer heap management as HepBuf - Does that mean each call to the MEM_alloc will return a fixed sized specified in the cfg file? While the HeapMem is used for variable sized heap management so all one needs to do is specify the total size of the heap. This would appear to be the same as the heap used in the c64. In the cfg file it also talks of the default Heap as being set but I want to have the default heap by any of 8 possible heaps, one for each core?
I want to have one "out file" to load on each core and not have separate out files.
Thanks, Aamir