Develop multi-languages (C, Java, etc.) applications on NXP OM13098: LPCXpresso54628 Development Board with MicroEJ Software Development Kit.
Follow the steps below to get your first app running on both a virtual device, and a real device (final hardware). In case you are not familiar with MicroEJ, please visit Discover MicroEJ to understand the principles of our technology.
MICROEJ SDK is an IDE built on Eclipse for creating feature-rich applications for platforms based on the MicroEJ Virtual Execution Environment (VEE).
MICROEJ SDK runs on all popular desktops operating systems: Windows (7, 8, 8.1, 10), Linux, macOS.
A Java™ Runtime Environment 8 is needed on your host computer for running MICROEJ SDK. Download Java™ Runtime Environments
Click the below button to download the installer package corresponding to your host computer OS (about MICROEJ SDK download).
Launch
.OK
.Window > Preferences > MicroEJ > Virtual Device menu.
Import...
button and select the Virtual Device file previously downloaded (all virtual devices have the .vde extension).Finish
. The MicroEJ Virtual Device is successfully installed.File > Import... > General > Existing Projects into Workspace > Select archive file
and select the downloaded archive.com.microej.demo.hello.
com.microej.example.iot.ssl.rest.headless.
com.microej.demo.hello.
Run As > MicroEJ Application.
VDE-BLUE-OM13098-PQ9Y4.
com.microej.example.iot.ssl.rest.headless.
Then Run As > MicroEJ Application.
VDE-BLUE-OM13098-PQ9Y4.
=============== [ Initialization Stage ] =============== =============== [ Converting fonts ] =============== =============== [ Converting images ] =============== =============== [ Launching on Simulator ] =============== https example INFO: {"headers":{"user-agent":"Resty/0.1 (Java)","accept":"application/json","host":"postman-echo.com","x-forwarded-proto":"https","x-forwarded-port":"443"},"args":{},"url":"https://postman-echo.com/get"} https example INFO: user-agent: Resty/0.1 (Java) host: postman-echo.com https example INFO: =========== POST REQUEST =========== https example INFO: {"form":{},"headers":{"user-agent":"Resty/0.1 (Java)","content-length":"20","accept":"application/json","host":"postman-echo.com","x-forwarded-proto":"https","content-type":"text/plain; charset=UTF-8","x-forwarded-port":"443"},"files":{},"json":null,"data":"My POST request data","args":{},"url":"https://postman-echo.com/post"} https example INFO: Data sent for POST request: My POST request data https example INFO: =========== PUT REQUEST =========== AbstractPage.renderContent() AbstractPage.renderContent() https example INFO: {"form":{},"headers":{"user-agent":"Resty/0.1 (Java)","content-length":"19","accept":"application/json","host":"postman-echo.com","x-forwarded-proto":"https","content-type":"text/plain; charset=UTF-8","x-forwarded-port":"443"},"files":{},"json":null,"data":"My PUT request data","args":{},"url":"https://postman-echo.com/put"} https example INFO: Data sent for PUT request: My PUT request data https example INFO: =========== DELETE REQUEST =========== https example INFO: {"form":{},"headers":{"user-agent":"Resty/0.1 (Java)","accept":"application/json","host":"postman-echo.com","x-forwarded-proto":"https","x-forwarded-port":"443"},"files":{},"json":null,"data":{},"args":{},"url":"https://postman-echo.com/delete"}
115200 bps, 8N1, no handshake
Program LPC-Link2 with Segger J-Link
script. With a default installation, it’s located here: C:\NXP\LPCScrypt\scripts\program_JLINK.cmd
.NXP
in the drop-down menu.LPC54628J512
, click OK, and keep the other setups at their default value (Interface: SWD
and Speed: 1000
).FMW-BLUE-OM13098-PQ9Y4-2.0.2-0x10000000-EXTERNAL.hex
in the unzipped folder.FMW-BLUE-OM13098-PQ9Y4-2.0.2-0x00000000-INTERNAL.hex
in the unzipped folder.com.microej.demo.hello.
Run As > MicroEJ Application.
VDE-BLUE-OM13098-PQ9Y4.
Run Configuration
, you can stop the Virtual Device.Run Configuration.
Execution
mode to Execute on Device
, Core Engine Default
and Settings Local Deployment (Socket)
Configuration
tab in Local Deployment (Socket)
insert the IP of the NXP OM13098 in the Host parameter
. You should have the IP displayed on the screen of the NXP OM13098 in the About application (leave the other parameters unchanged).com.microej.example.iot.ssl.rest.headless.
Run As > MicroEJ Application.
VDE-BLUE-OM13098-PQ9Y4
Virtual Device.Run Configuration
, you can stop the Virtual Device.Run Configuration.
Execution
mode to Execute on Device
, Core Engine Default
and Settings Local Deployment (Socket)
Configuration
tab in Local Deployment (Socket)
insert the IP of the NXP OM13098 in the Host
parameter. You should have the IP displayed on the screen of the NXP OM13098 in the About application (leave the other parameters unchanged).=============== [ Initialization Stage ] =============== =============== [ Converting fonts ] =============== =============== [ Converting images ] =============== =============== [ Launching on Simulator ] =============== https example INFO: {"headers":{"user-agent":"Resty/0.1 (Java)","accept":"application/json","host":"postman-echo.com","x-forwarded-proto":"https","x-forwarded-port":"443"},"args":{},"url":"https://postman-echo.com/get"} https example INFO: user-agent: Resty/0.1 https example INFO: =========== POST REQUEST =========== https example INFO: {"form":{},"headers":{"user-agent":"Resty/0.1 (Java)","content-length":"20","accept":"application/json","host":"postman-echo.com","x-forwarded-proto":"https","content-type":"text/plain; charset=UTF-8","x-forwarded-port":"443"},"files":{},"json":null,"data":"My POST request data","args":{},"url":"https://postman-echo.com/post"} https example INFO: Data sent for POST request: My POST request data https example INFO: =========== PUT REQUEST =========== AbstractPage.renderContent() AbstractPage.renderContent() https example INFO: {"form":{},"headers":{"user-agent":"Resty/0.1 (Java)","content-length":"19","accept":"application/json","host":"postman-echo.com","x-forwarded-proto":"https","content-type":"text/plain; charset=UTF-8","x-forwarded-port":"443"},"files":{},"json":null,"data":"My PUT request data","args":{},"url":"https://postman-echo.com/put"} https example INFO: Data sent for PUT request: My PUT request data https example INFO: =========== DELETE REQUEST =========== https example INFO: {"form":{},"headers":{"user-agent":"Resty/0.1 (Java)","accept":"application/json","host":"postman-echo.com","x-forwarded-proto":"https","x-forwarded-port":"443"},"files":{},"json":null,"data":{},"args":{},"url":"https://postman-echo.com/delete"}
Extend your application with communication, in this suite of examples that explores the following subjects:
This demo illustrates the Widget library (ej.widget, ej.style, ej.animation, ej.color) based on MicroUI 2 and MWT 2.
Learn how to create and extend your MICROEJ VEE in order to start prototyping your embedded device. You may also access more resources and examples on Embedded GUI and IoT Connectivity on the dedicated pages.
Tips and tricks, insights and discussions…
MicroEJ community helps you solve your challenges!