add tx_only_uart example to readme
This commit is contained in:
parent
3267cb38c4
commit
040cefea21
1 changed files with 30 additions and 0 deletions
30
README.md
30
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
|
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
|
# Funding
|
||||||
|
|
||||||
## NLnet Grants
|
## NLnet Grants
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue