deep

a Cross Development Platform for Java

User Tools

Site Tools


first_example_microzed_appdev

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
Last revisionBoth sides next revision
first_example_microzed_appdev [2020/12/01 13:46] – [Application Development] ursgraffirst_example_microzed_appdev [2020/12/01 14:28] – [Step by Step Instructions] ursgraf
Line 7: Line 7:
    
 ===== Step by Step Instructions ===== ===== Step by Step Instructions =====
-  - Set the jumpers on your MicroZed board as follows \\ {{ :jtagboot.png?200 |}}. \\ This will boot the device from JTAG+  - Make sure that you have a default boot loader in your flash device, see [[boot_loader]]. This must be done only once as long as you don't overwrite it.  
 +  - Set the jumpers on your MicroZed board as follows \\ {{ :qspiboot.png?200 |}}. \\ This will boot the device from the QSPI flash
   - Cycle the power. The settings of the jumpers will be read only at power-on! Hence, make sure to cycle the supply power after changing the jumper settings. A soft reset (through the JTAG or by pressing the reset button on the board will reset the board but will not sample the boot mode pins connected to the jumpers.   - Cycle the power. The settings of the jumpers will be read only at power-on! Hence, make sure to cycle the supply power after changing the jumper settings. A soft reset (through the JTAG or by pressing the reset button on the board will reset the board but will not sample the boot mode pins connected to the jumpers.
   - Create a deep project and setup the project configuration as given in [[first_example_microzed|Hello World on the Avnet MicroZed Board]].    - Create a deep project and setup the project configuration as given in [[first_example_microzed|Hello World on the Avnet MicroZed Board]]. 
-  - If you need valid configuration in your FPGA part (e.g. you are using flink devices), you must select a configuration file for the PL. \\ {{ ::chooseplfile.png?300 |}} \\ Available configurations can be found under [[https://wiki.bu.ost.ch/infoportal/embedded_systems/zynq7000/microzed]]+  - Do not specify a configuration for the FPGA part, as it will be loaded from flash. you must select a configuration file for the PL. \\ {{ ::choosenoplfile.png?300 |}}. 
-  - When creating the run configuration, set the target configuration to //load program to ram// {{ :runconfigurationmicrozedram.png?400 |}}.+  - When creating the run configuration, set the target configuration to //boot from QSPI flash and load program to ram// {{ :runconfigurationmicrozedflashram.png?400 |}}.
  
 ===== How Does the System Boot? ===== ===== How Does the System Boot? =====
   - reset (by JTAG)   - reset (by JTAG)
-  - configuration of PLL, clocks, DDR by host system+  - load and run first stage boot loader from flash 
 +    - configuration of PLL, clocks, DDR by host system 
 +    - load PL 
 +    - handoff to JTAG 
 +  - halt 
 +  - reset REBOOT_STATUS register
   - download of bin-files to OCM and DDR   - download of bin-files to OCM and DDR
   - download of bit-file (if specified)   - download of bit-file (if specified)
   - start at address 0x100   - start at address 0x100