This is the documentation for the latest (main) development branch of HPM SDK. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

20. Segger RTT

20.1. Overview

Segger Real Time Transfer (RTT) examples. https://wiki.segger.com/RTT

  • input_echo

  • printf_test

  • menu

20.2. Board Setting

  • Connect J-Link to the board (Make sure on-board debugger is disconnected, TCK/TMS/TRST)

20.3. Running the example

  • Power on the board

  • Download and the built sample application

  • Once it’s run successfully:

    • On board LED will be flashing

    • RTT output will be shown in “Debug Terminal” in Segger Embedded Studio

20.4. Suggestion

To use standalone J-Link RTT Viewer, all these configuration has been done correctly in Segger Embedded Studio during project generation stage:

  • Select correct device

  • Set correct RTT control block (symbol in map file: _SEGGER_RTT) address which can be found in map file.

  • For the demo of menu, select the fastest transfer speed