# Use RTT console with zephyr
Source: [https://docs.qualcomm.com/doc/80-Y8730-5/topic/use_rtt_console_with_zephyr.html](https://docs.qualcomm.com/doc/80-Y8730-5/topic/use_rtt_console_with_zephyr.html)
Real-Time Transfer (RTT) is a high‑speed debug communication technology that allows a microcontroller to send and receive data through a J-Link debugger without using UART pins. This chapter explains how to enable the RTT console on the QCC730 with Zephyr.
## Hardware setup
Source: [https://docs.qualcomm.com/doc/80-Y8730-5/topic/use_rtt_console_with_zephyr.html](https://docs.qualcomm.com/doc/80-Y8730-5/topic/use_rtt_console_with_zephyr.html)
Required hardware:
- J-Link debugger
- JTAG 20-pin to 10-pin connector
Configure the QCC730 board to use J-Link. On the QCC730M EVK, disconnect all the highlighted jumper pins as shown in the following figure.
Figure : Configure J-Link

The following figure shows the location and pin definitions of the JTAG connector.
Figure : JTAG connector
For more information about configuring the JTAG interface, see [QCC730M Evaluation Kit User Guide – Zephyr](https://docs.qualcomm.com/doc/80-Y8730-252/topic/set_up_the_development_environment.html#configure-the-flash-interface).
## Software setup
Source: [https://docs.qualcomm.com/doc/80-Y8730-5/topic/use_rtt_console_with_zephyr.html](https://docs.qualcomm.com/doc/80-Y8730-5/topic/use_rtt_console_with_zephyr.html)
Follow these steps to set up the software environment for running RTT:
1. Install the J-Link driver (version 7.86 or later). The driver is available on the following website:
[https://www.segger.com/downloads/jlink](https://www.segger.com/downloads/jlink)
2. Enable RTT setting in the prj.conf file as follows:
--- a/qcli_app/prj.conf
+++ b/qcli_app/prj.conf
@@ -67,11 +67,11 @@ CONFIG_WIFI_TSF_RTC_CORRECTION=y
CONFIG_IDLE_STACK_SIZE=512
# enable SEGGER RTT
-#CONFIG_UART_CONSOLE=n
-#CONFIG_RTT_CONSOLE=y
-#CONFIG_USE_SEGGER_RTT=y
-#CONFIG_SHELL_BACKEND_SERIAL=n
-#CONFIG_SHELL_BACKEND_RTT=y
+CONFIG_UART_CONSOLE=n
+CONFIG_RTT_CONSOLE=y
+CONFIG_USE_SEGGER_RTT=y
+CONFIG_SHELL_BACKEND_SERIAL=n
+CONFIG_SHELL_BACKEND_RTT=yCopy to clipboard
3. Build an image:
cd qapp\qcli_app
west build -b qcc730mi -d build\qcc730miCopy to clipboard
4. Flash the image to the QCC730:
west flash -j jlinkCopy to clipboard
## Use RTT viewer
Source: [https://docs.qualcomm.com/doc/80-Y8730-5/topic/use_rtt_console_with_zephyr.html](https://docs.qualcomm.com/doc/80-Y8730-5/topic/use_rtt_console_with_zephyr.html)
Follow these steps to connect to the QCC730 using the RTT viewer:
1. Go to the J-Link RTT viewer directory: C:\Program Files\SEGGER\JLink
2. Run the following command to connect to the QCC730 using the RTT viewer:
JLinkRTTViewer.exe --connection usb --serialnumber --device Cortex-M4 --scriptfile --interface jtag --speed 100 --rttaddr Copy to clipboard
In this command:
- ``: You can find the serial number on the label of the J-Link debugger.
- ``: qcc730/boards/qcom/common/qcc730\_RRAM\_system\_view.JLinkScript
- ``: Get the RTT address from zephyr\_final.map by using the following command:
grep "_SEGGER_RTT" qapp/qcli_app/build/qcc730mi/zephyr/zephyr_final.mapCopy to clipboard
Example output:
0x0000000000010410 _SEGGER_RTTCopy to clipboard
In the above example, `` is `0x10410`.
The following screenshot shows the result of a successful connection.

Last Published: Jul 30, 2026
[Previous Topic
Hosted mode over SPI](https://docs.qualcomm.com/bundle/publicresource/80-Y8730-5/topics/use_spi_for_hosted_mode.md) [Next Topic
Security](https://docs.qualcomm.com/bundle/publicresource/80-Y8730-5/topics/security.md)