I am using MK61 ( 1 MB flash) micro-controller for my application.
I am creating a Main Task , which creates other application tasks.
There are 8 tasks created other than my Main task.
When the 8th (final task) is created, the Main task is getting killed.
This was confirmed by calling the OS Call "task_get_id_from_name()" from one of the running tasks. It shows '0'.
Can you give some suggestions to see what exactly may be the problem.