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]] |
| 80 | Program 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 | |
| 87 | Download 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 |