deep

a Cross Development Platform for Java

User Tools

Site Tools


firstexample:first_example_microzed_deploy

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
firstexample:first_example_microzed_deploy [2021/07/22 19:47]
ursgraf
firstexample:first_example_microzed_deploy [2021/07/23 18:47] (current)
ursgraf [Step by Step Instructions]
Line 12: Line 12:
   - Choose a configuration for the FPGA part to be included into the resulting image. \\ {{ chooseplfile.png?300 |}}. \\ Available configurations can be found under [[https://wiki.bu.ost.ch/infoportal/embedded_systems/zynq7000/microzed]].   - Choose a configuration for the FPGA part to be included into the resulting image. \\ {{ chooseplfile.png?300 |}}. \\ Available configurations can be found under [[https://wiki.bu.ost.ch/infoportal/embedded_systems/zynq7000/microzed]].
   - When creating the run configuration, set the target configuration to //boot from QSPI flash// {{ runconfigurationmicrozedflash.png?400 |}}.   - When creating the run configuration, set the target configuration to //boot from QSPI flash// {{ runconfigurationmicrozedflash.png?400 |}}.
-  - Running the configuration will create a flash file. Its location is given by the image file setting in the configuration. It carries the name //*.ExternalFlash.mcs//. Running the configuration will try to open a connection to the target if a programmer is chosen, such as //OpenOCD//. Make sure to remove the programmer, if   +  - Running the configuration will create a flash file. Its location is given by the image file setting in the configuration. It carries the name //*.ExternalFlash.mcs//. Running the configuration will try to open a connection to the target if a programmer is chosen, such as //OpenOCD//. Make sure to remove the programmer, if you have no programmer present.  
   - Switch the driver for your JTAG-HS3 adapter to //FTDI CDM//, see [[https://wiki.bu.ost.ch/infoportal/embedded_systems/jtaghs3/start]]. IMPORTANT: You must close OpenOCD before switching the driver, else the //WinUSB// cannot be unloaded.   - Switch the driver for your JTAG-HS3 adapter to //FTDI CDM//, see [[https://wiki.bu.ost.ch/infoportal/embedded_systems/jtaghs3/start]]. IMPORTANT: You must close OpenOCD before switching the driver, else the //WinUSB// cannot be unloaded.
   - The program to download can be found in the binaries of //Vivado// or the //Xilinx SDK//. You have to either install //Vivado// or //Xilinx SDK// which doesn't require a license. As //Vivado// uses lots of disk space we strongly recommend to install //Xilinx SDK//. For the installation see [[https://wiki.bu.ost.ch/infoportal/embedded_systems/zynq7000/xsdk|Installing Xilinx SDK]]. After installation, open a command shell and run the command (Change the command so that the right configuration file is loaded, see [[https://wiki.bu.ost.ch/infoportal/embedded_systems/zynq7000/microzed]]). The corresponding files can be found in your target runtime library in the directory ///rsc//. Please make sure that the paths in the following command does not include spaces! <code shell>cmd /C C:\Xilinx\SDK\2019.1\bin\program_flash -f MyProject\App.ExternalFlash.mcs -offset 0 -flash_type qspi-x4-single -fsbl M:\EUser\JCC\org.deepjava.trglib\rsc\FSBL.elf -cable type xilinx_tcf url TCP:127.0.0.1:3121 </code> Make sure that the programming was successful with the program printing <code>Flash Operation Successful</code>   - The program to download can be found in the binaries of //Vivado// or the //Xilinx SDK//. You have to either install //Vivado// or //Xilinx SDK// which doesn't require a license. As //Vivado// uses lots of disk space we strongly recommend to install //Xilinx SDK//. For the installation see [[https://wiki.bu.ost.ch/infoportal/embedded_systems/zynq7000/xsdk|Installing Xilinx SDK]]. After installation, open a command shell and run the command (Change the command so that the right configuration file is loaded, see [[https://wiki.bu.ost.ch/infoportal/embedded_systems/zynq7000/microzed]]). The corresponding files can be found in your target runtime library in the directory ///rsc//. Please make sure that the paths in the following command does not include spaces! <code shell>cmd /C C:\Xilinx\SDK\2019.1\bin\program_flash -f MyProject\App.ExternalFlash.mcs -offset 0 -flash_type qspi-x4-single -fsbl M:\EUser\JCC\org.deepjava.trglib\rsc\FSBL.elf -cable type xilinx_tcf url TCP:127.0.0.1:3121 </code> Make sure that the programming was successful with the program printing <code>Flash Operation Successful</code>
firstexample/first_example_microzed_deploy.txt · Last modified: 2021/07/23 18:47 by ursgraf