Program the MicroEJ Firmware

Choose the device selection (three dots button next to the unspecified field). Choose NXP in the drop-down menu.

Select the device LPC54608J512, click OK, and keep the other setups at their default value (Interface: SWD and Speed: 1000).

Press OK to expand the programming window.

Program the external flash by selecting the FMW-BLUE-OM13092-PQ9Y4-1.3.4-0x10000000-EXTERNAL.hex in the unzipped folder.

Accept terms of use and wait until programming complete (this may take a while).

Then program the internal flash by selecting FMW-BLUE-OM13092-PQ9Y4-1.3.4-0x00000000-INTERNAL.hex in the unzipped folder.

Accept terms of use and wait until programming complete (this may take a while).

Unplug the USB cable, exit SEGGER J-Flash Lite program.

Before running the demo

Insert a FAT32 formatted SD card in the SD connector.

Connect the board through the Ethernet port to a network providing a DHCP server and DNS via DHCP.

Plug the USB cable to power on the board.

The MicroEJ firmware should now run on your evaluation board.

2

MicroEJ Android Companion

The Android companion is an application that connects to a MicroEJ application store
(communitystore.microej.com store by default) to install apps on an embedded device running a MicroEJ firmware using a Wifi or Bluetooth interface.

Hardware Requirements

an Android Device with networking capabitlities over WiFi

Software Requirements

an Android OS KitKat (v4.4 or API level 19) or superior

Android Application Installation

Your evaluation card and the Android device running the MicroEJ companion should be connected to the same LAN.

Download the Android application package here and transfer the .apk file
to the filesystem of your Android device.

Launch a file manager on your device.

Find your apk file.

Launch it and select Install.

If a security warning appears, click on Settings and activate the Unknown sources option.

Then proceed with the installation.

Use of the MicroEJ Companion

The MicroEJ Companion has several steps to be followed before managing
applications with your device.

Start the MicroEJ Companion and log in with the credentials you created on the community store.

Choose the WiFi/Network device.

Add your evaluation board by clicking on the + icon, enter a name and an IP (the IP can be found on the default Settings page available from the icon, also take note of your Device UID for future use.).

Confirm by clicking on Add Device

Select the newly created board in the list.

A list of MicroEJ applications available on the community store and board is displayed.

You can control the lifecycle (start/stop, install/uninstall) of each app from this list of app.

3

Publishing Data to Xively Cloud

In this section, we are going to install an app (XIMI) that is a service to connect to LogMeIn Xively cloud . A second application (Thermocloud) is a simple GUI that is using the XIMI service to publish a temperature. The same app can also receive this same temperature and displays it on a graph.

The published data can either be seen locally on the GUI or accessed through the Xively web platform.