V2.34 bug

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

  • Hi!

    I'd like to point out a bug in the latest V2.34 Sysview recording code:

    line 1161:

    C Source Code

    1. SEGGER_RTT_ConfigUpBuffer(SEGGER_SYSVIEW_RTT_CHANNEL, "SysView", &_SYSVIEW_Globals.UpBuffer[0], sizeof(_SYSVIEW_Globals.UpBuffer), SEGGER_RTT_MODE_NO_BLOCK_SKIP);



    Should be:

    C Source Code

    1. SEGGER_RTT_ConfigUpBuffer(SEGGER_SYSVIEW_RTT_CHANNEL, "SysView", &_UpBuffer, sizeof(_UpBuffer), SEGGER_RTT_MODE_NO_BLOCK_SKIP);



    Because the SEGGER_SYSVIEW_GLOBALS does not have a UpBuffer member anymore.
  • Hi,

    You are right, it hasn't been correctly changed for post-mortem mode.
    Changing _SYSVIEW_Globals.UpBuffer to _UpBuffer is the right way.

    Thanks for pointing this out, will be fixed in the next version.

    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.