Frequency missing warning in tracealyzer

Hi, I am facing trouble in loading snapshot trace on tracealyzer, a warning pops up saying “the trace does not have a frequency set. only sequential mode and native ticks can be used for tracing”. refer the attachment for the warning.

These are more details on the environment i am using:
Kernel : FreeRTOS version 10.1.1 with LWIP 2.1.1
IDE : Vitis 2019 version
Hardware : Zynq xc7z020 SOC

Please help me understand the warning shown in the attachemnt.

Thank you,

There are a few different options why this might fail.

  1. Make sure that your call to vTraceEnable(TRC_START) is done after clock initialization in main.
  2. The frequency is set by:
    RecorderDataPtr->frequency = (TRC_HWTC_FREQ_HZ) / (TRC_HWTC_DIVISOR);
    so do some macro expansions to check the values.
    In the HW port for CortexA9 that you should use this expands to:
    #define TRC_HWTC_DIVISOR 1
    #define TRC_TICK_RATE_HZ configTICK_RATE_HZ
    configTICK_RATE_HZ should be defined in FreeRTOSConfig.h

If you can’t get it to work, please contact

/Kristoffer @ Percepio