Problem with RTCS create - error code 1310 , what it means ?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Problem with RTCS create - error code 1310 , what it means ?

跳至解决方案
1,787 次查看
tomaslipka
Contributor I

Hello , I have problem with command rtcs_create . This command worked 1 month without any problems in my projects . Now if I create rtcs (the same project without changes), the command shows error code 1310 , what it means ? I dont know , what to do with this problem . I m trying to re-build mqx library and to create new project , but without results .

Thank you for your answer .

Tomas L.

0 项奖励
回复
1 解答
1,292 次查看
Martin_
NXP Employee
NXP Employee

Hi Tomas,

for RTCS error codes, RTCS_ERROR_BASE is 0x1000 defined by mqx.h.

RTCS related error codes are in listed rtcs.h.

error code 0x1310 means:

RTCSERR_PCB_ALLOC  (RTCS_ERROR_BASE|0x310)    /* couldn't allocate PCBs */

the error indicates a problem with the amount of memory available for RTCS in your system.

在原帖中查看解决方案

0 项奖励
回复
3 回复数
1,293 次查看
Martin_
NXP Employee
NXP Employee

Hi Tomas,

for RTCS error codes, RTCS_ERROR_BASE is 0x1000 defined by mqx.h.

RTCS related error codes are in listed rtcs.h.

error code 0x1310 means:

RTCSERR_PCB_ALLOC  (RTCS_ERROR_BASE|0x310)    /* couldn't allocate PCBs */

the error indicates a problem with the amount of memory available for RTCS in your system.

0 项奖励
回复
1,292 次查看
Mohsin455
Contributor IV

Hi,

        Can anyone please let me know what needs to be changed in RTCS initialization to solve this error ?

Thanks,

Mohsin

0 项奖励
回复
1,292 次查看
Teckna
Contributor V

Hi Mohsin,

you can increase stack of task calling RTCS_create.

Regards.

0 项奖励
回复