# `rttmon` > A simple RTT monitor for [OpenOCD](https://openocd.org) [![crates.io](https://img.shields.io/crates/v/rttmon)](https://crates.io/crates/rttmon) [![github](https://img.shields.io/github/actions/workflow/status/matteocarnelos/rttmon/cargo.yml?branch=main)](https://github.com/matteocarnelos/rttmon/actions/workflows/cargo.yml) ## Features - Print RTT messages with (host) timestamps - Automatic reconnection upon OpenOCD server restart - Possibility to log RTT messages to file ## Installation ``` cargo install rttmon ``` ## Usage ``` Usage: rttmon [OPTIONS] [HOST] [PORT] Arguments: [HOST] The OpenOCD RTT server host [default: localhost] [PORT] The OpenOCD RTT server port [default: 9090] Options: -o, --output Write RTT messages to file -h, --help Print help -V, --version Print version ``` #### Additional resources - [OpenOCD RTT Commands](https://openocd.org/doc/html/General-Commands.html#Real-Time-Transfer-_0028RTT_0029) ## License Licensed under either of * Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or ) * MIT license ([LICENSE-MIT](LICENSE-MIT) or ) at your option. ### Contributing Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions. Copyright © 2024, [Matteo Carnelos](https://github.com/matteocarnelos)