SystemView events 0-31, timer start / expired

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • SystemView events 0-31, timer start / expired

    Hi,

    I want to use

    #define SYSVIEW_EVTID_TIMER_ENTER 19
    #define SYSVIEW_EVTID_TIMER_EXIT 20

    To inform about software timers start/expire events. I'm using freertos 9.0.0.
    I'm able to pass timer ID in SYSVIEW_EVTID_TIMER_ENTER event but it is not possible in case of SYSVIEW_EVTID_TIMER_EXIT.
    Because of it i'm not able to see which timer expired.

    Is it possible to extend some of IDs 0-31, like it is possible in description file for API events (32 - 500)?

    Best regards
    Lukasz Antczak
  • Hi Lukasz,

    TIMER_ENTER should be called when the timer expired and its handler is called.
    TIMER_EXIT is then called when the handler returns.

    So the timer Id is required only for TIMER_ENTER, since on TIMER_EXIT SystemView knows that this must correspond to the last timer entered.

    IDs 0-31 are internal and cannot be modified.

    Best regards
    Johannes
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.