deep

a Cross Development Platform for Java

User Tools

Site Tools


firstexample:boot_loader

This is an old revision of the document!


Boot Loader

Your MicroZed boards need a valid boot loader if you want to start it from the QSPI flash.

Check for Valid Boot Loader

  1. Set the jumpers on your MicroZed board as follows
    .
    This will boot the device from the QSPI flash.
  2. 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.
  3. Use a terminal program to open the COM port on J2.
  4. Press reset
    This will reboot the device and cause the boot loader to run again
  5. Check if the blue done led lights up. This signals that the boot loader successfully loaded the FPGA.
  6. Check the output of the terminal program. It show the following output

Flashing a new Boot Loader

  1. Set the jumpers on your MicroZed board as follows
    .
    This will boot the device from JTAG.
  2. 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.
  3. Switch the driver for your JTAG-HS3 adapter to FTDI, see https://wiki.ntb.ch/infoportal/embedded_systems/jtaghs3/start.
  4. Open a command shell and run the command
    cmd /C C:\Xilinx\SDK\2019.1\bin\program_flash -f M:\EUser\JCC\org.deepjava.trglib\rsc\BOOTflink2.mcs -offset 0 -flash_type qspi-x4-single -fsbl D:\Vivado\Booting\Booting.sdk\FSBL\Debug\FSBL.elf -cable type xilinx_tcf url TCP:127.0.0.1:3121 

    Change the command so that the right mcs-file is loaded, see https://wiki.bu.ost.ch/infoportal/embedded_systems/zynq7000/microzed.

  5. Switch the driver for the JTAG-HS3 back to Microsoft, see https://wiki.ntb.ch/infoportal/embedded_systems/jtaghs3/start.
firstexample/boot_loader.1606836940.txt.gz · Last modified: 2020/12/01 16:35 by ursgraf