Initializing SystemView

Initializing the SystemView Trace Recorder

Initialize the SystemView Trace Recorder anywhere after the BSP has been initialized.

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

Initializint The SystemView Trace Recorder
#include  <os_trace.h>
.
.
.
static void AppTaskStart (void *p_arg)
{
    OS_ERR os_err;
 
    BSP_Init();                                /* Initialize BSP functions                             */
    CPU_Init();                                /* Initialize the uC/CPU services                       */
    .
    .
    .
    OS_TRACE_INIT();                           /* Initialize the uC/OS-III Trace recorder.             */ 
    .
    .
    .
}

Next Step

Starting SystemView