This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
first_example [2019/11/06 14:20] – [Example on mpc5200] ursgraf | first_example [2020/09/06 14:27] – ursgraf | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== First Example ====== | ====== First Example ====== | ||
- | ===== Using System.out on a mpc555 Board ===== | + | ===== Using System.out on a target board ===== |
- | + | ||
- | This example will demonstrate how to use the deep compiler to translate a simple Java program and run it on a mpc555 target platform. For other platforms see at the bottom of this page. | + | |
+ | This example will demonstrate how to use the deep compiler to translate a simple Java program and run it on a target platform. | ||
- 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//. | ||
- Create a new deep project with //File// -> //New// -> select // | - Create a new deep project with //File// -> //New// -> select // | ||
Line 120: | Line 119: | ||
</ | </ | ||
- | 16. //Run// will compile, link and create | + | 16. //Run// will compile, link and download |
- | + | ||
- | If the boot loader //uBoot// is present on the board, it will start up and configure the memory and clocks. Now, it's possible | + | |
- | 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: < | + | |
- | Please make sure that your image file resides in the right directory on your TFTP server. Finally start your program with < | + | |
===== Example on mpc5200 ===== | ===== Example on mpc5200 ===== | ||
If you use a mpc5200 platform the following steps have to be altered: | If you use a mpc5200 platform the following steps have to be altered: |