From 040cefea21d64ab5e09570331872db76211596da Mon Sep 17 00:00:00 2001 From: Jacob Lifshay Date: Wed, 22 Oct 2025 20:19:24 -0700 Subject: [PATCH] add tx_only_uart example to readme --- README.md | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/README.md b/README.md index 011922d..8e7f275 100644 --- a/README.md +++ b/README.md @@ -45,6 +45,36 @@ To program the Flash also, so it stays programmed when power-cycling the board: sudo openFPGALoader --board arty_a7_100t -f target/blinky-out/blinky.bit ``` +# Building the [Transmit-only UART example] for the Arty A7 100T on Linux + +[Transmit-only UART example]: crates/fayalite/examples/tx_only_uart.rs + +Follow the steps above of building the Blinky example, but replace `blinky` with `tx_only_uart`. + +View the output using [tio](https://github.com/tio/tio) which you can install in Debian using `apt`. + +Find the correct USB device: +```bash +sudo tio --list +``` + +You want the device with a name like (note the `if01`, `if00` is presumably the JTAG port): +`/dev/serial/by-id/usb-Digilent_Digilent_USB_Device_210319B4A51E-if01-port0` + +Connect to the serial port: +```bash +sudo tio -b115200 /dev/serial/by-id/put-your-device-id-here +``` + +You'll see (repeating endlessly): +```text +Hello World from Fayalite!!! +Hello World from Fayalite!!! +Hello World from Fayalite!!! +``` + +Press Ctrl+T then `q` to exit tio. + # Funding ## NLnet Grants