This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
first_example_microzed_appdev [2020/12/01 13:31] – ursgraf | first_example_microzed_appdev [2020/12/01 14:13] – [How Does the System Boot?] ursgraf | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Application Development ====== | ====== Application Development ====== | ||
- | This is the preferred method when writing applications on the MicroZed board using the existing runtime library together with the board support package. While you can load and test new custom applications quickly, the configuration of the FPGA is loaded from a flash device. This saves time compared to using the method [[first_example_microzed_sysdev|System Developer]]. | + | <box green 100%> |
- | What must be done when using this method? | + | This is the preferred method when writing applications on the MicroZed board using the existing runtime library together with the board support package. |
- | * a POR (power-on reset). For this you have to set the jumpers on your MicroZed board as follows \\ {{ : | + | </ |
+ | |||
+ | While you can load and test new custom applications quickly, the configuration of the FPGA is loaded from a flash device. This saves time compared to using the method [[first_example_microzed_sysdev|System Developer]]. What must be done when using this method? | ||
+ | |||
===== 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. | + | - 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 a valid configuration | + | - Do not specify |
- | - When creating the run configuration, | + | - When creating the run configuration, |
===== 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 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 | ||