LINUX NOTES for FPGAs

Linux Notes for FPGA work.

I will post hints, suggestions regarding how to get FPGA things done in Linux here. Please email me your questions and I'll try to answer them here.

GTKTerm: serial communications with FPGAs

For recent linux (over Ubuntu 11.10, kernel 3.0.0-19) (mine is kernel 4.4.0-140-generic based on ubuntu 16.04) you just need:

  1. sudo apt-get install gtkterm
  2. connect your go-board
  3. sudo gtkterm -p /dev/ttyUSB1 -s 115200 -b 8 -t 1 <----------- YES ********

(Note that I reduced my baud rate to 1200 in the 3rd version of the DDS Function Generator)

You DO NOT NEED to install any drivers; they already come with the kernel and they recognize the go-board (FTDI serial port).

BOTH ports /dev/ttyUSB0 and dev/ttyUSB1 are seen by:

dmesg | grep FTDI

that answers:

[ 5997.028880] usb 2-3: Manufacturer: FTDI 
[ 5997.029520] ftdi_sio 2-3:1.0: FTDI USB Serial Device converter detected 
[ 5997.030774] usb 2-3: FTDI USB Serial Device converter now attached to ttyUSB0 
[ 5997.031048] ftdi_sio 2-3:1.1: FTDI USB Serial Device converter detected 
[ 5997.031462] usb 2-3: FTDI USB Serial Device converter now attached to ttyUSB1 

BUT only /dev/ttyUSB1 worked for me.