Up- and Downloading Projects

A project can be executed on a real JControl module anytime. All one has to do is to upload the project to the device. This can be done by clicking on the upload button in the icon bar or by picking the menu item Transfer->Upload project. NOTE: The JControl module has to be connected to the PC and set to download mode.

The steps to go through to upload a project to a JControl module are:

  •  Saving the project
    •   If the project contains any unsaved changes, the user will be asked if the project should be saved.

  •  Scanning ports for connected devices
    •   All connection ports enabled in Extras->Communication setup will be probed for connected JControl devices.

  •   Selection of the memory bank (only for devices with more than one memory bank)
    •   In case a JControl module with more than one Flash memory bank is used, the user can choose the memory bank for uploading the project to. Using the program JControl/PropertyEdit or a selfwritten application the bank the JControl module boots from can be changed.

  •  Uploading the project
    •  A small window keeps displaying the current upload progress (fig. 14).

  •  Rebooting the JControl module
    •  After finishing the upload, the JControl module reboots automatically.

Figure 14: A project is being uploaded to a JControl module

The project's JAVA™ byte code now is executed on the JControl device.

Downloading projects from the JControl device works in a similar manner as uploading projects. First the JControl module has to be set into download mode. With a click on the corresponding icon or menu item the download gets initiated. The user will be asked to select a memory bank to download the project from (fig. 15), then, the name and the location the downloaded project should be stored in must be specified (fig. 16). Finally the download starts and a window keeps displaying the progress (fig. 17).

Figure 15: Select a project to download

Figure 16: Dialog to enter the project name and destination path

Figure 17: The project is being downloaded

The downloaded project now is stored in the target directory as a binary image (extension: ".img"). Additionaly a matching JControl/IDE project file (extension: ".jcp") has been generated.