Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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:

Code Block
titleInitializing 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)