Changes between Version 9 and Version 10 of Exercises/13_4/IntroToSDK


Ignore:
Timestamp:
Aug 3, 2012, 4:47:10 PM (12 years ago)
Author:
chunter
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Exercises/13_4/IntroToSDK

    v9 v10  
    4747 * The heap and stack to "xps_bram_if_cntlr_1"
    48481. Click "Generate" and then "Yes" to the message that says you are going to overwrite an existing linker script. The console will print messages and end with "Finished building: helloworld_0.elf.elfcheck"
    49 
     491. Make sure your WARP hardware is powered on and connected via JTAG to your computer.
     501. Click the "Xilinx Tools" menu item and then "Program FPGA." Then click Program. This will load the hardware design onto the board. It will not load the software project.
     511. Open up a terminal emulator on your computer and configure it to accept your COM port with speed 57600 baud. For further instructions on this process, see our [wiki:HowTo/SetUpPuTTY instructions here].
    5052At this point, the software project is complete and ready to be tested on the hardware. Unfortunately, there are bugs in the SDK for designs that use a PowerPC instead of a Microblaze, so the instructions for the WARP v2 and WARP v3 hardware diverge at this point.
    5153
    5254=== WARP v3 ===
    5355
     5628. The SDK is somewhat sensitive on what project has "focus" when you tell it to do something like load a design onto the board. Make sure the helloworld_0 project is highlighted. If it is not, click on it so that it will be.
     571. Click the menu item "Run" and then click "Run." A window will pop up asking you to select a way to run your helloworld_0 program. Click "Launch on Hardware" and then okay.
     581. The project is now running! You should see the LEDs and hexadecimal displays on the board incrementing twice a second. Furthermore, your terminal should be printing.
     591. Try to modify any of the prints in the code with your own custom strings. Click save. The SDK will automatically recompile the project. Download it again through the "run" menu.
     601. Also, find the usleep(500000) line inside the userio_example() function. This line is telling the processor to wait for half a second before incrementing the displays upwards. Replace this with usleep(250000) and you should see the board count twice as fast.
    5461=== WARP v2 ===