07-09-2018 05:31 AM
I want to make serial communication between Zybo Z7 and PC and they are connected using USB cable. (USB plugged into PC and micro USB plugged in UART PROG pin on Zybo Z7).
The device is recognized on /dev/ttyUSB0 port (Ubuntu 16.04). In addition, I am using Vivado and SDK 2018.2.
When I open putty as hyperterminal on this port, it is black screen with green cursor?
Can somebody suggest me solution for this problem?
07-09-2018 05:46 AM
Have you the uart enabled in your zynq ps config in vivado?
Do you have the bsp stdin/our set to the expected uart in SDK. (Right click on the bsp in SDK, and select board support packages and then in standalone, set the stdin/out here.
is the baud set correctly? It should be 115200
have you the correct port selected?
07-12-2018 01:19 AM
07-13-2018 12:30 AM
I configured baud rate on both sides (in putty terminal and in zynq proccessing block) but now it is giving me unreadable characters.
In my program I am using Xil_printf function.
I found this but it is not providing me solution.
07-13-2018 01:12 AM
The fact of getting "unreadable characters" means that your target is transmitting information and you are reciving in the host as well. Definitivelly this seems to be a baudrate issue, ensure again that you are using the same (be careful with the amount of zeros).
Another exercise might be also to playaround with baudrates in the host side to check if you can reach a number where you read properly the serial interface. It might be that for some clocking configuration issue you are getting the wrong baudrate in the target eventhough you think you have been configuring it properly.