I have created hello world project for zybo in Vivado 2017.4 installed in Ubuntu 16.04. The ELF file is created in SDK. I have written a TCL script to download FSBL, Bit file and also hello world application file. I have run the TCL script in XSCT terminal of SDK to download the program. The FPGA Done light indicate that the program is downloaded on the ZYNQ chip. The UART led on the board also blink every second because I use a while loop and sleep (1) function in the hello world application to send hello world every second.
The minicom is also installed.
I run the following command in Terminal.
dmesg | grep tty
Here is the reply.
[170018.653979] usb 2-1.7: FTDI USB Serial Device converter now attached to ttyUSB0
[170018.657182] usb 2-1.7: FTDI USB Serial Device converter now attached to ttyUSB1
[180348.206632] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
[180703.928951] ftdi_sio ttyUSB1: FTDI USB Serial Device converter now disconnected from ttyUSB1
[180705.297114] usb 2-1.7: FTDI USB Serial Device converter now attached to ttyUSB0
[180705.300051] usb 2-1.7: FTDI USB Serial Device converter now attached to ttyUSB1
[180706.519259] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
[181491.379018] ftdi_sio ttyUSB1: FTDI USB Serial Device converter now disconnected from ttyUSB1
[181492.231034] usb 2-1.7: FTDI USB Serial Device converter now attached to ttyUSB0
[181492.234064] usb 2-1.7: FTDI USB Serial Device converter now attached to ttyUSB1
[181565.482720] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
[181916.591878] ftdi_sio ttyUSB1: FTDI USB Serial Device converter now disconnected from ttyUSB1
[181917.697619] usb 2-1.7: FTDI USB Serial Device converter now attached to ttyUSB0
[181917.700661] usb 2-1.7: FTDI USB Serial Device converter now attached to ttyUSB1
[181996.463237] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
[181996.463489] ftdi_sio ttyUSB1: FTDI USB Serial Device converter now disconnected from ttyUSB1
[182311.425567] usb 2-1.7: FTDI USB Serial Device converter now attached to ttyUSB0
[182311.428703] usb 2-1.7: FTDI USB Serial Device converter now attached to ttyUSB1
The problem is how to find the port to which the board is connected ? How to find the serial port number of the board ?
Question
joniengr081
Hi,
I have created hello world project for zybo in Vivado 2017.4 installed in Ubuntu 16.04. The ELF file is created in SDK. I have written a TCL script to download FSBL, Bit file and also hello world application file. I have run the TCL script in XSCT terminal of SDK to download the program. The FPGA Done light indicate that the program is downloaded on the ZYNQ chip. The UART led on the board also blink every second because I use a while loop and sleep (1) function in the hello world application to send hello world every second.
The minicom is also installed.
I run the following command in Terminal.
dmesg | grep tty
Here is the reply.
[170018.653979] usb 2-1.7: FTDI USB Serial Device converter now attached to ttyUSB0 [170018.657182] usb 2-1.7: FTDI USB Serial Device converter now attached to ttyUSB1 [180348.206632] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0 [180703.928951] ftdi_sio ttyUSB1: FTDI USB Serial Device converter now disconnected from ttyUSB1 [180705.297114] usb 2-1.7: FTDI USB Serial Device converter now attached to ttyUSB0 [180705.300051] usb 2-1.7: FTDI USB Serial Device converter now attached to ttyUSB1 [180706.519259] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0 [181491.379018] ftdi_sio ttyUSB1: FTDI USB Serial Device converter now disconnected from ttyUSB1 [181492.231034] usb 2-1.7: FTDI USB Serial Device converter now attached to ttyUSB0 [181492.234064] usb 2-1.7: FTDI USB Serial Device converter now attached to ttyUSB1 [181565.482720] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0 [181916.591878] ftdi_sio ttyUSB1: FTDI USB Serial Device converter now disconnected from ttyUSB1 [181917.697619] usb 2-1.7: FTDI USB Serial Device converter now attached to ttyUSB0 [181917.700661] usb 2-1.7: FTDI USB Serial Device converter now attached to ttyUSB1 [181996.463237] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0 [181996.463489] ftdi_sio ttyUSB1: FTDI USB Serial Device converter now disconnected from ttyUSB1 [182311.425567] usb 2-1.7: FTDI USB Serial Device converter now attached to ttyUSB0 [182311.428703] usb 2-1.7: FTDI USB Serial Device converter now attached to ttyUSB1
The problem is how to find the port to which the board is connected ? How to find the serial port number of the board ?
Link to comment
Share on other sites
12 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.