deep

a Cross Development Platform for Java

User Tools

Site Tools


getting_started

This is an old revision of the document!


Getting started

Requirements

  • PC running Linux, Mac OS X or Windows
  • Java Developer Kit 6 or newer
  • Eclipse 3.8 or newer
  • A MPC555 or MPC5200B based controller board

Set up

  • Ensure that you've installed an up-to-date JDK.
    1. Download the JDK from the Oracle website.
    2. Install it by using the setup assistant
  • Install Eclipse IDE for Java Developers.
    1. Get the newest version of Eclipse for Java Developers.
    2. Unzip it into C:\Program Files\eclipse or C:\Programme\eclipse, respectively.
  • 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 the deep runtime library by extracting the ZIP archive from http://update.deepjava.org/runtime-library/deep_runtime_library_1.5.0_2019-05-07.zip to C:\Programm Data\deep\trglib (Windows), /opt/deep/lib (Linux) or any other location.
  • Start Eclipse and open the deep perspective.
  • Go to Window → Preferences → deep Preferences and change the default library path to the location where you've extracted the runtime library.

Install Libraries to Access the Hardware

  • If you want to use deep with our MPC555 and the USB-BDI
    1. 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“
    2. Install the plugin mpc555UsbBdi from the same update site and follow the instructions of the plugin installer
  • If you use an ARM target instead, i.e. the Zybo with a Zynq, install the OpenOCD toolchain.
  • If you want to use deep with the MPC555 and the USB-BDI, you need to install the necessary drivers and LibusbJava:
    • Windows:
      1. If you have Java version 9 or later and already installed the LibusbJava plugin for eclipse, you can skip this step. Else install libusbJava first (see installation instructions of LibusbJava). If you have installed the NTB Windows Driver Package first, install libusbJava and then install the NTB Windows Driver Package again.
      2. Install it by using the setup assistant. The selection of the suitable drivers is done automatically (64 bit).

from our Update Site.

    
  * Linux:
    - Install LibusbJava for Linux with the [[http://libusb-java.ch/installation/start| Installation Instructions]] on the LibusbJava page
getting_started.1569485656.txt.gz · Last modified: 2019/09/26 10:14 by ursgraf