Changes between Version 34 and Version 35 of Exercises/13_4/IntroToXPS


Ignore:
Timestamp:
Aug 20, 2012, 4:33:46 PM (12 years ago)
Author:
chunter
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Exercises/13_4/IntroToXPS

    v34 v35  
    98981. The SDK will launch and will pull up a window for you to select your workspace. Navigate to the SDK_workspace folder you cleared out at the beginning of these instructions. Then click "OK."
    99991. The SDK will now open and will have one project: the "_hw_platform" from the hardware design from XPS. You might recall from the [wiki:IntroToSDK Introduction to SDK] exercise that two other software projects are needed to be able to run this design on the board: a Board Support Package (BSP) and a top-level software project. We will create these manually rather than import existing ones like in the [wiki:IntroToSDK Introduction to SDK] exercise.
     1001. Rather strangely, the Xilinx SDK does not automatically know about software drivers to custom peripherals in your XPS project. You have to explicitly tell the SDK where to find your hardware project. This is a step you have to do with '''every''' new SDK workspace. In this exercise, we do not have any custom peripherals, but it is still a good habit to get into. Click on the "Xilinx Tools" menu item and select "Repositories." Here, you want to ensure two things:
     101 * In Local Repositories, you want to point the SDK to the folder that contains the XPS project system.xmp file. Click on "New..." and navigate to and select this folder.
     102 * In Global Repositories, you want the SDK to point to the edk_user_repository folder on your hard drive. Unlike the local repositories, the SDK does remember this setting across workspaces. You'll only need to manually add the edk_user_repository the first time you run the SDK.
     1031. Click the "New" button in the top left of the window.
     104
     105[[Image(newbutton.jpeg)]]
     106
     10715. Click on "Xilinx Board Support Package" and click "Next."
     1081. Click "Finish."
     1091. A new window will pop-up that allows you configure the BSP with various optional software packages. For the purposes of this exercise, the default settings are fine. Just click OK. You will see the console at the bottom of the screen start printing messages as the SDK compiles the BSP. It will end up with "Finished building libraries" printed to the console.
     1101. We're now ready build the actual software project that will control our custom core. Click the same "new" button above the "Project Explorer."
     1111. Click "Xilinx C Project" and then click "Next."
     1121. Click "Empty Application" under the "Select Project Template" dialog. This will rename the project to "empty_application_0." Change that name to "example_project." Click "Next."
     1131. We have already created a BSP, so we do not want this dialog box to make another one for us. Click the radio button next to "Target an existing Board Support Package." Click "Finish"
     1141. In the Project Explorer on the left side of the SDK, you will see the example_project_0 project. Click the + next to it and it will reveal a "src" folder.
    100115
    101116== Testing the Design ==