MQX Lite IDLE Task problem

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

MQX Lite IDLE Task problem

1,095件の閲覧回数
yadhukrishnanvm
Contributor III

Hello,

   I am new to MQX Lite. I am trying to do a project in MQX Lite using code warrier. I read the MQX Lite user's manual and created a project with 3 tasks. I use the _task_create_at function in the first task.

_task_create_at(0, TASK2_TASK, 0, Task2_task_stack, TASK2_TASK_STACK_SIZE);
_task_create_at(0, TASK3_TASK, 0, Task3_task_stack, TASK3_TASK_STACK_SIZE);

I need to run TASK2 and TASK3 in while(1) loop, when I try ffor that only TASK3 is running within the while(1) loop. So please anybody tell me how to do that. There is another problem, whenever other tasks are blocked the program will stop by PE_DEBUGHALT. I think my program is not running the IDLE task when other tasks are blocked. Please help on this I cannot go further without the knowledge about MQX Lite.

0 件の賞賛
返信
2 返答(返信)

974件の閲覧回数
danielchen
NXP TechSupport
NXP TechSupport

Hi Yadhukrishnan:

I would suggest you refer to the following document. This application note provides the knowledge that enables developers to start quickly and easily to develop your first application on MQX-Lite.

http://cache.nxp.com/assets/documents/data/en/application-notes/AN4610.pdf?fsrch=1&sr=9&pageNum=1 

Regards

Daniel

0 件の賞賛
返信

974件の閲覧回数
danielchen
NXP TechSupport
NXP TechSupport

Hi Yadhukrishnan

Can you share your project here for analyzing?

Regards

Daniel

0 件の賞賛
返信