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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

Jump to solution
1,789 Views
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 Kudos
Reply
1 Solution
1,294 Views
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.

View solution in original post

0 Kudos
Reply
3 Replies
1,295 Views
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 Kudos
Reply
1,294 Views
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 Kudos
Reply
1,294 Views
Teckna
Contributor V

Hi Mohsin,

you can increase stack of task calling RTCS_create.

Regards.

0 Kudos
Reply