Problem with 4 task with PIC18f8621

Hello!! I’m new using Freertos…. and i’m working with 4 task every one run ok but when i try to put all of them in the same program nothing good happen. I can run 3 at the same time ok the problem is when i’m adding a new one task. Can you help me please? Does Freertos have a maximun number of task? What can i do ? Thanks so much for oyur help and ideas!!!! Best Regards, Bsa

Problem with 4 task with PIC18f8621

Check the return value of the task create function.  It probably that you have no enough heap memory to create last task.

Problem with 4 task with PIC18f8621

yeah! it was the problem thanks so much for your help… Bsa