Running Sparklet on Renesas RH850 based eStorm-C2
This comprehensive guide outlines the essential steps for running Sparklet powered UI application on the Renesas RH850 based eStorm-C2 board. eStorm-C2, from Embien, is an automotive instrument cluster reference kit that can be quickly used to develop cluster software. While this tutorial is specific to running Sparklet on the eStorm-C2, the concept is same for any other RH850 based board.
It’s crucial to follow these instructions meticulously and sequentially to guarantee a smooth setup on your target device. If you’re new to Sparklet, it’s advisable to begin by familiarizing yourself with the basic concepts and completing the quick tour tutorial in the following order.
Uncompress the example project, estorm_c2_galactus.zip in this case, on to your working directory. (e.g. E:RenesasRH850estorm_c2_galactus).
The provided Green Hills Multi Build project for eStorm C2 contains everything you need to create, compile, link and flash a Flint UI application for the Renesas RH850 target. This example is running on top of FreeRTOS with screen elements dynamically modified for demo and the screen looks like.
The Flint project for the same can be downloaded from Downloads Section.
After unpacking, you will find the following subdirectories:
Directory
Description
\src
This folder contains a demo application prepared for the 7”
Touch version of eStorm-C2 a dedicated screen size (1280x480 pixel).
This project contains the necessary profile settings for the Renesas
RH850 target. This folder contains the file main.c. There you will
find the initialization of the system and the FreeRTOS task to drive
a Flint application.
\src\device
This folder contains the necessary Renesas RH850 device files.
\src\driver
This folder contains the necessary Renesas RH850 drivers.
\middleware\rglxxx
This folder contains Sparklet library and Renesas Graphic
Library (RGL) files.
\middleware\rglxxx
This folder contains Sparklet library (RGL) files.
\src\ui_app
This folder contains the prepared application files specific to the
example vehicle instrument cluster built using Flint.
Of these some files of interest are:
File
Description
flint_ids.h
This file contains all IDs of the Flint project.
flint_data_def.h
This file contains all Data IDs of the Flint project.
model_galactus.c
This file contains all application APIs.
main.c
This file contains basic board support initialization
and FreeRTOS task creation.
display_task.c
This file contains basic Sparklet initialization and
runs Sparklet engine.