Jump to content
  • 0

Zybo z7 usb uart no longer recognized by pc


TF1999

Question

Disclaimer: I'm not an expert, just a student working on a school project.

My zybo z7 board stopped showing up as /dev/ttyUSBx on my linux vm when connected using the UART microUSB port. On my windows host the com port does show up but I cannot open a connection with putty (115200 8n1), no error info or strange characters, just an error sound effect with no explanation. I tried everything on the pc side (driver reinstall, reboot, enable/disable port, different ports, different cables) but I suspect that it is the board not communicating.

I use external power with WALL selected and booted from an sd card with a 500 mb fat32 partition with a boot and image file generated with xilinx petalinux which were not changed from when everything worked fine. There is also a 3gb ext4 partition where the fs is. The only thing that changed before the problem occured is that a few to-be-tested precompiled kernel modules where added to the ext fs in the home folder. Other students with the same set-up do not have this problem. I tried different sd cards and remade the partitions and redid the boot/image/fs generation but no success.

When booting from QSPI the example program works fine so I don't think the board is broken (The serial com doesn't work in QSPI either but I don't know if it's supposed to). Maybe it needs some kind of factory reset? Is there a way to confirm if the microUSB port is working? Help will be appreciated.

 

btw: upon startup I can see the RX led flickering but never the TX led

Edited by TF1999
Link to comment
Share on other sites

10 answers to this question

Recommended Posts

  • 1

When you create a HW project in Vivado, you have to configure the Zynq. Since you are using a Petalinux build, the UART channel is enabled for sure in Zynq.

However I've built 2 demos to test the UART, because I don't know which Zybo Z7 you have. These are the files, select the one for you board:  

Zybo_Z7_10.bin

Zybo_Z7_20.bin

I'm using:

image.png.dcb8f7141bd379ca83750b4999da8dde.png

 

I know for sure that these 2 demos are working. Copy the .bin file to an empty SD card, rename the file to BOOT.bin, JP5 jumper set to SD on the board, wait for the DONE LED to become green. Press PS-SRST button to show the message multiple times on the serial console.

Let me know what you see

 

Edited by Ana-Maria Balas
Link to comment
Share on other sites

  • 0

So let me understand, you can program the board via JTAG using the micro USB cable but you cannot access the serial port.

1. With the Virtual machine, you have to be careful to allow the USB devices to be connected to your VM. If the USB device is connected to the VM, then you cannot access it from Windows and if the USB device is connected to Windows, then you cannot access it from VM, in your case from Linux and that is why it is not detected.

2. Did you enable the UART MIO channel in Zynq ?

Link to comment
Share on other sites

  • 0

@Ana-Maria Balas Yes, I programmed the FPGA with a tutorial example (I never used Xilinx SDK before) and it did auto detect the zybo board and I am able to run and debug the project line by line. It seems that the micro USB port is working fine. But neither Putty, Realterm or the Xilinx SDK terminal give any serial output (on my windows host without running vmware). The Xilinx console does however output some random characters (with 115200 baudrate) if I connect STDIO to console in the Run/Debug configuration.

I did not look into the UART MIO channel, how/where can I enable that?

Edited by TF1999
tagged Ana. Don't know if she'd see the reply if i don't
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...