joniengr081

Members
  • Content Count

    15
  • Joined

  • Last visited

About joniengr081

  • Rank
    Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hi, I just have opened a new terminal and launch minicom through the new terminal which works the same way as SDK terminal but I have to close the SDK terminal before connecting to minicom. Thanks @D@n and @jpeyron
  2. Hi, Now I able to run hello world example, see attachment for UART settings in SDK. It works now. I am just curious that how people connect to minicom when Vivado and SDK are running because terminal gets busy while Vivado is running, right ? I usually launch the Vivado using the following command in Ubuntu terminal. source /scratch/VivadoProjects/zybo_hello/scripts/xsct_tcl_script.tcl Vivado This launch Vivado. ****** Vivado v2017.4 (64-bit) **** SW Build 2086221 on Fri Dec 15 20:54:30 MST 2017 **** IP Build 2085800 on Fri Dec 15 22:25:07 MST 2017 ** Copyright 1986-2017 Xilinx, Inc. All Rights Reserved. start_gui This makes terminal busy and does not allow to run any further command. Closing the terminal also close the Vivado. How to launch minicom using "sudo minicom -s" while Vivado is running ?
  3. Hi @jpeyron, I guess I first need to add "dialout´╗┐ group", right ? I have done that the following way. myUser---:~$ sudo adduser $USER dialout [sudo] password for myUser---: Adding user `myUser---' to group `dialout' ... Adding user myUser--- to group dialout Done. Latter I install screen as mentioned in your post https://forum.digilentinc.com/topic/4309-zybo-serial-port-in-ubuntu/ but I don't know the purpose. myUser----:~$ sudo apt-get install screen Reading package lists... Done Building dependency tree Reading state information... Done screen is already the newest version (4.3.1-2build1). 0 upgraded, 0 newly installed, 0 to remove and 291 not upgraded. Here is the outcome of "dmesg | grep tty" myUser---:~$ dmesg | grep tty [83752.475622] usb 2-1.6: FTDI USB Serial Device converter now attached to ttyUSB0 [83752.475981] usb 2-1.6: FTDI USB Serial Device converter now attached to ttyUSB1 What do I need next ? Please list the subsequent steps to follow. The question is how to find the "port" to which zybo is connected ? To which port do I need to configure minicom ?
  4. 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 ?
  5. Hi, To summarize for other viewers. The ZYNQ ECHO Server LwIP Example lwip202 is working in Vivado 2018.3 installed in Windows 10 Enterprise 64 bit with the following two line changes in xadapter.c. Please comment these two lines to make the example work. // if ((eth_link_status == ETH_LINK_UP) && (!phy_link_status)) // eth_link_status = ETH_LINK_DOWN;´╗┐ The file xadapter.c is located at ,,,,,\lwip_example.sdk\LWIP_ECHO_Server_bsp\ps7_cortexa9_0\libsrc\lwip202_v1_2\src\contrib\ports\xilinx\netif
  6. Hi @jpeyron, In which file I need to do these changes ?
  7. Hi, I have implemented and tested LwIP Echo Server example (lwip141) in ZYBO in Vivado 2017.3 programming through BOOT.BIN. The example works in 2017.3. The problem is that when I upgrade Vivado to 2018.3 in Windows 10, the LwIP example (lwip202) is not working through BOOT.BIN (and also through XSCT) because the Ethernet LINK LED on board is unstable. The Tera Term output is also attached showing Ethernet Link UP / Ethernet Link Down. Any idea how to fix it and run LwIP example ?
  8. Hi, I just installed Vivado 2018.3 on Windows 10 Enterprise 64 bit version. I don't find ZYBO Z7 in device manager under COM port. How to install cable driver for ZYBO ?
  9. Hi, Thanks for sharing the project. It works. There is nothing wrong in the tutorial. No need to change anything this the SDK program. The problem was in connecting to Tera Term which is fixed now. I am sorry for this redundant post. Kindly advice if there is any way to delete this post. Thanks for understanding.
  10. Hi, I am using JTAG to download the program. I am following the steps in tutorial. The UART serial terminal output you can see in the first post. How to attach screen shots ? I don't find option to upload a file.
  11. Yes I have added the board files of Zybo-Z7-20 and have implemented several projects on it including AXI DMA with AXI Stream interface. The projects works with JTAG programing and also with BOOT.BIN in SD card. As mentioned above that I have followed the steps in the Digilent's tutorial "Getting Started with Zynq Servers" which was implemented on Xilinx Vivado 2015.X. I am implementing the LwIP project using Vivado 2017.3. I am using Tera Term for connecting to UART. I get the warning message on UART that the PHY is not Marvel or TI. This is the only difference which I have until step 11 of Digilent's tutorial. The issue is with last step 12. Repeat: I have assigned the IPv4 address (192.168.1.11) in the laptop and have connected the Ethernet cable. I am not able to ping the board (192.168.1.10) and not able to connect to Telnet which is demonstrated in step 12 of tutorial. Is it possible to attach file ? I don't find the option to upload the files.
  12. Yes I have already looked into this tutorial and I have followed until step 11 which is a message on UART, posted in the first post. Then I have issue with step 12. I have assigned the IPv4 address (192.168.1.11) in the laptop and have connected the Ethernet cable. I am not able to ping the board (192.168.1.10) and not able to connect to Telnet which is demonstrated in step 12 of tutorial.
  13. I am trying to run the ZYNQ server LwIP example on ZYBO Z7-20. The board has Realtek RTL8211E-VL PHY. The LwIP example in Vivado SKD 2017.3 is designed for TI or Micrel PHY. I get warning (and also DHCP timeout) in the UART terminal that the PHY on target board is not TI or Micrel PHY. -----lwIP TCP echo server ------ TCP packets sent to port 6001 will be echoed back WARNING: Not a Marvell or TI Ethernet PHY. Please verify the initialization sequence link speed for phy address 1: 1000 DHCP Timeout Configuring default IP of 192.168.1.10 Board IP: 192.168.1.10 Netmask : 255.255.255.0 Gateway : 192.168.1.1 TCP echo server started @ port 7 I have looked at the Digilent's tutorial "Getting Started with Zynq Servers" which was implemented on Xilinx Vivado 2015.X. Probably the LwIP example in Vivado 2015 is compatible with ZYBO's Realtek RTL8211E-VL. Do I need to change any setting in LwIP example in Vivado 2017.3 to run on ZYBO Z7-20 ?
  14. Hi, I am working on an application in which I need to send data continuously to the network from zybo. I have looked at the Echo server example but it is sensitive to the listening mode. It listen to the network all the time. It send data to network whenever there is data from the network to the zynq otherwise zynq don't send anything to network. My task is to send 32 bit of data upon every micro-second from zynq to PC over ethernet. Is there anything better and recommended other then LwIP for my application ? I am not sure which function in the main () I need to modify in LwIP. Here is the section of the main (). print_ip_settings(&ipaddr, &netmask, &gw); /* start the application (web server, rxtest, txtest, etc..) */ start_application(); /* receive and process packets */ while (1) { if (TcpFastTmrFlag) { tcp_fasttmr(); TcpFastTmrFlag = 0; } if (TcpSlowTmrFlag) { tcp_slowtmr(); TcpSlowTmrFlag = 0; } xemacif_input(echo_netif); transfer_data(); }