====== First Example ====== Please note that projects must reside in directories with identical names. However, projects may reside everywhere on disk, they do not necessarily have to reside in the current eclipse workspace. ===== Hello World with System.out ===== * [[first_example_mpc555| Hello World on the NTB mpc555 Board]] * [[first_example_mpc5200| Hello World on the Phytec phyCore mpc5200 board]] * [[first_example_microzed| Hello World on the Avnet MicroZed board]] * [[first_example_zybo| Hello World on the Digilent Zybo board]] ===== Developing on the Avnet MicroZed Board ===== As this board contains a FPGA which must be loaded with a suitable configuration, you have to carefully select one of the following methods. * [[first_example_microzed_sysdev| System Developer]] * [[first_example_microzed_appdev| Application Developer]] * [[first_example_microzed_deploy| Deploying]] ===== Developing on the NTB mpc555 Board ===== The standard run configuration as described in [[firstexample:first_example_mpc555|Hello World on the NTB mpc555 Board]] will load the program into internal and external RAM and run it from there. If you want to put your program into nonvolatile flash memory proceed with [[mpc555flashing|Flashing your Program (mpc555)]]. ===== Running Demo Programs ===== The deep runtime library offers a couple of demo programs, e.g. using serial output or flashing a led. Create a new project as given above and open the //deep// project file. Navigate to //Referenced Libraries// entry in the //Package Explorer// and find a suitable demo program, e.g. for the MicroZed board //org.deepjava.runtime.zynq7000.microzed.demo.Blinker//. \\ {{demoprograms.png?250|}} Edit the //rootclasses// entry in the //deep// project file as follows # enter names of rootclasses, e.g. # rootclasses = "test.MyFirstTestClass","other.MySecondTestClass"; rootclasses = "org.deepjava.runtime.zynq7000.microzed.demo.Blinker"; Create a run configuration and run the program as given in [[firstexample:start|First Example]]. Be aware of the fact that all the examples using //flink// devices (which are implemented in the FPGA) need a suitable configuration loaded into the FPGA at startup.