Part Number: CC2538
Hello,
In this line of code
pMsg = (mtOSALSerialData_t *)osal_msg_allocate( sizeof ( mtOSALSerialData_t ) + MT_RPC_FRAME_HDR_SZ + LEN_Token );
pMsg is now giving memory address 0x00.
Previously, it was working all right and suddenly it started giving a Null address.
What can be the issue and how to resolve it?
LEN_Token =0x08
MT_RPC_FRAME_HDR_SZ =0x03
pMsg is of mtOSALSerialData_t data type.