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.
Solved! Go to Solution.
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.
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.
Hi,
Can anyone please let me know what needs to be changed in RTCS initialization to solve this error ?
Thanks,
Mohsin
Hi Mohsin,
you can increase stack of task calling RTCS_create.
Regards.