Sys bios used :6:33.4.39
Summary: We have noticed issue in allocating memory blocks in external DDR memory
HeapBuf_alloc function is used to allocate memory in DDR for Bios Queue . We are allocating memory only when if it has free space. In some instant this function returns zero even though it has enough free size. Based on E2E , we have changed HeapBuf_alloc function with Memory_alloc , But no improvements. Next step we tried to move this Buffer memory section from DDR to Processor IRAM , this memory section changes fix the issue. We don’t want to keep this it in IRAM, since IRAM doesn’t have enough memory . We have used similar memory allocation in another Queue handling , we didn’t find any issue with that. Only difference is this problem Queue will be called by multiple thread in same time., Please provide your thoughts and your inputs are highly appreciated.
E2E Reference Link : https://e2e.ti.com/support/legacy_forums/embedded/tirtos/f/355/t/464797