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.

CC2530运行一些命令出现 osal_msg_allocate返回NULL

Other Parts Discussed in Thread: Z-STACK, CC2530

CC2530烧录Z-Stack Home 1.2.2a.44539的ZNP工程,在系统刚启动时没有问题,通过串口发送cmd可以正常响应,

发送多次之后出现命令无响应,例如:"FE 00 25 50 75",

查看代码该命名的返回调用流程如下:

----->MT_ZdoExtNwkInfo

---->MT_BuildAndSendZToolResponse

---->MT_TransportAlloc申请内存失败,通过打印发现osal_msg_allocate申请内存返回NULL,reset CC2530又可以正常响应,这里内存无法申请成功是什么原因导致的?