9 | | The 802.11 Reference Design contains two implementations that share much of the same MAC and PHY. These implementations are an access point (AP) that can be joined by 802.11 devices and a station (STA) that can be used to join 802.11 APs (WARP or otherwise). |
| 9 | == Creating the SDK Workspace == |
| 10 | |
| 11 | The 802.11 Reference Design is distributed as a .zip archive. The archive contents are described on the [../Download#ReferenceDesignArchive Download page]. |
| 12 | |
| 13 | The reference software projects can be modified via the Xilinx SDK. The steps below describe how to create an SDK workspace containing the full software design. |
| 14 | |
| 15 | 1. Ensure your Xilinx tools match the version used to create the reference design (see the [wiki:../Download download] page for the current versions) |
| 16 | 1. Ensure your local copy of the WARP edk_user_repository is up to date and in the repository search path of XPS (see [wiki:edk_user_repository edk_user_repository] for details) |
| 17 | 1. Download the 802.11 Reference Design archive and expand the inner .zip archive in {{{<ref_design_archive>/EDK_Projects/w3_802.11_EDK_vXXX.zip}}}. |
| 18 | * Be sure the expanded EDK project path has no spaces; {{{C:/work/w3_802.11_EDK/}}} works, {{{C:/Documents and Settings/user/w3_802.11_EDK/}}} does not |
| 19 | * The text below assumes your expanded EDK project is in {{{<xps_proj>/}}}. |
| 20 | 1. Launch Xilinx SDK and select {{{<xps_proj>/SDK_Workspace}}} as the active workspace |
| 21 | 1. Select Xilinx Tools -> Repositories. In Local Repositories click New, then select {{{<xps_proj>/}}} and click OK. Be sure to select the root of the XPS project (the folder containing {{{system.mhs}}}, '''not''' the SDK_Workspace folder. |
| 22 | 1. Import the 7 SDK projects provided by the reference design |
| 23 | 1. Select File -> Import |
| 24 | 1. Expand General -> Existing Projects into Workspace, click Next |
| 25 | 1. Click Browse and navigate to {{{<xps_proj>/SDK_Workspace}}} |
| 26 | 1. Seven projects will be listed: |
| 27 | {{{ |
| 28 | wlan_bsp_cpu_high |
| 29 | wlan_bsp_cpu_low |
| 30 | wlan_mac_ap |
| 31 | wlan_mac_sta |
| 32 | wlan_mac_dcf |
| 33 | wlan_mac_shared |
| 34 | wlan_xps_XXX_hw_platform <- the version number in this project name will change between releases |
| 35 | }}} |
| 36 | 1. Ensure all 7 projects are checked and click Finish |
| 37 | 1. In the SDK Project Explorer: |
| 38 | 1. Right click on the {{{wlan_mac_ap}}} project and select Change Referenced BSP. In the dialog box select {{{wlan_bsp_cpu_high}}} then click OK |
| 39 | 1. Right click on the {{{wlan_mac_sta}}} project and select Change Referenced BSP. In the dialog box select {{{wlan_bsp_cpu_high}}} then click OK |
| 40 | 1. Right click on the {{{wlan_mac_dcf}}} project and select Change Referenced BSP. In the dialog box select {{{wlan_bsp_cpu_low}}} then click OK |
| 41 | 1. Right click on the {{{wlan_mac_ap}}} project and select Clean Project |
| 42 | 1. Right click on the {{{wlan_mac_sta}}} project and select Clean Project |
| 43 | 1. Right click on the {{{wlan_mac_dcf}}} project and select Clean Project |
| 44 | 1. The 3 software applications (AP, STA and DCF) should now build to completion. Watch the console for the message {{{elfcheck passed}}} |
| 45 | |
| 46 | = AP vs STA Applications = |
| 47 | |
| 48 | The 802.11 Reference Design contains two implementations that share the same low-level MAC and PHY. These implementations are an access point (AP) that can be joined by 802.11 devices and a station (STA) that can join 802.11 APs (WARP or otherwise). |
60 | | == Creating the SDK Workspace == |
61 | | |
62 | | 1. Ensure your Xilinx tools match the version used to create the reference design (see the [wiki:../Download download] page for the current versions) |
63 | | 1. Ensure your local copy of the WARP edk_user_repository is up to date and in the repository search path of XPS (see [wiki:edk_user_repository edk_user_repository] for details) |
64 | | 1. Download the 802.11 Reference Design archive and expand the inner .zip archive in {{{<ref_design_archive>/EDK_Projects/w3_802.11_EDK_vXXX.zip}}}. |
65 | | * Be sure the expanded EDK project path has no spaces; {{{C:/work/w3_802.11_EDK/}}} works, {{{C:/Documents and Settings/user/w3_802.11_EDK/}}} does not |
66 | | * The text below assumes your expanded EDK project is in {{{<xps_proj>/}}}. |
67 | | 1. Launch Xilinx SDK and select {{{<xps_proj>/SDK_Workspace}}} as the active workspace |
68 | | 1. Select Xilinx Tools -> Repositories. In Local Repositories click New, then select {{{<xps_proj>/}}} and click OK. |
69 | | 1. Import the 7 SDK projects provided by the reference design |
70 | | 1. Select File -> Import |
71 | | 1. Expand General -> Existing Projects into Workspace, click Next |
72 | | 1. Click Browse and navigate to {{{<xps_proj>/SDK_Workspace}}} |
73 | | 1. Seven projects will be listed: |
74 | | {{{ |
75 | | wlan_bsp_cpu_high |
76 | | wlan_bsp_cpu_low |
77 | | wlan_mac_ap |
78 | | wlan_mac_sta |
79 | | wlan_mac_dcf |
80 | | wlan_mac_shared |
81 | | wlan_xps_vXX_hw_platform <- the version number in this project name will change between releases |
82 | | }}} |
83 | | 1. Ensure all 7 projects are checked and click Finish |
84 | | 1. In the SDK Project Explorer: |
85 | | 1. Right click on the {{{wlan_mac_ap}}} project and select Change Referenced BSP. In the dialog box select {{{wlan_bsp_cpu_high}}} then click OK |
86 | | 1. Right click on the {{{wlan_mac_dcf}}} project and select Change Referenced BSP. In the dialog box select {{{wlan_bsp_cpu_low}}} then click OK |
87 | | 1. Right click on the {{{wlan_mac_ap}}} project and select Clean Project |
88 | | 1. Right click on the {{{wlan_mac_sta}}} project and select Clean Project |
89 | | 1. Right click on the {{{wlan_mac_dcf}}} project and select Clean Project |
90 | | 1. Both software projects should now build to completion. Watch the console for the message {{{elfcheck passed}}} |