Find the RTT control block in RAM and read every up channel while the core runs; send input to the down buffer. Works with ST-LINK and CMSIS-DAP, not only J-Link.
Free
No sign-up
Nothing uploaded: files are read in your browser
Works offline after the first visit
How to use it
Add SEGGER’s RTT sources to the firmware and print with SEGGER_RTT_printf or SEGGER_RTT_WriteString.
Connect the probe and load the ELF (the control block is found from the _SEGGER_RTT symbol) or search RAM for it.
Read every up channel live; type into the box to send to the firmware’s down buffer.
Questions
Do I need a J-Link?
No. RTT is only memory in the target’s RAM: any probe that can read memory while the core runs can be the host. This page does it with an ST-LINK or a CMSIS-DAP probe.
Why is no control block found?
The firmware must have run SEGGER_RTT_Init (the first print calls it). If the block is outside the range searched (for example in a second RAM bank), give its range, or load the ELF so its address is known.
Why is text missing?
In the default mode the firmware drops a message that does not fit the buffer. Make the up buffer bigger (BUFFER_SIZE_UP), print less, or use blocking mode (SEGGER_RTT_MODE_BLOCK_IF_FIFO_FULL) while debugging.
Can I use other channels?
Yes: every up buffer the firmware configures is listed by name, for example a binary or CSV channel next to the terminal.
Related tools
Cortex-M debugger in the browser (ST-LINK, CMSIS-DAP): Halt, step and reset an Arm Cortex-M; watch and write global variables from the ELF live with plots; SEGGER RTT terminal; live SVD peripheral registers; breakpoints, watchpoints and HardFault capture. Over WebUSB, nothing to install.
Live variable watch and plot from an ELF: Pick global variables from the ELF and read them through ST-LINK or CMSIS-DAP while the firmware runs: values, min/max, writes, strip-chart plots and CSV recording.
Live peripheral registers from an SVD: Read every register of a peripheral through the probe and decode its fields and enumerations from the SVD, live; write a field.
Catch a Cortex-M HardFault on the target: Stop the core when it faults (vector catch), read CFSR, HFSR and the fault address, unwind the stacked frame and name the faulting function from the ELF.
Microcontroller memory viewer and editor: Read RAM, flash or peripheral space through the probe as a hex dump that highlights what changed; write 8, 16 or 32-bit values; save a dump.
Flash STM32, ESP32 and RP2040 from the browser: Program HEX/S19/BIN/UF2 into an STM32 (UART bootloader, USB DFU, ST-LINK or CMSIS-DAP), an ESP32 or ESP8266 (ROM loader) or an RP2040/RP2350 (PICOBOOT or UF2); verify and read back.
Register viewer (SVD): CMSIS-SVD peripherals, registers and bit fields; decode a value; find the register at an address; C defines.
Also useful for: rtt terminal, rtt st-link, printf over swd, jlinkrttviewer, rtt client.