Segger RTT client using ST-link debugger.
Options:
-v debugLevel where debugLevel from -3 to 4 when -3 is equal to silent output
-ramstart RAM start address where the program is looking for RTT( hex,dec model supported).
-ramsize RAM size in KB where the program is looking for RTT.
-tcp Use tcp connection to st-link gdb server (https://www.st.com/en/development-tools/st-link-server.html)
-ap Select the AP number to use (default 0), some devices have multiple APs, for example STM32H5 and STM32H7 need set AP to 1.
-loop Keep trying to connect to the target until successful.
Folder windows_bin_64 includes windows 64 bit executable. If the program returns immediately try to run it with -v 4 option. Return value (-4) indicates missing stlink drivers available as STSW-LINK009 from st.com.
Thanks to the -tcp option it is possible to communicate with a target using the RTT channel while debugging in STM32CubeIDE. In debug options "Shared ST-LINK" must be checked.
Program is using a refactored driver from the openocd project.
# in most cases default settings are OK
./strtt
# If you want to connect your App in Debug running then share your stlink and use tcp connect to
./strtt -ramstart 0x30020000 -tcp
You can also try to use web browser version:
