[SOLVED] Please help me to get post mortem mode of systemview

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

  • [SOLVED] Please help me to get post mortem mode of systemview

    Hi ,
    I am working on freertos and systemview in post mortem mode
    snapshot mode works fine and i had no issues with that.
    but when i tried post portem mode the events are not collected properly, the trace does not show the freertos task running.

    Perhaps i may be making mistake while reading the buffer.

    Please check the attached image.
    Buffer size = 8192
    wroff = 4972
    rdoff = 4971 ( so i understood that buffer is full )

    according to the user manual ,
    i am first reading from pbuffer+wroff to end of buffer in file 1; does that mean pubuffer+wroff to (8192-wroff) ??
    after that
    pBuffer until pBuffer + RdOff - 1 to another file 2
    now how to append file 1 and file 2 as said in the document .
    Please advice
    Images
    • segger.png

      58.05 kB, 1,268×356, viewed 562 times
  • Hello,

    Thank you for your inquiry.

    serina.dsouza wrote:

    now how to append file 1 and file 2 as said in the document .
    You can either append it by first reading both parts of the buffer, append it in your application and then export it to one joined file or use any e.g. hex editor to merge the two separate files.

    Best regards,
    Nino
    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.