Task Aware Debugging

取消
显示结果 
搜索替代 
您的意思是: 

Task Aware Debugging

307 次查看
jeremyanderson
Contributor III

I'm debugging a FreeRTOS application using a Segger j-link debugger on a board that uses the K66 MCU.  I've found that stepping over an xTaskCreate results in the task code executing.  Is this a FreeRTOS question?  I thought I'd be able to create these tasks and that they would not execute until I start the task scheduler.  Any hints are greatly appreciated.

标记 (2)
0 项奖励
1 回复

173 次查看
danielchen
NXP TechSupport
NXP TechSupport

Hi Jeremy:

I  tested the hello world demo with Frdm-k22 board.  I just added one print .  Then I debug with "step over",  I can see the hello world task is executed after vTaskStartScheduler. Please see below picture.

pastedImage_1.png

Regards

Daniel

0 项奖励