Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
learn:programmable-logic:tutorials:zedboard-programming-guide:start [2016/08/02 21:17] – Sam Lowelearn: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** +{{:reference:programmable-logic:zedboard-getting-started-with-zynq:zedboard-obl-bg-600.jpg?600|}}
- +
-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 "Getting Started with Vivado" guide before continuing with this project. 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 "Getting Started with Vivado" guide before continuing with this project.
 +
 ----- -----
  
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://reference.digilentinc.com/learn/programmable-logic/tutorials/zedboard-getting-started-with-zynq/start|getting started with Zynq]] tutorial to create a simple design to program with.+If you already have a working SDK project continue. If not, complete the [[/learn/programmable-logic/tutorials/zedboard-getting-started-with-zynq/start|getting started with Zynq]] tutorial to create a simple design to program with.
  
  
Line 82: Line 81:
  
 ----- -----
-====4. Programming the Basys3 using Quad SPI====+====4. Programming the Zedboard using Quad SPI====
 Quad SPI Flash is a non-volatile memory that the Zedboard's Zynq chip looks at on every startup. If Quad SPI is flashed then the Zynq will program itself with the contents found in Quad SPI's flash memory. This method of programming your board is great when you have a final project that you would like to demo or display that doesn't need to be edited and therefore reprogrammed. Quad SPI Flash is a non-volatile memory that the Zedboard's Zynq chip looks at on every startup. If Quad SPI is flashed then the Zynq will program itself with the contents found in Quad SPI's flash memory. This method of programming your board is great when you have a final project that you would like to demo or display that doesn't need to be edited and therefore reprogrammed.
  
 >4.1) Make sure the jumper on JP1 is in the JTAG position >4.1) Make sure the jumper on JP1 is in the JTAG position
->{{:learn:programmable-logic:tutorials:zedboard-programming-guide:zedprog4.jpg?500|}}+>{{:learn:programmable-logic:tutorials:zedboard-programming-guide:zedprog4.jpg?300|}}
 > >
 >4.2) Create an First Stage Boot Loader by clicking file->new->application project then name it and select FSBL in the second page. You do not need to modify this project at all. >4.2) Create an First Stage Boot Loader by clicking file->new->application project then name it and select FSBL in the second page. You do not need to modify this project at all.
 >{{:learn:programmable-logic:tutorials:zedboard-programming-guide:zedprog14.jpg?400|}} >{{:learn:programmable-logic:tutorials:zedboard-programming-guide:zedprog14.jpg?400|}}
 +>
 >4.3) Create a boot image. This proccess can be found in Appendix A >4.3) Create a boot image. This proccess can be found in Appendix A
 > >
Line 96: Line 95:
 >{{:learn:programmable-logic:tutorials:zedboard-programming-guide:zedprog16.jpg?500|}} >{{:learn:programmable-logic:tutorials:zedboard-programming-guide:zedprog16.jpg?500|}}
 > >
 +>4.5) Now that your QSPI flash is programmed, change the jumpers to the configuration below to program your board from QSPI. When the zedboard is power cycled, your application will run after the blue ready LED lights up
 +>
 +>{{:learn:programmable-logic:tutorials:zedboard-programming-guide:zedprog15.jpg?300|}}
  
-Vivado will now erase the old configuration file, and reprogram your Basys3 with the demo file. From now on, when you power up the Basys3, the demo will load at startup until you reprogram it.+When the zedboard is power cycled, your application will run after the blue ready LED lights up
  
 ====Appendix A. Creating a boot image in SDK==== ====Appendix A. Creating a boot image in SDK====
Line 117: Line 119:
 >A.5) Finally add your applications .elf file as the last file. This can be found in the project's debug folder.  >A.5) Finally add your applications .elf file as the last file. This can be found in the project's debug folder. 
 >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** 
 +>
 >{{:learn:programmable-logic:tutorials:zedboard-programming-guide:zedprog11.jpg?700|}} >{{:learn:programmable-logic:tutorials:zedboard-programming-guide:zedprog11.jpg?700|}}