deep

a Cross Development Platform for Java

User Tools

Site Tools


installation

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
installation [2020/12/09 12:15] – [Install Libraries to Access the Hardware] ursgrafinstallation [2022/12/20 09:58] (current) ursgraf
Line 1: Line 1:
-====== Download ======+====== Download and Installation ======
  
 ===== Requirements ===== ===== Requirements =====
Line 10: Line 10:
  
 ==== Windows ==== ==== Windows ====
-  Ensure that you've installed an up-to-date JDK. +  Ensure that you've installed an up-to-date JDK. 
-    Download the JDK from the [[http://www.oracle.com/technetwork/java/javase/downloads/index.html | Oracle website]]. +    Download the JDK from the [[http://www.oracle.com/technetwork/java/javase/downloads/index.html | Oracle website]]. 
-    Install it by using the setup assistant +    Install it by using the setup assistant 
-  Install //Eclipse IDE for Java Developers//+  Install //Eclipse IDE for Java Developers//
-    Get the newest version of [[http://www.eclipse.org/downloads/|Eclipse for Java Developers]]. +    Get the newest version of [[http://www.eclipse.org/downloads/|Eclipse for Java Developers]]. 
-    Unzip it into ''C:\Program Files\eclipse'' or ''C:\Programme\eclipse'', respectively.+    Unzip it into ''C:\Program Files\eclipse'' or ''C:\Programme\eclipse'', respectively.
  
 ==== Linux ==== ==== Linux ====
  
-  Ensure that you have installed an up-to-date JDK.+  Ensure that you have installed an up-to-date JDK.
       * On ubuntu/debian based systems you can run ''sudo apt install default-jdk''       * On ubuntu/debian based systems you can run ''sudo apt install default-jdk''
-  Install Eclipse for Java Developers:+  Install Eclipse for Java Developers:
     * Download it from [[ https://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/2020-09/R/eclipse-java-2020-09-R-linux-gtk-x86_64.tar.gz | here ]]     * Download it from [[ https://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/2020-09/R/eclipse-java-2020-09-R-linux-gtk-x86_64.tar.gz | here ]]
-    Extract it to a suitable place, such as ''/opt/deep/eclipse/''+    Extract it to a suitable place, such as ''/opt/deep/eclipse/''
       - ''mkdir -p /opt/deep/eclipse''       - ''mkdir -p /opt/deep/eclipse''
       - ''tar -C /opt/deep/eclipse -xvf eclipse-java-2020-09-R-linux-gtk-x86_64.tar.gz''       - ''tar -C /opt/deep/eclipse -xvf eclipse-java-2020-09-R-linux-gtk-x86_64.tar.gz''
Line 29: Line 29:
 ===== Install Eclipse Plugins ===== ===== Install Eclipse Plugins =====
  
-  Install the deep Eclipse plugin from our [[http://update.deepjava.org/eclipse | Update Site]].+  Install the deep Eclipse plugin from our [[http://update.deepjava.org/eclipse | Update Site]].
     - Start the Eclipse IDE (eclipse.exe)     - Start the Eclipse IDE (eclipse.exe)
     - Open the plugin installation dialog: Help → Install New Software…     - Open the plugin installation dialog: Help → Install New Software…
-    - Add a new plugin source: Add… → Name: NTB Plugins, Location: http://update.deepjava.org/eclipse/ → OK +    - Add a new plugin source: Add… → Name: Deep, Location: http://update.deepjava.org/eclipse/ → OK 
-    - Add the plugin by checking ''deep Plugin for Eclipse'' from category „NTB+    - Add the plugin by checking ''deep Plugin for Eclipse'' from category „Deep
  
 ===== Install deep Runtime Library ===== ===== Install deep Runtime Library =====
-  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 the deep runtime library by extracting the newest ZIP archive from [[https://update.deepjava.org/runtime-library/ | ]] to ''C:\Programm Data\deep\trglib'' (Windows), ''/opt/deep/lib'' (Linux) or any other location.
  
 ===== Install Libraries to Access the Hardware ===== ===== Install Libraries to Access the Hardware =====
 ==== Using a Zynq7000 Based Board ==== ==== 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:start | OpenOCD toolchain]]. If you use an ARM based target, i.e. the Zybo or MicroZed Board with a Zynq7000 processor, install the [[..:..:openocd:start | OpenOCD toolchain]].
-=== Windows === +  - Install OpenOCDInterface plugin in eclipse from our [[http://update.deepjava.org/eclipse | Update Site]]. 
-In order to use OpenOCD, the correct USB drivers must be installed. We suggest using [[http://visualgdb.com/UsbDriverTool/|USB driver tool]] for this purpose. This tool is available solely for Windows. +    - Start the Eclipse IDE (eclipse.exe) 
- +    - Open the plugin installation dialog: Help → Install New Software… 
-==== Installation of the USB driver ==== +    - Add a new plugin source: Add… → Name: Deep, Location: http://update.deepjava.org/eclipse/ → OK 
-  - Download the [[http://visualgdb.com/UsbDriverTool/|USB driver tool]], extract and run it. +    - Add the plugin by checking ''openOCD Plugin for Eclipse'' from category „Deep“ 
-  - Connect your FT2232 based programmer, e.g. the JTAG-HS3. If you use the Zybo board, connect the board directly as it has the programmer already packed on the board. +  - Install OpenOCD 
-  - Identify the USB serial converter, which connects to the JTAG busDepending on your actual board this will be +    * **Windows** 
-    * Avnet MicroZed: Device name: Digilent USB Device, Vendor ID = 0403, Device ID = 6014  \\ {{:openocd:usbdrivertool.png?460|}} +      In order to use OpenOCD, the correct USB drivers must be installed. We suggest using [[http://visualgdb.com/UsbDriverTool/|USB driver tool]] for this purpose. This tool is available solely for Windows. Download the [[http://visualgdb.com/UsbDriverTool/|USB driver tool]] and extract it. We will later use it to load the correct driver
-    * Digilent Zybo: Device name: USB Serial Converter A, Vendor ID = 0403, Device ID = 6010, Interface = 00 \\ {{:openocd:installwinusbdriver.png|}} +      Install OpenOCD  
-  Right-click on the device and select the WinUSB driver to install the driver  +        * Either compile OpenOCD from the [[http://sourceforge.net/p/openocd/code/ |source code ]]  
-  - If you want to reinstall the default driver choose "//Restore default driver//" +        * Or [[http://www.freddiechopin.info/en/download/category/4-openocd?download=154%3Aopenocd-0.10.0 | download ]] the precompiled binaries for Windows (preferred method) 
-==== Installation of OpenOCD ==== +          - Extract the archive to your computer 
-  - You can either compile OpenOCD from the [[http://sourceforge.net/p/openocd/code/ |source code ]] or [[http://www.freddiechopin.info/en/download/category/4-openocd?download=154%3Aopenocd-0.10.0 | download ]] the precompiled binaries for Windows, which is the preferred method +          - The executable binary is located under: ''openocd-0.10.0/bin-x64/'' 
-   Extract the archive to your computer +          - The user manual is located under: ''openocd-0.10.0/'' 
-  - The executable binary is located under: ''openocd-0.10.0/bin-x64/'' +          - Get {{ :openocd:ostboards.zip |}} and unpack it into your ''openocd-0.10.0'' directory 
-  - The user manual is located under: ''openocd-0.10.0/'' +        Alternatively, you can download the precompiled binaries for Windows together with the necessary files for the MicroZed and the Zybo boards {{ :openocd:openocd-0.10.0.zip |here}}. 
-  - Get {{ :openocd:ostboards.rar |}} and unpack it into your ''openocd-0.10.0'' directory +    * **Linux** 
- +      - Install OpenOCD, it is probably available through your distribution's package manager. E.g. ''sudo apt install openocd'' 
-Alternatively, you can download the precompiled binaries for Windows together with the necessary files for the MicroZed and the Zybo boards {{ :openocd:openocd-0.10.0.rar |here}} +      Download {{ :openocd:ostboards.zip |}} and unpack it to suitable place, such as ''/opt/deep/openocd''
- +
-==== Installation of OpenOCD-Interface Plugin ==== +
-The deep plugin of eclipse needs the [[https://github.com/deepjava/openOCDinterface|openOCD]] plugin to access the hardware. Install it from our [[http://update.deepjava.org/eclipse | Update Site]]+
-  - Start the Eclipse IDE (eclipse.exe) +
-  Open the plugin installation dialog: Help → Install New Software… +
-  - Add a new plugin source: Add… → Name: NTB Plugins, Location: http://update.deepjava.org/eclipse/ → OK +
-  - Add the plugin by checking ''openOCD Plugin for Eclipse'' from category „NTB“ +
- +
-=== Linux=== +
-  * Install OpenOCD, it is probably available through your distribution's package manager. E.g. ''sudo apt install openocd'' +
-  Download {{ :openocd: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/'' +
-  * Run OpenOCD with the correct config file: +
-    - ''cd /opt/deep/openocd'' +
-    - ''sudo openocd -f microzedboard.cfg'' or ''sudo openocd -f digilent_zyboboard.cfg''+
  
 ==== Using a MPC555 Board ==== ==== Using a MPC555 Board ====
-If you want to use deep with our [[http://wiki.ntb.ch/infoportal/embedded_systems/mpc555/headerboard/start|MPC555]] and the [[http://wiki.ntb.ch/infoportal/embedded_systems/mpc555/usb-bdi|USB-BDI]]+If you want to use deep with our [[http://wiki.bu.ost.ch/infoportal/embedded_systems/mpc555/headerboard/start|MPC555]] and the [[http://wiki.bu.ost.ch/infoportal/embedded_systems/mpc555/usb-bdi|USB-BDI]]
   * Install the [[https://libusb-java.ch/installation/start|LibusbJava]]. For Java 9 and later, make sure that you install the necessary plugin as follows:   * Install the [[https://libusb-java.ch/installation/start|LibusbJava]]. For Java 9 and later, make sure that you install the necessary plugin as follows:
     - Start the Eclipse IDE (eclipse.exe)     - Start the Eclipse IDE (eclipse.exe)
     - Open the plugin installation dialog: Help → Install New Software…     - Open the plugin installation dialog: Help → Install New Software…
-    - Add a new plugin source: Add… → Name: NTB Plugins, Location: http://update.deepjava.org/eclipse/ → OK +    - Add a new plugin source: Add… → Name: Deep, Location: http://update.deepjava.org/eclipse/ → OK 
-    - Add the plugin by checking ''LibusbJava plugin for eclipse'' from category „NTB+    - Add the plugin by checking ''LibusbJava plugin for eclipse'' from category „Deep
   * Install the plugin ''mpc555UsbBdi'' from the same update site and follow the instructions of the plugin installer   * 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 [[https://wiki.ntb.ch/infoportal/software/ntb_windows_driver_package/start|NTB Windows Driver Package]]+  * On Windows, alternatively to the steps above, you can use our [[https://wiki.bu.ost.ch/infoportal/software/inf_win_driver_package/start|INF Windows Driver Package]]
  
 ==== Using a MPC5200 Board ==== ==== Using a MPC5200 Board ====
-When using a [[https://wiki.ntb.ch/infoportal/embedded_systems/abatron_bdi/start|Abatron BDI2000/BDI3000]] you must install the Abatron debugger plugin.+When using a [[https://wiki.bu.ost.ch/infoportal/embedded_systems/abatron_bdi/start|Abatron BDI2000/BDI3000]] you must install the Abatron debugger plugin. Check on [[https://github.com/deepjava/abatronInterface]].
installation.1607512506.txt.gz · Last modified: 2020/12/09 12:15 by ursgraf