cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
awe
Newbie
Newbie
487 Views
Registered: ‎11-16-2020

Zynq Ultrascale+/Mercury XU1: How can I make both UARTs visible at the USB debug interface?

Jump to solution

Hi,

the USB debug interface of the Enclustra Mercury XU1 shows two (potential) UART channels: when connected to my Linux (host) machine, two tty devices show up, /dev/ttyUSB0 and /dev/ttyUSB1. However, only /dev/ttyUSB1 seems to be an active console, linked to UART0 on the Ultrascale+ MPSoC device. I was not able yet to get any data through /dev/ttyUSB0.

I want to realize a use case where I need two distinct UART consoles, one for the A53 MP, one for the R5. How can I connect UART1 of the MPSoC with the /dev/ttyUSB0 channel of the USB debug interface?

I was trying to configure MIO so that UART1 signals are routed (somewhere). However, since I did not find any documentation related to the USB debug interface configuration, I possibly missed an important detail. Who knows the trick and wants to share it?

Tags (5)
0 Kudos
1 Solution

Accepted Solutions
jadhavs
Xilinx Employee
Xilinx Employee
365 Views
Registered: ‎01-21-2008

Hi  @awe 

Please try to have a look the 3rd party website at https://www.enclustra.com/en/products/system-on-chip-modules/mercury-xu1/ .

Try to see if the UART MIO or EMIO pins are connected/configured  properly in Vivado s/w design PCW (Processor Configuration Wizard) which is matching with the board schematic or not.

Once you have all checked with the RS232 interface connection, then compile the project and generate the BOOT file to run over the existing board XU1.

Now USB Driver part, over Linux OS or Win10 OS HOST side, please do find which RS232 to USB chip is used over the board XU1 and then try getting the 3rd party drivers for respective website.

 I do not have Mercury XU1 schematic, so can't tell you which USB to UART converter chip driver can work at the HOST OS side!

For example we have ZCU102 (Xilinx board) as we use Si Labs CP210x USB UART Drivers -> https://www.xilinx.com/support/documentation/boards_and_kits/install/ug1033-cp210x-usb-uart-install.pdf 

But these driver will not work for you, unless the 3rd party Mercury XU1 uses same USB_to_UART convertor. 

Hope this helps.

View solution in original post

Tags (1)
1 Reply
jadhavs
Xilinx Employee
Xilinx Employee
366 Views
Registered: ‎01-21-2008

Hi  @awe 

Please try to have a look the 3rd party website at https://www.enclustra.com/en/products/system-on-chip-modules/mercury-xu1/ .

Try to see if the UART MIO or EMIO pins are connected/configured  properly in Vivado s/w design PCW (Processor Configuration Wizard) which is matching with the board schematic or not.

Once you have all checked with the RS232 interface connection, then compile the project and generate the BOOT file to run over the existing board XU1.

Now USB Driver part, over Linux OS or Win10 OS HOST side, please do find which RS232 to USB chip is used over the board XU1 and then try getting the 3rd party drivers for respective website.

 I do not have Mercury XU1 schematic, so can't tell you which USB to UART converter chip driver can work at the HOST OS side!

For example we have ZCU102 (Xilinx board) as we use Si Labs CP210x USB UART Drivers -> https://www.xilinx.com/support/documentation/boards_and_kits/install/ug1033-cp210x-usb-uart-install.pdf 

But these driver will not work for you, unless the 3rd party Mercury XU1 uses same USB_to_UART convertor. 

Hope this helps.

View solution in original post

Tags (1)