Changes between Version 23 and Version 24 of WARPLab6/GettingStarted


Ignore:
Timestamp:
Nov 15, 2012, 1:45:54 PM (12 years ago)
Author:
chunter
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WARPLab6/GettingStarted

    v23 v24  
    22
    33= Getting Started =
     4''Requirements: At least two WARP nodes, a PC with MATLAB and an Ethernet switch. The current WARPLab Reference Design requires a 100Mb Ethernet link for WARP v1 and a 1000Mb Ethernet link for WARP v2/v3. Please use an appropriate speed Ethernet switch with your hardware.''
    45
    5  1. Requirements: At least two WARP nodes, a PC with MATLAB and an Ethernet switch. '''Please note:''' the current WARPLab reference design uses a 100Mb Ethernet link for WARP v1 and a 1000Mb Ethernet link for WARP v2/v3. Please use an appropriate speed Ethernet switch with your hardware.
     61. Install Peter Rydesäter's open-source TCP/UDP toolbox for MATLAB (get it free from [http://warp.rice.edu/dl/utilities/tcp_udp_ip_2.0.6c.zip tcp_udp_ip_2.0.6c]. To compile the toolbox under Windows 7, use the following command:
    67
    7  2. Install Peter Rydesäter's open-source TCP/UDP toolbox for MATLAB (get it free from [http://www.mathworks.com/matlabcentral/fileexchange/345 MATLAB Central]). You may need to re-compile the pnet mex source for your version of Windows/MATLAB. For 64-bit Windows 7, see [http://warp.rice.edu/forums/viewtopic.php?pid=4363#p4363 this forum post].
     8{{{
     9mex -O pnet.c ws2_32.lib -DWIN32
     10}}}
    811
    9  3. Download the WARPLab Reference M-code to your PC. The instructions are available [wiki:edk_user_repository here]. In the final step you can choose the appropriate version to add to the path. For example, to add Version 6.1 of the Reference M-Code the path is 'C:\WARP_Repository\ResearchApps\PHY\WARPLAB\WARPLab_v06_1\M_Code_Reference'. Information about the latest version of the WARPLab reference M-Code can be found [wiki:WARPLab/Releases here].
     12 2. Download the WARPLab Reference M-code to your PC. The instructions are available [wiki:edk_user_repository here]. In the final step you can choose the appropriate version to add to the path. For example, to add Version 6.2 of the Reference M-Code the path is 'C:\WARP_Repository\ResearchApps\PHY\WARPLAB\WARPLab_v06_2\M_Code_Reference'. Information about the latest version of the WARPLab reference M-Code can be found [wiki:WARPLab/Releases here].
    1013
    11  4. Connect your PC and two WARP boards to a common Ethernet switch. Ideally, nothing else should be connected to the same switch.
     14 3. Connect your PC and two WARP boards to a common Ethernet switch. Ideally, nothing else should be connected to the same switch.
    1215
    13  5. Set your PC's IP address to 10.0.0.200
     16 4. Set your PC's IP address to 10.0.0.200
    1417
    15  6. Set the DIP switches on the two WARP boards to zero (0000) and one (0001).
     18 5. Set the DIP switches on the two WARP boards to zero (0000) and one (0001). At boot, the WARPLab design that runs on the WARP hardware will read this DIP switch and set its IP address accordingly. For assistance in finding the DIP switch that controls this parameter, click on one of the following images that corresponds to the generation of WARP hardware that you use.
    1619||[[Image(v1Switch.jpg,width=400,link=[attachment:v1Switch.jpg])]]||[[Image(v2Switch.jpg,width=400,link=[attachment:v2Switch.jpg])]]||[[Image(v3Switch.jpg,width=400,link=[attachment:v3Switch.jpg])]]||
    1720||   '''[attachment:v1Switch.jpg WARP v1 (Enlarge Image)]'''  ||  '''[attachment:v2Switch.jpg WARP v2 (Enlarge Image)]'''  ||  '''[attachment:v3Switch.jpg WARP v3 (Enlarge Image)]'''  ||
    1821
    19  7. Download the WARPLab bitstream to both boards. The latest WARPLab bitstream is available [wiki:WARPLab/Releases here]. A Virtex-II Pro FPGA kit uses the {{{_FPGAv1}}} suffix while the Virtex-4 FPGA kit uses the {{{_FPGAv2}}} suffix for all files. The bitstream can be downloaded either via an external JTAG cable, via a USB cable (connected to the FPGA board's USB port) or a CompactFlash card. Instructions on formatting and loading systems on to a Compact Flash are available [wiki:sysace/formatload#FormattingandLoadingSystemsontoaCompactFlash here]. After downloading the bitstreams, the right hex display on the WARP boards should show a single digit 1 for the board with DIP switch set to zero and a single digit 2 for the board with DIP switch set to one. This digit is the last octet of the board's IP address (10.0.0.1 or 10.0.0.2).
     22 6. Download the WARPLab bitstream to both boards. The latest WARPLab bitstream is available [wiki:WARPLab/Releases here]. The bitstream can be downloaded either via an external JTAG cable, via a USB cable (connected to the FPGA board's USB port) or a CompactFlash/SD card. Instructions on formatting and loading systems on to a Compact Flash are available [wiki:sysace/formatload#FormattingandLoadingSystemsontoaCompactFlash here]. Instructions for loading systems on to an SD card are available [wiki:howto/SD_Config here]. After downloading the bitstreams, the hex display on the WARP board should show a single digit 1 for the board with DIP switch set to zero and a single digit 2 for the board with DIP switch set to one. This digit is the last octet of the board's IP address (10.0.0.1 or 10.0.0.2). You should be able to ping the boards from your host PC after they are configured.
    2023
    21  8. Try one of the examples. The GUI (warplab_mimo_2x2_GUI and the warplab_siso_example_TxRx) are the best ones to start with. The latest version of the M-Code examples is available [wiki:WARPLab/Releases here].
     24 7. Try one of the examples. The GUI (warplab_mimo_2x2_GUI and the warplab_siso_example_TxRx) are the best ones to start with. The latest version of the M-Code examples is available [wiki:WARPLab/Releases here].
    2225
    2326Note: For WARP v1 and v2, this design assumes clocks are connected according to the convention illustrated in the [wiki:howto/connectclocks clock connection howto].