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.

CC2541 Osal_Mem_Alloc Failing

Hi,

Something weird is happening with the firmware I'm developing. 

I have some buffers allocated dinamically. All of them has 8Bytes or multiple size. The problem comes when I try to allocate some buffer that is not multiple of 8. 

Osal_Mem_Alloc returns NULL. 

Is this weird or it should be like this? How is it possible? I can not allocate a 17 uint8 array? 

Just for the record. I havent filled up the memory. I check with the osal_memheap function...

Cheers!