1 / 14

Tutorial on using the DE2i-150 development board

Tutorial on using the DE2i-150 development board. Outline. This Tutorial covers the following topics: Getting started – materials and software Intel Atom Altera Cyclone IV Configuration steps Running an application Summary. Getting Started. Materials and Software:

pekelo
Download Presentation

Tutorial on using the DE2i-150 development board

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Tutorial on using the DE2i-150 development board Y. O. M. Moctar CSE, UCR

  2. Outline • This Tutorial covers the following topics: • Getting started – materials and software • Intel Atom • Altera Cyclone IV • Configuration steps • Running an application • Summary Y. O. M. Moctar CSE, UCR

  3. Getting Started • Materials and Software: • DE2i-150 development board • Laptop or desktop running Linux or Windows • Keyboard and VGA Monitor connected to the board • Power adapter and cord • Ethernet Cable (Linux Desktop to Yocto communication) • TFTP (for transfering files from the Linux Desktop to the Yocto) Y. O. M. Moctar CSE, UCR

  4. The DE2i-150 Block diagram from the DE2i-150 System Manuel Y. O. M. Moctar CSE, UCR

  5. Development setup • Ethernet cable for quick file Xfer • USB connection for FPGA configuration • Keyboard/Monitor for DE2i-150 USB Cable Y. O. M. Moctar CSE, UCR

  6. The Atom-N2600 Y. O. M. Moctar CSE, UCR

  7. Altera-Cyclone IV GX-150 Y. O. M. Moctar CSE, UCR

  8. PCI Devices in Linux • Devices are listed as bus:slot:function • Use lspci –v and lspci –vv for more verbosity Y. O. M. Moctar CSE, UCR

  9. Configuration steps (1) • On Linux Desktop computer: • Install and configure TFTP • Copy the content of the DE2i-150 CD to a directory • This directory contains demos and a PCIe driver • Using TFTP, copy files from your Linux Desktop to the Yocto Host on the Board • Install FPGA Design Environment (Quartus II Web edition) • Install from the DE2i-150 CD • Download from Altera Website • Open Quartus II and from the Tools menu select Programmer • in the next window click add file and choose the .sof file to upload on the FPGA. • Consult the User Manual on the DE2i-150 CD for more information on how to use Quartus II and program the FPGA Y. O. M. Moctar CSE, UCR

  10. Configuration steps (2) • On The Yocto Terminal: • After copying the demo files from the Linux Desktop to the Yocto System, type “reboot” to restart the Yocto Host • Load the PCI Express driver by typing: sh ./load_terasic_qsys_pcie_driver.sh de2i_150_config_file • Then make your application (you can provide a Makefile or just use gcc if you have a simple app.) • Finally run your application by typing: ./<application_name> Y. O. M. Moctar CSE, UCR

  11. Demo: VGA-Display (1) • This section walks you through the steps you need to run the VGA-DISPLAY demo: • Familiarize yourself with the board by reading the tech. and user manuals. • Make sure the board is powered up and all components are connected correctly. (consult the tech. manual) • If you have not done so, copy the DE2i-150 CD into a directory on your Linux Desktop (name it DE2i_CDROM) • Start Quartus II and using the Programmer upload the .sof file To the FPGA: /DE2i_CDROM/Demonstrations/PCIE_Display/demo_batch/ de2i_150_qsys_pcie.sof Y. O. M. Moctar CSE, UCR

  12. Demo: VGA-Display (2) • Using TFTP copy the following folders to the local hard disk on the Yocto Host: /DE2i_CDROM/Demonstrations/PCIE_Display/linux_app /DE2i_CDROM/Demonstrations/PCIe_Library /DE2i_CDROM/Demonstrations/PCIe_Driverinstall • In the Yocto Terminal, type “reboot” to restart the Yocto Host • In the Yocto Terminal, Load the PCI Express driver by typing: sh ./load_terasic_qsys_pcie_driver.sh de2i_150_config_file • In the Yocto Terminal, Run the application by typing: ./app Y. O. M. Moctar CSE, UCR

  13. Demo: VGA-Display (3) • On the VGA Display attached to the board you will see something like this: Y. O. M. Moctar CSE, UCR

  14. Summary • We have coved the important steps for configuring the DE21-150 board. • We have also shown how to install a PCI Express driver • Run an application on the Atom that interact with a design on the FPGA. • Questions ? Y. O. M. Moctar CSE, UCR

More Related