You can use a raspberry pi for a remote UART terminal

 

The instructions are as followed:

 

1. Set up the Rasberry pi

 - OS: Raspbian

 - apps: openssh-server, screen

# sudo apt-get install -y openssh-server screen

 

2. Install USB-UART driver

 - Download linux source from https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers

 

CP210x USB to UART Bridge VCP Drivers - Silicon Labs

The CP210x USB to UART Bridge Virtual COM Port (VCP) drivers are required for device operation as a Virtual COM Port to facilitate host communication with CP210x products. These devices can also interface to a host using the direct access driver.

www.silabs.com

 Download Linux 3.x.x/4.x.x VCP Driver. You may need to sign up.

※ Raspberry pi kernel version is 5.4.79-v7+(2020.12.18), but it works!

 

 - Unzip the downloaded source

 - Compile

 You may need the kernel source. You can use rpi-source(github.com/notro/rpi-source/wiki)

# cd <unzip dir>
# sudo apt-get install git bc bison flex libssl-dev
# sudo wget https://raw.githubusercontent.com/notro/rpi-source/master/rpi-source -O /usr/local/bin/rpi-source
# sudo chmod +x /usr/local/bin/rpi-source
# rpi-source
# make

 - Install module

# sudo cp cp210x.ko /lib/modules/`uname -r`/kernel/drivers/usb/serial
# sudo insmod /lib/modules/`uname -r`/kernel/drivers/usb/serial/usbserial.ko
# sudo insmod cp210x.ko

 

3. Connect FPGA borad's UART and Raspberry pi's USB

 

4. Remote access to the RapberryPI

 

5. Use terminal

# sudo screen /dev/ttyUSB0 115200

'Programming > Xilinx' 카테고리의 다른 글

SDK pointer vs array  (0) 2021.12.04
ERROR: [USF-XSim-62] 'elaborate' step failed with errors  (0) 2021.01.14
Vivado [Opt 31-67] Issue  (0) 2020.12.30
ZCU102 Evaluation Kit SODIMM issue  (0) 2020.12.21
Multi Hardware Server Issue  (0) 2020.12.18

+ Recent posts