Microchip® Advanced Software Framework

vTaskStartTrace

task.

h

void vTaskStartTrace( char * pcBuffer, unsigned portBASE_TYPE uxBufferSize );

Starts a real time kernel activity trace. The trace logs the identity of which task is running when.

The trace file is stored in binary format. A separate DOS utility called convtrce.exe is used to convert this into a tab delimited text file which can be viewed and plotted in a spread sheet.

Parameters
pcBufferThe buffer into which the trace will be written.
ulBufferSizeThe size of pcBuffer in bytes. The trace will continue until either the buffer in full, or ulTaskEndTrace () is called.