Changes between Version 2 and Version 3 of WARPLab/QuickStart


Ignore:
Timestamp:
Mar 8, 2013, 3:39:14 PM (11 years ago)
Author:
murphpo
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WARPLab/QuickStart

    v2 v3  
    33= WARPLab 7: Quick Start =
    44
     5=== pnet Toolbox ===
     6 1. Install the updated pnet IP/UDP toolbox for MATLAB
     7  1. Checkout the source from [source:/PlatformSupport/pnet]/PlatformSupport/pnet]
     8{{{svn co http://warpproject.org/svn/WARP/PlatformSupport/pnet}}}
     9    * The repository contains a compiled binary for Windows 7 64-bit
     10    * For other platforms, compile the pnet mex function
     11  1. Add the pnet folder to your MATLAB path. The pnet folder should contain pnet.m and th epnet.mex binary (i.e. pnet.mexw64)
     12  1. Verify pnet is recognized by running {{{pnet('version')}}} on the MATLAB command line
     13
     14=== WARPLab 7 Framework ===
    515 1. Download the WARPLab 7 reference design m-code
    6   * Best to use SVN, to make updates easy:
    7    * cd to a working directory
    8    * svn co http://warpproject.org/svn/WARP/ResearchApps/PHY/WARPLAB/WARPLab7/M_Code_Reference
    9  1. Run the wl_setup script to configure MATLAB
     16  * Best to use SVN, to make updates easy: {{{svn co http://warpproject.org/svn/WARP/ResearchApps/PHY/WARPLAB/WARPLab7/}}}
     17 1. Open MATLAB and change to the {{{WARPLab7/M_Code_Reference}}} directory
     18 1. Run {{{wl_setup}}} on the MATLAB command line
     19 1. Follow the prompts to configure your WARPLab environment
     20
     21=== Hardware Setup ===
     22 1. For WARP v3 nodes:
     23  1. Connect ETH_A to a 1Gb Ethernet switch
     24  1. Set the user DIP switch to a unique value on each node, starting at 0
     25  1. Configure the FPGA with the reference design. The reference bitstreams are included in the Reference_Bitstreams folder. Unzip {{{download.zip}}} to find {{{download.bit}}} and {{{download.bin}}} (see the [wiki:howto/SD_Config SD config howto for help using the .bin file).
     26   1. On boot each node will display its node ID on the right hex display
     27   1. The bottom green LED will blink until the Ethernet link is up
     28   1. All four green LEDs will blink when the node is ready to accept commands from MATLAB
     29
     30=== Examples ===
     31 1. Confirm everything is ready by running {{{wl_initNodes(N)}}}, where N is the number of WARP v3 nodes
     32 1. Try one of the example scripts in {{{M_Code_Examples}}}