deep

a Cross Development Platform for Java

User Tools

Site Tools


first_example

This is an old revision of the document!


First Example

Hello World with System.out

Running Demo Programs

Example on mpc5200

16. Run will compile, link and create the image file. Use an external debugging device such as an Abatron BDI to download the program.

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. This configuration is valid for the tiny and the io board. 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:

tftp 0x400000 myDir/test.bin bin

Please make sure that your image file resides in the right directory on your TFTP server. Finally start your program with

go 0x400100
first_example.1599813478.txt.gz · Last modified: 2020/09/11 10:37 by ursgraf