ProtoFlex   Carnegie Mellon

Differences

This shows you the differences between two versions of the page.

documentation:iiswc2010_tutorial_protoflex [2010/12/02 23:44]
papamix
documentation:iiswc2010_tutorial_protoflex [2010/12/03 02:48] (current)
papamix
Line 465: Line 465:
  * Open up Impact from the start menu. When asked, create a new project and click ''Finish'' to start the boundary scan.  This will detect 5 components on the JTAG chain, with the last component being the FPGA.  When prompted by an Open Window dialog, click ''Cancel all''.   * Open up Impact from the start menu. When asked, create a new project and click ''Finish'' to start the boundary scan.  This will detect 5 components on the JTAG chain, with the last component being the FPGA.  When prompted by an Open Window dialog, click ''Cancel all''.
-  * Right-click on the last component (xc5vlx110t), and click ''Assign New Configuration File''.  When prompted, select the ''download.bit'' file copied over from the Primary PC. Leave all default options and proceed with the programming. This should only take a few seconds.  +  * Right-click on the last component (xc5vlx110t), and click ''Assign New Configuration File''.  When prompted, select the ''download.bit'' file copied over from the Primary PC. Leave all default options and proceed with the programming. To do this right-click on the last component (xc5vlx110t), and click ''Program''. This should only take a few seconds.   
 + 
 +  * Quit Impact.
  * Open a Cygwin command prompt by navigating to ''Start->Programs->Xilinx->EDK->Accessories->Launch EDK Shell''. Within the shell, navigate over to the directory where you saved ''pfserver.elf''.  If we assume that these files were on the ''C:\'' drive, type:   * Open a Cygwin command prompt by navigating to ''Start->Programs->Xilinx->EDK->Accessories->Launch EDK Shell''. Within the shell, navigate over to the directory where you saved ''pfserver.elf''.  If we assume that these files were on the ''C:\'' drive, type:
Line 482: Line 484:
=== Configuring the PCI express driver === === Configuring the PCI express driver ===
++++CLICK - Expand/Collapse| ++++CLICK - Expand/Collapse|
-  * Power on the Primary PC. **Don't forget to select the correct kernel at the GRUB menu (we use 2.6.27.29-0.1)**.+  * Power on the Primary PC. (you will need to ask one of the tutorial speakers to carry out this step remotely) **Don't forget to select the correct kernel at the GRUB menu (we use 2.6.27.29-0.1)**.
  * During bootup, your startup screen should show the FPGA board as a ''Memory Controller'':   * During bootup, your startup screen should show the FPGA board as a ''Memory Controller'':
Line 488: Line 490:
{{:documentation:bios.png?350|Bootup Screen}} {{:documentation:bios.png?350|Bootup Screen}}
-  * After the Primary PC is booted, navigate over to the ''<protoflex>/drivers/xupv5_pcie/module'' directory. Load the driver by typing ''sudo make load''. +  * After the Primary PC is booted login and navigate over to the ''<protoflex>/drivers/xupv5_pcie/module'' directory. Load the driver by typing ''sudo make load''.
  * Last but not least, when you have completed loading the driver, you should type ''dmesg''. Your output should resemble something like this (the addresses may not match up exactly):   * Last but not least, when you have completed loading the driver, you should type ''dmesg''. Your output should resemble something like this (the addresses may not match up exactly):