[SOLVED] Can I use RTT and SystemView API at the same time?

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

  • [SOLVED] Can I use RTT and SystemView API at the same time?

    I'm trying to use RTT Viewer for logging and SystemView for tracing at the same time.

    Is it possible?
    If so, what are the steps to make sure they integrate properly with each other?
    Can I simply do:

    C Source Code

    1. SEGGER_RTT_Init();
    2. SEGGER_RTT_printf(0, "RTT online!");
    3. SEGGER_SYSVIEW_Conf();
    4. SEGGER_SYSVIEW_Print("SystemView online!");

    Best regards,
  • Hello Gabriel,

    Thank you for your inquiry.
    Yes you can do that.
    Per default SystemView uses channel/buffer 1 for communication and RTT Viewer per default scans channel/buffer 0.

    Just make sure not to use the same channel for both.

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