deep

a Cross Development Platform for Java

User Tools

Site Tools


installation

This is an old revision of the document!


Download

Requirements

  • PC running Linux, Mac OS X or Windows
  • Java Developer Kit 11 or newer
  • Eclipse 3.8 or newer
  • Microcontroller board (MPC555 / MPC5200B / MicroZed / Zybo / Colibri)

Install Eclipse

Windows

  1. Ensure that you've installed an up-to-date JDK.
    • Download the JDK from the Oracle website.
    • Install it by using the setup assistant
  2. Install Eclipse IDE for Java Developers.

Linux

  1. Ensure that you have installed an up-to-date JDK.
    • On ubuntu/debian based systems you can run sudo apt install default-jdk
  2. Install Eclipse for Java Developers:
    • Download it from here
    • Extract it to a suitable place, such as /opt/deep/eclipse/
      1. mkdir -p /opt/deep/eclipse
      2. tar -C /opt/deep/eclipse -xvf eclipse-java-2020-09-R-linux-gtk-x86_64.tar.gz

Install Eclipse Plugins

  1. Install the deep Eclipse plugin from our Update Site.
    1. Start the Eclipse IDE (eclipse.exe)
    2. Open the plugin installation dialog: Help → Install New Software…
    3. Add a new plugin source: Add… → Name: NTB Plugins, Location: http://update.deepjava.org/eclipse/ → OK
    4. Add the plugin by checking deep Plugin for Eclipse from category „NTB“

Install deep Runtime Library

  1. Install the deep runtime library by extracting the ZIP archive from http://update.deepjava.org/runtime-library/deep_runtime_library_1.6.0_2020_09_15.zip to C:\Programm Data\deep\trglib (Windows), /opt/deep/lib (Linux) or any other location.

Install Libraries to Access the Hardware

Using a Zynq7000 Based Board

If you use an ARM based target, i.e. the Zybo or MicroZed Board with a Zynq7000 processor, install the OpenOCD toolchain.

  1. Install OpenOCDInterface plugin in eclipse from our Update Site.
    1. Start the Eclipse IDE (eclipse.exe)
    2. Open the plugin installation dialog: Help → Install New Software…
    3. Add a new plugin source: Add… → Name: NTB Plugins, Location: http://update.deepjava.org/eclipse/ → OK
    4. Add the plugin by checking openOCD Plugin for Eclipse from category „NTB“
  2. Install OpenOCD
    • Windows
      1. In order to use OpenOCD, the correct USB drivers must be installed. We suggest using USB driver tool for this purpose. This tool is available solely for Windows. Download the USB driver tool, extract and run it.
      2. Install OpenOCD
        • Either compile OpenOCD from the source code
        • Or download the precompiled binaries for Windows (preferred method)
      3. Extract the archive to your computer
      4. The executable binary is located under: openocd-0.10.0/bin-x64/
      5. The user manual is located under: openocd-0.10.0/
    1. Get ostboards.rar and unpack it into your openocd-0.10.0 directory
    2. Alternatively, you can download the precompiled binaries for Windows together with the necessary files for the MicroZed and the Zybo boards here
  • Linux
    1. Install OpenOCD, it is probably available through your distribution's package manager. E.g. sudo apt install openocd
    2. Download ostboards.rar and unpack it to suitable place, such as /opt/deep/openocd
      • Hint: You can use 7z (package p7zip) to extract .rar files on linux: 7z e ostboards.rar -o/opt/deep/openocd/
    3. Run OpenOCD with the correct config file:
      1. cd /opt/deep/openocd
      2. sudo openocd -f microzedboard.cfg or sudo openocd -f digilent_zyboboard.cfg

Using a MPC555 Board

If you want to use deep with our MPC555 and the USB-BDI

  • Install the LibusbJava. For Java 9 and later, make sure that you install the necessary plugin as follows:
    1. Start the Eclipse IDE (eclipse.exe)
    2. Open the plugin installation dialog: Help → Install New Software…
    3. Add a new plugin source: Add… → Name: NTB Plugins, Location: http://update.deepjava.org/eclipse/ → OK
    4. Add the plugin by checking LibusbJava plugin for eclipse from category „NTB“
  • Install the plugin mpc555UsbBdi from the same update site and follow the instructions of the plugin installer
  • On Windows, alternatively to step 1 and 2, you can use our NTB Windows Driver Package

Using a MPC5200 Board

When using a Abatron BDI2000/BDI3000 you must install the Abatron debugger plugin.

installation.1607533131.txt.gz · Last modified: 2020/12/09 17:58 by ursgraf