polito.it
Politecnico di Torino (logo)

Implementation of a software interface layer between a model-based-design tool and embedded graphic frameworks.

Lorenzo Rinaldi

Implementation of a software interface layer between a model-based-design tool and embedded graphic frameworks.

Rel. Luciano Lavagno, Massimiliano Curti. Politecnico di Torino, Corso di laurea magistrale in Ingegneria Elettronica (Electronic Engineering), 2021

[img]
Preview
PDF (Tesi_di_laurea) - Tesi
Licenza: Creative Commons Attribution Non-commercial No Derivatives.

Download (2MB) | Preview
Abstract:

Implementation of a software layer, in C language, to manage embedded graphics developed with TouchGFX, with a "general purpose" approach extended to other embedded graphic libraries and to Model Based Design (Simulink/Stateflow). Interface aims to manage transmission of events between hardware target and GUI, but also to make possible a communication between GUI simulator and Model-Based-Design tool. Interface manages events occurred between hardware and GUI, through two different queues. When an event occurs on target, it is pushed into queue and then, extracted on User Interface, where a callback is executed to modify correspondent object. Actual states of widgets on GUI or peripherals on target are saved within a table. This Software Layer allows to establish a communication between simulator, that verify behaviour of UI, with a Model-Based-Design like Simulink. This feature permits to fully prototype and test, not only GUI but also, interactions among it and surrounded system. After that, functions to satisfy above features are implemented, the interface is tested with another graphic software, to prove its independence from structure of tool used to implement it. Interface is tested on Embedded Wizard, characterised by Model-View-Controller architecture like TouchGFX, but it uses a custom code Chora. This code is based on C, C++ and Java but it does not accept pointers. Interface behaviour remains the same with target, but some modifications are needed to use implemented layer with EW prototyper. Firstly, a Dynamic Loadable Library with UI functions has to be created, then, for complete absence of pointers, behaviour into UI side must be modified. Another function, which returns event identifier and modification value, is implemented to demand to graphic developer execution of methods to modify UI widgets. Therefore, interface is usable also on Embedded Wizard, but some modification is necessary to support al features of that tool.

Relatori: Luciano Lavagno, Massimiliano Curti
Anno accademico: 2020/21
Tipo di pubblicazione: Elettronica
Numero di pagine: 92
Soggetti:
Corso di laurea: Corso di laurea magistrale in Ingegneria Elettronica (Electronic Engineering)
Classe di laurea: Nuovo ordinamento > Laurea magistrale > LM-29 - INGEGNERIA ELETTRONICA
Aziende collaboratrici: Teoresi SPA
URI: http://webthesis.biblio.polito.it/id/eprint/17898
Modifica (riservato agli operatori) Modifica (riservato agli operatori)