Changes between Version 4 and Version 5 of OFDMReferenceDesign/SDK


Ignore:
Timestamp:
May 3, 2012, 4:06:01 PM (12 years ago)
Author:
murphpo
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • OFDMReferenceDesign/SDK

    v4 v5  
    4343We have chosen the approach of having one SDK workspace per XPS project, so the SDK workspace always contains exactly one _hw_platform project and one _bsp project, both referenced to the parent XPS project.
    4444
    45 Unfortunately workspaces are not portable. The ref design .zip file contains all the necessary project files to populate a workspace, but you must initialize your workspace first and import these project files manually.
     45A workspace always maps to a folder on your hard drive. That folder will contain workspace settings (in a {{{.metadata}}} directory) and subdirectories for each project in the workspace.
     46
     47Unfortunately workspaces are not portable. The ref design .zip file contains all the necessary project files to populate a workspace, but you must initialize your workspace first and import these project files manually. We recommend creating your workspace in the {{{SDK/SDK_Workspace}}} subdirectory of the XPS project. This directory already contains the project files for the ref design.
    4648
    4749In the instructions below we use {{{<xps_proj>}}} to represent the path where you expanded the ref design .zip. If the XPS project file is in {{{C:\work\WARP\OFDM_RefDesign_FPGAv2_v17.0\system.xmp}}}, then you should use {{{C:\work\WARP\OFDM_RefDesign_FPGAv2_v17.0\}}} in place of {{{<xps_proj>}}} below.
     50
     51'''Creating the workspace'''
    4852 * Launch the Xilinx SDK
    4953   * If prompted to select a workspace, choose {{{<xps_proj>/SDK/SDK_Workspace}}}
     
    5357   * In Local Repositories, click New, then navigate to {{{<xps_proj>}}}. Be sure to select the XPS project folder, not any of the folders above/below that.
    5458   * Click OK
    55  * Choose File->Import; expand General; choose Existing Projects into Workspace; click Next
    56  *
     59 * Choose File->Import, expand General, choose Existing Projects into Workspace, click Next
     60   * For 'Select root directory:', click Browse and navigate to {{{<xps_proj>/SDK/SDK_Workspace}}} (this path is probably already selected by default)
     61   * Make sure four projects are checked (CSMAMAC, NoMAC, OFDM_RefDesign_FPGAv2_bsp, OFDM_REfDesign_FPGAv2_v17.0_hw_platform)
     62   * Make sure "Copy projects into workspace" is unchecked
     63   * Click Finish
     64 * SDK will begin building the software projects. If everything works, this process will finish with a log message {{{'elfcheck passed'}}}.
     65 * Choose File->Import again, expand Run/Debug, chose Launch Configurations, click Next
     66   * Click Browse and navigate to {{{<xps_proj>/SDK/SDK_Workspace/launch-configs}}}
     67   * Check launch-configs
     68   * Check CSMAMAC.launch and NoMAC.launch
     69   * Click Finish
     70 * In the Project Explorer tab right-click the CSMAC project and choose Generate Linker Script
     71   * Assign Code Sections to iocm, Data sections to docm, Heap/Stack to xps_bram_if_cntlr_1
     72   * In both the Basic and Advanced tabs confirm nothing is assigned to xps_bram_if_cntlr_2 (this memory maps to the PHY packet buffers)
     73   * Change Heap/Stack sizes to 4096 (4K)
     74   * Click Generate; click Yes to overwrite existing linker script
     75 * Repeat the linker script generation for NoMAC
     76
     77
     78'''Running the design'''[[BR]]
     79''brief instructions, to be elaborated soon''[[BR]]
     80Program the FPGA:
     81 * Connect the JTAG cable
     82 * Xilinx Tools->Program FPGA
     83   * Choose bootloop
     84   * Click Program
     85 * Wait ~20 seconds; FPGA Board should now be configured (green DONE LED on, red Radio Board PLL unlocked LEDs on)
     86
     87Download the software program:
     88 * Click on the NoMAC project in Project Explorer
     89 * Choose Run->Run
     90 * Software should now be running (FPGA Board hex displays on, Radio Board Rx LEDs on, PLL unlocked LEDs off)
     91 * Connect serial cable (57600bps) to monitor STDOUT