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_mpc5200 [2020/09/11 17:18] – ursgraf | first_example_mpc5200 [2020/09/23 10:00] – 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: //Abatron BDI2000/ | - Select a programmer: //Abatron BDI2000/ | ||
- Select programmer options: network name of your programmer, e.g. // | - Select programmer options: network name of your programmer, e.g. // | ||
- | - 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. \\ {{targetconfiguration5200.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. \\ {{targetconfiguration5200.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 68: | Line 68: | ||
- 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 programm. | ||
- | - | ||
- | - //Run// will compile, link and create the image file. . | ||
+ | ===== Downloading without Debugger ===== | ||
If the boot loader //uBoot// is present on the board, it will start up and configure the memory and clocks. Now, it's possible to download a program without using an Abatron device. For this, you have to choose in step 4 the target configuration //Phytec PhiCORE-MPC5200uBoot// | If the boot loader //uBoot// is present on the board, it will start up and configure the memory and clocks. Now, it's possible to download a program without using an Abatron device. For this, you have to choose in step 4 the target configuration //Phytec PhiCORE-MPC5200uBoot// | ||
Connect a terminal program on PSC3 with 115200, no parity, 8 bit. Also connect the Ethernet of the board to your local server, which must have a TFTP server running. Run the following command: < | Connect a terminal program on PSC3 with 115200, no parity, 8 bit. Also connect the Ethernet of the board to your local server, which must have a TFTP server running. Run the following command: < |