AnsweredAssumed Answered

Dummy freertos task mcuxpresso debugging with segger

Question asked by Daniele Cortellazzi on Jun 28, 2018
Latest reply on Jun 29, 2018 by Erich Styger

Hello,

 

i have mcuxpresso 10.1.1 and i need to debug a freertos. I have enable the GDBServer/RTOSPlugin_FreeRTOS for debug my tasks using a segger jlink edu. What's happen is this:

 

I have this tasks:

but in the debug windows i see this:

why i have the thread 9 and 10 with those names? In my code those are not created and i see those after i call the function

 

if (xTaskCreate((TaskFunction_t)task_LCD, // pointer to the task
(char const *) "lcd task", // task name for kernel awareness debugging
2048L / sizeof(portSTACK_TYPE), // task stack size
NULL, // optional task startup argument
TASK_LCD_P, // initial priority
&tasks.taskhandle.taskLCD // optional task handle to create
) != pdPASS) {
return;
}

 

before all works fine.

 

Thanks

Outcomes