This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
firstexample:first_example_microzed [2020/12/09 21:25] – ursgraf | firstexample:first_example_microzed [2021/12/28 13:21] – ursgraf | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Hello World on the Avnet MicroZed Board ====== | ====== Hello World on the Avnet MicroZed Board ====== | ||
- | This example will demonstrate how to use the deep compiler to translate a simple Java program and run it on a [[https:// | + | This example will demonstrate how to use the deep compiler to translate a simple Java program and run it on a [[https:// |
- Start eclipse, choose a new workspace and open the deep perspective with //Window -> Open Perspective -> Other -> Deep//. | - Start eclipse, choose a new workspace and open the deep perspective with //Window -> Open Perspective -> Other -> Deep//. | ||
Line 42: | Line 42: | ||
meta { | meta { | ||
- | version = "Mon Jan 05 12:40:12 CET 2020"; | + | version = "Mon Jan 15 09:08:35 CET 2020"; |
description = "deep project file for HelloWorld"; | description = "deep project file for HelloWorld"; | ||
} | } | ||
Line 53: | Line 53: | ||
programmeropts = localhost_4444; | programmeropts = localhost_4444; | ||
imgfile = " | imgfile = " | ||
- | imgformat = BIN; | ||
# pl_file = none; | # pl_file = none; | ||
Line 61: | Line 60: | ||
} | } | ||
</ | </ | ||
- | - Connect the hardware to your host machine by an USB cable and a JTAG-HS3 adapter (J3). | + | - Plug a [[https:// |
- | - Make sure that you select the //WinUSB// driver for your adapter [[https:// | + | - Make sure that you select the //WinUSB// driver for your JTAG-HS3 |
- | - Set the jumpers on your MicroZed board as follows \\ {{jtagboot.png? | + | - Set the jumpers on your MicroZed board as follows \\ {{jtagboot.png? |
+ | - Connect your host machine with another USB cable to the MicroZed board on connector | ||
- Start OpenOCD, see [[openocd: | - Start OpenOCD, see [[openocd: | ||
- | - Use a terminal program such as '' | + | - Use a terminal program such as '' |
- Create a new run configuration by marking the project file // | - Create a new run configuration by marking the project file // | ||
- //Run// will compile, link and download the image file. | - //Run// will compile, link and download the image file. |