A related question is a question created from another question. When the related question is created, it will be automatically linked to the original question.
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.
Hi Nancy,
In DSP/BIOS, the heap manager internally uses a lock (semaphore) and since Swi's must run to completion (can't block), you cannot call malloc in a SWI. Your fix to call malloc from a task is therefore correct one. Whereas in the more recent SYS/BIOS we provide other locks for Heap manager that can be used within a SWI or even HWI. Unfortunately DSP/BIOS doesn't have this.