Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Note
titleImportant Note

In order to use the UART in a terminal on Linux on the lab machines, you have to run the XFCE terminal emulator from the application launcher.
If you use another terminal emulator, like Gnome Terminal, then you might find you are not in the dialout group (check by typing groups) and so you are not given permissions to open /dev/ttyUSB1.

Note
titleAnother Important Note

While SDK does have a basic built-in serial console, this is line-buffered so doesn't immediately send or display data, and can get very slow when a lot of data is received.
In order to avoid inevitable issues and confusion, and to allow more flexibility in the software you write (like the ability to respond to individual key presses rather than whole lines of text), we recommend not using this.


The Zybo boards used in EMBS appear as a USB serial device when connected to a computer. Under Linux this will appear as a device like /dev/ttyUSB1 or /dev/ttyUSB2.

...