Hi,
I am using the C6674 DSP, communicating with a FPGA via SRIO. Currently I am testing Direct IO, and while some test code I have encountered a memory leak.
When opening a SRIO socket the SRIO LLD creates a new semaphore using Srio_osalCreateSem(), which through device specific Osal functions resolves to
(Void*)Semaphore_create(0, NULL, NULL);
Same for when closing a socket, the semaphore is deleted with
Semaphore_delete(semHandle);
When I track the heap memory using the RTOS object view, I can see that memory is allocated when create is called. However, no memory is free'd when delete is called. Anybody have a solution for this problem?
PS: I have tried various different minBlockAlign for my heap instance, from 1 bytes to 256 bytes. Makes no difference, memory is still disappearing.