Initializing TraceAlyzer (Snapshot Mode)

Initializing the TraceAlyzer Snapshot Recorder

Initialize the TraceAlyzer Snapshot Recorder anywhere after the BSP has been initialized.

The code below shows an example where it gets initialized from the Startup task:

Initializing the TraceAlyzer Snapshot Recorder
#include  <os_trace.h>
.
.
.
int main(void)
{
    OS_ERR os_err;
 
    BSP_Init();                                /* Initialize BSP functions                             */
    .
    .
    .
    OS_TRACE_INIT();                           /* Initialize the uC/OS-III Trace recorder.             */
    .
    .
    .
}

Next Step

Starting TraceAlyzer (Snapshot Mode)