keeping attached during reset

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

  • keeping attached during reset

    Hi,

    I want to see the terminal messages showing up during the boot process of my board. I wish to push the reset button and see the messages show up in the SystemView terminal.
    is this possible?
  • Hi,

    Doing a reset while SystemViewer is running is currently not possible.
    What you can do for now is to start a debug session and halt in the reset handler, start SystemViewer, continue the debug session.
    Then you will get messages right after SystemView has been initialized.

    We will also add start, stop and reset target to SystemViewer to allow control over the target without a debugger.

    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.
  • Yes, but for SystemView, the recording has to be explicitly started from SystemViewer,
    which is lost and not restarted on reset.

    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.
  • Hi,

    You can explicitly call SEGGER_SYSVIEW_Start() at the beginning of your application to start recording.
    It cannot be guaranteed that SystemViewer can properly keep and manage the connection over a reset.

    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.
  • Hi Johannes,

    thanks for the hint. It looks aceptable :)

    but one thing worth mentioning:

    SEGGER_SYSVIEW_Start() can not be called before the FreeRTOS scheduler is started.
    otherwise assertions will trigger because the "syscall from isr with too high priority" will be matched.