background image

Ultra96-PYNQ Documentation

Release v2.4

Avnet, Xilinx

Oct 23, 2020

Summary of Contents for Avnet Ultra96-PYNQ

Page 1: ...Ultra96 PYNQ Documentation Release v2 4 Avnet Xilinx Oct 23 2020 ...

Page 2: ......

Page 3: ...tup Guide 3 1 3 Connecting to Jupyter Notebooks 5 1 4 Configuring PYNQ 8 2 Sensors96b Overlay 11 2 1 Sensors96 Mezzanine board 11 2 2 Ultra96 overlay diagram 12 2 3 96boards sensors kit 13 2 4 Rebuilding the Overlay 13 3 For More Information 15 3 1 PYNQ 15 3 2 Ultra96 15 i ...

Page 4: ...ii ...

Page 5: ... for the release of PYNQ targetting the Avnet Ultra96 Board Specifically a getting started guide is included here and information on the included boot overlay For more information on PYNQ please see the PYNQ readthedocs pages https pynq readthedocs io Contents 1 ...

Page 6: ...Ultra96 PYNQ Documentation Release v2 4 2 Contents ...

Page 7: ...the getting started video guide or follow the instructions below 1 2 Ultra96 Setup Guide The PYNQ environment can be accessed using a web browser over a network connection You can connect to the board in three main ways USB cable preferred Use the board s WiFi access point Connect a monitor keyboard and mouse directly to the board All three connection methods will be covered below USB cable is the...

Page 8: ... Init LED near the SD Card socket will turn on when the power button is pressed After a few seconds the red LED will switch off and the green Done LED will switch on The board will be ready after the blue and orange LEDs switch on 1 2 3 Connecting to the Ultra96 USB cable When connected to a computer using the USB cable the board can act as an Ethernet device Ethernet Gadget This is the recommende...

Page 9: ...can connect to the board using the USB cable then you can use the WiFi notebook in the Jupyter home area to configure the board to connect to a WiFi network Jupyter Home common wifi ipynb If you are familiar with configuring network connections in Linux you can also configure your connection using a terminal Skip to Connecting to Jupyter Notebooks or keep reading for other connection options Displ...

Page 10: ...r the password as xilinx After logging in you should see the following screen 1 3 1 Example Notebooks PYNQ uses the Jupyter Notebook environment to provide examples and documentation Using your browser you can view and run the notebook documentation interactively To get started using PYNQ try running the provided example notebooks getting_started includes an introduction to using Jupyter notebook ...

Page 11: ...include a serial driver by default On Windows 7 the device should be detected but the driver needs to be installed manually The driver is included on the mass storage device that also appears when the cable is connected You can install the driver in the serial_driver folder Note that the USB terminal can be useful for debug but is not intended to be used to access PYNQ A browser based terminal is ...

Page 12: ...r board settings To access the PYNQ home area in Windows Explorer type one of the following in the navigation bar 192 168 3 1 xilinx If connected via USB Ethernet If prompted the username is xilinx and the password is xilinx The following screen should appear To access the home area in Ubuntu open a file browser click Go Enter Location and type one of the following in the box smb 192 168 3 1 xilin...

Page 13: ... PuTTY Once PuTTY is open enter the following settings 4 Select serial 5 Enter the COM port number 6 Enter the serial terminal settings below 7 Click Open Full terminal Settings 115200 baud 8 data bits 1 stop bit No Parity No Flow Control Hit Enter in the terminal window to make sure you can see the command prompt xilinx pynq home xilinx You can check the IP address of the board using ifconfig ifc...

Page 14: ...Ultra96 PYNQ Documentation Release v2 4 10 Chapter 1 Getting Started ...

Page 15: ...eader on the Ultra96 The board includes an Arduino header a 40 pin female header and a number of Grove 4 pin headers The mezzanine board has an Arduino compatible microcontroller that is connected to some of the interfaces on the board The interfaces on the mezzanine board are connect to the microcontroller the 40 pin header or available to both shared Of the interfaces connected to the 40 pin hea...

Page 16: ...rove connectors 2 2 Ultra96 overlay diagram The sensors96b overlay is an overlay designed to support the 96boards Sensors mezzanine board The overlay is a simple design providing a number of GPIO and a UART to connect to available interfaces on the mezzanine board 2x PS I2C are connected to I2C0 and I2C1 PS GPIO are connected to GPIO AB and GF and PS GPIO are connected to GPIO GH IJ KL through the...

Page 17: ...ltra96 40 pin header See the example notebook for details Jupyter home sensors96b sensors_mezzanine_examples ipynb 2 4 Rebuilding the Overlay The project files for the overlay can be found here https github com Avnet Ultra96 PYNQ tree master Ultra96 sensors96b 2 4 1 Linux To rebuild the overlay source the Xilinx tools first Then assuming Ultra96 PYNQ has been cloned cd Ultra96 PYNQ Ultra96 sensors...

Page 18: ... command line open the Vivado 2018 3 Tcl Shell and run the following cd Ultra96 PYNQ Ultra96 sensors96b vivado mode batch source sensors96b tcl Note that you must change to the overlay directory as the tcl files has relative paths that will break if sourced from a different location 14 Chapter 2 Sensors96b Overlay ...

Page 19: ...ollowing links 3 1 PYNQ http www pynq io https pynq readthedocs io https www hackster io pynq https groups google com forum forum pynq_project 3 2 Ultra96 http zedboard org product ultra96 https www 96boards org product ultra96 https www xilinx com products boards and kits 1 vad4rl html 15 ...

Reviews: