wiki:FAQ/EDK

Version 24 (modified by murphpo, 17 years ago) (diff)

--

FAQ/EDK


How do I install the WARP support files?

Most projects which use the WARP hardware will be assembled and generated in Xilinx Platform Studio (XPS), part of the Embedded Developer's Kit. We provide a number of files which make it easy to create projects for the WARP hardware. These files must be installed in the directories:

C:\EDK_user_repository\WARP\boards\
C:\EDK_user_repository\WARP\pcores\
C:\EDK_user_repository\WARP\drivers\

The best way to get these files is to use a Subversion client. See WARP Repository Access for more information on getting & using Subversion.

  1. Nagivate to C:\EDK_user_repository\
  2. Checkout the platform support files from the repository
    1. If you're using TortoiseSVN in Windows, checkout this URL:
      http://warp.rice.edu/svn/WARP/EDK_User_Repository/
      
    2. If you're using the command-line svn, checkout this URL:
      http://warp.rice.edu/svn/WARP/EDK_User_Repository/WARP/
      
  3. This will create a Subversion working copy of the platform support files on your local machine. You can update this working copy using Subversion anytime to sync your files with the repository.

The WARP Board does not appear in the list of available boards in the Base System Builder.

Make sure you have installed the board description file (.xbd) from the repository. It should be installed in

C:\EDK_User_Repository\WARP\boards\Rice_University_WARP_FGPA_V2P70\data\Rice_University_WARP_FGPA_V2P70_v2_2_0.xbd

Refer to the question above if this file isn't installed.


How do I install custom peripherals from the repository?

Make sure you have installed the custom WARP peripherals from the repository. They should be installed in these directories

C:\EDK_user_repository\WARP\pcores\
C:\EDK_user_repository\WARP\drivers\

Refer to the question above if these folders are missing or empty.


I'm trying to run an Ethernet demo. I get no response when I attempt to ping the board, despite everything else working, generating and downloading properly.

This is most likely due to the speed of the the PLB clock in your design. The 10/100 Ethernet core requires a bus clock running at least 65 MHz in order to establish a 100 Mb Ethernet link. There are two solutions:

  • Connect your WARP board to a 10 Mb Ethernet connection
  • Re-run Base System Builder and select a bus clock frequency of at least 65 MHz.

The compiler throws errors for undefined functions when I try to use Xilkernel or LWIP.

The problem may be more general and not just limited to Xilkernel or LWIP, but rather any libraries you've included in the software platform settings menu. The common problem is that the library paths have not been added to the compiler configuration menu. The fix is as follows:

  1. Go to Applications Tab -> Expand Project View -> Right-click on "Compiler Options" and click "Set Compiler Options..."
  2. Go to "Paths" Tab and then in the "Libraries to Link against(-l)" box, make sure this field contains a value like:
       xilkernel lwip4
    

You only need to list the libraries your code requires.


During Bitstream generation in XPS, the process gets stuck at "Using Options File: xflow.opt" in the output display.

This occurs when the user has insufficient read/write privelages on the computer. Be sure the currently logged in user as full read/write permissions on the XPS project's folder.


When using Xilkernel, I can't get the initial pthread to launch.

If the project compiles correctly and the Xilkernel initialization prints appear, yet the initial pthread does not start after, the solution is to generate a new Linker Script (in XPS, Software -> Generate Linker Script). Everything should be placed on the iocm_cntlr or the docm_cntlr memory-types (in the drop downs, you should never see BOTH iocm & docm memory types as an option, so just pick which of the two exists).


When trying to "Generate Libraries and BSPs," I get a read/write error for a particular driver.

It's important that the user has full read/write permissions and access to their own project folders, the Xilinx install, and the EDK install.


I've included the WARP SysACE libraries in my project, but I get errors about functions not being able to be found!

Using the WARP SysACE library, requires 4 additional libraries to be added:

  • warplib.h
  • xsysace.h
  • xsysace_l.h
  • sysace_stdio.h

The only library that must be added manually is warplib. The xsys libraries should work as long as you have instantiated a SystemACE controller peripheral in your project. The last library, however, requires an additional modification to the MSS file. This change can be automatically generated by accessing "software platform settings" under the "software" drop-down in XPS. It's important to enable the directory support, otherwise the warpsysace library cannot function correctly:


When attempting to implement xilkernel, I get many compilation errors pertaining to lower level xilkernel functions during the BSP build.

First, make sure "xmk.h" is the FIRST library listed in all of your project's C files. Secondarily, open Software -> Software Platform Settings...-> OS and libraries, and make sure that the support is TRUE/enabled for the category a xilkernel-based function-call falls under.