This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
first_example_zybo [2020/09/11 12:58] – ursgraf | first_example_zybo [2020/09/23 10:01] – ursgraf | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
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:// | ||
Line 11: | Line 11: | ||
- Select a programmer: //OpenOCD// | - Select a programmer: //OpenOCD// | ||
- Select programmer options: // | - Select programmer options: // | ||
- | - Select the checkbox //Create image file// and choose the location to save the image file and the desired image file format, preferably //BIN//. Default save location is the project folder. \\ {{targetconfigurationzybo.png? | + | - Select the checkbox //Create image file// and choose the location to save the image file and the desired image file format, preferably //BIN//. Default save location is the project folder. Please make sure that the file path does not include spaces or hyphens. \\ {{targetconfigurationzybo.png? |
- Project name: | - Project name: | ||
- Choose a project name (no spaces, no special characters such as " | - Choose a project name (no spaces, no special characters such as " | ||
Line 48: | Line 48: | ||
project HelloWorld { | project HelloWorld { | ||
libpath = " | libpath = " | ||
- | boardtype = ZYBO7000; | + | boardtype = Zybo; |
- | ostype = ntbSTS_arm; | + | ostype = sts_arm; |
programmertype = openOCD; | programmertype = openOCD; | ||
programmeropts = localhost_4444; | programmeropts = localhost_4444; | ||
+ | imgfile = " | ||
+ | imgformat = BIN; | ||
+ | # pl_file = none; | ||
# enter names of rootclasses, | # enter names of rootclasses, | ||
# | # | ||
rootclasses = " | rootclasses = " | ||
- | |||
- | imgfile = " | ||
- | imgformat = BIN; | ||
} | } | ||
</ | </ | ||
- | - Connect the hardware to your host PC by an USB cable and apply power to the target. | + | - Connect the hardware to your host machine |
+ | - Make sure that you select the proper driver for your adapter [[https:// | ||
+ | - Start [[https:// | ||
- Open a terminal program such as '' | - Open 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. For downloading and debugging [[openocd: | - //Run// will compile, link and download the image file. For downloading and debugging [[openocd: | ||
- The terminal window will show //Hello, World//. | - The terminal window will show //Hello, World//. | ||
- | - With {{run.jpg}} you can recompile and rerun the programm. | + | - With {{run.jpg}} you can recompile and rerun the program. |
- | - See [[eclipse: | + | |
- | + | ||