Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| learn:programmable-logic:tutorials:zedboard-programming-guide:start [2016/08/02 21:02] – [Appendix I. Creating a boot image in SDK] Sam Lowe | learn:programmable-logic:tutorials:zedboard-programming-guide:start [2022/10/04 11:38] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ======Zedboard Programming Guide in SDK====== | ======Zedboard Programming Guide in SDK====== | ||
| - | **Under construction** | + | {{: |
| - | + | ||
| - | pic FIXME | + | |
| =====Overview===== | =====Overview===== | ||
| Line 12: | Line 10: | ||
| This tutorial will walk you through what you need to know to get started on your projects and program your Zedboard using each of the three possible methods. It is recommended that you first complete the " | This tutorial will walk you through what you need to know to get started on your projects and program your Zedboard using each of the three possible methods. It is recommended that you first complete the " | ||
| + | |||
| ----- | ----- | ||
| Line 43: | Line 42: | ||
| ====1. Creating the Project==== | ====1. Creating the Project==== | ||
| - | If you already have a working SDK project continue. If not, complete the [[https:// | + | If you already have a working SDK project continue. If not, complete the [[/ |
| Line 66: | Line 65: | ||
| ----- | ----- | ||
| - | ====3. Programming the Zedboard using a SD card at startup==== | + | ====3. Programming the Zedboard using an SD card at startup==== |
| It is important to note that the SD card that you select to program the Zedboard with must be formatted in Fat32. Other than that your device doesn' | It is important to note that the SD card that you select to program the Zedboard with must be formatted in Fat32. Other than that your device doesn' | ||
| Line 77: | Line 76: | ||
| >3.3) Create a boot image. This proccess can be found in Appendix A | >3.3) Create a boot image. This proccess can be found in Appendix A | ||
| - | > | + | > |
| - | > | + | > |
| - | + | ||
| - | >3.6) Safely remove the USB device from your computer | + | |
| - | + | ||
| - | >3.7) Make sure your board is connected to your computer for power and turn on the Basys3. It should | + | |
| - | Once finished your board should function exactly as it did when programming it with JTAG. Whether you were aware or not you just successfully programmed your Basys3 board two separate ways using the same .bit file. | + | |
| ----- | ----- | ||
| - | ====5. Programming the Basys3 | + | ====4. Programming the Zedboard |
| - | Quad SPI Flash is a non-volatile memory that the Basys3' | + | Quad SPI Flash is a non-volatile memory that the Zedboard' |
| - | >5.1) Make sure the jumper on JP1 is in the QSPI position | + | >4.1) Make sure the jumper on JP1 is in the JTAG position |
| - | + | >{{: | |
| - | >5.2) In the Hardware Manager window, under hardware right click your device and click Add Configuration Memory Device... | + | |
| > | > | ||
| - | >{{:basys3:basys3_screen_shot_2015-6-10_9.png?nolink&400|}} | + | >4.2) Create an First Stage Boot Loader by clicking file-> |
| - | + | >{{:learn:programmable-logic: | |
| - | >5.3) This window will pop up. Search for " | + | |
| > | > | ||
| - | >{{:basys3:32.png?nolink&500|}} | + | >4.3) Create a boot image. This proccess can be found in Appendix A |
| - | + | > | |
| - | >5.4) Select | + | >4.4) Select Xilinx Tools-> |
| + | >{{:learn:programmable-logic: | ||
| + | > | ||
| + | >4.5) Now that your QSPI flash is programmed, change the jumpers to the configuration | ||
| > | > | ||
| - | >{{:basys3:34.png?nolink& | + | >{{:learn:programmable-logic: |
| - | Vivado will now erase the old configuration file, and reprogram | + | When the zedboard is power cycled, your application will run after the blue ready LED lights |
| ====Appendix A. Creating a boot image in SDK==== | ====Appendix A. Creating a boot image in SDK==== | ||
| Line 124: | Line 119: | ||
| >A.5) Finally add your applications .elf file as the last file. This can be found in the project' | >A.5) Finally add your applications .elf file as the last file. This can be found in the project' | ||
| >ex. zedboard_programming.sdk\zedboard_basic\Debug\zedboard_basic.elf | >ex. zedboard_programming.sdk\zedboard_basic\Debug\zedboard_basic.elf | ||
| - | >Click ok and your window should look like below. Once Create Image is pressed, your boot image is created to put on an SD card or into QSPI Flash | + | >Click ok and your window should look like below. Once Create Image is pressed, your boot image is created to put on an SD card or into QSPI Flash. |
| + | >** *if your design purely uses the PL, a project elf file is not required** | ||
| + | > | ||
| > | > | ||

