Skip to content

hardwario/py-rttt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HARDWARIO Real Time Transfer Terminal Console

Main Release PyPI License Twitter

Overview

HARDWARIO Real Time Transfer Terminal Console (rttt) is a Python package that provides an interface for real-time data transfer using SEGGER J-Link RTT (Real-Time Transfer) technology. It enables efficient data communication between an embedded system and a host computer via RTT channels.

This package is particularly useful for debugging, logging, and real-time data visualization in embedded applications.

alt text

Features

  • Real-time communication with embedded devices via RTT.
  • Support for multiple RTT buffers (console and logger).
  • Adjustable latency for optimized readout.
  • J-Link support with configurable serial numbers, device types, and speeds.
  • Command-line interface (CLI) for quick access to features.
  • Easy installation via PyPI.

Installation

To install the package, use:

pip install hardwario

To verify the installation, run:

rttt --help

Usage

Basic Command

To start the RTT console:

rttt --device <DEVICE_NAME>

Available Options

Usage: rttt [OPTIONS]

  HARDWARIO Real Time Transfer Terminal Console.

Options:
  --version                  Show the version and exit.
  --serial SERIAL_NUMBER     J-Link serial number.
  --device DEVICE            J-Link Device name. [required]
  --speed SPEED              J-Link clock speed in kHz. [default: 2000]
  --reset                    Reset application firmware.
  --terminal-buffer INTEGER  RTT Terminal buffer index. [default: 0]
  --logger-buffer INTEGER    RTT Logger buffer index. [default: 1]
  --latency INTEGER          Latency for RTT readout in ms. [default: 50]
  --history-file PATH        Path to history file. [default: ~/.rttt_history]
  --console-file PATH        Path to console file. [default: ~/.rttt_console]
  --help                     Show this message and exit.

Examples

Connect to a device (replace nRF52840 with your actual device name):

rttt --device NRF52840_xxAA

Use a specific J-Link serial number:

rttt --device NRF52840_xxAA --serial 123456789

License

This project is licensed under the MIT License - see the LICENSE file for details.


Made with ❤  by HARDWARIO a.s. in the heart of Europe.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages